Repository: KaTeX/KaTeX (js)

Issue:
Typo in macro definition
PR #2429 added support for AMS log-like symbols.
There is a typo in one of the macro definitions:
```
defineMacro("\\injlim", "\\DOTSB\\operatorname*{int\\,lim}");
```
The name should start with `inj`, not `int`.
The corresponding test contains the same typo.

Pull request description:
fix: \injlim typo
Fixes #2458.

Patch:
diff --git a/docs/support_table.md b/docs/support_table.md
index 5ed5443b..922969f7 100644
--- a/docs/support_table.md
+++ b/docs/support_table.md
@@ -500,7 +500,7 @@ use `\ce` instead|
 |\inf|$\inf$||
 |\infin|$\infin$||
 |\infty|$\infty$||
-|\injlim|$\injlim$|`\injlim`|
+|\injlim|$\injlim$| `\injlim` |
 |\int|$\int$||
 |\intercal|$\intercal$||
 |\intop|$\intop$||
diff --git a/src/macros.js b/src/macros.js
index 7927842b..2d49348a 100644
--- a/src/macros.js
+++ b/src/macros.js
@@ -844,7 +844,7 @@ defineMacro("\\liminf", "\\DOTSB\\operatorname*{lim\\,inf}");
 
 //////////////////////////////////////////////////////////////////////
 // From amsopn.sty
-defineMacro("\\injlim", "\\DOTSB\\operatorname*{int\\,lim}");
+defineMacro("\\injlim", "\\DOTSB\\operatorname*{inj\\,lim}");
 defineMacro("\\projlim", "\\DOTSB\\operatorname*{proj\\,lim}");
 defineMacro("\\varlimsup", "\\DOTSB\\operatorname*{\\overline{lim}}");
 defineMacro("\\varliminf", "\\DOTSB\\operatorname*{\\underline{lim}}");


Test patch:
diff --git a/test/katex-spec.js b/test/katex-spec.js
index bae8f3f5..ad07172d 100644
--- a/test/katex-spec.js
+++ b/test/katex-spec.js
@@ -3440,7 +3440,7 @@ describe("A macro expander", function() {
     });
 
     it("should expand AMS log-like symbols as expected", () => {
-        expect`\injlim`.toParseLike`\operatorname*{int\,lim}`;
+        expect`\injlim`.toParseLike`\operatorname*{inj\,lim}`;
         expect`\projlim`.toParseLike`\operatorname*{proj\,lim}`;
         expect`\varlimsup`.toParseLike`\operatorname*{\overline{lim}}`;
         expect`\varliminf`.toParseLike`\operatorname*{\underline{lim}}`;