temml 0.11.0 → 0.11.2
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-Local.css +6 -1
- package/dist/{Temml-Fira.css → Temml-NotoSans.css} +13 -20
- package/dist/temml.cjs +3815 -3574
- package/dist/temml.js +2885 -2644
- package/dist/temml.min.js +1 -1
- package/dist/temml.mjs +3815 -3574
- package/dist/temmlPostProcess.js +2 -1
- package/package.json +1 -1
- package/src/ParseError.js +1 -1
- package/src/Parser.js +7 -1
- package/src/environments/array.js +81 -34
- package/src/environments/borderTree.js +139 -0
- package/src/functions/arrow.js +1 -1
- package/src/functions/bordermatrix.js +42 -0
- package/src/functions/mclass.js +15 -15
- package/src/functions/operatorname.js +1 -1
- package/src/functions/supsub.js +1 -1
- package/src/functions/symbolsOp.js +9 -0
- package/src/functions/symbolsOrd.js +3 -1
- package/src/functions.js +1 -0
- package/src/postProcess.js +2 -1
- package/src/symbols.js +2 -2
- package/temml.js +1 -1
package/README.md
CHANGED
package/dist/Temml-Local.css
CHANGED
@@ -12,7 +12,7 @@ Unicode range 1D49C to 1D4B5.
|
|
12
12
|
}
|
13
13
|
|
14
14
|
math {
|
15
|
-
font-family: "Cambria Math", 'STIXTwoMath-Regular', math;
|
15
|
+
font-family: "Cambria Math", 'STIXTwoMath-Regular', 'NotoSansMath-Regular', math;
|
16
16
|
font-style: normal;
|
17
17
|
font-weight: normal;
|
18
18
|
line-height: normal;
|
@@ -34,6 +34,11 @@ math * {
|
|
34
34
|
* Not in Chromium, which recognizes display: "block math" written inline. */
|
35
35
|
math.tml-display { display: block; }
|
36
36
|
|
37
|
+
*.mathcal {
|
38
|
+
/* NotoSans */
|
39
|
+
font-feature-settings: 'ss01';
|
40
|
+
}
|
41
|
+
|
37
42
|
math .mathscr {
|
38
43
|
font-family: "Temml";
|
39
44
|
}
|
@@ -1,24 +1,13 @@
|
|
1
1
|
/*
|
2
|
-
|
2
|
+
Noto Math fonts are released under the SIL OPEN FONT LICENSE Version 1.1.
|
3
3
|
|
4
|
-
The
|
5
|
-
|
6
|
-
|
7
|
-
The Temml.woff2 is a clone of KaTeX_Script-Regular, except that the code points
|
8
|
-
have been changed from ASCII to Unicode Mathematical Alphanumeric Symbols Script capitals,
|
9
|
-
Unicode range 1D49C to 1D4B5.
|
4
|
+
The NotoMath font has been obtained from
|
5
|
+
https://gwfh.mranftl.com/fonts/noto-sans-math?subsets=math
|
10
6
|
*/
|
11
7
|
|
12
8
|
@font-face {
|
13
|
-
font-family:
|
14
|
-
src: url('
|
15
|
-
font-weight: normal;
|
16
|
-
font-style: normal;
|
17
|
-
}
|
18
|
-
|
19
|
-
@font-face {
|
20
|
-
font-family: Fira Math;
|
21
|
-
src: url('FiraMath-Regular.woff2');
|
9
|
+
font-family: NotoSans Math;
|
10
|
+
src: url('noto-sans-math-v15-math-regular.woff2');
|
22
11
|
}
|
23
12
|
|
24
13
|
math {
|
@@ -40,20 +29,24 @@ math * {
|
|
40
29
|
}
|
41
30
|
|
42
31
|
math {
|
43
|
-
font-family: "
|
32
|
+
font-family: "NotoSans Math", math;
|
44
33
|
}
|
45
34
|
|
46
35
|
/* Next line is active in Firefox and Safari.
|
47
36
|
* Not in Chromium, which recognizes display: "block math" written inline. */
|
48
37
|
math.tml-display { display: block; }
|
49
38
|
|
50
|
-
|
51
|
-
font-family: "
|
39
|
+
math .mathscr {
|
40
|
+
font-family: "ssty1";
|
41
|
+
}
|
42
|
+
|
43
|
+
*.mathcal {
|
44
|
+
font-feature-settings: 'ss01';
|
52
45
|
}
|
53
46
|
|
54
47
|
/* Chromium prime alignment */
|
55
48
|
mo.tml-prime {
|
56
|
-
font-
|
49
|
+
font-feature-settings: 'ssty';
|
57
50
|
}
|
58
51
|
|
59
52
|
/* Prevent f' from overlapping in Chromium */
|