diff options
| author | Pg Biel <9021226+PgBiel@users.noreply.github.com> | 2023-04-21 06:28:46 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-21 11:28:46 +0200 |
| commit | a4075f8b9b387f4e0aea9cc0ee11ca62c99a648d (patch) | |
| tree | 1090c82c7d7522d5750a6e7d31a91b3f88a3b53b /library/src/math/mod.rs | |
| parent | 4cea7007d0d4f152097d753be3020c736e96cca0 (diff) | |
Implement math `cancel` function (#793)
Diffstat (limited to 'library/src/math/mod.rs')
| -rw-r--r-- | library/src/math/mod.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/library/src/math/mod.rs b/library/src/math/mod.rs index 9c8a9cdf..48fe52d2 100644 --- a/library/src/math/mod.rs +++ b/library/src/math/mod.rs @@ -5,6 +5,7 @@ mod ctx; mod accent; mod align; mod attach; +mod cancel; mod delimited; mod frac; mod fragment; @@ -20,6 +21,7 @@ mod underover; pub use self::accent::*; pub use self::align::*; pub use self::attach::*; +pub use self::cancel::*; pub use self::delimited::*; pub use self::frac::*; pub use self::matrix::*; @@ -71,6 +73,7 @@ pub fn module() -> Module { math.define("overbrace", OverbraceElem::func()); math.define("underbracket", UnderbracketElem::func()); math.define("overbracket", OverbracketElem::func()); + math.define("cancel", CancelElem::func()); // Fractions and matrix-likes. math.define("frac", FracElem::func()); |
