Debian Codegraph @

unpacked/jax/output/HTML-CSS/fonts/STIX/fontdata-extra.js

raw
1 /* -*- Mode: Javascript; indent-tabs-mode:nil; js-indent-level: 2 -*- */
2 /* vim: set ts=2 et sw=2 tw=80: */
3
4 /*************************************************************
5 *
6 * MathJax/jax/output/HTML-CSS/fonts/STIX/fontdata-extra.js
7 *
8 * Adds extra stretchy characters to the STIX data.
9 *
10 * ---------------------------------------------------------------------
11 *
12 * Copyright (c) 2011-2020 The MathJax Consortium
13 *
14 * Licensed under the Apache License, Version 2.0 (the "License");
15 * you may not use this file except in compliance with the License.
16 * You may obtain a copy of the License at
17 *
18 * http://www.apache.org/licenses/LICENSE-2.0
19 *
20 * Unless required by applicable law or agreed to in writing, software
21 * distributed under the License is distributed on an "AS IS" BASIS,
22 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
23 * See the License for the specific language governing permissions and
24 * limitations under the License.
25 */
26
27 (function (HTMLCSS) {
28 var VERSION = "2.7.9";
29
30 var DELIMITERS = HTMLCSS.FONTDATA.DELIMITERS;
31
32 var GENERAL = "STIXGeneral",
33 BOLD = "STIXGeneral-bold",
34 VARIANT = "STIXVariants",
35 NONUNI = "STIXNonUnicode",
36 SIZE1 = "STIXSizeOneSym",
37 SIZE2 = "STIXSizeTwoSym",
38 SIZE3 = "STIXSizeThreeSym",
39 SIZE4 = "STIXSizeFourSym",
40 SIZE5 = "STIXSizeFiveSym",
41 INTD = "STIXIntegralsD";
42 var H = "H", V = "V";
43
44 var delim = {
45 0x003D: // equal sign
46 {
47 dir: H, HW: [[.685,GENERAL]], stretch: {rep:[0x003D,GENERAL]}
48 },
49 0x219E: // left two-headed arrow
50 {
51 dir: H, HW: [[.926,GENERAL]], stretch: {left:[0x219E,GENERAL], rep:[0x2212,GENERAL]}
52 },
53 0x21A0: // right two-headed arrow
54 {
55 dir: H, HW: [[.926,GENERAL]], stretch: {right:[0x21A0,GENERAL], rep:[0x2212,GENERAL]}
56 },
57 0x21A4: // left arrow from bar
58 {
59 dir: H, HW: [[.926,GENERAL]],
60 stretch: {left:[0x2190,VARIANT], rep:[0x2212,GENERAL], right:[0x22A3,BOLD,0,.1,.6]}
61 },
62 0x21A5: // up arrow from bar
63 {
64 dir: V, HW: [[.816,GENERAL]],
65 stretch: {bot:[0x5F,GENERAL,.05,-.01,.8], ext:[0x23D0,GENERAL], top:[0x2191,GENERAL]}
66 },
67 0x21A6: // right arrow from bar
68 {
69 dir: H, HW: [[1,GENERAL]],
70 stretch: {left:[0xE0B6,NONUNI], rep:[0x2212,GENERAL], right:[0x2192,GENERAL]}
71 },
72 0x21A7: // down arrow from bar
73 {
74 dir: V, HW: [[.816,GENERAL]],
75 stretch: {top:[0x22A4,BOLD,0.04,0,.6], ext:[0x23D0,GENERAL], bot:[0x2193,GENERAL]}
76 },
77 0x21B0: // up arrow with top leftwards
78 {
79 dir: V, HW: [[.818,GENERAL]], stretch: {top:[0x21B0,GENERAL], ext:[0x23D0,GENERAL,.152]}
80 },
81 0x21B1: // up arrow with top right
82 {
83 dir: V, HW: [[.818,GENERAL]], stretch: {top:[0x21B1,GENERAL], ext:[0x23D0,GENERAL,-.195]}
84 },
85 0x21BC: // left harpoon with barb up
86 {
87 dir: H, HW: [[.955,GENERAL]], stretch: {left:[0x21BC,GENERAL], rep:[0x2212,GENERAL]}
88 },
89 0x21BD: // left harpoon with barb down
90 {
91 dir: H, HW: [[.955,GENERAL]], stretch: {left:[0x21BD,GENERAL], rep:[0x2212,GENERAL]}
92 },
93 0x21BE: // up harpoon with barb right
94 {
95 dir: V, HW: [[.818,GENERAL]], stretch: {top:[0x21BE,GENERAL], ext:[0x23D0,GENERAL]}
96 },
97 0x21BF: // up harpoon with barb left
98 {
99 dir: V, HW: [[.818,GENERAL]], stretch: {top:[0x21BF,GENERAL], ext:[0x23D0,GENERAL]}
100 },
101 0x21C0: // right harpoon with barb up
102 {
103 dir: H, HW: [[.955,GENERAL]], stretch: {right:[0x21C0,GENERAL], rep:[0x2212,GENERAL]}
104 },
105 0x21C1: // right harpoon with barb down
106 {
107 dir: H, HW: [[.955,GENERAL]], stretch: {right:[0x21C1,GENERAL], rep:[0x2212,GENERAL]}
108 },
109 0x21C2: // down harpoon with barb right
110 {
111 dir: V, HW: [[.818,GENERAL]], stretch: {bot:[0x21C2,GENERAL], ext:[0x23D0,GENERAL]}
112 },
113 0x21C3: // down harpoon with barb left
114 {
115 dir: V, HW: [[.818,GENERAL]], stretch: {bot:[0x21C3,GENERAL], ext:[0x23D0,GENERAL]}
116 },
117 0x21DA: // left triple arrow
118 {
119 dir: H, HW: [[.926,GENERAL]], stretch: {left:[0x21DA,GENERAL], rep:[0x2261,GENERAL]}
120 },
121 0x21DB: // right triple arrow
122 {
123 dir: H, HW: [[.926,GENERAL]], stretch: {right:[0x21DB,GENERAL], rep:[0x2261,GENERAL]}
124 },
125 0x222B: // integral
126 {
127 dir: V, HW: [[0.607,GENERAL], [0.979,INTD]],
128 stretch: {top:[0x2320,SIZE1], ext:[0x23AE,SIZE1], bot:[0x2321,SIZE1]}
129 },
130 0x23B4: // top square bracket
131 {
132 dir: H, HW: [[.926,GENERAL],[1.063,SIZE1],[1.606,SIZE2],[2.147,SIZE3],[2.692,SIZE4],[3.237,SIZE5]],
133 stretch: {left:[0x2310,GENERAL], rep:[0x2212,GENERAL,0,.12], right:[0xAC,GENERAL]}
134 },
135 0x23B5: // bottom square bracket
136 {
137 dir: H, HW: [[.926,GENERAL],[1.063,SIZE1],[1.606,SIZE2],[2.147,SIZE3],[2.692,SIZE4],[3.237,SIZE5]],
138 stretch: {left:[0x2A3D,GENERAL,0,.12], rep:[0x2212,GENERAL,0,0,0,.12], right:[0x2A3C,GENERAL,0,.12]}
139 },
140 0x23DC: // top paren
141 {
142 dir: H, HW: [[.926,SIZE1],[1,GENERAL],[1.460,SIZE2],[1.886,SIZE3],[2.328,SIZE4],[3.237,SIZE5]],
143 stretch: {left:[0xE13B,NONUNI], right:[0xE13C,NONUNI], rep:[0xE14A,NONUNI]}
144 },
145 0x23DD: // bottom paren
146 {
147 dir: H, HW: [[.926,SIZE1],[1,GENERAL],[1.460,SIZE2],[1.886,SIZE3],[2.328,SIZE4],[3.237,SIZE5]],
148 stretch: {left:[0xE13D,NONUNI], right:[0xE13E,NONUNI], rep:[0xE14B,NONUNI]}
149 },
150 0x23E0: // top tortoise shell
151 {
152 dir: H, HW: [[1,GENERAL],[1.460,SIZE1],[1.886,SIZE2],[2.312,SIZE3],[2.738,SIZE4],[3.164,SIZE5]],
153 stretch: {left:[0xE10D,NONUNI,-.1,-.1], rep:[0x2212,GENERAL,0,.05], right:[0xE10C,NONUNI,0,-.1], fullExtenders:true}
154 },
155 0x23E1: // bottom tortoise shell
156 {
157 dir: H, HW: [[1,GENERAL],[1.460,SIZE1],[1.886,SIZE2],[2.312,SIZE3],[2.738,SIZE4],[3.164,SIZE5]],
158 stretch: {left:[0xE10C,NONUNI,-.1,.1], rep:[0x2212,GENERAL,0,-.1,0,.1], right:[0xE10D,NONUNI,0,.1], fullExtenders:true}
159 },
160 0x2906: // leftwards double arrow from bar
161 {
162 dir: H, HW: [[.926,GENERAL]],
163 stretch: {left:[0x21D0,GENERAL], rep:[0x3D,GENERAL], right:[0x2AE4,GENERAL,0,-.09]}
164 },
165 0x2907: // rightwards double arrow from bar
166 {
167 dir: H, HW: [[.926,GENERAL]],
168 stretch: {left:[0x22A8,GENERAL,0,-.09], rep:[0x3D,GENERAL], right:[0x21D2,GENERAL]}
169 },
170 0x294E: // left barb up right barb up harpoon
171 {
172 dir: H, HW: [],
173 stretch: {left:[0x21BC,GENERAL], rep:[0x2212,GENERAL], right:[0x21C0,GENERAL]}
174 },
175 0x294F: // up barb right down barb right harpoon
176 {
177 dir: V, HW: [[.818,GENERAL]],
178 stretch: {top:[0x21BE,GENERAL], ext:[0x23D0,GENERAL], bot:[0x21C2,GENERAL]}
179 },
180 0x2950: // left barb dow right barb down harpoon
181 {
182 dir: H, HW: [[.926,GENERAL]],
183 stretch: {left:[0x21BD,GENERAL], rep:[0x2212,GENERAL], right:[0x21C1,GENERAL]}
184 },
185 0x2951: // up barb left down barb left harpoon
186 {
187 dir: V, HW: [[.818,GENERAL]],
188 stretch: {top:[0x21BF,GENERAL], ext:[0x23D0,GENERAL], bot:[0x21C3,GENERAL]}
189 },
190 0x295A: // leftwards harpoon with barb up from bar
191 {
192 dir: H, HW: [[.926,GENERAL]],
193 stretch: {left:[0x21BC,GENERAL], rep:[0x2212,GENERAL], right:[0x22A3,BOLD,0,.1,.6]}
194 },
195 0x295B: // rightwards harpoon with barb up from bar
196 {
197 dir: H, HW: [[.926,GENERAL]],
198 stretch: {left:[0xE0B6,NONUNI], rep:[0x2212,GENERAL], right:[0x21C0,GENERAL]}
199 },
200 0x295C: // up harpoon with barb right from bar
201 {
202 dir: V, HW: [[.818,GENERAL]],
203 stretch: {bot:[0x5F,GENERAL,.05,-.01,.8], ext:[0x23D0,GENERAL], top:[0x21BE,GENERAL]}
204 },
205 0x295D: // down harpoon with barb right from bar
206 {
207 dir: V, HW: [[.818,GENERAL]],
208 stretch: {top:[0x22A4,BOLD,0.04,0,.6], ext:[0x23D0,GENERAL], bot:[0x21C2,GENERAL]}
209 },
210 0x295E: // leftwards harpoon with barb down from bar
211 {
212 dir: H, HW: [[.926,GENERAL]],
213 stretch: {left:[0x21BD,GENERAL], rep:[0x2212,GENERAL], right:[0x22A3,BOLD,0,.1,.6]}
214 },
215 0x295F: // rightwards harpoon with barb down from bar
216 {
217 dir: H, HW: [[.926,GENERAL]],
218 stretch: {left:[0xE0B6,NONUNI], rep:[0x2212,GENERAL], right:[0x21C1,GENERAL]}
219 },
220 0x2960: // up harpoon with barb left from bar
221 {
222 dir: V, HW: [[.818,GENERAL]],
223 stretch: {bot:[0x5F,GENERAL,.05,-.01,.8], ext:[0x23D0,GENERAL], top:[0x21BF,GENERAL]}
224 },
225 0x2961: // down harpoon with barb left from bar
226 {
227 dir: V, HW: [[.818,GENERAL]],
228 stretch: {top:[0x22A4,BOLD,0.04,0,.6], ext:[0x23D0,GENERAL], bot:[0x21C3,GENERAL]}
229 },
230
231 0x02C7: // caron
232 {
233 dir: H, HW: [[.333,GENERAL],[.56,SIZE1],[.979,SIZE2],[1.458,SIZE3],[1.886,SIZE4],[2.328,SIZE5]]
234 },
235 0x02CD: // low macron
236 {
237 dir: H, HW: [[.334,GENERAL]], stretch: {rep:[0x2CD,GENERAL]}
238 },
239 0x02F7: // low tilde
240 {
241 dir: H, HW: [[.558,SIZE1],[.977,SIZE2],[1.458,SIZE3],[1.886,SIZE4],[2.328,SIZE5]]
242 },
243 0x219F: // upwards two headed arrow
244 {
245 dir: V, HW: [[.816,GENERAL]], stretch: {ext:[0x23D0,GENERAL], top:[0x219F,GENERAL]}
246 },
247 0x21A1: // downwards two headed arrow
248 {
249 dir: V, HW: [[.816,GENERAL]], stretch: {ext:[0x23D0,GENERAL], bot:[0x21A1,GENERAL]}
250 },
251 0x21A8: // up down arrow with base
252 {
253 dir: V, HW: [[.816,GENERAL]],
254 stretch: {top:[0x2191,GENERAL], ext:[0x23D0,GENERAL], bot:[0x2913,GENERAL]}
255 },
256 0x21A9: // left hook arrow
257 {
258 dir: H, HW: [[.926,GENERAL]],
259 stretch: {left:[0x2190,GENERAL], rep:[0x2212,GENERAL], right:[0xE0B5,NONUNI]}
260 },
261 0x21AA: // right hook arrow
262 {
263 dir: H, HW: [[.926,GENERAL]],
264 stretch: {left:[0xE0B4,NONUNI], rep:[0x2212,GENERAL], right:[0x2192,GENERAL]}
265 },
266 0x21B2: // down arrow with tip left
267 {
268 dir: V, HW: [[.818,GENERAL]], stretch: {bot:[0x21B2,GENERAL], ext:[0x23D0,GENERAL,.152]}
269 },
270 0x21B3: // down arrow with tip right
271 {
272 dir: V, HW: [[.818,GENERAL]], stretch: {bot:[0x21B3,GENERAL], ext:[0x23D0,GENERAL,-.195]}
273 },
274 0x21B4: // right arrow with corner down
275 {
276 dir: H, HW: [[.926,GENERAL]], stretch: {rep:[0x2212,GENERAL,0,.4], right:[0x21B4,GENERAL]}
277 },
278 0x21B5: // down arrow with corner left
279 {
280 dir: V, HW: [[.818,GENERAL]], stretch: {bot:[0x21B5,GENERAL], ext:[0x23D0,GENERAL,.57]}
281 },
282 0x21CB: // left harpoon over right harpoon
283 {
284 dir: H, HW: [[.926,GENERAL]],
285 stretch: {left:[0x296A,GENERAL], rep:[0x3D,GENERAL], right:[0x296D,GENERAL]}
286 },
287 0x21CC: // right harpoon over left harpoon
288 {
289 dir: H, HW: [[.926,GENERAL]],
290 stretch: {left:[0x296B,GENERAL], rep:[0x3D,GENERAL], right:[0x296C,GENERAL]}
291 },
292 0x21E0: // left dashed arrow
293 {
294 dir: H, HW: [[.926,GENERAL]],
295 stretch: {left:[0x21E0,GENERAL], rep:[0xE121,NONUNI,0,0,0,0,.1], fullExtenders:true}
296 },
297 0x21E1: // up dashed arrow
298 {
299 dir: V, HW: [[.818,GENERAL]],
300 stretch: {ext:[0xE12D,NONUNI], top:[0x21E1,GENERAL], fullExtenders: true}
301 },
302 0x21E2: // right dashed arrow
303 {
304 dir: H, HW: [[.926,GENERAL]],
305 stretch: {right:[0x21E2,VARIANT], rep:[0xE12E,NONUNI,0,0,0,0,.1], fullExtenders:true}
306 },
307 0x21E3: // down dashed arrow
308 {
309 dir: V, HW: [[.818,GENERAL]],
310 stretch: {ext:[0xE12C,NONUNI], bot:[0x21E3,GENERAL], fullExtenders: true}
311 },
312 0x21E4: // left arrow to bar
313 {
314 dir: H, HW: [[.926,GENERAL]], stretch: {left:[0x21E4,GENERAL], rep:[0x2212,GENERAL]}
315 },
316 0x21E5: // right arrow to bar
317 {
318 dir: H, HW: [[.926,GENERAL]], stretch: {right:[0x21E5,GENERAL], rep:[0x2212,GENERAL]}
319 },
320 0x21FD: // left open-headed arrow
321 {
322 dir: H, HW: [[.926,GENERAL]], stretch: {left:[0x21FD,GENERAL], rep:[0x2212,GENERAL]}
323 },
324 0x21FE: // right open-headed arrow
325 {
326 dir: H, HW: [[.926,GENERAL]], stretch: {right:[0x21FE,GENERAL], rep:[0x2212,GENERAL]}
327 },
328 0x21FF: // left right open-headed arrow
329 {
330 dir: H, HW: [[.926,GENERAL]],
331 stretch: {left:[0x21FD,GENERAL], rep:[0x2212,GENERAL], right:[0x21FE,GENERAL]}
332 },
333 0x27E6: // left white square bracket
334 {
335 dir: V, HW: [[.93,GENERAL],[1.23,SIZE1],[1.845,SIZE2],[2.46,SIZE3],[3.075,SIZE4]],
336 stretch: {top:[0x2553,GENERAL], ext:[0x2551,GENERAL], bot:[0x2559,GENERAL]}
337 },
338 0x27E7: // right white square bracket
339 {
340 dir: V, HW: [[.93,GENERAL],[1.23,SIZE1],[1.845,SIZE2],[2.46,SIZE3],[3.075,SIZE4]],
341 stretch: {top:[0x2556,GENERAL], ext:[0x2551,GENERAL], bot:[0x255C,GENERAL]}
342 },
343 0x27EA: // left double angle bracket
344 {
345 dir: V, HW: [[.931,GENERAL],[1.23,SIZE1],[1.845,SIZE2],[2.461,SIZE3],[3.075,SIZE4]]
346 },
347 0x27EB: // right double angle bracket
348 {
349 dir: V, HW: [[.931,GENERAL],[1.23,SIZE1],[1.845,SIZE2],[2.461,SIZE3],[3.075,SIZE4]]
350 },
351 0x290A: // up triple arrow
352 {
353 dir: V, HW: [[.818,GENERAL]], stretch: {top:[0x290A,GENERAL], ext:[0xE135,NONUNI]}
354 },
355 0x290B: // down triple arrow
356 {
357 dir: V, HW: [[.818,GENERAL]], stretch: {bot:[0x290B,GENERAL], ext:[0xE135,NONUNI]}
358 },
359 0x2912: // up arrow to bar
360 {
361 dir: V, HW: [[.818,GENERAL]], stretch: {top:[0x2912,GENERAL], ext:[0x23D0,GENERAL]}
362 },
363 0x2913: // down arrow to bar
364 {
365 dir: V, HW: [[.818,GENERAL]], stretch: {bot:[0x2913,GENERAL], ext:[0x23D0,GENERAL]}
366 },
367 0x2952: // left harpoon with barb up to bar
368 {
369 dir: H, HW: [[.926,GENERAL]], stretch: {left:[0x2952,GENERAL], rep:[0x2212,GENERAL]}
370 },
371 0x2953: // right harpoon with barb up to bar
372 {
373 dir: H, HW: [[.926,GENERAL]], stretch: {right:[0x2953,GENERAL], rep:[0x2212,GENERAL]}
374 },
375 0x2954: // up harpoon with barb right to bar
376 {
377 dir: V, HW: [[.818,GENERAL]], stretch: {top:[0x2954,GENERAL], ext:[0x23D0,GENERAL]}
378 },
379 0x2955: // down harpoon with barb right to bar
380 {
381 dir: V, HW: [[.818,GENERAL]], stretch: {bot:[0x2955,GENERAL], ext:[0x23D0,GENERAL]}
382 },
383 0x2956: // left harpoon with barb down to bar
384 {
385 dir: H, HW: [[.926,GENERAL]], stretch: {left:[0x2956,GENERAL], rep:[0x2212,GENERAL]}
386 },
387 0x2957: // right harpoon with barb down to bar
388 {
389 dir: H, HW: [[.926,GENERAL]], stretch: {right:[0x2957,GENERAL], rep:[0x2212,GENERAL]}
390 },
391 0x2958: // up harpoon with barb left to bar
392 {
393 dir: V, HW: [[.818,GENERAL]], stretch: {top:[0x2958,GENERAL], ext:[0x23D0,GENERAL]}
394 },
395 0x2959: // down harpoon with barb left to bar
396 {
397 dir: V, HW: [[.818,GENERAL]], stretch: {bot:[0x2959,GENERAL], ext:[0x23D0,GENERAL]}
398 },
399 0x2980: // triple vertical bar
400 {
401 dir: V, HW: [[.874,GENERAL]], stretch: {ext:[0x2980,GENERAL]}
402 },
403 0x2997: // left black tortoise shell
404 {
405 dir: V, HW: [[.932,GENERAL]],
406 stretch: {top:[0xE10D,NONUNI,.1,.05], ext:[0x23D0,GENERAL,-.1], bot:[0xE10C,NONUNI,.1]}
407 },
408 0x2998: // right black tortoise shell
409 {
410 dir: V, HW: [[.932,GENERAL]],
411 stretch: {top:[0xE10C,NONUNI,-.1,.05], ext:[0x23D0,GENERAL], bot:[0xE10D,NONUNI,-.1]}
412 }
413
414 };
415
416 for (var id in delim) {if (delim.hasOwnProperty(id)) {DELIMITERS[id] = delim[id]}};
417
418 MathJax.Ajax.loadComplete(HTMLCSS.fontDir + "/fontdata-extra.js");
419
420 })(MathJax.OutputJax["HTML-CSS"]);
421