mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-05 03:08:40 +00:00
feat: \operatornamewithlimits (and clean up \operatorname support) (#2984)
* feat: \operatornamewithlimits (and clean up \operatorname support) Add support for `\operatornamewithlimits` (an alias to `\operatorname*` defined in `amsmath/amsopn.sty`), and use KaTeX's existing `\@ifstar` macro to define `\operatorname` instead of a special lexing rule (simplifying the lexer). * Pick up one comment * Actually fix docs this time Co-authored-by: Ron Kok <ronkok@comcast.net>
This commit is contained in:
@@ -801,6 +801,7 @@ use `\ce` instead|
|
||||
|\ominus|$\ominus$||
|
||||
|\operatorname|$\operatorname{asin} x$|`\operatorname{asin} x`|
|
||||
|\operatorname\*|$\operatorname*{asin}\limits_y x$|`\operatorname*{asin}\limits_y x`|
|
||||
|\operatornamewithlimits|$\operatornamewithlimits{asin}\limits_y x$|`\operatornamewithlimits{asin}\limits_y x`|
|
||||
|\oplus|$\oplus$||
|
||||
|\or|<span style="color:firebrick;">Not supported</span>||
|
||||
|\origof|$\origof$||
|
||||
|
Reference in New Issue
Block a user