add \argmax and \argmin (#1820)

* add \argmax and \argmin

* add reference to argmin and argmax
This commit is contained in:
René Filip
2019-01-13 00:36:36 +01:00
committed by Kevin Barabash
parent e85cb97cca
commit 9ddc24c9f1
4 changed files with 19 additions and 1 deletions

View File

@@ -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() {