katex 0.16.13 → 0.16.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/katex.mjs CHANGED
@@ -15527,7 +15527,12 @@ defineMacro("\\boxed", "\\fbox{$\\displaystyle{#1}$}"); // \def\iff{\DOTSB\;\Lon
15527
15527
 
15528
15528
  defineMacro("\\iff", "\\DOTSB\\;\\Longleftrightarrow\\;");
15529
15529
  defineMacro("\\implies", "\\DOTSB\\;\\Longrightarrow\\;");
15530
- defineMacro("\\impliedby", "\\DOTSB\\;\\Longleftarrow\\;"); // AMSMath's automatic \dots, based on \mdots@@ macro.
15530
+ defineMacro("\\impliedby", "\\DOTSB\\;\\Longleftarrow\\;"); // \def\dddot#1{{\mathop{#1}\limits^{\vbox to-1.4\ex@{\kern-\tw@\ex@
15531
+ // \hbox{\normalfont ...}\vss}}}}
15532
+ // We use \overset which avoids the vertical shift of \mathop.
15533
+
15534
+ defineMacro("\\dddot", "{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}");
15535
+ defineMacro("\\ddddot", "{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}"); // AMSMath's automatic \dots, based on \mdots@@ macro.
15531
15536
 
15532
15537
  var dotsByToken = {
15533
15538
  ',': '\\dotsc',
@@ -18364,7 +18369,7 @@ var katex = {
18364
18369
  /**
18365
18370
  * Current KaTeX version
18366
18371
  */
18367
- version: "0.16.13",
18372
+ version: "0.16.14",
18368
18373
 
18369
18374
  /**
18370
18375
  * Renders the given LaTeX into an HTML+MathML combination, and adds
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "katex",
3
- "version": "0.16.13",
3
+ "version": "0.16.14",
4
4
  "description": "Fast math typesetting for the web.",
5
5
  "main": "dist/katex.js",
6
6
  "exports": {
package/src/macros.js CHANGED
@@ -380,6 +380,12 @@ defineMacro("\\iff", "\\DOTSB\\;\\Longleftrightarrow\\;");
380
380
  defineMacro("\\implies", "\\DOTSB\\;\\Longrightarrow\\;");
381
381
  defineMacro("\\impliedby", "\\DOTSB\\;\\Longleftarrow\\;");
382
382
 
383
+ // \def\dddot#1{{\mathop{#1}\limits^{\vbox to-1.4\ex@{\kern-\tw@\ex@
384
+ // \hbox{\normalfont ...}\vss}}}}
385
+ // We use \overset which avoids the vertical shift of \mathop.
386
+ defineMacro("\\dddot", "{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}");
387
+ defineMacro("\\ddddot", "{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");
388
+
383
389
  // AMSMath's automatic \dots, based on \mdots@@ macro.
384
390
  const dotsByToken = {
385
391
  ',': '\\dotsc',