diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-01-22 13:30:20 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-01-22 13:30:20 +0100 |
| commit | 13cc16b3ccaa94cdf5dca2bf3195067d1d12f9b1 (patch) | |
| tree | 9b13a3fc34b76370d9cdb691162cb9a8b94188ee /library/src/math/mod.rs | |
| parent | cfca1158045be4a3bfeaac5b12ac2aac182fa77c (diff) | |
Class-based math spacing
Diffstat (limited to 'library/src/math/mod.rs')
| -rw-r--r-- | library/src/math/mod.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/library/src/math/mod.rs b/library/src/math/mod.rs index 73ce91ce..e3fc13f6 100644 --- a/library/src/math/mod.rs +++ b/library/src/math/mod.rs @@ -9,6 +9,7 @@ mod group; mod matrix; mod root; mod script; +mod spacing; mod stretch; mod style; @@ -59,6 +60,10 @@ pub fn define(scope: &mut Scope) { scope.def_func::<FrakNode>("frak"); scope.def_func::<MonoNode>("mono"); scope.def_func::<BbNode>("bb"); + scope.define("thin", HNode::strong(THIN).pack()); + scope.define("med", HNode::strong(MEDIUM).pack()); + scope.define("thick", HNode::strong(THICK).pack()); + scope.define("quad", HNode::strong(QUAD).pack()); } /// # Math |
