diff options
| author | Leedehai <18319900+Leedehai@users.noreply.github.com> | 2024-01-03 04:36:50 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-03 09:36:50 +0000 |
| commit | ae3aac27d37ec7b3ceb47bd8f1f1f3db663d66b2 (patch) | |
| tree | 9a67c7616e8196644586614ac7bfc0cc3cc933e2 | |
| parent | 39e53fcdc9af2cabbc272387a64ac099e0b8077a (diff) | |
Expose PrimesElem as #math.primes in Typst code (#3063)
| -rw-r--r-- | crates/typst/src/math/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/typst/src/math/mod.rs b/crates/typst/src/math/mod.rs index 596c86cc..10bece1b 100644 --- a/crates/typst/src/math/mod.rs +++ b/crates/typst/src/math/mod.rs @@ -181,6 +181,7 @@ pub fn module() -> Module { math.define_elem::<RootElem>(); math.define_elem::<ClassElem>(); math.define_elem::<OpElem>(); + math.define_elem::<PrimesElem>(); math.define_func::<abs>(); math.define_func::<norm>(); math.define_func::<floor>(); |
