@uniweb/press 0.4.10 → 0.4.11
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/package.json +1 -1
- package/src/adapters/math-css.js +13 -1
package/package.json
CHANGED
package/src/adapters/math-css.js
CHANGED
|
@@ -42,4 +42,16 @@ export const MATH_CSS = `/* Temml's own class hooks — without these an aligned
|
|
|
42
42
|
/* Row spacing. The browser gives mtd no vertical padding, so state the
|
|
43
43
|
MathML-Core default here; Temml's own CSS only adjusts it for jot. */
|
|
44
44
|
math mtd { padding-top: 0.5ex; padding-bottom: 0.5ex; }
|
|
45
|
-
math mtable.tml-jot mtd { padding-top: 0.7ex; padding-bottom: 0.7ex; }
|
|
45
|
+
math mtable.tml-jot mtd { padding-top: 0.7ex; padding-bottom: 0.7ex; }
|
|
46
|
+
/* AMS auto-numbering. Which equations number is the AUTHOR's choice, made in
|
|
47
|
+
LaTeX: align and equation number, aligned and the starred forms do not.
|
|
48
|
+
Without these two rules that choice was discarded -- align and align-star
|
|
49
|
+
rendered identically, so an author who asked for numbers silently got none.
|
|
50
|
+
(No backticks in here: this string is a JS template literal.) */
|
|
51
|
+
.tml-eqn::before {
|
|
52
|
+
counter-increment: tmlEqnNo;
|
|
53
|
+
content: "(" counter(tmlEqnNo) ")";
|
|
54
|
+
}
|
|
55
|
+
body {
|
|
56
|
+
counter-reset: tmlEqnNo;
|
|
57
|
+
}`
|