temml 0.10.14 → 0.10.15

Sign up to get free protection for your applications and to get access to all the features.
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  | Library | Minified JavaScript + CSS |
4
4
  |:--------------|:-------------------------:|
5
- | Temml | 147 KB |
5
+ | Temml | 146 KB |
6
6
  | MathJax 2.7.5 | 338 KB |
7
7
  | KaTeX | 280 KB |
8
8
  | TeXZilla | 168 KB |
@@ -72,149 +72,3 @@ math > mrow {
72
72
  body {
73
73
  counter-reset: tmlEqnNo;
74
74
  }
75
-
76
- /* Environment arrays */
77
-
78
- /* Environments that addjot to row spacing */
79
- mtable.tml-jot > mtr > mtd {
80
- padding-top: calc(0.5ex + 0.09em);
81
- padding-bottom: calc(0.5ex + 0.09em);
82
- }
83
-
84
- /* Zero column gap for {alignat}, {split}, etc */
85
- mtable.tml-abut > mtr > mtd,
86
- mtable.tml-align > mtr > mtd:nth-child(odd),
87
- mtable.tml-align-star > mtr > mtd:nth-child(even) {
88
- padding-left: 0em;
89
- padding-right: 0em;
90
- }
91
-
92
- mtable.tml-align > mtr > mtd:nth-child(even),
93
- mtable.tml-align-star > mtr > mtd:nth-child(odd) {
94
- padding-left: 1em;
95
- padding-right: 0em;
96
- }
97
-
98
- mtable.tml-align > mtr > mtd:nth-child(1) {
99
- padding-left: 0em;
100
- }
101
-
102
- mtable.tml-align > mtr > mtd:nth-child(odd),
103
- mtable.tml-alignat > mtr > mtd:nth-child(odd),
104
- mtable.tml-aligned > mtr > mtd:nth-child(even) {
105
- text-align: -webkit-left;
106
- text-align: -moz-left;
107
- }
108
-
109
- mtable.tml-align > mtr > mtd:nth-child(even),
110
- mtable.tml-alignat > mtr > mtd:nth-child(even),
111
- mtable.tml-aligned > mtr > mtd:nth-child(odd) {
112
- text-align: -webkit-right;
113
- text-align: -moz-right;
114
- }
115
-
116
- mtable.tml-cases > mtr > mtd {
117
- padding-left: 0em;
118
- padding-right: 0em;
119
- text-align: -webkit-left;
120
- text-align: -moz-left;
121
- }
122
-
123
- mtable.tml-cases > mtr > mtd:nth-child(2) {
124
- padding-left: 1em;
125
- }
126
-
127
- mtable.tml-small > mtr > mtd {
128
- padding-top: 0.35ex;
129
- padding-bottom: 0.35ex;
130
- padding-left: 0.1389em;
131
- padding-right: 0.1389em;
132
- }
133
-
134
- mtable.tml-subarray > mtr > mtd {
135
- padding-top: 0em;
136
- padding-left: 0em;
137
- }
138
-
139
- mtable.tml-cd > mtr > mtd {
140
- padding-left: 0.25em;
141
- padding-right: 0.25em;
142
- }
143
-
144
- mtable > mtr:first-child > mtr > mtd {
145
- padding-top: 0em;
146
- }
147
-
148
- mtable > mtr:last-child > mtr > mtd {
149
- padding-bottom: 0em;
150
- }
151
-
152
- mtable:not(.tml-array) > mtr > mtd:first-child {
153
- padding-left: 0em;
154
- }
155
-
156
- mtable:not(.tml-array) > mtr > mtd:last-child {
157
- padding-right: 0em;
158
- }
159
-
160
- mtr.tml-top-solid > mtd {
161
- border-top: 0.06em solid;
162
- }
163
-
164
- mtr.tml-top-double > mtd {
165
- border-top: 0.15em double;
166
- }
167
-
168
- mtr.tml-top-dashed > mtd {
169
- border-top: 0.06em dashed;
170
- }
171
-
172
- mtr.tml-hline-solid > mtd {
173
- border-bottom: 0.06em solid;
174
- }
175
-
176
- mtr.tml-hline-double > mtd {
177
- border-bottom: 0.15em double;
178
- }
179
-
180
- mtr.tml-hline-dashed > mtd {
181
- border-bottom: 0.06em dashed;
182
- }
183
-
184
- /* MathML-Core does not support <menclose> attributes.
185
- * So Use background images for \cancel */
186
- mrow.cancel {
187
- background:
188
- linear-gradient(to top left,
189
- rgba(0,0,0,0) 0%,
190
- rgba(0,0,0,0) calc(50% - 0.06em),
191
- rgba(0,0,0,1) 50%,
192
- rgba(0,0,0,0) calc(50% + 0.06em),
193
- rgba(0,0,0,0) 100%);
194
- }
195
-
196
- mrow.bcancel {
197
- background:
198
- linear-gradient(to top right,
199
- rgba(0,0,0,0) 0%,
200
- rgba(0,0,0,0) calc(50% - 0.06em),
201
- rgba(0,0,0,1) 50%,
202
- rgba(0,0,0,0) calc(50% + 0.06em),
203
- rgba(0,0,0,0) 100%);
204
- }
205
-
206
- mrow.xcancel {
207
- background:
208
- linear-gradient(to top left,
209
- rgba(0,0,0,0) 0%,
210
- rgba(0,0,0,0) calc(50% - 0.06em),
211
- rgba(0,0,0,1) 50%,
212
- rgba(0,0,0,0) calc(50% + 0.06em),
213
- rgba(0,0,0,0) 100%),
214
- linear-gradient(to top right,
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
- }
@@ -81,150 +81,3 @@ math > mrow {
81
81
  body {
82
82
  counter-reset: tmlEqnNo;
83
83
  }
84
-
85
- /* Environment arrays */
86
-
87
- /* Environments that addjot to row spacing */
88
- mtable.tml-jot > mtr > mtd {
89
- padding-top: calc(0.5ex + 0.09em);
90
- padding-bottom: calc(0.5ex + 0.09em);
91
- }
92
-
93
- /* Zero column gap for {alignat}, {split}, etc */
94
- mtable.tml-abut > mtr > mtd,
95
- mtable.tml-align > mtr > mtd:nth-child(odd),
96
- mtable.tml-align-star > mtr > mtd:nth-child(even) {
97
- padding-left: 0em;
98
- padding-right: 0em;
99
- }
100
-
101
- mtable.tml-align > mtr > mtd:nth-child(even),
102
- mtable.tml-align-star > mtr > mtd:nth-child(odd) {
103
- padding-left: 1em;
104
- padding-right: 0em;
105
- }
106
-
107
- mtable.tml-align > mtr > mtd:nth-child(1) {
108
- padding-left: 0em;
109
- }
110
-
111
- mtable.tml-align > mtr > mtd:nth-child(odd),
112
- mtable.tml-alignat > mtr > mtd:nth-child(odd),
113
- mtable.tml-aligned > mtr > mtd:nth-child(even) {
114
- text-align: -webkit-left;
115
- text-align: -moz-left;
116
- }
117
-
118
- mtable.tml-align > mtr > mtd:nth-child(even),
119
- mtable.tml-alignat > mtr > mtd:nth-child(even),
120
- mtable.tml-aligned > mtr > mtd:nth-child(odd),
121
- mtable.tml-align-star > mtr > mtd:nth-child(odd) {
122
- text-align: -webkit-right;
123
- text-align: -moz-right;
124
- }
125
-
126
- mtable.tml-cases > mtr > mtd {
127
- padding-left: 0em;
128
- padding-right: 0em;
129
- text-align: -webkit-left;
130
- text-align: -moz-left;
131
- }
132
-
133
- mtable.tml-cases > mtr > mtd:nth-child(2) {
134
- padding-left: 1em;
135
- }
136
-
137
- mtable.tml-small > mtr > mtd {
138
- padding-top: 0.35ex;
139
- padding-bottom: 0.35ex;
140
- padding-left: 0.1389em;
141
- padding-right: 0.1389em;
142
- }
143
-
144
- mtable.tml-subarray > mtr > mtd {
145
- padding-top: 0em;
146
- padding-left: 0em;
147
- }
148
-
149
- mtable.tml-cd > mtr > mtd {
150
- padding-left: 0.25em;
151
- padding-right: 0.25em;
152
- }
153
-
154
- mtable > mtr:first-child > mtr > mtd {
155
- padding-top: 0em;
156
- }
157
-
158
- mtable > mtr:last-child > mtr > mtd {
159
- padding-bottom: 0em;
160
- }
161
-
162
- mtable:not(.tml-array) > mtr > mtd:first-child {
163
- padding-left: 0em;
164
- }
165
-
166
- mtable:not(.tml-array) > mtr > mtd:last-child {
167
- padding-right: 0em;
168
- }
169
-
170
- mtr.tml-top-solid > mtd {
171
- border-top: 0.06em solid;
172
- }
173
-
174
- mtr.tml-top-double > mtd {
175
- border-top: 0.15em double;
176
- }
177
-
178
- mtr.tml-top-dashed > mtd {
179
- border-top: 0.06em dashed;
180
- }
181
-
182
- mtr.tml-hline-solid > mtd {
183
- border-bottom: 0.06em solid;
184
- }
185
-
186
- mtr.tml-hline-double > mtd {
187
- border-bottom: 0.15em double;
188
- }
189
-
190
- mtr.tml-hline-dashed > mtd {
191
- border-bottom: 0.06em dashed;
192
- }
193
-
194
- /* MathML-Core does not support <menclose> attributes.
195
- * So Use background images for \cancel */
196
- mrow.cancel {
197
- background:
198
- linear-gradient(to top left,
199
- rgba(0,0,0,0) 0%,
200
- rgba(0,0,0,0) calc(50% - 0.06em),
201
- rgba(0,0,0,1) 50%,
202
- rgba(0,0,0,0) calc(50% + 0.06em),
203
- rgba(0,0,0,0) 100%);
204
- }
205
-
206
- mrow.bcancel {
207
- background:
208
- linear-gradient(to top right,
209
- rgba(0,0,0,0) 0%,
210
- rgba(0,0,0,0) calc(50% - 0.06em),
211
- rgba(0,0,0,1) 50%,
212
- rgba(0,0,0,0) calc(50% + 0.06em),
213
- rgba(0,0,0,0) 100%);
214
- }
215
-
216
- mrow.xcancel {
217
- background:
218
- linear-gradient(to top left,
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
- linear-gradient(to top right,
225
- rgba(0,0,0,0) 0%,
226
- rgba(0,0,0,0) calc(50% - 0.06em),
227
- rgba(0,0,0,1) 50%,
228
- rgba(0,0,0,0) calc(50% + 0.06em),
229
- rgba(0,0,0,0) 100%);
230
- }
@@ -79,150 +79,3 @@ math > mrow {
79
79
  body {
80
80
  counter-reset: tmlEqnNo;
81
81
  }
82
-
83
- /* Environment arrays */
84
-
85
- /* Environments that addjot to row spacing */
86
- mtable.tml-jot > mtr > mtd {
87
- padding-top: calc(0.5ex + 0.09em);
88
- padding-bottom: calc(0.5ex + 0.09em);
89
- }
90
-
91
- /* Zero column gap for {alignat}, {split}, etc */
92
- mtable.tml-abut > mtr > mtd,
93
- mtable.tml-align > mtr > mtd:nth-child(odd),
94
- mtable.tml-align-star > mtr > mtd:nth-child(even) {
95
- padding-left: 0em;
96
- padding-right: 0em;
97
- }
98
-
99
- mtable.tml-align > mtr > mtd:nth-child(even),
100
- mtable.tml-align-star > mtr > mtd:nth-child(odd) {
101
- padding-left: 1em;
102
- padding-right: 0em;
103
- }
104
-
105
- mtable.tml-align > mtr > mtd:nth-child(1) {
106
- padding-left: 0em;
107
- }
108
-
109
- mtable.tml-align > mtr > mtd:nth-child(odd),
110
- mtable.tml-alignat > mtr > mtd:nth-child(odd),
111
- mtable.tml-aligned > mtr > mtd:nth-child(even) {
112
- text-align: -webkit-left;
113
- text-align: -moz-left;
114
- }
115
-
116
- mtable.tml-align > mtr > mtd:nth-child(even),
117
- mtable.tml-alignat > mtr > mtd:nth-child(even),
118
- mtable.tml-aligned > mtr > mtd:nth-child(odd),
119
- mtable.tml-align-star > mtr > mtd:nth-child(odd) {
120
- text-align: -webkit-right;
121
- text-align: -moz-right;
122
- }
123
-
124
- mtable.tml-cases > mtr > mtd {
125
- padding-left: 0em;
126
- padding-right: 0em;
127
- text-align: -webkit-left;
128
- text-align: -moz-left;
129
- }
130
-
131
- mtable.tml-cases > mtr > mtd:nth-child(2) {
132
- padding-left: 1em;
133
- }
134
-
135
- mtable.tml-small > mtr > mtd {
136
- padding-top: 0.35ex;
137
- padding-bottom: 0.35ex;
138
- padding-left: 0.1389em;
139
- padding-right: 0.1389em;
140
- }
141
-
142
- mtable.tml-subarray > mtr > mtd {
143
- padding-top: 0em;
144
- padding-left: 0em;
145
- }
146
-
147
- mtable.tml-cd > mtr > mtd {
148
- padding-left: 0.25em;
149
- padding-right: 0.25em;
150
- }
151
-
152
- mtable > mtr:first-child > mtr > mtd {
153
- padding-top: 0em;
154
- }
155
-
156
- mtable > mtr:last-child > mtr > mtd {
157
- padding-bottom: 0em;
158
- }
159
-
160
- mtable:not(.tml-array) > mtr > mtd:first-child {
161
- padding-left: 0em;
162
- }
163
-
164
- mtable:not(.tml-array) > mtr > mtd:last-child {
165
- padding-right: 0em;
166
- }
167
-
168
- mtr.tml-top-solid > mtd {
169
- border-top: 0.06em solid;
170
- }
171
-
172
- mtr.tml-top-double > mtd {
173
- border-top: 0.15em double;
174
- }
175
-
176
- mtr.tml-top-dashed > mtd {
177
- border-top: 0.06em dashed;
178
- }
179
-
180
- mtr.tml-hline-solid > mtd {
181
- border-bottom: 0.06em solid;
182
- }
183
-
184
- mtr.tml-hline-double > mtd {
185
- border-bottom: 0.15em double;
186
- }
187
-
188
- mtr.tml-hline-dashed > mtd {
189
- border-bottom: 0.06em dashed;
190
- }
191
-
192
- /* MathML-Core does not support <menclose> attributes.
193
- * So Use background images for \cancel */
194
- mrow.cancel {
195
- background:
196
- linear-gradient(to top left,
197
- rgba(0,0,0,0) 0%,
198
- rgba(0,0,0,0) calc(50% - 0.06em),
199
- rgba(0,0,0,1) 50%,
200
- rgba(0,0,0,0) calc(50% + 0.06em),
201
- rgba(0,0,0,0) 100%);
202
- }
203
-
204
- mrow.bcancel {
205
- background:
206
- linear-gradient(to top right,
207
- rgba(0,0,0,0) 0%,
208
- rgba(0,0,0,0) calc(50% - 0.06em),
209
- rgba(0,0,0,1) 50%,
210
- rgba(0,0,0,0) calc(50% + 0.06em),
211
- rgba(0,0,0,0) 100%);
212
- }
213
-
214
- mrow.xcancel {
215
- background:
216
- linear-gradient(to top left,
217
- rgba(0,0,0,0) 0%,
218
- rgba(0,0,0,0) calc(50% - 0.06em),
219
- rgba(0,0,0,1) 50%,
220
- rgba(0,0,0,0) calc(50% + 0.06em),
221
- rgba(0,0,0,0) 100%),
222
- linear-gradient(to top right,
223
- rgba(0,0,0,0) 0%,
224
- rgba(0,0,0,0) calc(50% - 0.06em),
225
- rgba(0,0,0,1) 50%,
226
- rgba(0,0,0,0) calc(50% + 0.06em),
227
- rgba(0,0,0,0) 100%);
228
- }
@@ -65,149 +65,3 @@ math > mrow {
65
65
  body {
66
66
  counter-reset: tmlEqnNo;
67
67
  }
68
-
69
- /* Environment arrays */
70
-
71
- /* Environments that addjot to row spacing */
72
- mtable.tml-jot > mtr > mtd {
73
- padding-top: calc(0.5ex + 0.09em);
74
- padding-bottom: calc(0.5ex + 0.09em);
75
- }
76
-
77
- /* Zero column gap for {alignat}, {split}, etc */
78
- mtable.tml-abut > mtr > mtd,
79
- mtable.tml-align > mtr > mtd:nth-child(odd),
80
- mtable.tml-align-star > mtr > mtd:nth-child(even) {
81
- padding-left: 0em;
82
- padding-right: 0em;
83
- }
84
-
85
- mtable.tml-align > mtr > mtd:nth-child(even),
86
- mtable.tml-align-star > mtr > mtd:nth-child(odd) {
87
- padding-left: 1em;
88
- padding-right: 0em;
89
- }
90
-
91
- mtable.tml-align > mtr > mtd:nth-child(1) {
92
- padding-left: 0em;
93
- }
94
-
95
- mtable.tml-align > mtr > mtd:nth-child(odd),
96
- mtable.tml-alignat > mtr > mtd:nth-child(odd),
97
- mtable.tml-aligned > mtr > mtd:nth-child(even) {
98
- text-align: -webkit-left;
99
- text-align: -moz-left;
100
- }
101
-
102
- mtable.tml-align > mtr > mtd:nth-child(even),
103
- mtable.tml-alignat > mtr > mtd:nth-child(even),
104
- mtable.tml-aligned > mtr > mtd:nth-child(odd) {
105
- text-align: -webkit-right;
106
- text-align: -moz-right;
107
- }
108
-
109
- mtable.tml-cases > mtr > mtd {
110
- padding-left: 0em;
111
- padding-right: 0em;
112
- text-align: -webkit-left;
113
- text-align: -moz-left;
114
- }
115
-
116
- mtable.tml-cases > mtr > mtd:nth-child(2) {
117
- padding-left: 1em;
118
- }
119
-
120
- mtable.tml-small > mtr > mtd {
121
- padding-top: 0.35ex;
122
- padding-bottom: 0.35ex;
123
- padding-left: 0.1389em;
124
- padding-right: 0.1389em;
125
- }
126
-
127
- mtable.tml-subarray > mtr > mtd {
128
- padding-top: 0em;
129
- padding-left: 0em;
130
- }
131
-
132
- mtable.tml-cd > mtr > mtd {
133
- padding-left: 0.25em;
134
- padding-right: 0.25em;
135
- }
136
-
137
- mtable > mtr:first-child > mtr > mtd {
138
- padding-top: 0em;
139
- }
140
-
141
- mtable > mtr:last-child > mtr > mtd {
142
- padding-bottom: 0em;
143
- }
144
-
145
- mtable:not(.tml-array) > mtr > mtd:first-child {
146
- padding-left: 0em;
147
- }
148
-
149
- mtable:not(.tml-array) > mtr > mtd:last-child {
150
- padding-right: 0em;
151
- }
152
-
153
- mtr.tml-top-solid > mtd {
154
- border-top: 0.06em solid;
155
- }
156
-
157
- mtr.tml-top-double > mtd {
158
- border-top: 0.15em double;
159
- }
160
-
161
- mtr.tml-top-dashed > mtd {
162
- border-top: 0.06em dashed;
163
- }
164
-
165
- mtr.tml-hline-solid > mtd {
166
- border-bottom: 0.06em solid;
167
- }
168
-
169
- mtr.tml-hline-double > mtd {
170
- border-bottom: 0.15em double;
171
- }
172
-
173
- mtr.tml-hline-dashed > mtd {
174
- border-bottom: 0.06em dashed;
175
- }
176
-
177
- /* MathML-Core does not support <menclose> attributes.
178
- * So Use background images for \cancel */
179
- mrow.cancel {
180
- background:
181
- linear-gradient(to top left,
182
- rgba(0,0,0,0) 0%,
183
- rgba(0,0,0,0) calc(50% - 0.06em),
184
- rgba(0,0,0,1) 50%,
185
- rgba(0,0,0,0) calc(50% + 0.06em),
186
- rgba(0,0,0,0) 100%);
187
- }
188
-
189
- mrow.bcancel {
190
- background:
191
- linear-gradient(to top right,
192
- rgba(0,0,0,0) 0%,
193
- rgba(0,0,0,0) calc(50% - 0.06em),
194
- rgba(0,0,0,1) 50%,
195
- rgba(0,0,0,0) calc(50% + 0.06em),
196
- rgba(0,0,0,0) 100%);
197
- }
198
-
199
- mrow.xcancel {
200
- background:
201
- linear-gradient(to top left,
202
- rgba(0,0,0,0) 0%,
203
- rgba(0,0,0,0) calc(50% - 0.06em),
204
- rgba(0,0,0,1) 50%,
205
- rgba(0,0,0,0) calc(50% + 0.06em),
206
- rgba(0,0,0,0) 100%),
207
- linear-gradient(to top right,
208
- rgba(0,0,0,0) 0%,
209
- rgba(0,0,0,0) calc(50% - 0.06em),
210
- rgba(0,0,0,1) 50%,
211
- rgba(0,0,0,0) calc(50% + 0.06em),
212
- rgba(0,0,0,0) 100%);
213
- }