temml 0.10.32 → 0.10.34
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 +1 -1
- package/dist/Temml-Asana.css +16 -1
- package/dist/Temml-Fira.css +16 -1
- package/dist/Temml-Latin-Modern.css +16 -1
- package/dist/Temml-Libertinus.css +16 -1
- package/dist/Temml-Local.css +16 -1
- package/dist/Temml-STIX2.css +16 -1
- package/dist/temml.cjs +473 -283
- package/dist/temml.js +473 -283
- package/dist/temml.min.js +1 -1
- package/dist/temml.mjs +473 -283
- package/dist/temmlPostProcess.js +39 -25
- package/package.json +1 -1
- package/src/Style.js +5 -3
- package/src/buildMathML.js +104 -62
- package/src/domTree.js +34 -0
- package/src/environments/array.js +119 -82
- package/src/environments/cd.js +17 -10
- package/src/functions/arrow.js +11 -3
- package/src/functions/def.js +7 -4
- package/src/functions/delimsizing.js +1 -0
- package/src/functions/font.js +1 -0
- package/src/functions/genfrac.js +13 -4
- package/src/functions/href.js +4 -6
- package/src/functions/label.js +1 -1
- package/src/functions/op.js +0 -7
- package/src/functions/ref.js +3 -5
- package/src/functions/rule.js +2 -0
- package/src/functions/supsub.js +12 -3
- package/src/functions/vcenter.js +30 -0
- package/src/functions.js +1 -0
- package/src/macros.js +4 -2
- package/src/mathMLTree.js +5 -0
- package/src/postProcess.js +39 -25
- package/src/symbols.js +3 -3
- package/src/variant.js +2 -0
package/README.md
CHANGED
package/dist/Temml-Asana.css
CHANGED
@@ -215,10 +215,25 @@ math > mrow {
|
|
215
215
|
padding: 0.5ex 0ex;
|
216
216
|
}
|
217
217
|
|
218
|
-
/*
|
218
|
+
/* Default mtd top padding is 0.5ex per MathML-Core and user-agent CSS */
|
219
|
+
/* We adjust for jot and small */
|
220
|
+
mtable.tml-jot mtd {
|
221
|
+
padding-top: 0.7ex;
|
222
|
+
padding-bottom: 0.7ex;
|
223
|
+
}
|
224
|
+
mtable.tml-small mtd {
|
225
|
+
padding-top: 0.35ex;
|
226
|
+
padding-bottom: 0.35ex;
|
227
|
+
}
|
228
|
+
|
229
|
+
/* Firefox */
|
219
230
|
@-moz-document url-prefix() {
|
231
|
+
/* Avoid flex-wrap */
|
220
232
|
math { display: inline; }
|
221
233
|
math > mrow { padding: 0 }
|
234
|
+
/* Adjust Firefox spacing between array rows */
|
235
|
+
mtd, mtable.tml-small mtd { padding-top: 0; padding-bottom: 0; }
|
236
|
+
mtable.tml-jot mtd { padding-top: 0.2ex; padding-bottom: 0.ex; }
|
222
237
|
}
|
223
238
|
|
224
239
|
/* AMS environment auto-numbering via CSS counter. */
|
package/dist/Temml-Fira.css
CHANGED
@@ -226,10 +226,25 @@ math > mrow {
|
|
226
226
|
padding: 0.5ex 0ex;
|
227
227
|
}
|
228
228
|
|
229
|
-
/*
|
229
|
+
/* Default mtd top padding is 0.5ex per MathML-Core and user-agent CSS */
|
230
|
+
/* We adjust for jot and small */
|
231
|
+
mtable.tml-jot mtd {
|
232
|
+
padding-top: 0.7ex;
|
233
|
+
padding-bottom: 0.7ex;
|
234
|
+
}
|
235
|
+
mtable.tml-small mtd {
|
236
|
+
padding-top: 0.35ex;
|
237
|
+
padding-bottom: 0.35ex;
|
238
|
+
}
|
239
|
+
|
240
|
+
/* Firefox */
|
230
241
|
@-moz-document url-prefix() {
|
242
|
+
/* Avoid flex-wrap */
|
231
243
|
math { display: inline; }
|
232
244
|
math > mrow { padding: 0 }
|
245
|
+
/* Adjust Firefox spacing between array rows */
|
246
|
+
mtd, mtable.tml-small mtd { padding-top: 0; padding-bottom: 0; }
|
247
|
+
mtable.tml-jot mtd { padding-top: 0.2ex; padding-bottom: 0.ex; }
|
233
248
|
}
|
234
249
|
|
235
250
|
/* AMS environment auto-numbering via CSS counter. */
|
@@ -229,10 +229,25 @@ math > mrow {
|
|
229
229
|
padding: 0.5ex 0ex;
|
230
230
|
}
|
231
231
|
|
232
|
-
/*
|
232
|
+
/* Default mtd top padding is 0.5ex per MathML-Core and user-agent CSS */
|
233
|
+
/* We adjust for jot and small */
|
234
|
+
mtable.tml-jot mtd {
|
235
|
+
padding-top: 0.7ex;
|
236
|
+
padding-bottom: 0.7ex;
|
237
|
+
}
|
238
|
+
mtable.tml-small mtd {
|
239
|
+
padding-top: 0.35ex;
|
240
|
+
padding-bottom: 0.35ex;
|
241
|
+
}
|
242
|
+
|
243
|
+
/* Firefox */
|
233
244
|
@-moz-document url-prefix() {
|
245
|
+
/* Avoid flex-wrap */
|
234
246
|
math { display: inline; }
|
235
247
|
math > mrow { padding: 0 }
|
248
|
+
/* Adjust Firefox spacing between array rows */
|
249
|
+
mtd, mtable.tml-small mtd { padding-top: 0; padding-bottom: 0; }
|
250
|
+
mtable.tml-jot mtd { padding-top: 0.2ex; padding-bottom: 0.ex; }
|
236
251
|
}
|
237
252
|
|
238
253
|
/* AMS environment auto-numbering via CSS counter. */
|
@@ -226,10 +226,25 @@ math > mrow {
|
|
226
226
|
padding: 0.5ex 0ex;
|
227
227
|
}
|
228
228
|
|
229
|
-
/*
|
229
|
+
/* Default mtd top padding is 0.5ex per MathML-Core and user-agent CSS */
|
230
|
+
/* We adjust for jot and small */
|
231
|
+
mtable.tml-jot mtd {
|
232
|
+
padding-top: 0.7ex;
|
233
|
+
padding-bottom: 0.7ex;
|
234
|
+
}
|
235
|
+
mtable.tml-small mtd {
|
236
|
+
padding-top: 0.35ex;
|
237
|
+
padding-bottom: 0.35ex;
|
238
|
+
}
|
239
|
+
|
240
|
+
/* Firefox */
|
230
241
|
@-moz-document url-prefix() {
|
242
|
+
/* Avoid flex-wrap */
|
231
243
|
math { display: inline; }
|
232
244
|
math > mrow { padding: 0 }
|
245
|
+
/* Adjust Firefox spacing between array rows */
|
246
|
+
mtd, mtable.tml-small mtd { padding-top: 0; padding-bottom: 0; }
|
247
|
+
mtable.tml-jot mtd { padding-top: 0.2ex; padding-bottom: 0.ex; }
|
233
248
|
}
|
234
249
|
|
235
250
|
/* AMS environment auto-numbering via CSS counter. */
|
package/dist/Temml-Local.css
CHANGED
@@ -212,10 +212,25 @@ math > mrow {
|
|
212
212
|
padding: 0.5ex 0ex;
|
213
213
|
}
|
214
214
|
|
215
|
-
/*
|
215
|
+
/* Default mtd top padding is 0.5ex per MathML-Core and user-agent CSS */
|
216
|
+
/* We adjust for jot and small */
|
217
|
+
mtable.tml-jot mtd {
|
218
|
+
padding-top: 0.7ex;
|
219
|
+
padding-bottom: 0.7ex;
|
220
|
+
}
|
221
|
+
mtable.tml-small mtd {
|
222
|
+
padding-top: 0.35ex;
|
223
|
+
padding-bottom: 0.35ex;
|
224
|
+
}
|
225
|
+
|
226
|
+
/* Firefox */
|
216
227
|
@-moz-document url-prefix() {
|
228
|
+
/* Avoid flex-wrap */
|
217
229
|
math { display: inline; }
|
218
230
|
math > mrow { padding: 0 }
|
231
|
+
/* Adjust Firefox spacing between array rows */
|
232
|
+
mtd, mtable.tml-small mtd { padding-top: 0; padding-bottom: 0; }
|
233
|
+
mtable.tml-jot mtd { padding-top: 0.2ex; padding-bottom: 0.ex; }
|
219
234
|
}
|
220
235
|
|
221
236
|
/* AMS environment auto-numbering via CSS counter. */
|
package/dist/Temml-STIX2.css
CHANGED
@@ -216,10 +216,25 @@ math > mrow {
|
|
216
216
|
padding: 0.5ex 0ex;
|
217
217
|
}
|
218
218
|
|
219
|
-
/*
|
219
|
+
/* Default mtd top padding is 0.5ex per MathML-Core and user-agent CSS */
|
220
|
+
/* We adjust for jot and small */
|
221
|
+
mtable.tml-jot mtd {
|
222
|
+
padding-top: 0.7ex;
|
223
|
+
padding-bottom: 0.7ex;
|
224
|
+
}
|
225
|
+
mtable.tml-small mtd {
|
226
|
+
padding-top: 0.35ex;
|
227
|
+
padding-bottom: 0.35ex;
|
228
|
+
}
|
229
|
+
|
230
|
+
/* Firefox */
|
220
231
|
@-moz-document url-prefix() {
|
232
|
+
/* Avoid flex-wrap */
|
221
233
|
math { display: inline; }
|
222
234
|
math > mrow { padding: 0 }
|
235
|
+
/* Adjust Firefox spacing between array rows */
|
236
|
+
mtd, mtable.tml-small mtd { padding-top: 0; padding-bottom: 0; }
|
237
|
+
mtable.tml-jot mtd { padding-top: 0.2ex; padding-bottom: 0.ex; }
|
223
238
|
}
|
224
239
|
|
225
240
|
/* AMS environment auto-numbering via CSS counter. */
|