summaryrefslogtreecommitdiff
path: root/library/src/math/mod.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-01-22 13:32:58 +0100
committerLaurenz <laurmaedje@gmail.com>2023-01-22 13:32:58 +0100
commit7e295d84b55322e84695e793af8d64b6ec89e357 (patch)
tree4570ee01286e69846ed1be382e30d1d3b0ed9bed /library/src/math/mod.rs
parent953bdc1859f7acdbecbb7b819bc5b113a50849d0 (diff)
Math delimiter grouping
Diffstat (limited to 'library/src/math/mod.rs')
-rw-r--r--library/src/math/mod.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/library/src/math/mod.rs b/library/src/math/mod.rs
index ae660405..44b52e96 100644
--- a/library/src/math/mod.rs
+++ b/library/src/math/mod.rs
@@ -8,6 +8,7 @@ mod atom;
mod braced;
mod frac;
mod fragment;
+mod lr;
mod matrix;
mod op;
mod root;
@@ -50,6 +51,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::<LrNode>("lr");
scope.def_func::<AccentNode>("accent");
scope.def_func::<FracNode>("frac");
scope.def_func::<BinomNode>("binom");