Skip to content

Commit ac9337e

Browse files
Omikhleiaalerque
authored andcommitted
feat(math): Add more TeX-like math commands behaving as big operators
As in amsmath: gcd, sup, inf, max, min.
1 parent eb402c5 commit ac9337e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/math/texlike.lua

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,11 @@ compileToMathML(
493493
494494
% From amsmath:
495495
\def{to}{\mo[atom=bin]{→}}
496+
\def{gcd}{\mo[atom=big]{gcd}}
497+
\def{sup}{\mo[atom=big]{sup}}
498+
\def{inf}{\mo[atom=big]{inf}}
499+
\def{max}{\mo[atom=big]{max}}
500+
\def{min}{\mo[atom=big]{min}}
496501
% Those use U+202F NARROW NO-BREAK SPACE in their names
497502
\def{limsup}{\mo[atom=big]{lim sup}}
498503
\def{liminf}{\mo[atom=big]{lim inf}}

0 commit comments

Comments
 (0)