temml 0.10.13 → 0.10.15
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 +5 -147
- package/dist/Temml-Latin-Modern.css +5 -148
- package/dist/Temml-Libertinus.css +5 -148
- package/dist/Temml-Local.css +5 -147
- package/dist/Temml-STIX2.css +5 -147
- package/dist/temml.cjs +197 -99
- package/dist/temml.d.ts +60 -0
- package/dist/temml.js +197 -99
- package/dist/temml.min.js +1 -1
- package/dist/temml.mjs +197 -99
- package/dist/temmlPostProcess.js +1 -1
- package/package.json +4 -2
- package/src/buildMathML.js +4 -3
- package/src/environments/array.js +95 -23
- package/src/functions/delimsizing.js +2 -3
- package/src/functions/enclose.js +37 -16
- package/src/functions/raise.js +7 -7
- package/src/linebreaking.js +45 -48
- package/src/macros.js +1 -4
- package/src/postProcess.js +1 -1
- package/src/symbols.js +5 -0
- package/temml.js +6 -0
package/README.md
CHANGED
package/dist/Temml-Asana.css
CHANGED
@@ -38,6 +38,10 @@ math {
|
|
38
38
|
font-family: Asana Math, math;
|
39
39
|
}
|
40
40
|
|
41
|
+
/* Next line is active in Firefox and Safari.
|
42
|
+
* Not in Chromium, which recognizes display: "block math" written inline. */
|
43
|
+
math.tml-display { display: block; }
|
44
|
+
|
41
45
|
*.mathcal,
|
42
46
|
mo.tml-prime {
|
43
47
|
font-feature-settings: 'salt';
|
@@ -54,7 +58,7 @@ math > mrow {
|
|
54
58
|
}
|
55
59
|
|
56
60
|
/* Avoid flex-wrap in Firefox */
|
57
|
-
|
61
|
+
@-moz-document url-prefix() {
|
58
62
|
math { display: inline; }
|
59
63
|
math > mrow { padding: 0 }
|
60
64
|
}
|
@@ -68,149 +72,3 @@ math > mrow {
|
|
68
72
|
body {
|
69
73
|
counter-reset: tmlEqnNo;
|
70
74
|
}
|
71
|
-
|
72
|
-
/* Environment arrays */
|
73
|
-
|
74
|
-
/* Environments that addjot to row spacing */
|
75
|
-
mtable.tml-jot > mtr > mtd {
|
76
|
-
padding-top: calc(0.5ex + 0.09em);
|
77
|
-
padding-bottom: calc(0.5ex + 0.09em);
|
78
|
-
}
|
79
|
-
|
80
|
-
/* Zero column gap for {alignat}, {split}, etc */
|
81
|
-
mtable.tml-abut > mtr > mtd,
|
82
|
-
mtable.tml-align > mtr > mtd:nth-child(odd),
|
83
|
-
mtable.tml-align-star > mtr > mtd:nth-child(even) {
|
84
|
-
padding-left: 0em;
|
85
|
-
padding-right: 0em;
|
86
|
-
}
|
87
|
-
|
88
|
-
mtable.tml-align > mtr > mtd:nth-child(even),
|
89
|
-
mtable.tml-align-star > mtr > mtd:nth-child(odd) {
|
90
|
-
padding-left: 1em;
|
91
|
-
padding-right: 0em;
|
92
|
-
}
|
93
|
-
|
94
|
-
mtable.tml-align > mtr > mtd:nth-child(1) {
|
95
|
-
padding-left: 0em;
|
96
|
-
}
|
97
|
-
|
98
|
-
mtable.tml-align > mtr > mtd:nth-child(odd),
|
99
|
-
mtable.tml-alignat > mtr > mtd:nth-child(odd),
|
100
|
-
mtable.tml-aligned > mtr > mtd:nth-child(even) {
|
101
|
-
text-align: -webkit-left;
|
102
|
-
text-align: -moz-left;
|
103
|
-
}
|
104
|
-
|
105
|
-
mtable.tml-align > mtr > mtd:nth-child(even),
|
106
|
-
mtable.tml-alignat > mtr > mtd:nth-child(even),
|
107
|
-
mtable.tml-aligned > mtr > mtd:nth-child(odd) {
|
108
|
-
text-align: -webkit-right;
|
109
|
-
text-align: -moz-right;
|
110
|
-
}
|
111
|
-
|
112
|
-
mtable.tml-cases > mtr > mtd {
|
113
|
-
padding-left: 0em;
|
114
|
-
padding-right: 0em;
|
115
|
-
text-align: -webkit-left;
|
116
|
-
text-align: -moz-left;
|
117
|
-
}
|
118
|
-
|
119
|
-
mtable.tml-cases > mtr > mtd:nth-child(2) {
|
120
|
-
padding-left: 1em;
|
121
|
-
}
|
122
|
-
|
123
|
-
mtable.tml-small > mtr > mtd {
|
124
|
-
padding-top: 0.35ex;
|
125
|
-
padding-bottom: 0.35ex;
|
126
|
-
padding-left: 0.1389em;
|
127
|
-
padding-right: 0.1389em;
|
128
|
-
}
|
129
|
-
|
130
|
-
mtable.tml-subarray > mtr > mtd {
|
131
|
-
padding-top: 0em;
|
132
|
-
padding-left: 0em;
|
133
|
-
}
|
134
|
-
|
135
|
-
mtable.tml-cd > mtr > mtd {
|
136
|
-
padding-left: 0.25em;
|
137
|
-
padding-right: 0.25em;
|
138
|
-
}
|
139
|
-
|
140
|
-
mtable > mtr:first-child > mtr > mtd {
|
141
|
-
padding-top: 0em;
|
142
|
-
}
|
143
|
-
|
144
|
-
mtable > mtr:last-child > mtr > mtd {
|
145
|
-
padding-bottom: 0em;
|
146
|
-
}
|
147
|
-
|
148
|
-
mtable:not(.tml-array) > mtr > mtd:first-child {
|
149
|
-
padding-left: 0em;
|
150
|
-
}
|
151
|
-
|
152
|
-
mtable:not(.tml-array) > mtr > mtd:last-child {
|
153
|
-
padding-right: 0em;
|
154
|
-
}
|
155
|
-
|
156
|
-
mtr.tml-top-solid > mtd {
|
157
|
-
border-top: 0.06em solid;
|
158
|
-
}
|
159
|
-
|
160
|
-
mtr.tml-top-double > mtd {
|
161
|
-
border-top: 0.15em double;
|
162
|
-
}
|
163
|
-
|
164
|
-
mtr.tml-top-dashed > mtd {
|
165
|
-
border-top: 0.06em dashed;
|
166
|
-
}
|
167
|
-
|
168
|
-
mtr.tml-hline-solid > mtd {
|
169
|
-
border-bottom: 0.06em solid;
|
170
|
-
}
|
171
|
-
|
172
|
-
mtr.tml-hline-double > mtd {
|
173
|
-
border-bottom: 0.15em double;
|
174
|
-
}
|
175
|
-
|
176
|
-
mtr.tml-hline-dashed > mtd {
|
177
|
-
border-bottom: 0.06em dashed;
|
178
|
-
}
|
179
|
-
|
180
|
-
/* MathML-Core does not support <menclose> attributes.
|
181
|
-
* So Use background images for \cancel */
|
182
|
-
menclose.cancel {
|
183
|
-
background:
|
184
|
-
linear-gradient(to top left,
|
185
|
-
rgba(0,0,0,0) 0%,
|
186
|
-
rgba(0,0,0,0) calc(50% - 0.06em),
|
187
|
-
rgba(0,0,0,1) 50%,
|
188
|
-
rgba(0,0,0,0) calc(50% + 0.06em),
|
189
|
-
rgba(0,0,0,0) 100%);
|
190
|
-
}
|
191
|
-
|
192
|
-
menclose.bcancel {
|
193
|
-
background:
|
194
|
-
linear-gradient(to top right,
|
195
|
-
rgba(0,0,0,0) 0%,
|
196
|
-
rgba(0,0,0,0) calc(50% - 0.06em),
|
197
|
-
rgba(0,0,0,1) 50%,
|
198
|
-
rgba(0,0,0,0) calc(50% + 0.06em),
|
199
|
-
rgba(0,0,0,0) 100%);
|
200
|
-
}
|
201
|
-
|
202
|
-
menclose.xcancel {
|
203
|
-
background:
|
204
|
-
linear-gradient(to top left,
|
205
|
-
rgba(0,0,0,0) 0%,
|
206
|
-
rgba(0,0,0,0) calc(50% - 0.06em),
|
207
|
-
rgba(0,0,0,1) 50%,
|
208
|
-
rgba(0,0,0,0) calc(50% + 0.06em),
|
209
|
-
rgba(0,0,0,0) 100%),
|
210
|
-
linear-gradient(to top right,
|
211
|
-
rgba(0,0,0,0) 0%,
|
212
|
-
rgba(0,0,0,0) calc(50% - 0.06em),
|
213
|
-
rgba(0,0,0,1) 50%,
|
214
|
-
rgba(0,0,0,0) calc(50% + 0.06em),
|
215
|
-
rgba(0,0,0,0) 100%);
|
216
|
-
}
|
@@ -44,6 +44,10 @@ math {
|
|
44
44
|
font-family: "Latin Modern Math", "Times New Roman", math;
|
45
45
|
}
|
46
46
|
|
47
|
+
/* Next line is active in Firefox and Safari.
|
48
|
+
* Not in Chromium, which recognizes display: "block math" written inline. */
|
49
|
+
math.tml-display { display: block; }
|
50
|
+
|
47
51
|
*.mathscr {
|
48
52
|
font-family: "Temml";
|
49
53
|
}
|
@@ -63,7 +67,7 @@ math > mrow {
|
|
63
67
|
}
|
64
68
|
|
65
69
|
/* Avoid flex-wrap in Firefox */
|
66
|
-
|
70
|
+
@-moz-document url-prefix() {
|
67
71
|
math { display: inline; }
|
68
72
|
math > mrow { padding: 0 }
|
69
73
|
}
|
@@ -77,150 +81,3 @@ math > mrow {
|
|
77
81
|
body {
|
78
82
|
counter-reset: tmlEqnNo;
|
79
83
|
}
|
80
|
-
|
81
|
-
/* Environment arrays */
|
82
|
-
|
83
|
-
/* Environments that addjot to row spacing */
|
84
|
-
mtable.tml-jot > mtr > mtd {
|
85
|
-
padding-top: calc(0.5ex + 0.09em);
|
86
|
-
padding-bottom: calc(0.5ex + 0.09em);
|
87
|
-
}
|
88
|
-
|
89
|
-
/* Zero column gap for {alignat}, {split}, etc */
|
90
|
-
mtable.tml-abut > mtr > mtd,
|
91
|
-
mtable.tml-align > mtr > mtd:nth-child(odd),
|
92
|
-
mtable.tml-align-star > mtr > mtd:nth-child(even) {
|
93
|
-
padding-left: 0em;
|
94
|
-
padding-right: 0em;
|
95
|
-
}
|
96
|
-
|
97
|
-
mtable.tml-align > mtr > mtd:nth-child(even),
|
98
|
-
mtable.tml-align-star > mtr > mtd:nth-child(odd) {
|
99
|
-
padding-left: 1em;
|
100
|
-
padding-right: 0em;
|
101
|
-
}
|
102
|
-
|
103
|
-
mtable.tml-align > mtr > mtd:nth-child(1) {
|
104
|
-
padding-left: 0em;
|
105
|
-
}
|
106
|
-
|
107
|
-
mtable.tml-align > mtr > mtd:nth-child(odd),
|
108
|
-
mtable.tml-alignat > mtr > mtd:nth-child(odd),
|
109
|
-
mtable.tml-aligned > mtr > mtd:nth-child(even) {
|
110
|
-
text-align: -webkit-left;
|
111
|
-
text-align: -moz-left;
|
112
|
-
}
|
113
|
-
|
114
|
-
mtable.tml-align > mtr > mtd:nth-child(even),
|
115
|
-
mtable.tml-alignat > mtr > mtd:nth-child(even),
|
116
|
-
mtable.tml-aligned > mtr > mtd:nth-child(odd),
|
117
|
-
mtable.tml-align-star > mtr > mtd:nth-child(odd) {
|
118
|
-
text-align: -webkit-right;
|
119
|
-
text-align: -moz-right;
|
120
|
-
}
|
121
|
-
|
122
|
-
mtable.tml-cases > mtr > mtd {
|
123
|
-
padding-left: 0em;
|
124
|
-
padding-right: 0em;
|
125
|
-
text-align: -webkit-left;
|
126
|
-
text-align: -moz-left;
|
127
|
-
}
|
128
|
-
|
129
|
-
mtable.tml-cases > mtr > mtd:nth-child(2) {
|
130
|
-
padding-left: 1em;
|
131
|
-
}
|
132
|
-
|
133
|
-
mtable.tml-small > mtr > mtd {
|
134
|
-
padding-top: 0.35ex;
|
135
|
-
padding-bottom: 0.35ex;
|
136
|
-
padding-left: 0.1389em;
|
137
|
-
padding-right: 0.1389em;
|
138
|
-
}
|
139
|
-
|
140
|
-
mtable.tml-subarray > mtr > mtd {
|
141
|
-
padding-top: 0em;
|
142
|
-
padding-left: 0em;
|
143
|
-
}
|
144
|
-
|
145
|
-
mtable.tml-cd > mtr > mtd {
|
146
|
-
padding-left: 0.25em;
|
147
|
-
padding-right: 0.25em;
|
148
|
-
}
|
149
|
-
|
150
|
-
mtable > mtr:first-child > mtr > mtd {
|
151
|
-
padding-top: 0em;
|
152
|
-
}
|
153
|
-
|
154
|
-
mtable > mtr:last-child > mtr > mtd {
|
155
|
-
padding-bottom: 0em;
|
156
|
-
}
|
157
|
-
|
158
|
-
mtable:not(.tml-array) > mtr > mtd:first-child {
|
159
|
-
padding-left: 0em;
|
160
|
-
}
|
161
|
-
|
162
|
-
mtable:not(.tml-array) > mtr > mtd:last-child {
|
163
|
-
padding-right: 0em;
|
164
|
-
}
|
165
|
-
|
166
|
-
mtr.tml-top-solid > mtd {
|
167
|
-
border-top: 0.06em solid;
|
168
|
-
}
|
169
|
-
|
170
|
-
mtr.tml-top-double > mtd {
|
171
|
-
border-top: 0.15em double;
|
172
|
-
}
|
173
|
-
|
174
|
-
mtr.tml-top-dashed > mtd {
|
175
|
-
border-top: 0.06em dashed;
|
176
|
-
}
|
177
|
-
|
178
|
-
mtr.tml-hline-solid > mtd {
|
179
|
-
border-bottom: 0.06em solid;
|
180
|
-
}
|
181
|
-
|
182
|
-
mtr.tml-hline-double > mtd {
|
183
|
-
border-bottom: 0.15em double;
|
184
|
-
}
|
185
|
-
|
186
|
-
mtr.tml-hline-dashed > mtd {
|
187
|
-
border-bottom: 0.06em dashed;
|
188
|
-
}
|
189
|
-
|
190
|
-
/* MathML-Core does not support <menclose> attributes.
|
191
|
-
* So Use background images for \cancel */
|
192
|
-
menclose.cancel {
|
193
|
-
background:
|
194
|
-
linear-gradient(to top left,
|
195
|
-
rgba(0,0,0,0) 0%,
|
196
|
-
rgba(0,0,0,0) calc(50% - 0.06em),
|
197
|
-
rgba(0,0,0,1) 50%,
|
198
|
-
rgba(0,0,0,0) calc(50% + 0.06em),
|
199
|
-
rgba(0,0,0,0) 100%);
|
200
|
-
}
|
201
|
-
|
202
|
-
menclose.bcancel {
|
203
|
-
background:
|
204
|
-
linear-gradient(to top right,
|
205
|
-
rgba(0,0,0,0) 0%,
|
206
|
-
rgba(0,0,0,0) calc(50% - 0.06em),
|
207
|
-
rgba(0,0,0,1) 50%,
|
208
|
-
rgba(0,0,0,0) calc(50% + 0.06em),
|
209
|
-
rgba(0,0,0,0) 100%);
|
210
|
-
}
|
211
|
-
|
212
|
-
menclose.xcancel {
|
213
|
-
background:
|
214
|
-
linear-gradient(to top left,
|
215
|
-
rgba(0,0,0,0) 0%,
|
216
|
-
rgba(0,0,0,0) calc(50% - 0.06em),
|
217
|
-
rgba(0,0,0,1) 50%,
|
218
|
-
rgba(0,0,0,0) calc(50% + 0.06em),
|
219
|
-
rgba(0,0,0,0) 100%),
|
220
|
-
linear-gradient(to top right,
|
221
|
-
rgba(0,0,0,0) 0%,
|
222
|
-
rgba(0,0,0,0) calc(50% - 0.06em),
|
223
|
-
rgba(0,0,0,1) 50%,
|
224
|
-
rgba(0,0,0,0) calc(50% + 0.06em),
|
225
|
-
rgba(0,0,0,0) 100%);
|
226
|
-
}
|
@@ -42,6 +42,10 @@ math {
|
|
42
42
|
font-family: Libertinus Math, math;
|
43
43
|
}
|
44
44
|
|
45
|
+
/* Next line is active in Firefox and Safari.
|
46
|
+
* Not in Chromium, which recognizes display: "block math" written inline. */
|
47
|
+
math.tml-display { display: block; }
|
48
|
+
|
45
49
|
*.mathcal {
|
46
50
|
font-family: "Cambria Math", 'STIXTwoMath-Regular', "Times New Roman", math;
|
47
51
|
}
|
@@ -61,7 +65,7 @@ math > mrow {
|
|
61
65
|
}
|
62
66
|
|
63
67
|
/* Avoid flex-wrap in Firefox */
|
64
|
-
|
68
|
+
@-moz-document url-prefix() {
|
65
69
|
math { display: inline; }
|
66
70
|
math > mrow { padding: 0 }
|
67
71
|
}
|
@@ -75,150 +79,3 @@ math > mrow {
|
|
75
79
|
body {
|
76
80
|
counter-reset: tmlEqnNo;
|
77
81
|
}
|
78
|
-
|
79
|
-
/* Environment arrays */
|
80
|
-
|
81
|
-
/* Environments that addjot to row spacing */
|
82
|
-
mtable.tml-jot > mtr > mtd {
|
83
|
-
padding-top: calc(0.5ex + 0.09em);
|
84
|
-
padding-bottom: calc(0.5ex + 0.09em);
|
85
|
-
}
|
86
|
-
|
87
|
-
/* Zero column gap for {alignat}, {split}, etc */
|
88
|
-
mtable.tml-abut > mtr > mtd,
|
89
|
-
mtable.tml-align > mtr > mtd:nth-child(odd),
|
90
|
-
mtable.tml-align-star > mtr > mtd:nth-child(even) {
|
91
|
-
padding-left: 0em;
|
92
|
-
padding-right: 0em;
|
93
|
-
}
|
94
|
-
|
95
|
-
mtable.tml-align > mtr > mtd:nth-child(even),
|
96
|
-
mtable.tml-align-star > mtr > mtd:nth-child(odd) {
|
97
|
-
padding-left: 1em;
|
98
|
-
padding-right: 0em;
|
99
|
-
}
|
100
|
-
|
101
|
-
mtable.tml-align > mtr > mtd:nth-child(1) {
|
102
|
-
padding-left: 0em;
|
103
|
-
}
|
104
|
-
|
105
|
-
mtable.tml-align > mtr > mtd:nth-child(odd),
|
106
|
-
mtable.tml-alignat > mtr > mtd:nth-child(odd),
|
107
|
-
mtable.tml-aligned > mtr > mtd:nth-child(even) {
|
108
|
-
text-align: -webkit-left;
|
109
|
-
text-align: -moz-left;
|
110
|
-
}
|
111
|
-
|
112
|
-
mtable.tml-align > mtr > mtd:nth-child(even),
|
113
|
-
mtable.tml-alignat > mtr > mtd:nth-child(even),
|
114
|
-
mtable.tml-aligned > mtr > mtd:nth-child(odd),
|
115
|
-
mtable.tml-align-star > mtr > mtd:nth-child(odd) {
|
116
|
-
text-align: -webkit-right;
|
117
|
-
text-align: -moz-right;
|
118
|
-
}
|
119
|
-
|
120
|
-
mtable.tml-cases > mtr > mtd {
|
121
|
-
padding-left: 0em;
|
122
|
-
padding-right: 0em;
|
123
|
-
text-align: -webkit-left;
|
124
|
-
text-align: -moz-left;
|
125
|
-
}
|
126
|
-
|
127
|
-
mtable.tml-cases > mtr > mtd:nth-child(2) {
|
128
|
-
padding-left: 1em;
|
129
|
-
}
|
130
|
-
|
131
|
-
mtable.tml-small > mtr > mtd {
|
132
|
-
padding-top: 0.35ex;
|
133
|
-
padding-bottom: 0.35ex;
|
134
|
-
padding-left: 0.1389em;
|
135
|
-
padding-right: 0.1389em;
|
136
|
-
}
|
137
|
-
|
138
|
-
mtable.tml-subarray > mtr > mtd {
|
139
|
-
padding-top: 0em;
|
140
|
-
padding-left: 0em;
|
141
|
-
}
|
142
|
-
|
143
|
-
mtable.tml-cd > mtr > mtd {
|
144
|
-
padding-left: 0.25em;
|
145
|
-
padding-right: 0.25em;
|
146
|
-
}
|
147
|
-
|
148
|
-
mtable > mtr:first-child > mtr > mtd {
|
149
|
-
padding-top: 0em;
|
150
|
-
}
|
151
|
-
|
152
|
-
mtable > mtr:last-child > mtr > mtd {
|
153
|
-
padding-bottom: 0em;
|
154
|
-
}
|
155
|
-
|
156
|
-
mtable:not(.tml-array) > mtr > mtd:first-child {
|
157
|
-
padding-left: 0em;
|
158
|
-
}
|
159
|
-
|
160
|
-
mtable:not(.tml-array) > mtr > mtd:last-child {
|
161
|
-
padding-right: 0em;
|
162
|
-
}
|
163
|
-
|
164
|
-
mtr.tml-top-solid > mtd {
|
165
|
-
border-top: 0.06em solid;
|
166
|
-
}
|
167
|
-
|
168
|
-
mtr.tml-top-double > mtd {
|
169
|
-
border-top: 0.15em double;
|
170
|
-
}
|
171
|
-
|
172
|
-
mtr.tml-top-dashed > mtd {
|
173
|
-
border-top: 0.06em dashed;
|
174
|
-
}
|
175
|
-
|
176
|
-
mtr.tml-hline-solid > mtd {
|
177
|
-
border-bottom: 0.06em solid;
|
178
|
-
}
|
179
|
-
|
180
|
-
mtr.tml-hline-double > mtd {
|
181
|
-
border-bottom: 0.15em double;
|
182
|
-
}
|
183
|
-
|
184
|
-
mtr.tml-hline-dashed > mtd {
|
185
|
-
border-bottom: 0.06em dashed;
|
186
|
-
}
|
187
|
-
|
188
|
-
/* MathML-Core does not support <menclose> attributes.
|
189
|
-
* So Use background images for \cancel */
|
190
|
-
menclose.cancel {
|
191
|
-
background:
|
192
|
-
linear-gradient(to top left,
|
193
|
-
rgba(0,0,0,0) 0%,
|
194
|
-
rgba(0,0,0,0) calc(50% - 0.06em),
|
195
|
-
rgba(0,0,0,1) 50%,
|
196
|
-
rgba(0,0,0,0) calc(50% + 0.06em),
|
197
|
-
rgba(0,0,0,0) 100%);
|
198
|
-
}
|
199
|
-
|
200
|
-
menclose.bcancel {
|
201
|
-
background:
|
202
|
-
linear-gradient(to top right,
|
203
|
-
rgba(0,0,0,0) 0%,
|
204
|
-
rgba(0,0,0,0) calc(50% - 0.06em),
|
205
|
-
rgba(0,0,0,1) 50%,
|
206
|
-
rgba(0,0,0,0) calc(50% + 0.06em),
|
207
|
-
rgba(0,0,0,0) 100%);
|
208
|
-
}
|
209
|
-
|
210
|
-
menclose.xcancel {
|
211
|
-
background:
|
212
|
-
linear-gradient(to top left,
|
213
|
-
rgba(0,0,0,0) 0%,
|
214
|
-
rgba(0,0,0,0) calc(50% - 0.06em),
|
215
|
-
rgba(0,0,0,1) 50%,
|
216
|
-
rgba(0,0,0,0) calc(50% + 0.06em),
|
217
|
-
rgba(0,0,0,0) 100%),
|
218
|
-
linear-gradient(to top right,
|
219
|
-
rgba(0,0,0,0) 0%,
|
220
|
-
rgba(0,0,0,0) calc(50% - 0.06em),
|
221
|
-
rgba(0,0,0,1) 50%,
|
222
|
-
rgba(0,0,0,0) calc(50% + 0.06em),
|
223
|
-
rgba(0,0,0,0) 100%);
|
224
|
-
}
|
package/dist/Temml-Local.css
CHANGED
@@ -28,6 +28,10 @@ math * {
|
|
28
28
|
border-color: currentColor;
|
29
29
|
}
|
30
30
|
|
31
|
+
/* Next line is active in Firefox and Safari.
|
32
|
+
* Not in Chromium, which recognizes display: "block math" written inline. */
|
33
|
+
math.tml-display { display: block; }
|
34
|
+
|
31
35
|
math .mathscr {
|
32
36
|
font-family: "Temml";
|
33
37
|
}
|
@@ -47,7 +51,7 @@ math > mrow {
|
|
47
51
|
}
|
48
52
|
|
49
53
|
/* Avoid flex-wrap in Firefox */
|
50
|
-
|
54
|
+
@-moz-document url-prefix() {
|
51
55
|
math { display: inline; }
|
52
56
|
math > mrow { padding: 0 }
|
53
57
|
}
|
@@ -61,149 +65,3 @@ math > mrow {
|
|
61
65
|
body {
|
62
66
|
counter-reset: tmlEqnNo;
|
63
67
|
}
|
64
|
-
|
65
|
-
/* Environment arrays */
|
66
|
-
|
67
|
-
/* Environments that addjot to row spacing */
|
68
|
-
mtable.tml-jot > mtr > mtd {
|
69
|
-
padding-top: calc(0.5ex + 0.09em);
|
70
|
-
padding-bottom: calc(0.5ex + 0.09em);
|
71
|
-
}
|
72
|
-
|
73
|
-
/* Zero column gap for {alignat}, {split}, etc */
|
74
|
-
mtable.tml-abut > mtr > mtd,
|
75
|
-
mtable.tml-align > mtr > mtd:nth-child(odd),
|
76
|
-
mtable.tml-align-star > mtr > mtd:nth-child(even) {
|
77
|
-
padding-left: 0em;
|
78
|
-
padding-right: 0em;
|
79
|
-
}
|
80
|
-
|
81
|
-
mtable.tml-align > mtr > mtd:nth-child(even),
|
82
|
-
mtable.tml-align-star > mtr > mtd:nth-child(odd) {
|
83
|
-
padding-left: 1em;
|
84
|
-
padding-right: 0em;
|
85
|
-
}
|
86
|
-
|
87
|
-
mtable.tml-align > mtr > mtd:nth-child(1) {
|
88
|
-
padding-left: 0em;
|
89
|
-
}
|
90
|
-
|
91
|
-
mtable.tml-align > mtr > mtd:nth-child(odd),
|
92
|
-
mtable.tml-alignat > mtr > mtd:nth-child(odd),
|
93
|
-
mtable.tml-aligned > mtr > mtd:nth-child(even) {
|
94
|
-
text-align: -webkit-left;
|
95
|
-
text-align: -moz-left;
|
96
|
-
}
|
97
|
-
|
98
|
-
mtable.tml-align > mtr > mtd:nth-child(even),
|
99
|
-
mtable.tml-alignat > mtr > mtd:nth-child(even),
|
100
|
-
mtable.tml-aligned > mtr > mtd:nth-child(odd) {
|
101
|
-
text-align: -webkit-right;
|
102
|
-
text-align: -moz-right;
|
103
|
-
}
|
104
|
-
|
105
|
-
mtable.tml-cases > mtr > mtd {
|
106
|
-
padding-left: 0em;
|
107
|
-
padding-right: 0em;
|
108
|
-
text-align: -webkit-left;
|
109
|
-
text-align: -moz-left;
|
110
|
-
}
|
111
|
-
|
112
|
-
mtable.tml-cases > mtr > mtd:nth-child(2) {
|
113
|
-
padding-left: 1em;
|
114
|
-
}
|
115
|
-
|
116
|
-
mtable.tml-small > mtr > mtd {
|
117
|
-
padding-top: 0.35ex;
|
118
|
-
padding-bottom: 0.35ex;
|
119
|
-
padding-left: 0.1389em;
|
120
|
-
padding-right: 0.1389em;
|
121
|
-
}
|
122
|
-
|
123
|
-
mtable.tml-subarray > mtr > mtd {
|
124
|
-
padding-top: 0em;
|
125
|
-
padding-left: 0em;
|
126
|
-
}
|
127
|
-
|
128
|
-
mtable.tml-cd > mtr > mtd {
|
129
|
-
padding-left: 0.25em;
|
130
|
-
padding-right: 0.25em;
|
131
|
-
}
|
132
|
-
|
133
|
-
mtable > mtr:first-child > mtr > mtd {
|
134
|
-
padding-top: 0em;
|
135
|
-
}
|
136
|
-
|
137
|
-
mtable > mtr:last-child > mtr > mtd {
|
138
|
-
padding-bottom: 0em;
|
139
|
-
}
|
140
|
-
|
141
|
-
mtable:not(.tml-array) > mtr > mtd:first-child {
|
142
|
-
padding-left: 0em;
|
143
|
-
}
|
144
|
-
|
145
|
-
mtable:not(.tml-array) > mtr > mtd:last-child {
|
146
|
-
padding-right: 0em;
|
147
|
-
}
|
148
|
-
|
149
|
-
mtr.tml-top-solid > mtd {
|
150
|
-
border-top: 0.06em solid;
|
151
|
-
}
|
152
|
-
|
153
|
-
mtr.tml-top-double > mtd {
|
154
|
-
border-top: 0.15em double;
|
155
|
-
}
|
156
|
-
|
157
|
-
mtr.tml-top-dashed > mtd {
|
158
|
-
border-top: 0.06em dashed;
|
159
|
-
}
|
160
|
-
|
161
|
-
mtr.tml-hline-solid > mtd {
|
162
|
-
border-bottom: 0.06em solid;
|
163
|
-
}
|
164
|
-
|
165
|
-
mtr.tml-hline-double > mtd {
|
166
|
-
border-bottom: 0.15em double;
|
167
|
-
}
|
168
|
-
|
169
|
-
mtr.tml-hline-dashed > mtd {
|
170
|
-
border-bottom: 0.06em dashed;
|
171
|
-
}
|
172
|
-
|
173
|
-
/* MathML-Core does not support <menclose> attributes.
|
174
|
-
* So Use background images for \cancel */
|
175
|
-
menclose.cancel {
|
176
|
-
background:
|
177
|
-
linear-gradient(to top left,
|
178
|
-
rgba(0,0,0,0) 0%,
|
179
|
-
rgba(0,0,0,0) calc(50% - 0.06em),
|
180
|
-
rgba(0,0,0,1) 50%,
|
181
|
-
rgba(0,0,0,0) calc(50% + 0.06em),
|
182
|
-
rgba(0,0,0,0) 100%);
|
183
|
-
}
|
184
|
-
|
185
|
-
menclose.bcancel {
|
186
|
-
background:
|
187
|
-
linear-gradient(to top right,
|
188
|
-
rgba(0,0,0,0) 0%,
|
189
|
-
rgba(0,0,0,0) calc(50% - 0.06em),
|
190
|
-
rgba(0,0,0,1) 50%,
|
191
|
-
rgba(0,0,0,0) calc(50% + 0.06em),
|
192
|
-
rgba(0,0,0,0) 100%);
|
193
|
-
}
|
194
|
-
|
195
|
-
menclose.xcancel {
|
196
|
-
background:
|
197
|
-
linear-gradient(to top left,
|
198
|
-
rgba(0,0,0,0) 0%,
|
199
|
-
rgba(0,0,0,0) calc(50% - 0.06em),
|
200
|
-
rgba(0,0,0,1) 50%,
|
201
|
-
rgba(0,0,0,0) calc(50% + 0.06em),
|
202
|
-
rgba(0,0,0,0) 100%),
|
203
|
-
linear-gradient(to top right,
|
204
|
-
rgba(0,0,0,0) 0%,
|
205
|
-
rgba(0,0,0,0) calc(50% - 0.06em),
|
206
|
-
rgba(0,0,0,1) 50%,
|
207
|
-
rgba(0,0,0,0) calc(50% + 0.06em),
|
208
|
-
rgba(0,0,0,0) 100%);
|
209
|
-
}
|