temml 0.10.24 → 0.10.29
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +1 -1
- package/contrib/auto-render/dist/auto-render.js +4 -7
- package/contrib/auto-render/dist/auto-render.min.js +1 -1
- package/contrib/auto-render/test/auto-render.js +4 -7
- package/contrib/mhchem/mhchem.js +19 -5
- package/contrib/mhchem/mhchem.min.js +1 -1
- package/dist/Temml-Asana.css +117 -34
- package/dist/Temml-Fira.css +117 -34
- package/dist/Temml-Latin-Modern.css +117 -34
- package/dist/Temml-Libertinus.css +117 -34
- package/dist/Temml-Local.css +117 -34
- package/dist/Temml-STIX2.css +117 -34
- package/dist/temml.cjs +7087 -6900
- package/dist/temml.js +4680 -4507
- package/dist/temml.min.js +1 -1
- package/dist/temml.mjs +7087 -6900
- package/dist/temmlPostProcess.js +1 -3
- package/package.json +8 -5
- package/src/Parser.js +7 -4
- package/src/buildMathML.js +55 -32
- package/src/environments/array.js +54 -13
- package/src/environments/cd.js +1 -1
- package/src/functions/accent.js +32 -7
- package/src/functions/def.js +1 -2
- package/src/functions/enclose.js +60 -31
- package/src/functions/op.js +15 -1
- package/src/functions/supsub.js +2 -2
- package/src/functions/text.js +7 -3
- package/src/macros.js +5 -1
- package/src/postProcess.js +1 -1
- package/src/symbols.js +5 -0
package/src/macros.js
CHANGED
@@ -82,7 +82,7 @@ defineMacro("\\TextOrMath", function(context) {
|
|
82
82
|
}
|
83
83
|
});
|
84
84
|
|
85
|
-
const stringFromArg = arg => {
|
85
|
+
export const stringFromArg = arg => {
|
86
86
|
// Reverse the order of the arg and return a string.
|
87
87
|
let str = ""
|
88
88
|
for (let i = arg.length - 1; i > -1; i--) {
|
@@ -246,6 +246,10 @@ defineMacro("\\underbar", "\\underline{\\text{#1}}");
|
|
246
246
|
defineMacro("\\vdots", "{\\varvdots\\rule{0pt}{15pt}}");
|
247
247
|
defineMacro("\u22ee", "\\vdots");
|
248
248
|
|
249
|
+
// {array} environment gaps
|
250
|
+
defineMacro("\\arraystretch", "1") // line spacing factor times 12pt
|
251
|
+
defineMacro("\\arraycolsep", "6pt") // half the width separating columns
|
252
|
+
|
249
253
|
//////////////////////////////////////////////////////////////////////
|
250
254
|
// amsmath.sty
|
251
255
|
// http://mirrors.concertpass.com/tex-archive/macros/latex/required/amsmath/amsmath.pdf
|
package/src/postProcess.js
CHANGED
package/src/symbols.js
CHANGED
@@ -427,6 +427,7 @@ defineSymbol(math, bin, "\u22d3", "\\Cup", true);
|
|
427
427
|
defineSymbol(math, bin, "\u2a5e", "\\doublebarwedge", true);
|
428
428
|
defineSymbol(math, bin, "\u229f", "\\boxminus", true);
|
429
429
|
defineSymbol(math, bin, "\u229e", "\\boxplus", true);
|
430
|
+
defineSymbol(math, bin, "\u29C4", "\\boxslash", true);
|
430
431
|
defineSymbol(math, bin, "\u22c7", "\\divideontimes", true);
|
431
432
|
defineSymbol(math, bin, "\u22c9", "\\ltimes", true);
|
432
433
|
defineSymbol(math, bin, "\u22ca", "\\rtimes", true);
|
@@ -811,6 +812,10 @@ defineSymbol(math, op, "\u2210", "\\coprod");
|
|
811
812
|
defineSymbol(math, op, "\u22c1", "\\bigvee");
|
812
813
|
defineSymbol(math, op, "\u22c0", "\\bigwedge");
|
813
814
|
defineSymbol(math, op, "\u2a04", "\\biguplus");
|
815
|
+
defineSymbol(math, op, "\u2a04", "\\bigcupplus");
|
816
|
+
defineSymbol(math, op, "\u2a03", "\\bigcupdot");
|
817
|
+
defineSymbol(math, op, "\u2a07", "\\bigdoublevee");
|
818
|
+
defineSymbol(math, op, "\u2a08", "\\bigdoublewedge");
|
814
819
|
defineSymbol(math, op, "\u22c2", "\\bigcap");
|
815
820
|
defineSymbol(math, op, "\u22c3", "\\bigcup");
|
816
821
|
defineSymbol(math, op, "\u222b", "\\int");
|