katex 0.16.43 → 0.16.44
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/README.md +3 -3
- package/contrib/copy-tex/README.md +2 -2
- package/contrib/mathtex-script-type/README.md +5 -5
- package/contrib/mhchem/README.md +1 -1
- package/dist/README.md +3 -3
- package/dist/katex-swap.css +1 -1
- package/dist/katex-swap.min.css +1 -1
- package/dist/katex.css +1 -1
- package/dist/katex.js +5 -4
- package/dist/katex.min.css +1 -1
- package/dist/katex.min.js +1 -1
- package/dist/katex.mjs +5 -4
- package/package.json +1 -1
- package/src/environments/array.ts +4 -3
package/dist/katex.mjs
CHANGED
|
@@ -9631,9 +9631,10 @@ var htmlBuilder$6 = function htmlBuilder(group, options) {
|
|
|
9631
9631
|
}
|
|
9632
9632
|
}
|
|
9633
9633
|
// In AMS multiline environments such as aligned and gathered, rows
|
|
9634
|
-
// correspond to lines that have additional \jot added
|
|
9635
|
-
//
|
|
9636
|
-
|
|
9634
|
+
// correspond to lines that have additional \jot added between lines
|
|
9635
|
+
// via \openup.
|
|
9636
|
+
// We simulate this by adding \jot depth to each row except the last.
|
|
9637
|
+
if (group.addJot && r < group.body.length - 1) {
|
|
9637
9638
|
depth += jot;
|
|
9638
9639
|
}
|
|
9639
9640
|
outrow.height = height;
|
|
@@ -16403,7 +16404,7 @@ var renderToHTMLTree = function renderToHTMLTree(expression, options) {
|
|
|
16403
16404
|
return renderError(error, expression, settings);
|
|
16404
16405
|
}
|
|
16405
16406
|
};
|
|
16406
|
-
var version = "0.16.
|
|
16407
|
+
var version = "0.16.44";
|
|
16407
16408
|
var __domTree = {
|
|
16408
16409
|
Span,
|
|
16409
16410
|
Anchor,
|
package/package.json
CHANGED
|
@@ -366,9 +366,10 @@ const htmlBuilder: HtmlBuilder<"array"> = function(group, options) {
|
|
|
366
366
|
}
|
|
367
367
|
}
|
|
368
368
|
// In AMS multiline environments such as aligned and gathered, rows
|
|
369
|
-
// correspond to lines that have additional \jot added
|
|
370
|
-
//
|
|
371
|
-
|
|
369
|
+
// correspond to lines that have additional \jot added between lines
|
|
370
|
+
// via \openup.
|
|
371
|
+
// We simulate this by adding \jot depth to each row except the last.
|
|
372
|
+
if (group.addJot && r < group.body.length - 1) {
|
|
372
373
|
depth += jot;
|
|
373
374
|
}
|
|
374
375
|
|