* Add \plim

* tweak position of argmin and plim in support table
This commit is contained in:
elbaro
2019-06-02 09:20:26 +09:00
committed by Kevin Barabash
parent d1dfd88166
commit 88d9a8a4df
4 changed files with 8 additions and 2 deletions

View File

@@ -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}`|

View File

@@ -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`.

View File

@@ -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}");

View File

@@ -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`;
});