summaryrefslogtreecommitdiff
path: root/library/src/math/mod.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-01-22 13:32:06 +0100
committerLaurenz <laurmaedje@gmail.com>2023-01-22 13:32:32 +0100
commita0146b5b9b607974d5b3734ee9be0c8727cd7ea9 (patch)
tree3f8917c4bc490241e6e02ab5a86c5c37e5fdc300 /library/src/math/mod.rs
parentc5ef350cce93ef2813a5aaec12df604e1be4d146 (diff)
Math operator functions
Diffstat (limited to 'library/src/math/mod.rs')
-rw-r--r--library/src/math/mod.rs7
1 files changed, 6 insertions, 1 deletions
diff --git a/library/src/math/mod.rs b/library/src/math/mod.rs
index 34eace04..ae660405 100644
--- a/library/src/math/mod.rs
+++ b/library/src/math/mod.rs
@@ -7,9 +7,11 @@ mod align;
mod atom;
mod braced;
mod frac;
-mod group;
+mod fragment;
mod matrix;
+mod op;
mod root;
+mod row;
mod script;
mod spacing;
mod stretch;
@@ -54,6 +56,8 @@ pub fn define(scope: &mut Scope) {
scope.def_func::<ScriptNode>("script");
scope.def_func::<SqrtNode>("sqrt");
scope.def_func::<RootNode>("root");
+ scope.def_func::<FloorNode>("floor");
+ scope.def_func::<CeilNode>("ceil");
scope.def_func::<VecNode>("vec");
scope.def_func::<CasesNode>("cases");
scope.def_func::<UnderbraceNode>("underbrace");
@@ -70,6 +74,7 @@ pub fn define(scope: &mut Scope) {
scope.define("med", HNode::strong(MEDIUM).pack());
scope.define("thick", HNode::strong(THICK).pack());
scope.define("quad", HNode::strong(QUAD).pack());
+ define_operators(scope);
}
/// # Math