mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-09 04:58:40 +00:00
Support \operatorname* (#1899)
* Support \operatorname* * Fix lint errors * Fix YAML * Update screenshots * Break out a function to avoid code duplication * Fix lint errors * Restore wrapper span * Update docs * Reinstall color macros lost in merge * Update screenshots * Add type annotations, Move to utils file, add \limits to screenshots * Fix lint errors * Rearrange screen shot to fit onto page * Update screenshots * tweak location of utils.js and assembleSupSup.js
This commit is contained in:
@@ -815,8 +815,8 @@ defineMacro("\\approxcoloncolon",
|
||||
|
||||
// Present in newtxmath, pxfonts and txfonts
|
||||
defineMacro("\\notni", "\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}");
|
||||
defineMacro("\\limsup", "\\DOTSB\\mathop{\\operatorname{lim\\,sup}}\\limits");
|
||||
defineMacro("\\liminf", "\\DOTSB\\mathop{\\operatorname{lim\\,inf}}\\limits");
|
||||
defineMacro("\\limsup", "\\DOTSB\\operatorname*{lim\\,sup}");
|
||||
defineMacro("\\liminf", "\\DOTSB\\operatorname*{lim\\,inf}");
|
||||
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
// MathML alternates for KaTeX glyphs in the Unicode private area
|
||||
@@ -942,8 +942,8 @@ defineMacro("\\Zeta", "\\mathrm{Z}");
|
||||
// statmath.sty
|
||||
// https://ctan.math.illinois.edu/macros/latex/contrib/statmath/statmath.pdf
|
||||
|
||||
defineMacro("\\argmin", "\\DOTSB\\mathop{\\operatorname{arg\\,min}}\\limits");
|
||||
defineMacro("\\argmax", "\\DOTSB\\mathop{\\operatorname{arg\\,max}}\\limits");
|
||||
defineMacro("\\argmin", "\\DOTSB\\operatorname*{arg\\,min}");
|
||||
defineMacro("\\argmax", "\\DOTSB\\operatorname*{arg\\,max}");
|
||||
defineMacro("\\plim", "\\DOTSB\\mathop{\\operatorname{plim}}\\limits");
|
||||
|
||||
// Custom Khan Academy colors, should be moved to an optional package
|
||||
|
Reference in New Issue
Block a user