diff options
Diffstat (limited to 'library/src/math/op.rs')
| -rw-r--r-- | library/src/math/op.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/library/src/math/op.rs b/library/src/math/op.rs index 5665a637..6e52cea5 100644 --- a/library/src/math/op.rs +++ b/library/src/math/op.rs @@ -58,6 +58,10 @@ macro_rules! ops { limits: ops!(@limit $($tts)*), }.pack() );)* + + let dif = |d| HNode::strong(THIN).pack() + UprightNode(TextNode::packed(d)).pack(); + math.define("dif", dif('d')); + math.define("Dif", dif('D')); } }; (@name $name:ident) => { stringify!($name) }; |
