mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-08 04:28:41 +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:
@@ -421,10 +421,10 @@ Direct Input: $+ - / * ⋅ ± × ÷ ∓ ∔ ∧ ∨ ∩ ∪ ≀ ⊎ ⊓ ⊔ ⊕
|
||||
| $\argmin$ `\argmin` | $\lim$ `\lim` | $\plim$ `\plim` | $\varliminf$ `\varliminf` |
|
||||
| $\det$ `\det` | $\liminf$ `\liminf` | $\Pr$ `\Pr` | $\varlimsup$ `\varlimsup` |
|
||||
| $\gcd$ `\gcd` | $\limsup$ `\limsup` | $\projlim$ `\projlim` | $\varprojlim$ `\varprojlim` |
|
||||
| $\inf$ `\inf` | $\max$ `\max` | $\sup$ `\sup` |$\operatorname*{f}$ `\operatorname*{f}`|
|
||||
| $\inf$ `\inf` | $\max$ `\max` | $\sup$ `\sup` ||
|
||||
| $\operatorname*{f}$ `\operatorname*{f}` | $\operatornamewithlimits{f}$ `\operatornamewithlimits{f}` |||
|
||||
|
||||
|
||||
Functions in the bottom five rows of this table can take `\limits`.
|
||||
Functions in the bottom six rows of this table can take `\limits`.
|
||||
|
||||
### \sqrt
|
||||
|
||||
|
Reference in New Issue
Block a user