temml 0.10.14 → 0.10.16
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +1 -1
- package/dist/Temml-Asana.css +18 -146
- package/dist/Temml-Latin-Modern.css +20 -148
- package/dist/Temml-Libertinus.css +18 -147
- package/dist/Temml-Local.css +19 -147
- package/dist/Temml-STIX2.css +18 -146
- package/dist/Temml.woff2 +0 -0
- package/dist/temml.cjs +221 -55
- package/dist/temml.d.ts +60 -0
- package/dist/temml.js +221 -55
- package/dist/temml.min.js +1 -1
- package/dist/temml.mjs +221 -55
- package/dist/temmlPostProcess.js +1 -1
- package/package.json +4 -2
- package/src/Parser.js +0 -1
- package/src/buildMathML.js +1 -3
- package/src/domTree.js +2 -2
- package/src/environments/array.js +99 -23
- package/src/functions/accent.js +17 -22
- package/src/functions/accentunder.js +1 -1
- package/src/functions/enclose.js +24 -3
- package/src/functions/supsub.js +8 -1
- package/src/functions/symbolsOrd.js +3 -1
- package/src/macros.js +3 -0
- package/src/postProcess.js +1 -1
- package/src/stretchy.js +48 -1
- package/src/symbols.js +13 -1
- package/temml.js +6 -0
package/dist/Temml-STIX2.css
CHANGED
@@ -48,6 +48,24 @@ mo.tml-prime {
|
|
48
48
|
font-feature-settings: 'ss04';
|
49
49
|
}
|
50
50
|
|
51
|
+
/* Prevent f' from overlapping in Chromium */
|
52
|
+
mo.prime-pad {
|
53
|
+
padding-left: 0.08em;
|
54
|
+
}
|
55
|
+
|
56
|
+
/* Stretch \widetilde in Chromium */
|
57
|
+
@supports (not (-webkit-backdrop-filter: blur(1px))) and (not (-moz-appearance: none)) {
|
58
|
+
.tml-crooked-2 {
|
59
|
+
transform: scale(2.0, 1.1)
|
60
|
+
}
|
61
|
+
.tml-crooked-3 {
|
62
|
+
transform: scale(3.0, 1.3)
|
63
|
+
}
|
64
|
+
.tml-crooked-4 {
|
65
|
+
transform: scale(4.0, 1.4)
|
66
|
+
}
|
67
|
+
}
|
68
|
+
|
51
69
|
/* flex-wrap for line-breaking in Chromium */
|
52
70
|
math {
|
53
71
|
display: inline-flex;
|
@@ -73,149 +91,3 @@ math > mrow {
|
|
73
91
|
body {
|
74
92
|
counter-reset: tmlEqnNo;
|
75
93
|
}
|
76
|
-
|
77
|
-
/* Environment arrays */
|
78
|
-
|
79
|
-
/* Environments that addjot to row spacing */
|
80
|
-
mtable.tml-jot > mtr > mtd {
|
81
|
-
padding-top: calc(0.5ex + 0.09em);
|
82
|
-
padding-bottom: calc(0.5ex + 0.09em);
|
83
|
-
}
|
84
|
-
|
85
|
-
/* Zero column gap for {alignat}, {split}, etc */
|
86
|
-
mtable.tml-abut > mtr > mtd,
|
87
|
-
mtable.tml-align > mtr > mtd:nth-child(odd),
|
88
|
-
mtable.tml-align-star > mtr > mtd:nth-child(even) {
|
89
|
-
padding-left: 0em;
|
90
|
-
padding-right: 0em;
|
91
|
-
}
|
92
|
-
|
93
|
-
mtable.tml-align > mtr > mtd:nth-child(even),
|
94
|
-
mtable.tml-align-star > mtr > mtd:nth-child(odd) {
|
95
|
-
padding-left: 1em;
|
96
|
-
padding-right: 0em;
|
97
|
-
}
|
98
|
-
|
99
|
-
mtable.tml-align > mtr > mtd:nth-child(1) {
|
100
|
-
padding-left: 0em;
|
101
|
-
}
|
102
|
-
|
103
|
-
mtable.tml-align > mtr > mtd:nth-child(odd),
|
104
|
-
mtable.tml-alignat > mtr > mtd:nth-child(odd),
|
105
|
-
mtable.tml-aligned > mtr > mtd:nth-child(even) {
|
106
|
-
text-align: -webkit-left;
|
107
|
-
text-align: -moz-left;
|
108
|
-
}
|
109
|
-
|
110
|
-
mtable.tml-align > mtr > mtd:nth-child(even),
|
111
|
-
mtable.tml-alignat > mtr > mtd:nth-child(even),
|
112
|
-
mtable.tml-aligned > mtr > mtd:nth-child(odd) {
|
113
|
-
text-align: -webkit-right;
|
114
|
-
text-align: -moz-right;
|
115
|
-
}
|
116
|
-
|
117
|
-
mtable.tml-cases > mtr > mtd {
|
118
|
-
padding-left: 0em;
|
119
|
-
padding-right: 0em;
|
120
|
-
text-align: -webkit-left;
|
121
|
-
text-align: -moz-left;
|
122
|
-
}
|
123
|
-
|
124
|
-
mtable.tml-cases > mtr > mtd:nth-child(2) {
|
125
|
-
padding-left: 1em;
|
126
|
-
}
|
127
|
-
|
128
|
-
mtable.tml-small > mtr > mtd {
|
129
|
-
padding-top: 0.35ex;
|
130
|
-
padding-bottom: 0.35ex;
|
131
|
-
padding-left: 0.1389em;
|
132
|
-
padding-right: 0.1389em;
|
133
|
-
}
|
134
|
-
|
135
|
-
mtable.tml-subarray > mtr > mtd {
|
136
|
-
padding-top: 0em;
|
137
|
-
padding-left: 0em;
|
138
|
-
}
|
139
|
-
|
140
|
-
mtable.tml-cd > mtr > mtd {
|
141
|
-
padding-left: 0.25em;
|
142
|
-
padding-right: 0.25em;
|
143
|
-
}
|
144
|
-
|
145
|
-
mtable > mtr:first-child > mtr > mtd {
|
146
|
-
padding-top: 0em;
|
147
|
-
}
|
148
|
-
|
149
|
-
mtable > mtr:last-child > mtr > mtd {
|
150
|
-
padding-bottom: 0em;
|
151
|
-
}
|
152
|
-
|
153
|
-
mtable:not(.tml-array) > mtr > mtd:first-child {
|
154
|
-
padding-left: 0em;
|
155
|
-
}
|
156
|
-
|
157
|
-
mtable:not(.tml-array) > mtr > mtd:last-child {
|
158
|
-
padding-right: 0em;
|
159
|
-
}
|
160
|
-
|
161
|
-
mtr.tml-top-solid > mtd {
|
162
|
-
border-top: 0.06em solid;
|
163
|
-
}
|
164
|
-
|
165
|
-
mtr.tml-top-double > mtd {
|
166
|
-
border-top: 0.15em double;
|
167
|
-
}
|
168
|
-
|
169
|
-
mtr.tml-top-dashed > mtd {
|
170
|
-
border-top: 0.06em dashed;
|
171
|
-
}
|
172
|
-
|
173
|
-
mtr.tml-hline-solid > mtd {
|
174
|
-
border-bottom: 0.06em solid;
|
175
|
-
}
|
176
|
-
|
177
|
-
mtr.tml-hline-double > mtd {
|
178
|
-
border-bottom: 0.15em double;
|
179
|
-
}
|
180
|
-
|
181
|
-
mtr.tml-hline-dashed > mtd {
|
182
|
-
border-bottom: 0.06em dashed;
|
183
|
-
}
|
184
|
-
|
185
|
-
/* MathML-Core does not support <menclose> attributes.
|
186
|
-
* So Use background images for \cancel */
|
187
|
-
mrow.cancel {
|
188
|
-
background:
|
189
|
-
linear-gradient(to top left,
|
190
|
-
rgba(0,0,0,0) 0%,
|
191
|
-
rgba(0,0,0,0) calc(50% - 0.06em),
|
192
|
-
rgba(0,0,0,1) 50%,
|
193
|
-
rgba(0,0,0,0) calc(50% + 0.06em),
|
194
|
-
rgba(0,0,0,0) 100%);
|
195
|
-
}
|
196
|
-
|
197
|
-
mrow.bcancel {
|
198
|
-
background:
|
199
|
-
linear-gradient(to top right,
|
200
|
-
rgba(0,0,0,0) 0%,
|
201
|
-
rgba(0,0,0,0) calc(50% - 0.06em),
|
202
|
-
rgba(0,0,0,1) 50%,
|
203
|
-
rgba(0,0,0,0) calc(50% + 0.06em),
|
204
|
-
rgba(0,0,0,0) 100%);
|
205
|
-
}
|
206
|
-
|
207
|
-
mrow.xcancel {
|
208
|
-
background:
|
209
|
-
linear-gradient(to top left,
|
210
|
-
rgba(0,0,0,0) 0%,
|
211
|
-
rgba(0,0,0,0) calc(50% - 0.06em),
|
212
|
-
rgba(0,0,0,1) 50%,
|
213
|
-
rgba(0,0,0,0) calc(50% + 0.06em),
|
214
|
-
rgba(0,0,0,0) 100%),
|
215
|
-
linear-gradient(to top right,
|
216
|
-
rgba(0,0,0,0) 0%,
|
217
|
-
rgba(0,0,0,0) calc(50% - 0.06em),
|
218
|
-
rgba(0,0,0,1) 50%,
|
219
|
-
rgba(0,0,0,0) calc(50% + 0.06em),
|
220
|
-
rgba(0,0,0,0) 100%);
|
221
|
-
}
|
package/dist/Temml.woff2
CHANGED
Binary file
|