mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-12 06:28:40 +00:00
add \argmax and \argmin (#1820)
* add \argmax and \argmin * add reference to argmin and argmax
This commit is contained in:
committed by
Kevin Barabash
parent
e85cb97cca
commit
9ddc24c9f1
@@ -3140,6 +3140,14 @@ describe("A macro expander", function() {
|
||||
it("should expand \\liminf as expected", () => {
|
||||
expect`\liminf`.toParseLike`\mathop{\operatorname{lim\,inf}}\limits`;
|
||||
});
|
||||
|
||||
it("should expand \\argmin as expected", () => {
|
||||
expect`\argmin`.toParseLike`\mathop{\operatorname{arg\,min}}\limits`;
|
||||
});
|
||||
|
||||
it("should expand \\argmax as expected", () => {
|
||||
expect`\argmax`.toParseLike`\mathop{\operatorname{arg\,max}}\limits`;
|
||||
});
|
||||
});
|
||||
|
||||
describe("\\tag support", function() {
|
||||
|
Reference in New Issue
Block a user