summaryrefslogtreecommitdiff
path: root/library/src/math/mod.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-01-22 13:31:28 +0100
committerLaurenz <laurmaedje@gmail.com>2023-01-22 13:31:28 +0100
commitbcf20610fc4d5dcac43bf076c1ea0c9b433de0a0 (patch)
tree8cabb4b59f9fd15f93b8a8c01f9897fb606ee195 /library/src/math/mod.rs
parent2c48c8d7a10c89fe15c0e29083ab3f3b39585423 (diff)
Math accent handling
Diffstat (limited to 'library/src/math/mod.rs')
-rw-r--r--library/src/math/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/src/math/mod.rs b/library/src/math/mod.rs
index 35e005d0..c7b25db3 100644
--- a/library/src/math/mod.rs
+++ b/library/src/math/mod.rs
@@ -47,6 +47,7 @@ use crate::text::{families, variant, FallbackList, FontFamily, SpaceNode, Symbol
/// Hook up all math definitions.
pub fn define(scope: &mut Scope) {
scope.def_func::<MathNode>("math");
+ scope.def_func::<AccentNode>("accent");
scope.def_func::<FracNode>("frac");
scope.def_func::<BinomNode>("binom");
scope.def_func::<ScriptNode>("script");