mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-13 06:58:40 +00:00
Add \plim (#1952)
* Add \plim * tweak position of argmin and plim in support table
This commit is contained in:
@@ -799,6 +799,7 @@ table td {
|
||||
|\pi|$\pi$||
|
||||
|{picture}|<span style="color:firebrick;">Not supported</span>||
|
||||
|\pitchfork|$\pitchfork$||
|
||||
|\plim|$\plim$||
|
||||
|\plusmn|$\plusmn$||
|
||||
|\pm|$\pm$||
|
||||
|\pmatrix|<span style="color:firebrick;">Not supported</span>|See `{pmatrix}`|
|
||||
|
@@ -110,7 +110,7 @@ The `{array}` environment does not yet support `\cline` or `\multicolumn`.
|
||||
|
||||
**Greek Letters**
|
||||
|
||||
Direct Input: $Α Β Γ Δ Ε Ζ Η Θ Ι \allowbreak Κ Λ Μ Ν Ξ Ο Π Ρ Σ Τ Υ Φ Χ Ψ Ω$
|
||||
Direct Input: $Α Β Γ Δ Ε Ζ Η Θ Ι \allowbreak Κ Λ Μ Ν Ξ Ο Π Ρ Σ Τ Υ Φ Χ Ψ Ω$
|
||||
$\allowbreak α β γ δ ϵ ζ η θ ι κ λ μ ν ξ o π \allowbreak ρ σ τ υ ϕ χ ψ ω ε ϑ ϖ ϱ ς φ$
|
||||
|
||||
|||||
|
||||
@@ -358,7 +358,7 @@ Direct Input: $+ - / * ⋅ ± × ÷ ∓ ∔ ∧ ∨ ∩ ∪ ≀ ⊎ ⊓ ⊔ ⊕
|
||||
| $\cosec$ `\cosec` | $\hom$ `\hom` | $\tg$ `\tg` | $\Pr$ `\Pr` |
|
||||
| $\cosh$ `\cosh`| $\ker$ `\ker` | $\th$ `\th` | $\sup$ `\sup` |
|
||||
| $\cot$ `\cot` | $\lg$ `\lg`| $\operatorname{f}$ `\operatorname{f}` | $\argmax$ `\argmax` |
|
||||
|$\argmin$ `\argmin`|
|
||||
| $\argmin$ `\argmin`| $\plim$ `\plim` |
|
||||
|
||||
Functions on the right column of this table can take `\limits`.
|
||||
|
||||
|
@@ -944,6 +944,7 @@ defineMacro("\\Zeta", "\\mathrm{Z}");
|
||||
|
||||
defineMacro("\\argmin", "\\DOTSB\\mathop{\\operatorname{arg\\,min}}\\limits");
|
||||
defineMacro("\\argmax", "\\DOTSB\\mathop{\\operatorname{arg\\,max}}\\limits");
|
||||
defineMacro("\\plim", "\\DOTSB\\mathop{\\operatorname{plim}}\\limits");
|
||||
|
||||
// Custom Khan Academy colors, should be moved to an optional package
|
||||
defineMacro("\\blue", "\\textcolor{##6495ed}{#1}");
|
||||
|
@@ -3198,6 +3198,10 @@ describe("A macro expander", function() {
|
||||
expect`\liminf`.toParseLike`\mathop{\operatorname{lim\,inf}}\limits`;
|
||||
});
|
||||
|
||||
it("should expand \\plim as expected", () => {
|
||||
expect`\plim`.toParseLike`\mathop{\operatorname{plim}}\limits`;
|
||||
});
|
||||
|
||||
it("should expand \\argmin as expected", () => {
|
||||
expect`\argmin`.toParseLike`\mathop{\operatorname{arg\,min}}\limits`;
|
||||
});
|
||||
|
Reference in New Issue
Block a user