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/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
@@ -8,7 +8,7 @@
8
8
  * https://mit-license.org/
9
9
  */
10
10
 
11
- export const version = "0.10.24";
11
+ export const version = "0.10.29";
12
12
 
13
13
  export function postProcess(block) {
14
14
  const labelMap = {}
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");