dwml-ts 0.4.1 → 0.5.0

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/dist/index.cjs ADDED
@@ -0,0 +1,2495 @@
1
+ "use strict";
2
+ var __webpack_require__ = {};
3
+ (()=>{
4
+ __webpack_require__.d = (exports1, getters, values)=>{
5
+ var define = (defs, kind)=>{
6
+ for(var key in defs)if (__webpack_require__.o(defs, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
7
+ enumerable: true,
8
+ [kind]: defs[key]
9
+ });
10
+ };
11
+ define(getters, "get");
12
+ define(values, "value");
13
+ };
14
+ })();
15
+ (()=>{
16
+ __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
17
+ })();
18
+ (()=>{
19
+ __webpack_require__.r = (exports1)=>{
20
+ if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
21
+ value: 'Module'
22
+ });
23
+ Object.defineProperty(exports1, '__esModule', {
24
+ value: true
25
+ });
26
+ };
27
+ })();
28
+ var __webpack_exports__ = {};
29
+ __webpack_require__.r(__webpack_exports__);
30
+ __webpack_require__.d(__webpack_exports__, {
31
+ elementChildren: ()=>elementChildren,
32
+ escapeLatex: ()=>escapeLatex,
33
+ extractOmmlLatex: ()=>extractOmmlLatex,
34
+ localName: ()=>localName,
35
+ ommlNodeToLatex: ()=>ommlNodeToLatex,
36
+ ommlToLatex: ()=>ommlToLatex,
37
+ textContent: ()=>textContent,
38
+ unicodeToLatex: ()=>unicodeToLatex
39
+ });
40
+ const txml_namespaceObject = require("txml/txml");
41
+ const UNI2LATEX = {
42
+ 34: "''",
43
+ 35: "\\#",
44
+ 36: "\\$",
45
+ 37: "\\%",
46
+ 38: "\\&",
47
+ 60: "\\ensuremath{<}",
48
+ 62: "\\ensuremath{>}",
49
+ 92: "\\textbackslash",
50
+ 94: "\\textasciicircum",
51
+ 95: "\\_",
52
+ 123: "\\{",
53
+ 125: "\\}",
54
+ 126: "\\textasciitilde",
55
+ 160: "~",
56
+ 161: "\\textexclamdown",
57
+ 162: "\\textcent",
58
+ 163: "\\textsterling",
59
+ 164: "\\textcurrency",
60
+ 165: "\\textyen",
61
+ 166: "\\textbrokenbar",
62
+ 167: "\\textsection",
63
+ 168: "\\textasciidieresis",
64
+ 169: "\\textcopyright",
65
+ 170: "\\textordfeminine",
66
+ 171: "\\guillemotleft",
67
+ 172: "\\textlnot",
68
+ 173: "\\-",
69
+ 174: "\\textregistered",
70
+ 175: "\\textasciimacron",
71
+ 176: "\\textdegree",
72
+ 177: "\\ensuremath{\\pm}",
73
+ 178: "\\texttwosuperior",
74
+ 179: "\\textthreesuperior",
75
+ 180: "\\textasciiacute",
76
+ 181: "\\textmu",
77
+ 182: "\\textparagraph",
78
+ 183: "\\textperiodcentered",
79
+ 185: "\\textonesuperior",
80
+ 186: "\\textordmasculine",
81
+ 187: "\\guillemotright",
82
+ 188: "\\textonequarter",
83
+ 189: "\\textonehalf",
84
+ 190: "\\textthreequarters",
85
+ 191: "\\textquestiondown",
86
+ 192: "\\`A",
87
+ 193: "\\'A",
88
+ 194: "\\^A",
89
+ 195: "\\~A",
90
+ 196: "\\\"A",
91
+ 197: "\\r{A}",
92
+ 198: "\\AE",
93
+ 199: "\\c{C}",
94
+ 200: "\\`E",
95
+ 201: "\\'E",
96
+ 202: "\\^E",
97
+ 203: "\\\"E",
98
+ 204: "\\`I",
99
+ 205: "\\'I",
100
+ 206: "\\^I",
101
+ 207: "\\\"I",
102
+ 208: "\\DH",
103
+ 209: "\\~N",
104
+ 210: "\\`O",
105
+ 211: "\\'O",
106
+ 212: "\\^O",
107
+ 213: "\\~O",
108
+ 214: "\\\"O",
109
+ 215: "\\texttimes",
110
+ 216: "\\O",
111
+ 217: "\\`U",
112
+ 218: "\\'U",
113
+ 219: "\\^U",
114
+ 220: "\\\"U",
115
+ 221: "\\'Y",
116
+ 222: "\\TH",
117
+ 223: "\\ss",
118
+ 224: "\\`a",
119
+ 225: "\\'a",
120
+ 226: "\\^a",
121
+ 227: "\\~a",
122
+ 228: "\\\"a",
123
+ 229: "\\r{a}",
124
+ 230: "\\ae",
125
+ 231: "\\c{c}",
126
+ 232: "\\`e",
127
+ 233: "\\'e",
128
+ 234: "\\^e",
129
+ 235: "\\\"e",
130
+ 236: "\\`\\i",
131
+ 237: "\\'\\i",
132
+ 238: "\\^\\i",
133
+ 239: "\\\"\\i",
134
+ 240: "\\dh",
135
+ 241: "\\~n",
136
+ 242: "\\`o",
137
+ 243: "\\'o",
138
+ 244: "\\^o",
139
+ 245: "\\~o",
140
+ 246: "\\\"o",
141
+ 247: "\\textdiv",
142
+ 248: "\\o",
143
+ 249: "\\`u",
144
+ 250: "\\'u",
145
+ 251: "\\^u",
146
+ 252: "\\\"u",
147
+ 253: "\\'y",
148
+ 254: "\\th",
149
+ 255: "\\\"y",
150
+ 256: "\\={A}",
151
+ 257: "\\={a}",
152
+ 258: "\\u{A}",
153
+ 259: "\\u{a}",
154
+ 260: "\\k{A}",
155
+ 261: "\\k{a}",
156
+ 262: "\\'C",
157
+ 263: "\\'c",
158
+ 264: "\\^{C}",
159
+ 265: "\\^{c}",
160
+ 266: "\\.{C}",
161
+ 267: "\\.{c}",
162
+ 268: "\\v{C}",
163
+ 269: "\\v{c}",
164
+ 270: "\\v{D}",
165
+ 271: "\\v{d}",
166
+ 272: "\\DJ",
167
+ 273: "\\dj",
168
+ 274: "\\={E}",
169
+ 275: "\\={e}",
170
+ 276: "\\u{E}",
171
+ 277: "\\u{e}",
172
+ 278: "\\.{E}",
173
+ 279: "\\.{e}",
174
+ 280: "\\k{E}",
175
+ 281: "\\k{e}",
176
+ 282: "\\v{E}",
177
+ 283: "\\v{e}",
178
+ 284: "\\^{G}",
179
+ 285: "\\^{g}",
180
+ 286: "\\u{G}",
181
+ 287: "\\u{g}",
182
+ 288: "\\.{G}",
183
+ 289: "\\.{g}",
184
+ 290: "\\c{G}",
185
+ 291: "\\c{g}",
186
+ 292: "\\^{H}",
187
+ 293: "\\^{h}",
188
+ 294: "\\={H}",
189
+ 295: "\\={h}",
190
+ 296: "\\~{I}",
191
+ 297: "\\~{i}",
192
+ 298: "\\={I}",
193
+ 299: "\\={i}",
194
+ 300: "\\u{I}",
195
+ 301: "\\u{i}",
196
+ 302: "\\k{I}",
197
+ 303: "\\k{i}",
198
+ 304: "\\.I",
199
+ 305: "\\i",
200
+ 306: "\\IJ",
201
+ 307: "\\ij",
202
+ 308: "\\^{J}",
203
+ 309: "\\^{j}",
204
+ 310: "\\c{K}",
205
+ 311: "\\c{k}",
206
+ 312: "\\textsc{k}",
207
+ 313: "\\'L",
208
+ 314: "\\'l",
209
+ 315: "\\c{L}",
210
+ 316: "\\c{l}",
211
+ 317: "\\v{L}",
212
+ 318: "\\v{l}",
213
+ 319: "\\.{L}",
214
+ 320: "\\.{l}",
215
+ 321: "\\L",
216
+ 322: "\\l",
217
+ 323: "\\'N",
218
+ 324: "\\'n",
219
+ 325: "\\c{N}",
220
+ 326: "\\c{n}",
221
+ 327: "\\v{N}",
222
+ 328: "\\v{n}",
223
+ 329: "\\nument{149}",
224
+ 330: "\\NG",
225
+ 331: "\\ng",
226
+ 332: "\\={O}",
227
+ 333: "\\={o}",
228
+ 334: "\\u{O}",
229
+ 335: "\\u{o}",
230
+ 336: "\\H{O}",
231
+ 337: "\\H{o}",
232
+ 338: "\\OE",
233
+ 339: "\\oe",
234
+ 340: "\\'R",
235
+ 341: "\\'r",
236
+ 342: "\\c{R}",
237
+ 343: "\\c{r}",
238
+ 344: "\\v{R}",
239
+ 345: "\\v{r}",
240
+ 346: "\\'S",
241
+ 347: "\\'s",
242
+ 348: "\\^{S}",
243
+ 349: "\\^{s}",
244
+ 350: "\\c{S}",
245
+ 351: "\\c{s}",
246
+ 352: "\\v{S}",
247
+ 353: "\\v{s}",
248
+ 354: "\\c{T}",
249
+ 355: "\\c{t}",
250
+ 356: "\\v{T}",
251
+ 357: "\\v{t}",
252
+ 358: "\\={T}",
253
+ 359: "\\={t}",
254
+ 360: "\\~{U}",
255
+ 361: "\\~{u}",
256
+ 362: "\\={U}",
257
+ 363: "\\={u}",
258
+ 364: "\\u{U}",
259
+ 365: "\\u{u}",
260
+ 366: "\\r{U}",
261
+ 367: "\\r{u}",
262
+ 368: "\\'{U}",
263
+ 369: "\\'{u}",
264
+ 370: "\\k{U}",
265
+ 371: "\\k{u}",
266
+ 372: "\\^{W}",
267
+ 373: "\\^{w}",
268
+ 374: "\\^{Y}",
269
+ 375: "\\^{y}",
270
+ 376: "\\\"Y",
271
+ 377: "\\'Z",
272
+ 378: "\\'z",
273
+ 379: "\\.Z",
274
+ 380: "\\.z",
275
+ 381: "\\v{Z}",
276
+ 382: "\\v{z}",
277
+ 402: "\\textflorin",
278
+ 405: "\\texthvlig",
279
+ 414: "\\textnrleg",
280
+ 501: "\\'{g}",
281
+ 552: "\\c{E}",
282
+ 553: "\\c{e}",
283
+ 601: "\\textschwa",
284
+ 603: "\\varepsilon",
285
+ 632: "\\textphi",
286
+ 660: "\\textglotstop",
287
+ 670: "\\textturnk",
288
+ 695: "\\textsuperscript{w}",
289
+ 700: "'",
290
+ 710: "\\textasciicircum",
291
+ 711: "\\textasciicaron",
292
+ 728: "\\textasciibreve",
293
+ 729: "\\textperiodcentered",
294
+ 730: "\\r{}",
295
+ 731: "\\k{}",
296
+ 732: "\\textasciitilde",
297
+ 733: "\\textacutedbl",
298
+ 775: "\\ensuremath{\\dot{}}",
299
+ 776: "\\ensuremath{\\ddot{}}",
300
+ 902: "\\'{}A",
301
+ 904: "\\'{}E",
302
+ 905: "\\'{}H",
303
+ 906: "\\'{}I",
304
+ 908: "\\'{}O",
305
+ 910: "\\'{}Y",
306
+ 911: "\\'{}\\ensuremath{\\Omega}",
307
+ 912: "\\acute{\\ddot{\\iota}}",
308
+ 913: "A",
309
+ 914: "B",
310
+ 915: "\\ensuremath{\\Gamma}",
311
+ 916: "\\ensuremath{\\Delta}",
312
+ 917: "E",
313
+ 918: "Z",
314
+ 919: "H",
315
+ 920: "\\ensuremath{\\Theta}",
316
+ 921: "I",
317
+ 922: "K",
318
+ 923: "\\ensuremath{\\Lambda}",
319
+ 924: "M",
320
+ 925: "N",
321
+ 926: "\\ensuremath{\\Xi}",
322
+ 927: "O",
323
+ 928: "\\ensuremath{\\Pi}",
324
+ 929: "P",
325
+ 931: "\\ensuremath{\\Sigma}",
326
+ 932: "T",
327
+ 933: "\\ensuremath{\\Upsilon}",
328
+ 934: "\\ensuremath{\\Phi}",
329
+ 935: "X",
330
+ 936: "\\ensuremath{\\Psi}",
331
+ 937: "\\ensuremath{\\Omega}",
332
+ 938: "\\ensuremath{\\ddot{I}}",
333
+ 939: "\\ensuremath{\\ddot{Y}}",
334
+ 940: "\\ensuremath{\\acute\\alpha}",
335
+ 941: "\\ensuremath{\\acute\\epsilon}",
336
+ 942: "\\ensuremath{\\acute\\eta}",
337
+ 943: "\\ensuremath{\\acute\\iota}",
338
+ 944: "\\ensuremath{\\acute{\\ddot{\\upsilon}}}",
339
+ 945: "\\ensuremath{\\alpha}",
340
+ 946: "\\ensuremath{\\beta}",
341
+ 947: "\\ensuremath{\\gamma}",
342
+ 948: "\\ensuremath{\\delta}",
343
+ 949: "\\ensuremath{\\varepsilon}",
344
+ 950: "\\ensuremath{\\zeta}",
345
+ 951: "\\ensuremath{\\eta}",
346
+ 952: "\\ensuremath{\\theta}",
347
+ 953: "\\ensuremath{\\iota}",
348
+ 954: "\\ensuremath{\\kappa}",
349
+ 955: "\\ensuremath{\\lambda}",
350
+ 956: "\\ensuremath{\\mu}",
351
+ 957: "\\ensuremath{\\nu}",
352
+ 958: "\\ensuremath{\\xi}",
353
+ 959: "o",
354
+ 960: "\\ensuremath{\\pi}",
355
+ 961: "\\ensuremath{\\rho}",
356
+ 962: "\\ensuremath{\\varsigma}",
357
+ 963: "\\ensuremath{\\sigma}",
358
+ 964: "\\ensuremath{\\tau}",
359
+ 965: "\\ensuremath{\\upsilon}",
360
+ 966: "\\ensuremath{\\varphi}",
361
+ 967: "\\ensuremath{\\chi}",
362
+ 968: "\\ensuremath{\\psi}",
363
+ 969: "\\ensuremath{\\omega}",
364
+ 970: "\\ensuremath{\\ddot\\iota}",
365
+ 971: "\\ensuremath{\\ddot{\\upsilon}}",
366
+ 972: "\\'{o}",
367
+ 973: "\\ensuremath{\\acute\\upsilon}",
368
+ 974: "\\ensuremath{\\acute\\omega}",
369
+ 977: "\\ensuremath{\\vartheta}",
370
+ 978: "\\Upsilon",
371
+ 981: "\\ensuremath{\\phi}",
372
+ 982: "\\ensuremath{\\varpi}",
373
+ 1008: "\\ensuremath{\\varkappa}",
374
+ 1009: "\\ensuremath{\\varrho}",
375
+ 1013: "\\ensuremath{\\epsilon}",
376
+ 1014: "\\ensuremath{\\backepsilon}",
377
+ 1024: "\\`\\CYRE",
378
+ 1025: "\\CYRYO",
379
+ 1026: "\\CYRDJE",
380
+ 1027: "\\`\\CYRG",
381
+ 1028: "\\CYRIE",
382
+ 1029: "\\CYRDZE",
383
+ 1030: "\\CYRII",
384
+ 1031: "\\CYRYI",
385
+ 1032: "\\CYRJE",
386
+ 1033: "\\CYRLJE",
387
+ 1034: "\\CYRNJE",
388
+ 1035: "\\CYRTSHE",
389
+ 1036: "\\`\\CYRK",
390
+ 1037: "\\`\\CYRI",
391
+ 1038: "\\CYRUSHRT",
392
+ 1039: "\\CYRDZHE",
393
+ 1040: "\\CYRA",
394
+ 1041: "\\CYRB",
395
+ 1042: "\\CYRV",
396
+ 1043: "\\CYRG",
397
+ 1044: "\\CYRD",
398
+ 1045: "\\CYRE",
399
+ 1046: "\\CYRZH",
400
+ 1047: "\\CYRZ",
401
+ 1048: "\\CYRI",
402
+ 1049: "\\CYRISHRT",
403
+ 1050: "\\CYRK",
404
+ 1051: "\\CYRL",
405
+ 1052: "\\CYRM",
406
+ 1053: "\\CYRN",
407
+ 1054: "\\CYRO",
408
+ 1055: "\\CYRP",
409
+ 1056: "\\CYRR",
410
+ 1057: "\\CYRS",
411
+ 1058: "\\CYRT",
412
+ 1059: "\\CYRU",
413
+ 1060: "\\CYRF",
414
+ 1061: "\\CYRH",
415
+ 1062: "\\CYRC",
416
+ 1063: "\\CYRCH",
417
+ 1064: "\\CYRSH",
418
+ 1065: "\\CYRSHCH",
419
+ 1066: "\\CYRHRDSN",
420
+ 1067: "\\CYRERY",
421
+ 1068: "\\CYRSFTSN",
422
+ 1069: "\\CYREREV",
423
+ 1070: "\\CYRYU",
424
+ 1071: "\\CYRYA",
425
+ 1072: "\\cyra",
426
+ 1073: "\\cyrb",
427
+ 1074: "\\cyrv",
428
+ 1075: "\\cyrg",
429
+ 1076: "\\cyrd",
430
+ 1077: "\\cyre",
431
+ 1078: "\\cyrzh",
432
+ 1079: "\\cyrz",
433
+ 1080: "\\cyri",
434
+ 1081: "\\cyrishrt",
435
+ 1082: "\\cyrk",
436
+ 1083: "\\cyrl",
437
+ 1084: "\\cyrm",
438
+ 1085: "\\cyrn",
439
+ 1086: "\\cyro",
440
+ 1087: "\\cyrp",
441
+ 1088: "\\cyrr",
442
+ 1089: "\\cyrs",
443
+ 1090: "\\cyrt",
444
+ 1091: "\\cyru",
445
+ 1092: "\\cyrf",
446
+ 1093: "\\cyrh",
447
+ 1094: "\\cyrc",
448
+ 1095: "\\cyrch",
449
+ 1096: "\\cyrsh",
450
+ 1097: "\\cyrshch",
451
+ 1098: "\\cyrhrdsn",
452
+ 1099: "\\cyrery",
453
+ 1100: "\\cyrsftsn",
454
+ 1101: "\\cyrerev",
455
+ 1102: "\\cyryu",
456
+ 1103: "\\cyrya",
457
+ 1104: "\\`\\cyre",
458
+ 1105: "\\cyryo",
459
+ 1106: "\\cyrdje",
460
+ 1107: "\\`\\cyrg",
461
+ 1108: "\\cyrie",
462
+ 1109: "\\cyrdze",
463
+ 1110: "\\cyrii",
464
+ 1111: "\\cyryi",
465
+ 1112: "\\cyrje",
466
+ 1113: "\\cyrlje",
467
+ 1114: "\\cyrnje",
468
+ 1115: "\\cyrtshe",
469
+ 1116: "\\`\\cyrk",
470
+ 1117: "\\`\\cyri",
471
+ 1118: "\\cyrushrt",
472
+ 1119: "\\cyrdzhe",
473
+ 1120: "\\cyrchar\\CYROMEGA",
474
+ 1121: "\\cyrchar\\cyromega",
475
+ 1122: "\\CYRYAT",
476
+ 1123: "\\cyryat",
477
+ 1124: "\\cyrchar\\CYRIOTE",
478
+ 1125: "\\cyrchar\\cyriote",
479
+ 1126: "\\cyrchar\\CYRLYUS",
480
+ 1127: "\\cyrchar\\cyrlyus",
481
+ 1128: "\\cyrchar\\CYRIOTLYUS",
482
+ 1129: "\\cyrchar\\cyriotlyus",
483
+ 1130: "\\CYRBYUS",
484
+ 1131: "\\cyrbyus",
485
+ 1132: "\\cyrchar\\CYRIOTBYUS",
486
+ 1133: "\\cyrchar\\cyriotbyus",
487
+ 1134: "\\cyrchar\\CYRKSI",
488
+ 1135: "\\cyrchar\\cyrksi",
489
+ 1136: "\\cyrchar\\CYRPSI",
490
+ 1137: "\\cyrchar\\cyrpsi",
491
+ 1138: "\\CYRFITA",
492
+ 1139: "\\cyrfita",
493
+ 1140: "\\CYRIZH",
494
+ 1141: "\\cyrizh",
495
+ 1142: "\\C\\CYRIZH",
496
+ 1143: "\\C\\cyrizh",
497
+ 1144: "\\cyrchar\\CYRUK",
498
+ 1145: "\\cyrchar\\cyruk",
499
+ 1146: "\\cyrchar\\CYROMEGARND",
500
+ 1147: "\\cyrchar\\cyromegarnd",
501
+ 1148: "\\cyrchar\\CYROMEGATITLO",
502
+ 1149: "\\cyrchar\\cyromegatitlo",
503
+ 1150: "\\cyrchar\\CYROT",
504
+ 1151: "\\cyrchar\\cyrot",
505
+ 1152: "\\cyrchar\\CYRKOPPA",
506
+ 1153: "\\cyrchar\\cyrkoppa",
507
+ 1154: "\\cyrchar\\cyrthousands",
508
+ 1160: "\\cyrchar\\cyrhundredthousands",
509
+ 1161: "\\cyrchar\\cyrmillions",
510
+ 1164: "\\CYRSEMISFTSN",
511
+ 1165: "\\cyrsemisftsn",
512
+ 1166: "\\CYRRTICK",
513
+ 1167: "\\cyrrtick",
514
+ 1168: "\\CYRGUP",
515
+ 1169: "\\cyrgup",
516
+ 1170: "\\CYRGHCRS",
517
+ 1171: "\\cyrghcrs",
518
+ 1172: "\\CYRGHK",
519
+ 1173: "\\cyrghk",
520
+ 1174: "\\CYRZHDSC",
521
+ 1175: "\\cyrzhdsc",
522
+ 1176: "\\CYRZDSC",
523
+ 1177: "\\cyrzdsc",
524
+ 1178: "\\CYRKDSC",
525
+ 1179: "\\cyrkdsc",
526
+ 1180: "\\CYRKVCRS",
527
+ 1181: "\\cyrkvcrs",
528
+ 1182: "\\CYRKHCRS",
529
+ 1183: "\\cyrkhcrs",
530
+ 1184: "\\CYRKBEAK",
531
+ 1185: "\\cyrkbeak",
532
+ 1186: "\\CYRNDSC",
533
+ 1187: "\\cyrndsc",
534
+ 1188: "\\CYRNG",
535
+ 1189: "\\cyrng",
536
+ 1190: "\\CYRPHK",
537
+ 1191: "\\cyrphk",
538
+ 1192: "\\CYRABHHA",
539
+ 1193: "\\cyrabhha",
540
+ 1194: "\\CYRSDSC",
541
+ 1195: "\\cyrsdsc",
542
+ 1196: "\\CYRTDSC",
543
+ 1197: "\\cyrtdsc",
544
+ 1198: "\\CYRY",
545
+ 1199: "\\cyry",
546
+ 1200: "\\CYRYHCRS",
547
+ 1201: "\\cyryhcrs",
548
+ 1202: "\\CYRHDSC",
549
+ 1203: "\\cyrhdsc",
550
+ 1204: "\\CYRTETSE",
551
+ 1205: "\\cyrtetse",
552
+ 1206: "\\CYRCHRDSC",
553
+ 1207: "\\cyrchrdsc",
554
+ 1208: "\\CYRCHVCRS",
555
+ 1209: "\\cyrchvcrs",
556
+ 1210: "\\CYRSHHA",
557
+ 1211: "\\cyrshha",
558
+ 1212: "\\CYRABHCH",
559
+ 1213: "\\cyrabhch",
560
+ 1214: "\\CYRABHCHDSC",
561
+ 1215: "\\cyrabhchdsc",
562
+ 1216: "\\CYRpalochka",
563
+ 1217: "\\U\\CYRZH",
564
+ 1218: "\\U\\cyrzh",
565
+ 1219: "\\CYRKHK",
566
+ 1220: "\\cyrkhk",
567
+ 1221: "\\CYRLDSC",
568
+ 1222: "\\cyrldsc",
569
+ 1223: "\\CYRNHK",
570
+ 1224: "\\cyrnhk",
571
+ 1227: "\\CYRCHLDSC",
572
+ 1228: "\\cyrchldsc",
573
+ 1229: "\\CYRMDSC",
574
+ 1230: "\\cyrmdsc",
575
+ 1232: "\\U\\CYRA",
576
+ 1233: "\\U\\cyra",
577
+ 1234: "\\\"\\CYRA",
578
+ 1235: "\\\"\\cyra",
579
+ 1236: "\\CYRAE",
580
+ 1237: "\\cyrae",
581
+ 1238: "\\U\\CYRE",
582
+ 1239: "\\U\\cyre",
583
+ 1240: "\\CYRSCHWA",
584
+ 1241: "\\cyrschwa",
585
+ 1242: "\\\"\\CYRSCHWA",
586
+ 1243: "\\\"\\cyrschwa",
587
+ 1244: "\\\"\\CYRZH",
588
+ 1245: "\\\"\\cyrzh",
589
+ 1246: "\\\"\\CYRZ",
590
+ 1247: "\\\"\\cyrz",
591
+ 1248: "\\CYRABHDZE",
592
+ 1249: "\\cyrabhdze",
593
+ 1250: "\\=\\CYRI",
594
+ 1251: "\\=\\cyri",
595
+ 1252: "\\\"\\CYRI",
596
+ 1253: "\\\"\\cyri",
597
+ 1254: "\\\"\\CYRO",
598
+ 1255: "\\\"\\cyro",
599
+ 1256: "\\CYROTLD",
600
+ 1257: "\\cyrotld",
601
+ 1260: "\\\"\\CYREREV",
602
+ 1261: "\\\"\\cyrerev",
603
+ 1262: "\\=\\CYRU",
604
+ 1263: "\\=\\cyru",
605
+ 1264: "\\\"\\CYRU",
606
+ 1265: "\\\"\\cyru",
607
+ 1266: "\\H\\CYRU",
608
+ 1267: "\\H\\cyru",
609
+ 1268: "\\\"\\CYRCH",
610
+ 1269: "\\\"\\cyrch",
611
+ 1270: "\\CYRGDSC",
612
+ 1271: "\\cyrgdsc",
613
+ 1272: "\\\"\\CYRERY",
614
+ 1273: "\\\"\\cyrery",
615
+ 1274: "\\CYRGDSCHCRS",
616
+ 1275: "\\cyrgdschcrs",
617
+ 1276: "\\CYRHHK",
618
+ 1277: "\\cyrhhk",
619
+ 1278: "\\CYRHHCRS",
620
+ 1279: "\\cyrhhcrs",
621
+ 3647: "\\textbaht",
622
+ 8192: "\\enskip",
623
+ 8193: "\\quad",
624
+ 8194: "\\enskip",
625
+ 8195: "\\quad",
626
+ 8196: "\\hspace{0.33em}",
627
+ 8197: "\\hspace{0.25em}",
628
+ 8198: "\\hspace{0.167em}",
629
+ 8199: "~",
630
+ 8200: "\\;",
631
+ 8201: "\\,",
632
+ 8202: "\\hspace{1pt}",
633
+ 8204: "\\textcompwordmark",
634
+ 8208: "-",
635
+ 8209: "\\nobreakdash-",
636
+ 8210: "-",
637
+ 8211: "\\textendash",
638
+ 8212: "\\textemdash",
639
+ 8213: "\\textemdash",
640
+ 8214: "\\ensuremath{\\Vert}",
641
+ 8216: "\\textquoteleft",
642
+ 8217: "\\textquoteright",
643
+ 8218: "\\quotesinglbase",
644
+ 8220: "\\textquotedblleft",
645
+ 8221: "\\textquotedblright",
646
+ 8222: "\\quotedblbase",
647
+ 8224: "\\textdagger",
648
+ 8225: "\\textdaggerdbl",
649
+ 8226: "\\textbullet",
650
+ 8228: ".",
651
+ 8229: "..",
652
+ 8230: "\\textellipsis",
653
+ 8240: "\\textperthousand",
654
+ 8241: "\\textpertenthousand",
655
+ 8242: "'",
656
+ 8243: "''",
657
+ 8244: "'''",
658
+ 8245: "\\ensuremath{\\backprime}",
659
+ 8249: "\\guilsinglleft",
660
+ 8250: "\\guilsinglright",
661
+ 8251: "\\textreferencemark",
662
+ 8253: "\\textinterrobang",
663
+ 8260: "\\textfractionsolidus",
664
+ 8270: "\\textasteriskcentered",
665
+ 8274: "\\textdiscount",
666
+ 8279: "''''",
667
+ 8287: "\\hspace{0.22em}",
668
+ 8288: "\\nolinebreak",
669
+ 8289: "",
670
+ 8353: "\\textcolonmonetary",
671
+ 8356: "\\textlira",
672
+ 8358: "\\textnaira",
673
+ 8361: "\\textwon",
674
+ 8363: "\\textdong",
675
+ 8364: "\\texteuro",
676
+ 8369: "\\textpeso",
677
+ 8450: "\\ensuremath{\\mathbb{C}}",
678
+ 8451: "\\textcelsius",
679
+ 8457: "\\ensuremath{^\\circ}F",
680
+ 8458: "\\ensuremath{g}",
681
+ 8459: "\\ensuremath{\\mathscr{H}}",
682
+ 8460: "\\ensuremath{\\mathfrak{H}}",
683
+ 8461: "\\ensuremath{\\mathbb{H}}",
684
+ 8462: "\\ensuremath{h}",
685
+ 8463: "\\ensuremath{\\hbar}",
686
+ 8464: "\\ensuremath{\\mathscr{I}}",
687
+ 8465: "\\ensuremath{\\mathfrak{I}}",
688
+ 8466: "\\ensuremath{\\mathscr{L}}",
689
+ 8467: "\\ensuremath{\\ell}",
690
+ 8469: "\\ensuremath{\\mathbb{N}}",
691
+ 8470: "\\textnumero",
692
+ 8471: "\\textcircledP",
693
+ 8472: "\\ensuremath{\\wp}",
694
+ 8473: "\\ensuremath{\\mathbb{P}}",
695
+ 8474: "\\ensuremath{\\mathbb{Q}}",
696
+ 8475: "\\ensuremath{\\mathscr{R}}",
697
+ 8476: "\\ensuremath{\\mathfrak{R}}",
698
+ 8477: "\\ensuremath{\\mathbb{R}}",
699
+ 8478: "\\textrecipe",
700
+ 8480: "\\textservicemark",
701
+ 8482: "\\texttrademark",
702
+ 8484: "\\ensuremath{\\mathbb{Z}}",
703
+ 8486: "\\textohm",
704
+ 8487: "\\textmho",
705
+ 8488: "\\ensuremath{\\mathfrak{Z}}",
706
+ 8490: "K",
707
+ 8491: "\\r{A}",
708
+ 8492: "\\ensuremath{\\mathscr{B}}",
709
+ 8493: "\\ensuremath{\\mathfrak{C}}",
710
+ 8494: "\\textestimated",
711
+ 8495: "\\ensuremath{e}",
712
+ 8496: "\\ensuremath{\\mathscr{E}}",
713
+ 8497: "\\ensuremath{\\mathscr{F}}",
714
+ 8499: "\\ensuremath{\\mathscr{M}}",
715
+ 8500: "\\ensuremath{o}",
716
+ 8501: "\\ensuremath{\\aleph}",
717
+ 8502: "\\ensuremath{\\beth}",
718
+ 8503: "\\ensuremath{\\gimel}",
719
+ 8504: "\\ensuremath{\\daleth}",
720
+ 8531: "\\textfrac{1}{3}",
721
+ 8532: "\\textfrac{2}{3}",
722
+ 8533: "\\textfrac{1}{5}",
723
+ 8534: "\\textfrac{2}{5}",
724
+ 8535: "\\textfrac{3}{5}",
725
+ 8536: "\\textfrac{4}{5}",
726
+ 8537: "\\textfrac{1}{6}",
727
+ 8538: "\\textfrac{5}{6}",
728
+ 8539: "\\textfrac{1}{8}",
729
+ 8540: "\\textfrac{3}{8}",
730
+ 8541: "\\textfrac{5}{8}",
731
+ 8542: "\\textfrac{7}{8}",
732
+ 8592: "\\textleftarrow",
733
+ 8593: "\\textuparrow",
734
+ 8594: "\\textrightarrow",
735
+ 8595: "\\textdownarrow",
736
+ 8596: "\\ensuremath{\\leftrightarrow}",
737
+ 8597: "\\ensuremath{\\updownarrow}",
738
+ 8598: "\\ensuremath{\\nwarrow}",
739
+ 8599: "\\ensuremath{\\nearrow}",
740
+ 8600: "\\ensuremath{\\searrow}",
741
+ 8601: "\\ensuremath{\\swarrow}",
742
+ 8602: "\\ensuremath{\\nleftarrow}",
743
+ 8603: "\\ensuremath{\\nrightarrow}",
744
+ 8604: "\\ensuremath{\\arrowwaveleft}",
745
+ 8605: "\\ensuremath{\\arrowwaveright}",
746
+ 8606: "\\ensuremath{\\twoheadleftarrow}",
747
+ 8608: "\\ensuremath{\\twoheadrightarrow}",
748
+ 8610: "\\ensuremath{\\leftarrowtail}",
749
+ 8611: "\\ensuremath{\\rightarrowtail}",
750
+ 8614: "\\ensuremath{\\mapsto}",
751
+ 8617: "\\ensuremath{\\hookleftarrow}",
752
+ 8618: "\\ensuremath{\\hookrightarrow}",
753
+ 8619: "\\ensuremath{\\looparrowleft}",
754
+ 8620: "\\ensuremath{\\looparrowright}",
755
+ 8621: "\\ensuremath{\\leftrightsquigarrow}",
756
+ 8622: "\\ensuremath{\\nleftrightarrow}",
757
+ 8624: "\\ensuremath{\\Lsh}",
758
+ 8625: "\\ensuremath{\\Rsh}",
759
+ 8630: "\\ensuremath{\\curvearrowleft}",
760
+ 8631: "\\ensuremath{\\curvearrowright}",
761
+ 8634: "\\ensuremath{\\circlearrowleft}",
762
+ 8635: "\\ensuremath{\\circlearrowright}",
763
+ 8636: "\\ensuremath{\\leftharpoonup}",
764
+ 8637: "\\ensuremath{\\leftharpoondown}",
765
+ 8638: "\\ensuremath{\\upharpoonright}",
766
+ 8639: "\\ensuremath{\\upharpoonleft}",
767
+ 8640: "\\ensuremath{\\rightharpoonup}",
768
+ 8641: "\\ensuremath{\\rightharpoondown}",
769
+ 8642: "\\ensuremath{\\downharpoonright}",
770
+ 8643: "\\ensuremath{\\downharpoonleft}",
771
+ 8644: "\\ensuremath{\\rightleftarrows}",
772
+ 8645: "\\ensuremath{\\dblarrowupdown}",
773
+ 8646: "\\ensuremath{\\leftrightarrows}",
774
+ 8647: "\\ensuremath{\\leftleftarrows}",
775
+ 8648: "\\ensuremath{\\upuparrows}",
776
+ 8649: "\\ensuremath{\\rightrightarrows}",
777
+ 8650: "\\ensuremath{\\downdownarrows}",
778
+ 8651: "\\ensuremath{\\leftrightharpoons}",
779
+ 8652: "\\ensuremath{\\rightleftharpoons}",
780
+ 8653: "\\ensuremath{\\nLeftarrow}",
781
+ 8654: "\\ensuremath{\\nLeftrightarrow}",
782
+ 8655: "\\ensuremath{\\nRightarrow}",
783
+ 8656: "\\ensuremath{\\Leftarrow}",
784
+ 8657: "\\ensuremath{\\Uparrow}",
785
+ 8658: "\\ensuremath{\\Rightarrow}",
786
+ 8659: "\\ensuremath{\\Downarrow}",
787
+ 8660: "\\ensuremath{\\Leftrightarrow}",
788
+ 8661: "\\ensuremath{\\Updownarrow}",
789
+ 8666: "\\ensuremath{\\Lleftarrow}",
790
+ 8667: "\\ensuremath{\\Rrightarrow}",
791
+ 8669: "\\ensuremath{\\rightsquigarrow}",
792
+ 8693: "\\ensuremath{\\DownArrowUpArrow}",
793
+ 8704: "\\ensuremath{\\forall}",
794
+ 8705: "\\ensuremath{\\complement}",
795
+ 8706: "\\ensuremath{\\partial}",
796
+ 8707: "\\ensuremath{\\exists}",
797
+ 8708: "\\ensuremath{\\nexists}",
798
+ 8709: "\\ensuremath{\\varnothing}",
799
+ 8710: "\\ensuremath{\\Delta}",
800
+ 8711: "\\ensuremath{\\nabla}",
801
+ 8712: "\\ensuremath{\\in}",
802
+ 8713: "\\ensuremath{\\notin}",
803
+ 8714: "\\ensuremath{\\in}",
804
+ 8715: "\\ensuremath{\\ni}",
805
+ 8716: "\\ensuremath{\\not\\ni}",
806
+ 8717: "\\ensuremath{\\ni}",
807
+ 8718: "\\ensuremath{\\blacksquare}",
808
+ 8719: "\\ensuremath{\\prod}",
809
+ 8720: "\\ensuremath{\\coprod}",
810
+ 8721: "\\ensuremath{\\sum}",
811
+ 8722: "\\ensuremath{-}",
812
+ 8723: "\\ensuremath{\\mp}",
813
+ 8724: "\\ensuremath{\\dotplus}",
814
+ 8725: "\\ensuremath{/}",
815
+ 8726: "\\ensuremath{\\smallsetminus}",
816
+ 8727: "\\ensuremath{*}",
817
+ 8728: "\\ensuremath{\\circ}",
818
+ 8729: "\\ensuremath{\\bullet}",
819
+ 8730: "\\ensuremath{\\sqrt{}}",
820
+ 8731: "\\ensuremath{\\sqrt[3]{}}",
821
+ 8732: "\\ensuremath{\\sqrt[4]{}}",
822
+ 8733: "\\ensuremath{\\propto}",
823
+ 8734: "\\ensuremath{\\infty}",
824
+ 8735: "\\ensuremath{\\rightangle}",
825
+ 8736: "\\ensuremath{\\angle}",
826
+ 8737: "\\ensuremath{\\measuredangle}",
827
+ 8738: "\\ensuremath{\\sphericalangle}",
828
+ 8739: "\\ensuremath{\\mid}",
829
+ 8740: "\\ensuremath{\\nmid}",
830
+ 8741: "\\ensuremath{\\parallel}",
831
+ 8742: "\\ensuremath{\\nparallel}",
832
+ 8743: "\\ensuremath{\\wedge}",
833
+ 8744: "\\ensuremath{\\vee}",
834
+ 8745: "\\ensuremath{\\cap}",
835
+ 8746: "\\ensuremath{\\cup}",
836
+ 8747: "\\ensuremath{\\int}",
837
+ 8748: "\\ensuremath{\\iint}",
838
+ 8749: "\\ensuremath{\\iiint}",
839
+ 8750: "\\ensuremath{\\oint}",
840
+ 8751: "\\ensuremath{\\surfintegral}",
841
+ 8752: "\\ensuremath{\\volintegral}",
842
+ 8753: "\\ensuremath{\\clwintegral}",
843
+ 8756: "\\ensuremath{\\therefore}",
844
+ 8757: "\\ensuremath{\\because}",
845
+ 8758: "\\ensuremath{:}",
846
+ 8759: "\\ensuremath{::}",
847
+ 8762: "\\ensuremath{\\mathbin{{:}\\!\\!{-}\\!\\!{:}}}",
848
+ 8763: "\\ensuremath{\\homothetic}",
849
+ 8764: "\\ensuremath{\\sim}",
850
+ 8765: "\\ensuremath{\\backsim}",
851
+ 8766: "\\ensuremath{\\lazysinv}",
852
+ 8768: "\\ensuremath{\\wr}",
853
+ 8769: "\\ensuremath{\\not\\sim}",
854
+ 8771: "\\ensuremath{\\simeq}",
855
+ 8772: "\\ensuremath{\\not\\simeq}",
856
+ 8773: "\\ensuremath{\\cong}",
857
+ 8774: "\\ensuremath{\\approxnotequal}",
858
+ 8775: "\\ensuremath{\\not\\cong}",
859
+ 8776: "\\ensuremath{\\approx}",
860
+ 8777: "\\ensuremath{\\not\\approx}",
861
+ 8778: "\\ensuremath{\\approxeq}",
862
+ 8779: "\\ensuremath{\\tildetrpl}",
863
+ 8780: "\\ensuremath{\\allequal}",
864
+ 8781: "\\ensuremath{\\asymp}",
865
+ 8782: "\\ensuremath{\\Bumpeq}",
866
+ 8783: "\\ensuremath{\\bumpeq}",
867
+ 8784: "\\ensuremath{\\doteq}",
868
+ 8785: "\\ensuremath{\\doteqdot}",
869
+ 8786: "\\ensuremath{\\fallingdotseq}",
870
+ 8787: "\\ensuremath{\\risingdotseq}",
871
+ 8788: "\\ensuremath{:=}",
872
+ 8789: "\\ensuremath{=:}",
873
+ 8790: "\\ensuremath{\\eqcirc}",
874
+ 8791: "\\ensuremath{\\circeq}",
875
+ 8793: "\\ensuremath{\\estimates}",
876
+ 8795: "\\ensuremath{\\starequal}",
877
+ 8796: "\\ensuremath{\\triangleq}",
878
+ 8800: "\\ensuremath{\\neq}",
879
+ 8801: "\\ensuremath{\\equiv}",
880
+ 8802: "\\ensuremath{\\not\\equiv}",
881
+ 8804: "\\ensuremath{\\leq}",
882
+ 8805: "\\ensuremath{\\geq}",
883
+ 8806: "\\ensuremath{\\leqq}",
884
+ 8807: "\\ensuremath{\\geqq}",
885
+ 8808: "\\ensuremath{\\lneqq}",
886
+ 8809: "\\ensuremath{\\gneqq}",
887
+ 8810: "\\ensuremath{\\ll}",
888
+ 8811: "\\ensuremath{\\gg}",
889
+ 8812: "\\ensuremath{\\between}",
890
+ 8813: "\\ensuremath{\\not\\kern-0.3em\\times}",
891
+ 8814: "\\ensuremath{\\nless}",
892
+ 8815: "\\ensuremath{\\ngtr}",
893
+ 8816: "\\ensuremath{\\nleq}",
894
+ 8817: "\\ensuremath{\\ngeq}",
895
+ 8818: "\\ensuremath{\\lesssim}",
896
+ 8819: "\\ensuremath{\\gtrsim}",
897
+ 8820: "\\ensuremath{\\not\\lesssim}",
898
+ 8821: "\\ensuremath{\\not\\gtrsim}",
899
+ 8822: "\\ensuremath{\\lessgtr}",
900
+ 8823: "\\ensuremath{\\gtrless}",
901
+ 8824: "\\ensuremath{\\notlessgreater}",
902
+ 8825: "\\ensuremath{\\notgreaterless}",
903
+ 8826: "\\ensuremath{\\prec}",
904
+ 8827: "\\ensuremath{\\succ}",
905
+ 8828: "\\ensuremath{\\preceq}",
906
+ 8829: "\\ensuremath{\\succeq}",
907
+ 8830: "\\ensuremath{\\precsim}",
908
+ 8831: "\\ensuremath{\\succsim}",
909
+ 8832: "\\ensuremath{\\nprec}",
910
+ 8833: "\\ensuremath{\\nsucc}",
911
+ 8834: "\\ensuremath{\\subset}",
912
+ 8835: "\\ensuremath{\\supset}",
913
+ 8836: "\\ensuremath{\\not\\subset}",
914
+ 8837: "\\ensuremath{\\not\\supset}",
915
+ 8838: "\\ensuremath{\\subseteq}",
916
+ 8839: "\\ensuremath{\\supseteq}",
917
+ 8840: "\\ensuremath{\\nsubseteq}",
918
+ 8841: "\\ensuremath{\\nsupseteq}",
919
+ 8842: "\\ensuremath{\\subsetneq}",
920
+ 8843: "\\ensuremath{\\supsetneq}",
921
+ 8846: "\\ensuremath{\\uplus}",
922
+ 8847: "\\ensuremath{\\sqsubset}",
923
+ 8848: "\\ensuremath{\\sqsupset}",
924
+ 8849: "\\ensuremath{\\sqsubseteq}",
925
+ 8850: "\\ensuremath{\\sqsupseteq}",
926
+ 8851: "\\ensuremath{\\sqcap}",
927
+ 8852: "\\ensuremath{\\sqcup}",
928
+ 8853: "\\ensuremath{\\oplus}",
929
+ 8854: "\\ensuremath{\\ominus}",
930
+ 8855: "\\ensuremath{\\otimes}",
931
+ 8856: "\\ensuremath{\\oslash}",
932
+ 8857: "\\ensuremath{\\odot}",
933
+ 8858: "\\ensuremath{\\circledcirc}",
934
+ 8859: "\\ensuremath{\\circledast}",
935
+ 8861: "\\ensuremath{\\circleddash}",
936
+ 8862: "\\ensuremath{\\boxplus}",
937
+ 8863: "\\ensuremath{\\boxminus}",
938
+ 8864: "\\ensuremath{\\boxtimes}",
939
+ 8865: "\\ensuremath{\\boxdot}",
940
+ 8866: "\\ensuremath{\\vdash}",
941
+ 8867: "\\ensuremath{\\dashv}",
942
+ 8868: "\\ensuremath{\\top}",
943
+ 8869: "\\ensuremath{\\perp}",
944
+ 8871: "\\ensuremath{\\truestate}",
945
+ 8872: "\\ensuremath{\\forcesextra}",
946
+ 8873: "\\ensuremath{\\Vdash}",
947
+ 8874: "\\ensuremath{\\Vvdash}",
948
+ 8875: "\\ensuremath{\\VDash}",
949
+ 8876: "\\ensuremath{\\nvdash}",
950
+ 8877: "\\ensuremath{\\nvDash}",
951
+ 8878: "\\ensuremath{\\nVdash}",
952
+ 8879: "\\ensuremath{\\nVDash}",
953
+ 8882: "\\ensuremath{\\vartriangleleft}",
954
+ 8883: "\\ensuremath{\\vartriangleright}",
955
+ 8884: "\\ensuremath{\\trianglelefteq}",
956
+ 8885: "\\ensuremath{\\trianglerighteq}",
957
+ 8886: "\\ensuremath{\\original}",
958
+ 8887: "\\ensuremath{\\image}",
959
+ 8888: "\\ensuremath{\\multimap}",
960
+ 8889: "\\ensuremath{\\hermitconjmatrix}",
961
+ 8890: "\\ensuremath{\\intercal}",
962
+ 8891: "\\ensuremath{\\veebar}",
963
+ 8894: "\\ensuremath{\\rightanglearc}",
964
+ 8896: "\\ensuremath{\\bigwedge}",
965
+ 8897: "\\ensuremath{\\bigvee}",
966
+ 8898: "\\ensuremath{\\bigcap}",
967
+ 8899: "\\ensuremath{\\bigcup}",
968
+ 8900: "\\ensuremath{\\diamond}",
969
+ 8901: "\\ensuremath{\\cdot}",
970
+ 8902: "\\ensuremath{\\star}",
971
+ 8903: "\\ensuremath{\\divideontimes}",
972
+ 8904: "\\ensuremath{\\bowtie}",
973
+ 8905: "\\ensuremath{\\ltimes}",
974
+ 8906: "\\ensuremath{\\rtimes}",
975
+ 8907: "\\ensuremath{\\leftthreetimes}",
976
+ 8908: "\\ensuremath{\\rightthreetimes}",
977
+ 8909: "\\ensuremath{\\backsimeq}",
978
+ 8910: "\\ensuremath{\\curlyvee}",
979
+ 8911: "\\ensuremath{\\curlywedge}",
980
+ 8912: "\\ensuremath{\\Subset}",
981
+ 8913: "\\ensuremath{\\Supset}",
982
+ 8914: "\\ensuremath{\\Cap}",
983
+ 8915: "\\ensuremath{\\Cup}",
984
+ 8916: "\\ensuremath{\\pitchfork}",
985
+ 8918: "\\ensuremath{\\lessdot}",
986
+ 8919: "\\ensuremath{\\gtrdot}",
987
+ 8920: "\\ensuremath{\\verymuchless}",
988
+ 8921: "\\ensuremath{\\verymuchgreater}",
989
+ 8922: "\\ensuremath{\\lesseqgtr}",
990
+ 8923: "\\ensuremath{\\gtreqless}",
991
+ 8926: "\\ensuremath{\\curlyeqprec}",
992
+ 8927: "\\ensuremath{\\curlyeqsucc}",
993
+ 8930: "\\ensuremath{\\not\\sqsubseteq}",
994
+ 8931: "\\ensuremath{\\not\\sqsupseteq}",
995
+ 8934: "\\ensuremath{\\lnsim}",
996
+ 8935: "\\ensuremath{\\gnsim}",
997
+ 8936: "\\ensuremath{\\precedesnotsimilar}",
998
+ 8937: "\\ensuremath{\\succnsim}",
999
+ 8938: "\\ensuremath{\\ntriangleleft}",
1000
+ 8939: "\\ensuremath{\\ntriangleright}",
1001
+ 8940: "\\ensuremath{\\ntrianglelefteq}",
1002
+ 8941: "\\ensuremath{\\ntrianglerighteq}",
1003
+ 8942: "\\ensuremath{\\vdots}",
1004
+ 8943: "\\ensuremath{\\cdots}",
1005
+ 8944: "\\ensuremath{\\udots}",
1006
+ 8945: "\\ensuremath{\\ddots}",
1007
+ 8965: "\\ensuremath{\\barwedge}",
1008
+ 8966: "\\ensuremath{\\varperspcorrespond}",
1009
+ 8968: "\\ensuremath{\\lceil}",
1010
+ 8969: "\\ensuremath{\\rceil}",
1011
+ 8970: "\\ensuremath{\\lfloor}",
1012
+ 8971: "\\ensuremath{\\rfloor}",
1013
+ 8981: "\\ensuremath{\\recorder}",
1014
+ 8982: "\\ensuremath{\\mathchar\"2208}",
1015
+ 8988: "\\ensuremath{\\ulcorner}",
1016
+ 8989: "\\ensuremath{\\urcorner}",
1017
+ 8990: "\\ensuremath{\\llcorner}",
1018
+ 8991: "\\ensuremath{\\lrcorner}",
1019
+ 8994: "\\ensuremath{\\frown}",
1020
+ 8995: "\\ensuremath{\\smile}",
1021
+ 9001: "\\textlangle",
1022
+ 9002: "\\textrangle",
1023
+ 9136: "\\ensuremath{\\lmoustache}",
1024
+ 9137: "\\ensuremath{\\rmoustache}",
1025
+ 9250: "\\textblank",
1026
+ 9251: "\\textvisiblespace",
1027
+ 9632: "\\ensuremath{\\blacksquare}",
1028
+ 9633: "\\ensuremath{\\square}",
1029
+ 9642: "{\\small\\ensuremath{\\blacksquare}}",
1030
+ 9645: "\\fbox{~~}",
1031
+ 9651: "\\ensuremath{\\bigtriangleup}",
1032
+ 9652: "\\ensuremath{\\blacktriangle}",
1033
+ 9653: "\\ensuremath{\\vartriangle}",
1034
+ 9656: "\\ensuremath{\\blacktriangleright}",
1035
+ 9657: "\\ensuremath{\\triangleright}",
1036
+ 9661: "\\ensuremath{\\bigtriangledown}",
1037
+ 9662: "\\ensuremath{\\blacktriangledown}",
1038
+ 9663: "\\ensuremath{\\triangledown}",
1039
+ 9666: "\\ensuremath{\\blacktriangleleft}",
1040
+ 9667: "\\ensuremath{\\triangleleft}",
1041
+ 9674: "\\ensuremath{\\lozenge}",
1042
+ 9675: "\\ensuremath{\\bigcirc}",
1043
+ 9702: "\\textopenbullet",
1044
+ 9711: "\\textbigcircle",
1045
+ 9826: "\\ensuremath{\\diamond}",
1046
+ 9833: "\\quarternote",
1047
+ 9834: "\\textmusicalnote",
1048
+ 9837: "\\flat",
1049
+ 9838: "\\natural",
1050
+ 9839: "\\sharp",
1051
+ 10216: "\\ensuremath{\\langle}",
1052
+ 10217: "\\ensuremath{\\rangle}",
1053
+ 10229: "\\ensuremath{\\longleftarrow}",
1054
+ 10230: "\\ensuremath{\\longrightarrow}",
1055
+ 10231: "\\ensuremath{\\longleftrightarrow}",
1056
+ 10232: "\\ensuremath{\\Longleftarrow}",
1057
+ 10233: "\\ensuremath{\\Longrightarrow}",
1058
+ 10234: "\\ensuremath{\\Longleftrightarrow}",
1059
+ 10236: "\\ensuremath{\\longmapsto}",
1060
+ 10239: "\\ensuremath{\\sim\\joinrel\\leadsto}",
1061
+ 10643: "\\ensuremath{<\\kern-0.58em(}",
1062
+ 10731: "\\ensuremath{\\blacklozenge}",
1063
+ 10767: "\\ensuremath{\\clockoint}",
1064
+ 10774: "\\ensuremath{\\sqrint}",
1065
+ 10815: "\\ensuremath{\\amalg}",
1066
+ 10862: "\\ensuremath{\\stackrel{*}{=}}",
1067
+ 10869: "==",
1068
+ 10877: "\\ensuremath{\\leqslant}",
1069
+ 10878: "\\ensuremath{\\geqslant}",
1070
+ 10885: "\\ensuremath{\\lessapprox}",
1071
+ 10886: "\\ensuremath{\\gtrapprox}",
1072
+ 10887: "\\ensuremath{\\lneq}",
1073
+ 10888: "\\ensuremath{\\gneq}",
1074
+ 10889: "\\ensuremath{\\lnapprox}",
1075
+ 10890: "\\ensuremath{\\gnapprox}",
1076
+ 10891: "\\ensuremath{\\lesseqqgtr}",
1077
+ 10892: "\\ensuremath{\\gtreqqless}",
1078
+ 10901: "\\ensuremath{\\eqslantless}",
1079
+ 10902: "\\ensuremath{\\eqslantgtr}",
1080
+ 10927: "\\ensuremath{\\preceq}",
1081
+ 10928: "\\ensuremath{\\succeq}",
1082
+ 10933: "\\ensuremath{\\precneqq}",
1083
+ 10934: "\\ensuremath{\\succneqq}",
1084
+ 10935: "\\ensuremath{\\precapprox}",
1085
+ 10936: "\\ensuremath{\\succapprox}",
1086
+ 10937: "\\ensuremath{\\precnapprox}",
1087
+ 10938: "\\ensuremath{\\succnapprox}",
1088
+ 10949: "\\ensuremath{\\subseteqq}",
1089
+ 10950: "\\ensuremath{\\supseteqq}",
1090
+ 10955: "\\ensuremath{\\subsetneqq}",
1091
+ 10956: "\\ensuremath{\\supsetneqq}",
1092
+ 11005: "\\ensuremath{{{/}\\!\\!{/}}}",
1093
+ 12296: "\\ensuremath{\\langle}",
1094
+ 12297: "\\ensuremath{\\rangle}",
1095
+ 64256: "ff",
1096
+ 64257: "fi",
1097
+ 64258: "fl",
1098
+ 64259: "ffi",
1099
+ 64260: "ffl",
1100
+ 119808: "\\ensuremath{\\mathbf{A}}",
1101
+ 119809: "\\ensuremath{\\mathbf{B}}",
1102
+ 119810: "\\ensuremath{\\mathbf{C}}",
1103
+ 119811: "\\ensuremath{\\mathbf{D}}",
1104
+ 119812: "\\ensuremath{\\mathbf{E}}",
1105
+ 119813: "\\ensuremath{\\mathbf{F}}",
1106
+ 119814: "\\ensuremath{\\mathbf{G}}",
1107
+ 119815: "\\ensuremath{\\mathbf{H}}",
1108
+ 119816: "\\ensuremath{\\mathbf{I}}",
1109
+ 119817: "\\ensuremath{\\mathbf{J}}",
1110
+ 119818: "\\ensuremath{\\mathbf{K}}",
1111
+ 119819: "\\ensuremath{\\mathbf{L}}",
1112
+ 119820: "\\ensuremath{\\mathbf{M}}",
1113
+ 119821: "\\ensuremath{\\mathbf{N}}",
1114
+ 119822: "\\ensuremath{\\mathbf{O}}",
1115
+ 119823: "\\ensuremath{\\mathbf{P}}",
1116
+ 119824: "\\ensuremath{\\mathbf{Q}}",
1117
+ 119825: "\\ensuremath{\\mathbf{R}}",
1118
+ 119826: "\\ensuremath{\\mathbf{S}}",
1119
+ 119827: "\\ensuremath{\\mathbf{T}}",
1120
+ 119828: "\\ensuremath{\\mathbf{U}}",
1121
+ 119829: "\\ensuremath{\\mathbf{V}}",
1122
+ 119830: "\\ensuremath{\\mathbf{W}}",
1123
+ 119831: "\\ensuremath{\\mathbf{X}}",
1124
+ 119832: "\\ensuremath{\\mathbf{Y}}",
1125
+ 119833: "\\ensuremath{\\mathbf{Z}}",
1126
+ 119834: "\\ensuremath{\\mathbf{a}}",
1127
+ 119835: "\\ensuremath{\\mathbf{b}}",
1128
+ 119836: "\\ensuremath{\\mathbf{c}}",
1129
+ 119837: "\\ensuremath{\\mathbf{d}}",
1130
+ 119838: "\\ensuremath{\\mathbf{e}}",
1131
+ 119839: "\\ensuremath{\\mathbf{f}}",
1132
+ 119840: "\\ensuremath{\\mathbf{g}}",
1133
+ 119841: "\\ensuremath{\\mathbf{h}}",
1134
+ 119842: "\\ensuremath{\\mathbf{i}}",
1135
+ 119843: "\\ensuremath{\\mathbf{j}}",
1136
+ 119844: "\\ensuremath{\\mathbf{k}}",
1137
+ 119845: "\\ensuremath{\\mathbf{l}}",
1138
+ 119846: "\\ensuremath{\\mathbf{m}}",
1139
+ 119847: "\\ensuremath{\\mathbf{n}}",
1140
+ 119848: "\\ensuremath{\\mathbf{o}}",
1141
+ 119849: "\\ensuremath{\\mathbf{p}}",
1142
+ 119850: "\\ensuremath{\\mathbf{q}}",
1143
+ 119851: "\\ensuremath{\\mathbf{r}}",
1144
+ 119852: "\\ensuremath{\\mathbf{s}}",
1145
+ 119853: "\\ensuremath{\\mathbf{t}}",
1146
+ 119854: "\\ensuremath{\\mathbf{u}}",
1147
+ 119855: "\\ensuremath{\\mathbf{v}}",
1148
+ 119856: "\\ensuremath{\\mathbf{w}}",
1149
+ 119857: "\\ensuremath{\\mathbf{x}}",
1150
+ 119858: "\\ensuremath{\\mathbf{y}}",
1151
+ 119859: "\\ensuremath{\\mathbf{z}}",
1152
+ 119860: "\\ensuremath{\\mathit{A}}",
1153
+ 119861: "\\ensuremath{\\mathit{B}}",
1154
+ 119862: "\\ensuremath{\\mathit{C}}",
1155
+ 119863: "\\ensuremath{\\mathit{D}}",
1156
+ 119864: "\\ensuremath{\\mathit{E}}",
1157
+ 119865: "\\ensuremath{\\mathit{F}}",
1158
+ 119866: "\\ensuremath{\\mathit{G}}",
1159
+ 119867: "\\ensuremath{\\mathit{H}}",
1160
+ 119868: "\\ensuremath{\\mathit{I}}",
1161
+ 119869: "\\ensuremath{\\mathit{J}}",
1162
+ 119870: "\\ensuremath{\\mathit{K}}",
1163
+ 119871: "\\ensuremath{\\mathit{L}}",
1164
+ 119872: "\\ensuremath{\\mathit{M}}",
1165
+ 119873: "\\ensuremath{\\mathit{N}}",
1166
+ 119874: "\\ensuremath{\\mathit{O}}",
1167
+ 119875: "\\ensuremath{\\mathit{P}}",
1168
+ 119876: "\\ensuremath{\\mathit{Q}}",
1169
+ 119877: "\\ensuremath{\\mathit{R}}",
1170
+ 119878: "\\ensuremath{\\mathit{S}}",
1171
+ 119879: "\\ensuremath{\\mathit{T}}",
1172
+ 119880: "\\ensuremath{\\mathit{U}}",
1173
+ 119881: "\\ensuremath{\\mathit{V}}",
1174
+ 119882: "\\ensuremath{\\mathit{W}}",
1175
+ 119883: "\\ensuremath{\\mathit{X}}",
1176
+ 119884: "\\ensuremath{\\mathit{Y}}",
1177
+ 119885: "\\ensuremath{\\mathit{Z}}",
1178
+ 119886: "\\ensuremath{\\mathit{a}}",
1179
+ 119887: "\\ensuremath{\\mathit{b}}",
1180
+ 119888: "\\ensuremath{\\mathit{c}}",
1181
+ 119889: "\\ensuremath{\\mathit{d}}",
1182
+ 119890: "\\ensuremath{\\mathit{e}}",
1183
+ 119891: "\\ensuremath{\\mathit{f}}",
1184
+ 119892: "\\ensuremath{\\mathit{g}}",
1185
+ 119893: "\\ensuremath{\\mathit{h}}",
1186
+ 119894: "\\ensuremath{\\mathit{i}}",
1187
+ 119895: "\\ensuremath{\\mathit{j}}",
1188
+ 119896: "\\ensuremath{\\mathit{k}}",
1189
+ 119897: "\\ensuremath{\\mathit{l}}",
1190
+ 119898: "\\ensuremath{\\mathit{m}}",
1191
+ 119899: "\\ensuremath{\\mathit{n}}",
1192
+ 119900: "\\ensuremath{\\mathit{o}}",
1193
+ 119901: "\\ensuremath{\\mathit{p}}",
1194
+ 119902: "\\ensuremath{\\mathit{q}}",
1195
+ 119903: "\\ensuremath{\\mathit{r}}",
1196
+ 119904: "\\ensuremath{\\mathit{s}}",
1197
+ 119905: "\\ensuremath{\\mathit{t}}",
1198
+ 119906: "\\ensuremath{\\mathit{u}}",
1199
+ 119907: "\\ensuremath{\\mathit{v}}",
1200
+ 119908: "\\ensuremath{\\mathit{w}}",
1201
+ 119909: "\\ensuremath{\\mathit{x}}",
1202
+ 119910: "\\ensuremath{\\mathit{y}}",
1203
+ 119911: "\\ensuremath{\\mathit{z}}",
1204
+ 119912: "\\ensuremath{\\boldsymbol{\\mathit{A}}}",
1205
+ 119913: "\\ensuremath{\\boldsymbol{\\mathit{B}}}",
1206
+ 119914: "\\ensuremath{\\boldsymbol{\\mathit{C}}}",
1207
+ 119915: "\\ensuremath{\\boldsymbol{\\mathit{D}}}",
1208
+ 119916: "\\ensuremath{\\boldsymbol{\\mathit{E}}}",
1209
+ 119917: "\\ensuremath{\\boldsymbol{\\mathit{F}}}",
1210
+ 119918: "\\ensuremath{\\boldsymbol{\\mathit{G}}}",
1211
+ 119919: "\\ensuremath{\\boldsymbol{\\mathit{H}}}",
1212
+ 119920: "\\ensuremath{\\boldsymbol{\\mathit{I}}}",
1213
+ 119921: "\\ensuremath{\\boldsymbol{\\mathit{J}}}",
1214
+ 119922: "\\ensuremath{\\boldsymbol{\\mathit{K}}}",
1215
+ 119923: "\\ensuremath{\\boldsymbol{\\mathit{L}}}",
1216
+ 119924: "\\ensuremath{\\boldsymbol{\\mathit{M}}}",
1217
+ 119925: "\\ensuremath{\\boldsymbol{\\mathit{N}}}",
1218
+ 119926: "\\ensuremath{\\boldsymbol{\\mathit{O}}}",
1219
+ 119927: "\\ensuremath{\\boldsymbol{\\mathit{P}}}",
1220
+ 119928: "\\ensuremath{\\boldsymbol{\\mathit{Q}}}",
1221
+ 119929: "\\ensuremath{\\boldsymbol{\\mathit{R}}}",
1222
+ 119930: "\\ensuremath{\\boldsymbol{\\mathit{S}}}",
1223
+ 119931: "\\ensuremath{\\boldsymbol{\\mathit{T}}}",
1224
+ 119932: "\\ensuremath{\\boldsymbol{\\mathit{U}}}",
1225
+ 119933: "\\ensuremath{\\boldsymbol{\\mathit{V}}}",
1226
+ 119934: "\\ensuremath{\\boldsymbol{\\mathit{W}}}",
1227
+ 119935: "\\ensuremath{\\boldsymbol{\\mathit{X}}}",
1228
+ 119936: "\\ensuremath{\\boldsymbol{\\mathit{Y}}}",
1229
+ 119937: "\\ensuremath{\\boldsymbol{\\mathit{Z}}}",
1230
+ 119938: "\\ensuremath{\\boldsymbol{\\mathit{a}}}",
1231
+ 119939: "\\ensuremath{\\boldsymbol{\\mathit{b}}}",
1232
+ 119940: "\\ensuremath{\\boldsymbol{\\mathit{c}}}",
1233
+ 119941: "\\ensuremath{\\boldsymbol{\\mathit{d}}}",
1234
+ 119942: "\\ensuremath{\\boldsymbol{\\mathit{e}}}",
1235
+ 119943: "\\ensuremath{\\boldsymbol{\\mathit{f}}}",
1236
+ 119944: "\\ensuremath{\\boldsymbol{\\mathit{g}}}",
1237
+ 119945: "\\ensuremath{\\boldsymbol{\\mathit{h}}}",
1238
+ 119946: "\\ensuremath{\\boldsymbol{\\mathit{i}}}",
1239
+ 119947: "\\ensuremath{\\boldsymbol{\\mathit{j}}}",
1240
+ 119948: "\\ensuremath{\\boldsymbol{\\mathit{k}}}",
1241
+ 119949: "\\ensuremath{\\boldsymbol{\\mathit{l}}}",
1242
+ 119950: "\\ensuremath{\\boldsymbol{\\mathit{m}}}",
1243
+ 119951: "\\ensuremath{\\boldsymbol{\\mathit{n}}}",
1244
+ 119952: "\\ensuremath{\\boldsymbol{\\mathit{o}}}",
1245
+ 119953: "\\ensuremath{\\boldsymbol{\\mathit{p}}}",
1246
+ 119954: "\\ensuremath{\\boldsymbol{\\mathit{q}}}",
1247
+ 119955: "\\ensuremath{\\boldsymbol{\\mathit{r}}}",
1248
+ 119956: "\\ensuremath{\\boldsymbol{\\mathit{s}}}",
1249
+ 119957: "\\ensuremath{\\boldsymbol{\\mathit{t}}}",
1250
+ 119958: "\\ensuremath{\\boldsymbol{\\mathit{u}}}",
1251
+ 119959: "\\ensuremath{\\boldsymbol{\\mathit{v}}}",
1252
+ 119960: "\\ensuremath{\\boldsymbol{\\mathit{w}}}",
1253
+ 119961: "\\ensuremath{\\boldsymbol{\\mathit{x}}}",
1254
+ 119962: "\\ensuremath{\\boldsymbol{\\mathit{y}}}",
1255
+ 119963: "\\ensuremath{\\boldsymbol{\\mathit{z}}}",
1256
+ 119964: "\\ensuremath{\\mathscr{A}}",
1257
+ 119965: "\\ensuremath{\\mathscr{B}}",
1258
+ 119966: "\\ensuremath{\\mathscr{C}}",
1259
+ 119967: "\\ensuremath{\\mathscr{D}}",
1260
+ 119968: "\\ensuremath{\\mathscr{E}}",
1261
+ 119969: "\\ensuremath{\\mathscr{F}}",
1262
+ 119970: "\\ensuremath{\\mathscr{G}}",
1263
+ 119971: "\\ensuremath{\\mathscr{H}}",
1264
+ 119972: "\\ensuremath{\\mathscr{I}}",
1265
+ 119973: "\\ensuremath{\\mathscr{J}}",
1266
+ 119974: "\\ensuremath{\\mathscr{K}}",
1267
+ 119975: "\\ensuremath{\\mathscr{L}}",
1268
+ 119976: "\\ensuremath{\\mathscr{M}}",
1269
+ 119977: "\\ensuremath{\\mathscr{N}}",
1270
+ 119978: "\\ensuremath{\\mathscr{O}}",
1271
+ 119979: "\\ensuremath{\\mathscr{P}}",
1272
+ 119980: "\\ensuremath{\\mathscr{Q}}",
1273
+ 119981: "\\ensuremath{\\mathscr{R}}",
1274
+ 119982: "\\ensuremath{\\mathscr{S}}",
1275
+ 119983: "\\ensuremath{\\mathscr{T}}",
1276
+ 119984: "\\ensuremath{\\mathscr{U}}",
1277
+ 119985: "\\ensuremath{\\mathscr{V}}",
1278
+ 119986: "\\ensuremath{\\mathscr{W}}",
1279
+ 119987: "\\ensuremath{\\mathscr{X}}",
1280
+ 119988: "\\ensuremath{\\mathscr{Y}}",
1281
+ 119989: "\\ensuremath{\\mathscr{Z}}",
1282
+ 119990: "\\ensuremath{\\mathscr{a}}",
1283
+ 119991: "\\ensuremath{\\mathscr{b}}",
1284
+ 119992: "\\ensuremath{\\mathscr{c}}",
1285
+ 119993: "\\ensuremath{\\mathscr{d}}",
1286
+ 119995: "\\ensuremath{\\mathscr{f}}",
1287
+ 119997: "\\ensuremath{\\mathscr{h}}",
1288
+ 119998: "\\ensuremath{\\mathscr{i}}",
1289
+ 119999: "\\ensuremath{\\mathscr{j}}",
1290
+ 120000: "\\ensuremath{\\mathscr{k}}",
1291
+ 120001: "\\ensuremath{\\mathscr{l}}",
1292
+ 120002: "\\ensuremath{\\mathscr{m}}",
1293
+ 120003: "\\ensuremath{\\mathscr{n}}",
1294
+ 120005: "\\ensuremath{\\mathscr{p}}",
1295
+ 120006: "\\ensuremath{\\mathscr{q}}",
1296
+ 120007: "\\ensuremath{\\mathscr{r}}",
1297
+ 120008: "\\ensuremath{\\mathscr{s}}",
1298
+ 120009: "\\ensuremath{\\mathscr{t}}",
1299
+ 120010: "\\ensuremath{\\mathscr{u}}",
1300
+ 120011: "\\ensuremath{\\mathscr{v}}",
1301
+ 120012: "\\ensuremath{\\mathscr{w}}",
1302
+ 120013: "\\ensuremath{\\mathscr{x}}",
1303
+ 120014: "\\ensuremath{\\mathscr{y}}",
1304
+ 120015: "\\ensuremath{\\mathscr{z}}",
1305
+ 120068: "\\ensuremath{\\mathfrak{A}}",
1306
+ 120069: "\\ensuremath{\\mathfrak{B}}",
1307
+ 120070: "\\ensuremath{\\mathfrak{C}}",
1308
+ 120071: "\\ensuremath{\\mathfrak{D}}",
1309
+ 120072: "\\ensuremath{\\mathfrak{E}}",
1310
+ 120073: "\\ensuremath{\\mathfrak{F}}",
1311
+ 120074: "\\ensuremath{\\mathfrak{G}}",
1312
+ 120075: "\\ensuremath{\\mathfrak{H}}",
1313
+ 120076: "\\ensuremath{\\mathfrak{I}}",
1314
+ 120077: "\\ensuremath{\\mathfrak{J}}",
1315
+ 120078: "\\ensuremath{\\mathfrak{K}}",
1316
+ 120079: "\\ensuremath{\\mathfrak{L}}",
1317
+ 120080: "\\ensuremath{\\mathfrak{M}}",
1318
+ 120081: "\\ensuremath{\\mathfrak{N}}",
1319
+ 120082: "\\ensuremath{\\mathfrak{O}}",
1320
+ 120083: "\\ensuremath{\\mathfrak{P}}",
1321
+ 120084: "\\ensuremath{\\mathfrak{Q}}",
1322
+ 120085: "\\ensuremath{\\mathfrak{R}}",
1323
+ 120086: "\\ensuremath{\\mathfrak{S}}",
1324
+ 120087: "\\ensuremath{\\mathfrak{T}}",
1325
+ 120088: "\\ensuremath{\\mathfrak{U}}",
1326
+ 120089: "\\ensuremath{\\mathfrak{V}}",
1327
+ 120090: "\\ensuremath{\\mathfrak{W}}",
1328
+ 120091: "\\ensuremath{\\mathfrak{X}}",
1329
+ 120092: "\\ensuremath{\\mathfrak{Y}}",
1330
+ 120093: "\\ensuremath{\\mathfrak{Z}}",
1331
+ 120094: "\\ensuremath{\\mathfrak{a}}",
1332
+ 120095: "\\ensuremath{\\mathfrak{b}}",
1333
+ 120096: "\\ensuremath{\\mathfrak{c}}",
1334
+ 120097: "\\ensuremath{\\mathfrak{d}}",
1335
+ 120098: "\\ensuremath{\\mathfrak{e}}",
1336
+ 120099: "\\ensuremath{\\mathfrak{f}}",
1337
+ 120100: "\\ensuremath{\\mathfrak{g}}",
1338
+ 120101: "\\ensuremath{\\mathfrak{h}}",
1339
+ 120102: "\\ensuremath{\\mathfrak{i}}",
1340
+ 120103: "\\ensuremath{\\mathfrak{j}}",
1341
+ 120104: "\\ensuremath{\\mathfrak{k}}",
1342
+ 120105: "\\ensuremath{\\mathfrak{l}}",
1343
+ 120106: "\\ensuremath{\\mathfrak{m}}",
1344
+ 120107: "\\ensuremath{\\mathfrak{n}}",
1345
+ 120108: "\\ensuremath{\\mathfrak{o}}",
1346
+ 120109: "\\ensuremath{\\mathfrak{p}}",
1347
+ 120110: "\\ensuremath{\\mathfrak{q}}",
1348
+ 120111: "\\ensuremath{\\mathfrak{r}}",
1349
+ 120112: "\\ensuremath{\\mathfrak{s}}",
1350
+ 120113: "\\ensuremath{\\mathfrak{t}}",
1351
+ 120114: "\\ensuremath{\\mathfrak{u}}",
1352
+ 120115: "\\ensuremath{\\mathfrak{v}}",
1353
+ 120116: "\\ensuremath{\\mathfrak{w}}",
1354
+ 120117: "\\ensuremath{\\mathfrak{x}}",
1355
+ 120118: "\\ensuremath{\\mathfrak{y}}",
1356
+ 120119: "\\ensuremath{\\mathfrak{z}}",
1357
+ 120120: "\\ensuremath{\\mathbb{A}}",
1358
+ 120121: "\\ensuremath{\\mathbb{B}}",
1359
+ 120122: "\\ensuremath{\\mathbb{C}}",
1360
+ 120123: "\\ensuremath{\\mathbb{D}}",
1361
+ 120124: "\\ensuremath{\\mathbb{E}}",
1362
+ 120125: "\\ensuremath{\\mathbb{F}}",
1363
+ 120126: "\\ensuremath{\\mathbb{G}}",
1364
+ 120127: "\\ensuremath{\\mathbb{H}}",
1365
+ 120128: "\\ensuremath{\\mathbb{I}}",
1366
+ 120129: "\\ensuremath{\\mathbb{J}}",
1367
+ 120130: "\\ensuremath{\\mathbb{K}}",
1368
+ 120131: "\\ensuremath{\\mathbb{L}}",
1369
+ 120132: "\\ensuremath{\\mathbb{M}}",
1370
+ 120133: "\\ensuremath{\\mathbb{N}}",
1371
+ 120134: "\\ensuremath{\\mathbb{O}}",
1372
+ 120135: "\\ensuremath{\\mathbb{P}}",
1373
+ 120136: "\\ensuremath{\\mathbb{Q}}",
1374
+ 120137: "\\ensuremath{\\mathbb{R}}",
1375
+ 120138: "\\ensuremath{\\mathbb{S}}",
1376
+ 120139: "\\ensuremath{\\mathbb{T}}",
1377
+ 120140: "\\ensuremath{\\mathbb{U}}",
1378
+ 120141: "\\ensuremath{\\mathbb{V}}",
1379
+ 120142: "\\ensuremath{\\mathbb{W}}",
1380
+ 120143: "\\ensuremath{\\mathbb{X}}",
1381
+ 120144: "\\ensuremath{\\mathbb{Y}}",
1382
+ 120145: "\\ensuremath{\\mathbb{Z}}",
1383
+ 120146: "\\ensuremath{\\mathbb{a}}",
1384
+ 120147: "\\ensuremath{\\mathbb{b}}",
1385
+ 120148: "\\ensuremath{\\mathbb{c}}",
1386
+ 120149: "\\ensuremath{\\mathbb{d}}",
1387
+ 120150: "\\ensuremath{\\mathbb{e}}",
1388
+ 120151: "\\ensuremath{\\mathbb{f}}",
1389
+ 120152: "\\ensuremath{\\mathbb{g}}",
1390
+ 120153: "\\ensuremath{\\mathbb{h}}",
1391
+ 120154: "\\ensuremath{\\mathbb{i}}",
1392
+ 120155: "\\ensuremath{\\mathbb{j}}",
1393
+ 120156: "\\ensuremath{\\mathbb{k}}",
1394
+ 120157: "\\ensuremath{\\mathbb{l}}",
1395
+ 120158: "\\ensuremath{\\mathbb{m}}",
1396
+ 120159: "\\ensuremath{\\mathbb{n}}",
1397
+ 120160: "\\ensuremath{\\mathbb{o}}",
1398
+ 120161: "\\ensuremath{\\mathbb{p}}",
1399
+ 120162: "\\ensuremath{\\mathbb{q}}",
1400
+ 120163: "\\ensuremath{\\mathbb{r}}",
1401
+ 120164: "\\ensuremath{\\mathbb{s}}",
1402
+ 120165: "\\ensuremath{\\mathbb{t}}",
1403
+ 120166: "\\ensuremath{\\mathbb{u}}",
1404
+ 120167: "\\ensuremath{\\mathbb{v}}",
1405
+ 120168: "\\ensuremath{\\mathbb{w}}",
1406
+ 120169: "\\ensuremath{\\mathbb{x}}",
1407
+ 120170: "\\ensuremath{\\mathbb{y}}",
1408
+ 120171: "\\ensuremath{\\mathbb{z}}",
1409
+ 120224: "\\ensuremath{\\mathsf{A}}",
1410
+ 120225: "\\ensuremath{\\mathsf{B}}",
1411
+ 120226: "\\ensuremath{\\mathsf{C}}",
1412
+ 120227: "\\ensuremath{\\mathsf{D}}",
1413
+ 120228: "\\ensuremath{\\mathsf{E}}",
1414
+ 120229: "\\ensuremath{\\mathsf{F}}",
1415
+ 120230: "\\ensuremath{\\mathsf{G}}",
1416
+ 120231: "\\ensuremath{\\mathsf{H}}",
1417
+ 120232: "\\ensuremath{\\mathsf{I}}",
1418
+ 120233: "\\ensuremath{\\mathsf{J}}",
1419
+ 120234: "\\ensuremath{\\mathsf{K}}",
1420
+ 120235: "\\ensuremath{\\mathsf{L}}",
1421
+ 120236: "\\ensuremath{\\mathsf{M}}",
1422
+ 120237: "\\ensuremath{\\mathsf{N}}",
1423
+ 120238: "\\ensuremath{\\mathsf{O}}",
1424
+ 120239: "\\ensuremath{\\mathsf{P}}",
1425
+ 120240: "\\ensuremath{\\mathsf{Q}}",
1426
+ 120241: "\\ensuremath{\\mathsf{R}}",
1427
+ 120242: "\\ensuremath{\\mathsf{S}}",
1428
+ 120243: "\\ensuremath{\\mathsf{T}}",
1429
+ 120244: "\\ensuremath{\\mathsf{U}}",
1430
+ 120245: "\\ensuremath{\\mathsf{V}}",
1431
+ 120246: "\\ensuremath{\\mathsf{W}}",
1432
+ 120247: "\\ensuremath{\\mathsf{X}}",
1433
+ 120248: "\\ensuremath{\\mathsf{Y}}",
1434
+ 120249: "\\ensuremath{\\mathsf{Z}}",
1435
+ 120250: "\\ensuremath{\\mathsf{a}}",
1436
+ 120251: "\\ensuremath{\\mathsf{b}}",
1437
+ 120252: "\\ensuremath{\\mathsf{c}}",
1438
+ 120253: "\\ensuremath{\\mathsf{d}}",
1439
+ 120254: "\\ensuremath{\\mathsf{e}}",
1440
+ 120255: "\\ensuremath{\\mathsf{f}}",
1441
+ 120256: "\\ensuremath{\\mathsf{g}}",
1442
+ 120257: "\\ensuremath{\\mathsf{h}}",
1443
+ 120258: "\\ensuremath{\\mathsf{i}}",
1444
+ 120259: "\\ensuremath{\\mathsf{j}}",
1445
+ 120260: "\\ensuremath{\\mathsf{k}}",
1446
+ 120261: "\\ensuremath{\\mathsf{l}}",
1447
+ 120262: "\\ensuremath{\\mathsf{m}}",
1448
+ 120263: "\\ensuremath{\\mathsf{n}}",
1449
+ 120264: "\\ensuremath{\\mathsf{o}}",
1450
+ 120265: "\\ensuremath{\\mathsf{p}}",
1451
+ 120266: "\\ensuremath{\\mathsf{q}}",
1452
+ 120267: "\\ensuremath{\\mathsf{r}}",
1453
+ 120268: "\\ensuremath{\\mathsf{s}}",
1454
+ 120269: "\\ensuremath{\\mathsf{t}}",
1455
+ 120270: "\\ensuremath{\\mathsf{u}}",
1456
+ 120271: "\\ensuremath{\\mathsf{v}}",
1457
+ 120272: "\\ensuremath{\\mathsf{w}}",
1458
+ 120273: "\\ensuremath{\\mathsf{x}}",
1459
+ 120274: "\\ensuremath{\\mathsf{y}}",
1460
+ 120275: "\\ensuremath{\\mathsf{z}}",
1461
+ 120432: "\\ensuremath{\\mathtt{A}}",
1462
+ 120433: "\\ensuremath{\\mathtt{B}}",
1463
+ 120434: "\\ensuremath{\\mathtt{C}}",
1464
+ 120435: "\\ensuremath{\\mathtt{D}}",
1465
+ 120436: "\\ensuremath{\\mathtt{E}}",
1466
+ 120437: "\\ensuremath{\\mathtt{F}}",
1467
+ 120438: "\\ensuremath{\\mathtt{G}}",
1468
+ 120439: "\\ensuremath{\\mathtt{H}}",
1469
+ 120440: "\\ensuremath{\\mathtt{I}}",
1470
+ 120441: "\\ensuremath{\\mathtt{J}}",
1471
+ 120442: "\\ensuremath{\\mathtt{K}}",
1472
+ 120443: "\\ensuremath{\\mathtt{L}}",
1473
+ 120444: "\\ensuremath{\\mathtt{M}}",
1474
+ 120445: "\\ensuremath{\\mathtt{N}}",
1475
+ 120446: "\\ensuremath{\\mathtt{O}}",
1476
+ 120447: "\\ensuremath{\\mathtt{P}}",
1477
+ 120448: "\\ensuremath{\\mathtt{Q}}",
1478
+ 120449: "\\ensuremath{\\mathtt{R}}",
1479
+ 120450: "\\ensuremath{\\mathtt{S}}",
1480
+ 120451: "\\ensuremath{\\mathtt{T}}",
1481
+ 120452: "\\ensuremath{\\mathtt{U}}",
1482
+ 120453: "\\ensuremath{\\mathtt{V}}",
1483
+ 120454: "\\ensuremath{\\mathtt{W}}",
1484
+ 120455: "\\ensuremath{\\mathtt{X}}",
1485
+ 120456: "\\ensuremath{\\mathtt{Y}}",
1486
+ 120457: "\\ensuremath{\\mathtt{Z}}",
1487
+ 120458: "\\ensuremath{\\mathtt{a}}",
1488
+ 120459: "\\ensuremath{\\mathtt{b}}",
1489
+ 120460: "\\ensuremath{\\mathtt{c}}",
1490
+ 120461: "\\ensuremath{\\mathtt{d}}",
1491
+ 120462: "\\ensuremath{\\mathtt{e}}",
1492
+ 120463: "\\ensuremath{\\mathtt{f}}",
1493
+ 120464: "\\ensuremath{\\mathtt{g}}",
1494
+ 120465: "\\ensuremath{\\mathtt{h}}",
1495
+ 120466: "\\ensuremath{\\mathtt{i}}",
1496
+ 120467: "\\ensuremath{\\mathtt{j}}",
1497
+ 120468: "\\ensuremath{\\mathtt{k}}",
1498
+ 120469: "\\ensuremath{\\mathtt{l}}",
1499
+ 120470: "\\ensuremath{\\mathtt{m}}",
1500
+ 120471: "\\ensuremath{\\mathtt{n}}",
1501
+ 120472: "\\ensuremath{\\mathtt{o}}",
1502
+ 120473: "\\ensuremath{\\mathtt{p}}",
1503
+ 120474: "\\ensuremath{\\mathtt{q}}",
1504
+ 120475: "\\ensuremath{\\mathtt{r}}",
1505
+ 120476: "\\ensuremath{\\mathtt{s}}",
1506
+ 120477: "\\ensuremath{\\mathtt{t}}",
1507
+ 120478: "\\ensuremath{\\mathtt{u}}",
1508
+ 120479: "\\ensuremath{\\mathtt{v}}",
1509
+ 120480: "\\ensuremath{\\mathtt{w}}",
1510
+ 120481: "\\ensuremath{\\mathtt{x}}",
1511
+ 120482: "\\ensuremath{\\mathtt{y}}",
1512
+ 120483: "\\ensuremath{\\mathtt{z}}",
1513
+ 120782: "\\ensuremath{\\mathbf{0}}",
1514
+ 120783: "\\ensuremath{\\mathbf{1}}",
1515
+ 120784: "\\ensuremath{\\mathbf{2}}",
1516
+ 120785: "\\ensuremath{\\mathbf{3}}",
1517
+ 120786: "\\ensuremath{\\mathbf{4}}",
1518
+ 120787: "\\ensuremath{\\mathbf{5}}",
1519
+ 120788: "\\ensuremath{\\mathbf{6}}",
1520
+ 120789: "\\ensuremath{\\mathbf{7}}",
1521
+ 120790: "\\ensuremath{\\mathbf{8}}",
1522
+ 120791: "\\ensuremath{\\mathbf{9}}",
1523
+ 120792: "\\ensuremath{\\mathbb{0}}",
1524
+ 120793: "\\ensuremath{\\mathbb{1}}",
1525
+ 120794: "\\ensuremath{\\mathbb{2}}",
1526
+ 120795: "\\ensuremath{\\mathbb{3}}",
1527
+ 120796: "\\ensuremath{\\mathbb{4}}",
1528
+ 120797: "\\ensuremath{\\mathbb{5}}",
1529
+ 120798: "\\ensuremath{\\mathbb{6}}",
1530
+ 120799: "\\ensuremath{\\mathbb{7}}",
1531
+ 120800: "\\ensuremath{\\mathbb{8}}",
1532
+ 120801: "\\ensuremath{\\mathbb{9}}",
1533
+ 120802: "\\ensuremath{\\mathsf{0}}",
1534
+ 120803: "\\ensuremath{\\mathsf{1}}",
1535
+ 120804: "\\ensuremath{\\mathsf{2}}",
1536
+ 120805: "\\ensuremath{\\mathsf{3}}",
1537
+ 120806: "\\ensuremath{\\mathsf{4}}",
1538
+ 120807: "\\ensuremath{\\mathsf{5}}",
1539
+ 120808: "\\ensuremath{\\mathsf{6}}",
1540
+ 120809: "\\ensuremath{\\mathsf{7}}",
1541
+ 120810: "\\ensuremath{\\mathsf{8}}",
1542
+ 120811: "\\ensuremath{\\mathsf{9}}",
1543
+ 120822: "\\ensuremath{\\mathtt{0}}",
1544
+ 120823: "\\ensuremath{\\mathtt{1}}",
1545
+ 120824: "\\ensuremath{\\mathtt{2}}",
1546
+ 120825: "\\ensuremath{\\mathtt{3}}",
1547
+ 120826: "\\ensuremath{\\mathtt{4}}",
1548
+ 120827: "\\ensuremath{\\mathtt{5}}",
1549
+ 120828: "\\ensuremath{\\mathtt{6}}",
1550
+ 120829: "\\ensuremath{\\mathtt{7}}",
1551
+ 120830: "\\ensuremath{\\mathtt{8}}",
1552
+ 120831: "\\ensuremath{\\mathtt{9}}"
1553
+ };
1554
+ function unicodeToLatex(input) {
1555
+ const s = String(input).normalize('NFC');
1556
+ let out = '';
1557
+ for (const ch of s){
1558
+ const cp = ch.codePointAt(0);
1559
+ const repl = UNI2LATEX[cp];
1560
+ if (void 0 !== repl) out += '{' + repl + '}';
1561
+ else out += ch;
1562
+ }
1563
+ return out;
1564
+ }
1565
+ const CHARS = [
1566
+ '{',
1567
+ '}',
1568
+ '_',
1569
+ '^',
1570
+ '#',
1571
+ '&',
1572
+ '$',
1573
+ '%',
1574
+ '~'
1575
+ ];
1576
+ const CHR = {
1577
+ '̀': '\\grave{{{0}}}',
1578
+ '́': '\\acute{{{0}}}',
1579
+ '̂': '\\hat{{{0}}}',
1580
+ '̃': '\\tilde{{{0}}}',
1581
+ '̄': '\\bar{{{0}}}',
1582
+ '̅': '\\overbar{{{0}}}',
1583
+ '̆': '\\breve{{{0}}}',
1584
+ '̇': '\\dot{{{0}}}',
1585
+ '̈': '\\ddot{{{0}}}',
1586
+ '̉': '\\ovhook{{{0}}}',
1587
+ '̊': '\\ocirc{{{0}}}}',
1588
+ '̌': '\\check{{{0}}}}',
1589
+ '̐': '\\candra{{{0}}}',
1590
+ '̒': '\\oturnedcomma{{{0}}}',
1591
+ '̕': '\\ocommatopright{{{0}}}',
1592
+ '̚': '\\droang{{{0}}}',
1593
+ '̸': '\\not{{{0}}}',
1594
+ '⃝': '\\enclosecircle{{{0}}}',
1595
+ '⃞': '\\enclosesquare{{{0}}}',
1596
+ '⃟': '\\enclosediamond{{{0}}}',
1597
+ '⃤': '\\enclosetriangle{{{0}}}',
1598
+ '⃐': '\\leftharpoonup{{{0}}}',
1599
+ '⃑': '\\rightharpoonup{{{0}}}',
1600
+ '⃒': '\\vertoverlay{{{0}}}',
1601
+ '⃖': '\\LVec{{{0}}}',
1602
+ '⃗': '\\vec{{{0}}}',
1603
+ '⃛': '\\dddot{{{0}}}',
1604
+ '⃜': '\\ddddot{{{0}}}',
1605
+ '⃡': '\\overleftrightarrow{{{0}}}',
1606
+ '⃧': '\\annuity{{{0}}}',
1607
+ '⃩': '\\widebridgeabove{{{0}}}',
1608
+ '⃰': '\\asteraccent{{{0}}}',
1609
+ '̰': '\\wideutilde{{{0}}}',
1610
+ '̱': '\\underbar{{{0}}}',
1611
+ '⃨': '\\threeunderdot{{{0}}}',
1612
+ '⃬': '\\underrightharpoondown{{{0}}}',
1613
+ '⃭': '\\underleftharpoondown{{{0}}}',
1614
+ '⃮': '\\underleftarrow{{{0}}}',
1615
+ '⃯': '\\underrightarrow{{{0}}}',
1616
+ '⎴': '\\overbracket{{{0}}}',
1617
+ '⏜': '\\overparen{{{0}}}',
1618
+ '⏞': '\\overbrace{{{0}}}',
1619
+ '⎵': '\\underbracket{{{0}}}',
1620
+ '⏝': '\\underparen{{{0}}}',
1621
+ '⏟': '\\underbrace{{{0}}}'
1622
+ };
1623
+ const CHR_BO = {
1624
+ '⅀': '\\Bbbsum',
1625
+ '∏': '\\prod',
1626
+ '∐': '\\coprod',
1627
+ '∑': '\\sum',
1628
+ '∫': '\\int',
1629
+ '∬': '\\iint',
1630
+ '∭': '\\iiint',
1631
+ '⨌': '\\iiiint',
1632
+ '∮': '\\oint',
1633
+ '∯': '\\oiint',
1634
+ '∰': '\\oiiint',
1635
+ '⨍': '\\fint',
1636
+ '⨖': '\\sqint',
1637
+ '⋀': '\\bigwedge',
1638
+ '⋁': '\\bigvee',
1639
+ '⋂': '\\bigcap',
1640
+ '⋃': '\\bigcup',
1641
+ '⨀': '\\bigodot',
1642
+ '⨁': '\\bigoplus',
1643
+ '⨂': '\\bigotimes',
1644
+ '⨄': '\\biguplus',
1645
+ '⨅': '\\bigsqcap',
1646
+ '⨆': '\\bigsqcup',
1647
+ '⨉': '\\varprod'
1648
+ };
1649
+ const T = {
1650
+ '→': '\\rightarrow ',
1651
+ 𝛼: '\\alpha ',
1652
+ 𝛽: '\\beta ',
1653
+ 𝛾: '\\gamma ',
1654
+ 𝛿: '\\delta ',
1655
+ 𝜀: '\\epsilon ',
1656
+ 𝜁: '\\zeta ',
1657
+ 𝜂: '\\eta ',
1658
+ 𝜃: '\\theta ',
1659
+ 𝜄: '\\iota ',
1660
+ 𝜅: '\\kappa ',
1661
+ 𝜆: '\\lambda ',
1662
+ 𝜇: '\\mu ',
1663
+ 𝜈: '\\nu ',
1664
+ 𝜉: '\\xi ',
1665
+ 𝜊: '\\omicron ',
1666
+ 𝜋: '\\pi ',
1667
+ 𝜌: '\\rho ',
1668
+ 𝜍: '\\varsigma ',
1669
+ 𝜎: '\\sigma ',
1670
+ 𝜏: '\\tau ',
1671
+ 𝜐: '\\upsilon ',
1672
+ 𝜑: '\\phi ',
1673
+ 𝜒: '\\chi ',
1674
+ 𝜓: '\\psi ',
1675
+ 𝜔: '\\omega ',
1676
+ '𝜕': '\\partial ',
1677
+ 𝜖: '\\varepsilon ',
1678
+ 𝜗: '\\vartheta ',
1679
+ 𝜘: '\\varkappa ',
1680
+ 𝜙: '\\varphi ',
1681
+ 𝜚: '\\varrho ',
1682
+ 𝜛: '\\varpi ',
1683
+ '←': '\\leftarrow ',
1684
+ '↑': '\\uparrow ',
1685
+ '↓': '\\downarrow ',
1686
+ '↔': '\\leftrightarrow ',
1687
+ '↕': '\\updownarrow ',
1688
+ '↖': '\\nwarrow ',
1689
+ '↗': '\\nearrow ',
1690
+ '↘': '\\searrow ',
1691
+ '↙': '\\swarrow ',
1692
+ '⋮': '\\vdots ',
1693
+ '⋯': '\\cdots ',
1694
+ '⋰': '\\adots ',
1695
+ '⋱': '\\ddots ',
1696
+ '⇐': '\\Leftarrow ',
1697
+ '⇒': '\\Rightarrow ',
1698
+ '⇔': '\\Leftrightarrow ',
1699
+ '⇑': '\\Uparrow ',
1700
+ '⇓': '\\Downarrow ',
1701
+ '⇕': '\\Updownarrow ',
1702
+ '↦': '\\mapsto ',
1703
+ '⟨': '\\langle ',
1704
+ '⟩': '\\rangle ',
1705
+ '⌈': '\\lceil ',
1706
+ '⌉': '\\rceil ',
1707
+ '⌊': '\\lfloor ',
1708
+ '⌋': '\\rfloor ',
1709
+ '‖': '\\Vert ',
1710
+ '∥': '\\parallel ',
1711
+ '≠': '\\ne ',
1712
+ '≤': '\\leq ',
1713
+ '≥': '\\geq ',
1714
+ '≦': '\\leqq ',
1715
+ '≧': '\\geqq ',
1716
+ '≨': '\\lneqq ',
1717
+ '≩': '\\gneqq ',
1718
+ '≪': '\\ll ',
1719
+ '≫': '\\gg ',
1720
+ '∈': '\\in ',
1721
+ '∉': '\\notin ',
1722
+ '∋': '\\ni ',
1723
+ '∌': '\\nni ',
1724
+ '∞': '\\infty ',
1725
+ '±': '\\pm ',
1726
+ '∓': '\\mp ',
1727
+ '·': '\\cdot ',
1728
+ '⋅': '\\cdot ',
1729
+ '×': '\\times ',
1730
+ '÷': '\\div ',
1731
+ '∗': '\\ast ',
1732
+ '∘': '\\circ ',
1733
+ '∙': '\\bullet ',
1734
+ '−': '-',
1735
+ '<': '<',
1736
+ '>': '>',
1737
+ '=': '=',
1738
+ '≈': '\\approx ',
1739
+ '≡': '\\equiv ',
1740
+ '≅': '\\cong ',
1741
+ '∼': '\\sim ',
1742
+ '≃': '\\simeq ',
1743
+ '≐': '\\doteq ',
1744
+ '∝': '\\propto ',
1745
+ '∴': '\\therefore ',
1746
+ '∵': '\\because ',
1747
+ '∀': '\\forall ',
1748
+ '∃': '\\exists ',
1749
+ '∄': '\\nexists ',
1750
+ '∅': '\\emptyset ',
1751
+ '∇': '\\nabla ',
1752
+ '∧': '\\wedge ',
1753
+ '∨': '\\vee ',
1754
+ '¬': '\\neg ',
1755
+ '∩': '\\cap ',
1756
+ '∪': '\\cup ',
1757
+ '⊂': '\\subset ',
1758
+ '⊃': '\\supset ',
1759
+ '⊆': '\\subseteq ',
1760
+ '⊇': '\\supseteq ',
1761
+ '⊕': '\\oplus ',
1762
+ '⊗': '\\otimes ',
1763
+ '⊥': '\\perp ',
1764
+ '°': '\\degree ',
1765
+ '′': '\\prime ',
1766
+ '″': '\\prime\\prime ',
1767
+ '…': '\\ldots ',
1768
+ α: '\\alpha ',
1769
+ β: '\\beta ',
1770
+ γ: '\\gamma ',
1771
+ δ: '\\delta ',
1772
+ ε: '\\epsilon ',
1773
+ ζ: '\\zeta ',
1774
+ η: '\\eta ',
1775
+ θ: '\\theta ',
1776
+ ι: '\\iota ',
1777
+ κ: '\\kappa ',
1778
+ λ: '\\lambda ',
1779
+ μ: '\\mu ',
1780
+ ν: '\\nu ',
1781
+ ξ: '\\xi ',
1782
+ ο: '\\omicron ',
1783
+ π: '\\pi ',
1784
+ ρ: '\\rho ',
1785
+ ς: '\\varsigma ',
1786
+ σ: '\\sigma ',
1787
+ τ: '\\tau ',
1788
+ υ: '\\upsilon ',
1789
+ φ: '\\phi ',
1790
+ χ: '\\chi ',
1791
+ ψ: '\\psi ',
1792
+ ω: '\\omega ',
1793
+ '∂': '\\partial ',
1794
+ ϵ: '\\epsilon ',
1795
+ ϑ: '\\vartheta ',
1796
+ ϰ: '\\varkappa ',
1797
+ ϕ: '\\phi ',
1798
+ ϱ: '\\varrho ',
1799
+ ϖ: '\\varpi ',
1800
+ 𝐴: 'A',
1801
+ 𝐵: 'B',
1802
+ 𝐶: 'C',
1803
+ 𝐷: 'D',
1804
+ 𝐸: 'E',
1805
+ 𝐹: 'F',
1806
+ 𝐺: 'G',
1807
+ 𝐻: 'H',
1808
+ 𝐼: 'I',
1809
+ 𝐽: 'J',
1810
+ 𝐾: 'K',
1811
+ 𝐿: 'L',
1812
+ 𝑀: 'M',
1813
+ 𝑁: 'N',
1814
+ 𝑂: 'O',
1815
+ 𝑃: 'P',
1816
+ 𝑄: 'Q',
1817
+ 𝑅: 'R',
1818
+ 𝑆: 'S',
1819
+ 𝑇: 'T',
1820
+ 𝑈: 'U',
1821
+ 𝑉: 'V',
1822
+ 𝑊: 'W',
1823
+ 𝑋: 'X',
1824
+ 𝑌: 'Y',
1825
+ 𝑍: 'Z',
1826
+ 𝑎: 'a',
1827
+ 𝑏: 'b',
1828
+ 𝑐: 'c',
1829
+ 𝑑: 'd',
1830
+ 𝑒: 'e',
1831
+ 𝑓: 'f',
1832
+ 𝑔: 'g',
1833
+ 𝑖: 'i',
1834
+ 𝑗: 'j',
1835
+ 𝑘: 'k',
1836
+ 𝑙: 'l',
1837
+ 𝑚: 'm',
1838
+ 𝑛: 'n',
1839
+ 𝑜: 'o',
1840
+ 𝑝: 'p',
1841
+ 𝑞: 'q',
1842
+ 𝑟: 'r',
1843
+ 𝑠: 's',
1844
+ 𝑡: 't',
1845
+ 𝑢: 'u',
1846
+ 𝑣: 'v',
1847
+ 𝑤: 'w',
1848
+ 𝑥: 'x',
1849
+ 𝑦: 'y',
1850
+ 𝑧: 'z',
1851
+ 𝒉: 'h',
1852
+ 𝛢: 'A',
1853
+ 𝛣: 'B',
1854
+ 𝛤: '\\Gamma ',
1855
+ 𝛥: '\\Delta ',
1856
+ 𝛦: 'E',
1857
+ 𝛧: 'Z',
1858
+ 𝛨: 'H',
1859
+ 𝛩: '\\Theta ',
1860
+ 𝛪: 'I',
1861
+ 𝛫: 'K',
1862
+ 𝛬: '\\Lambda ',
1863
+ 𝛭: 'M',
1864
+ 𝛮: 'N',
1865
+ 𝛯: '\\Xi ',
1866
+ 𝛰: 'O',
1867
+ 𝛱: '\\Pi ',
1868
+ 𝛲: 'P',
1869
+ 𝛴: '\\Sigma ',
1870
+ 𝛵: 'T',
1871
+ 𝛶: '\\Upsilon ',
1872
+ 𝛷: '\\Phi ',
1873
+ 𝛸: 'X',
1874
+ 𝛹: '\\Psi ',
1875
+ 𝛺: '\\Omega '
1876
+ };
1877
+ const FUNC = {
1878
+ sin: '\\sin({fe})',
1879
+ cos: '\\cos({fe})',
1880
+ tan: '\\tan({fe})',
1881
+ cot: '\\cot({fe})',
1882
+ sec: '\\sec({fe})',
1883
+ csc: '\\csc({fe})',
1884
+ arcsin: '\\arcsin({fe})',
1885
+ arccos: '\\arccos({fe})',
1886
+ arctan: '\\arctan({fe})',
1887
+ arccot: '\\arccot({fe})',
1888
+ arcsec: '\\arcsec({fe})',
1889
+ arccsc: '\\arccsc({fe})',
1890
+ sinh: '\\sinh({fe})',
1891
+ cosh: '\\cosh({fe})',
1892
+ tanh: '\\tanh({fe})',
1893
+ coth: '\\coth({fe})',
1894
+ sech: '\\sech({fe})',
1895
+ csch: '\\csch({fe})',
1896
+ arcsinh: '\\arcsinh({fe})',
1897
+ arccosh: '\\arccosh({fe})',
1898
+ arctanh: '\\arctanh({fe})',
1899
+ arccoth: '\\arccoth({fe})',
1900
+ arcsech: '\\arcsech({fe})',
1901
+ arccsch: '\\arccsch({fe})',
1902
+ log: '\\log{{fe}}',
1903
+ ln: '\\ln{{fe}}',
1904
+ lg: '\\lg{{fe}}',
1905
+ exp: '\\exp({fe})',
1906
+ arg: '\\arg({fe})',
1907
+ deg: '\\deg({fe})',
1908
+ det: '\\det({fe})',
1909
+ dim: '\\dim({fe})',
1910
+ gcd: '\\gcd({fe})',
1911
+ hom: '\\hom({fe})',
1912
+ ker: '\\ker({fe})',
1913
+ mod: '\\bmod({fe})',
1914
+ Pr: '\\Pr({fe})'
1915
+ };
1916
+ const CHR_DEFAULT = {
1917
+ ACC_VAL: '\\hat{{{0}}}'
1918
+ };
1919
+ const POS = {
1920
+ top: '\\overline{{{0}}}',
1921
+ bot: '\\underline{{{0}}}'
1922
+ };
1923
+ const POS_DEFAULT = {
1924
+ BAR_VAL: '\\overline{{{0}}}'
1925
+ };
1926
+ const F = {
1927
+ bar: '\\frac{{{num}}}{{{den}}}',
1928
+ skw: '^{{{num}}}/_{{{den}}}',
1929
+ noBar: '\\genfrac{{}}{{}}{{0pt}}{{}}{{{num}}}{{{den}}}',
1930
+ lin: '{{{num}}}/{{{den}}}'
1931
+ };
1932
+ const F_DEFAULT = '\\frac{{{num}}}{{{den}}}';
1933
+ const F_SMALL = '\\tfrac{{{num}}}{{{den}}}';
1934
+ const D = '\\left{left}{text}\\right{right}';
1935
+ const D_DEFAULT = {
1936
+ left: '(',
1937
+ right: ')',
1938
+ sep: '|',
1939
+ null: '.'
1940
+ };
1941
+ const BORDER_BOX = '\\boxed{{{0}}}';
1942
+ const PHANT = '\\phantom{{{0}}}';
1943
+ const M_JC = {
1944
+ left: '\\begin{{array}}{{l}}{text}\\end{{array}}',
1945
+ right: '\\begin{{array}}{{r}}{text}\\end{{array}}',
1946
+ center: '\\begin{{matrix}}{text}\\end{{matrix}}'
1947
+ };
1948
+ const RAD = '\\sqrt[{deg}]{{{text}}}';
1949
+ const RAD_DEFAULT = '\\sqrt{{{text}}}';
1950
+ const ARR = '\\begin{{array}}{{c}}{text}\\end{{array}}';
1951
+ const LIM_FUNC = {
1952
+ lim: '\\lim_{{{lim}}}',
1953
+ max: '\\max_{{{lim}}}',
1954
+ min: '\\min_{{{lim}}}',
1955
+ sup: '\\sup_{{{lim}}}',
1956
+ inf: '\\inf_{{{lim}}}',
1957
+ limsup: '\\limsup_{{{lim}}}',
1958
+ liminf: '\\liminf_{{{lim}}}',
1959
+ injlim: '\\injlim_{{{lim}}}',
1960
+ projlim: '\\projlim_{{{lim}}}'
1961
+ };
1962
+ const LIM_TO = [
1963
+ '\\rightarrow',
1964
+ '\\to'
1965
+ ];
1966
+ const LIM_UPP = '\\overset{{{lim}}}{{{text}}}';
1967
+ const M = '\\begin{{matrix}}{text}\\end{{matrix}}';
1968
+ function _define_property(obj, key, value) {
1969
+ if (key in obj) Object.defineProperty(obj, key, {
1970
+ value: value,
1971
+ enumerable: true,
1972
+ configurable: true,
1973
+ writable: true
1974
+ });
1975
+ else obj[key] = value;
1976
+ return obj;
1977
+ }
1978
+ const VAL_SUFFIX = 'val';
1979
+ function localName(tagName) {
1980
+ const idx = tagName.indexOf(':');
1981
+ return -1 === idx ? tagName : tagName.slice(idx + 1);
1982
+ }
1983
+ function isElement(node) {
1984
+ return 'string' != typeof node;
1985
+ }
1986
+ function textContent(node) {
1987
+ let out = '';
1988
+ for (const child of node.children)out += 'string' == typeof child ? child : textContent(child);
1989
+ return out;
1990
+ }
1991
+ function pyFormat(template, positional = [], named = {}) {
1992
+ let out = '';
1993
+ let i = 0;
1994
+ const n = template.length;
1995
+ while(i < n){
1996
+ const ch = template[i];
1997
+ if ('{' === ch) {
1998
+ if ('{' === template[i + 1]) {
1999
+ out += '{';
2000
+ i += 2;
2001
+ continue;
2002
+ }
2003
+ const close = template.indexOf('}', i + 1);
2004
+ if (-1 === close) {
2005
+ out += ch;
2006
+ i += 1;
2007
+ continue;
2008
+ }
2009
+ const field = template.slice(i + 1, close);
2010
+ if (/^\d+$/.test(field)) out += positional[Number(field)] ?? '';
2011
+ else out += named[field] ?? '';
2012
+ i = close + 1;
2013
+ continue;
2014
+ }
2015
+ if ('}' === ch && '}' === template[i + 1]) {
2016
+ out += '}';
2017
+ i += 2;
2018
+ continue;
2019
+ }
2020
+ out += ch;
2021
+ i += 1;
2022
+ }
2023
+ return out;
2024
+ }
2025
+ function escapeLatex(strs) {
2026
+ const collapsed = strs.split('\\\\').join('\\');
2027
+ let out = '';
2028
+ let last = null;
2029
+ for (const c of collapsed){
2030
+ if (CHARS.includes(c) && "\\" !== last) out += "\\" + c;
2031
+ else out += c;
2032
+ last = c;
2033
+ }
2034
+ return out;
2035
+ }
2036
+ function getVal(key, def, store) {
2037
+ if (void 0 !== key) {
2038
+ if (!store) return key;
2039
+ return void 0 !== store[key] ? store[key] : key;
2040
+ }
2041
+ return def;
2042
+ }
2043
+ function isOn(val, def = false) {
2044
+ if (void 0 === val) return def;
2045
+ const v = val.toLowerCase();
2046
+ return 'on' === v || '1' === v || 'true' === v;
2047
+ }
2048
+ const PR_VAL_TAGS = new Set([
2049
+ 'chr',
2050
+ 'pos',
2051
+ 'begChr',
2052
+ 'endChr',
2053
+ 'sepChr',
2054
+ 'type',
2055
+ 'show',
2056
+ 'smallFrac',
2057
+ 'limLoc',
2058
+ 'intLim',
2059
+ 'naryLim',
2060
+ 'mcJc',
2061
+ 'degHide'
2062
+ ]);
2063
+ class Pr {
2064
+ get(name) {
2065
+ return this.attrs[name];
2066
+ }
2067
+ constructor(elm, conv){
2068
+ _define_property(this, "text", '');
2069
+ _define_property(this, "attrs", {});
2070
+ for (const child of elm.children){
2071
+ if (!isElement(child)) continue;
2072
+ const stag = localName(child.tagName);
2073
+ if ('brk' === stag) {
2074
+ this.attrs['brk'] = "\\\\";
2075
+ this.text += "\\\\";
2076
+ } else if (PR_VAL_TAGS.has(stag)) this.attrs[stag] = getAttr(child, VAL_SUFFIX);
2077
+ }
2078
+ }
2079
+ }
2080
+ function getAttr(node, attrLocal) {
2081
+ for (const key of Object.keys(node.attributes))if (localName(key) === attrLocal) {
2082
+ const v = node.attributes[key];
2083
+ return null == v ? void 0 : v;
2084
+ }
2085
+ }
2086
+ function findDescendantAttr(node, elemLocal, attrLocal) {
2087
+ for (const child of node.children){
2088
+ if (!isElement(child)) continue;
2089
+ if (localName(child.tagName) === elemLocal) {
2090
+ const v = getAttr(child, attrLocal);
2091
+ if (void 0 !== v) return v;
2092
+ }
2093
+ const deep = findDescendantAttr(child, elemLocal, attrLocal);
2094
+ if (void 0 !== deep) return deep;
2095
+ }
2096
+ }
2097
+ const DIRECT_TAGS = new Set([
2098
+ 'box',
2099
+ 'sSub',
2100
+ 'sSup',
2101
+ 'sSubSup',
2102
+ 'num',
2103
+ 'den',
2104
+ 'deg',
2105
+ 'e'
2106
+ ]);
2107
+ class Converter {
2108
+ convert(node) {
2109
+ const out = this.oMath(node);
2110
+ for (const name of this.unsupported)this.options.onUnsupported?.(name);
2111
+ return out;
2112
+ }
2113
+ noteUnsupported(stag) {
2114
+ this.unsupported.add(stag);
2115
+ }
2116
+ oMath(elm) {
2117
+ return this.processChildren(elm);
2118
+ }
2119
+ processChildrenList(elm, include) {
2120
+ const out = [];
2121
+ for (const child of elm.children){
2122
+ if (!isElement(child)) continue;
2123
+ const stag = localName(child.tagName);
2124
+ if (include && !include.has(stag)) continue;
2125
+ let value = this.dispatch(stag, child);
2126
+ if (null == value) {
2127
+ value = this.processUnknown(stag, child);
2128
+ if (null == value) continue;
2129
+ }
2130
+ out.push({
2131
+ stag,
2132
+ value,
2133
+ node: child
2134
+ });
2135
+ }
2136
+ return out;
2137
+ }
2138
+ processChildrenDict(elm, include) {
2139
+ const dict = {};
2140
+ for (const { stag, value } of this.processChildrenList(elm, include))dict[stag] = value;
2141
+ return dict;
2142
+ }
2143
+ processChildren(elm, include) {
2144
+ let out = '';
2145
+ for (const { value } of this.processChildrenList(elm, include))out += value instanceof Pr ? value.text : String(value);
2146
+ return out;
2147
+ }
2148
+ dispatch(stag, elm) {
2149
+ switch(stag){
2150
+ case 'acc':
2151
+ return this.doAcc(elm);
2152
+ case 'r':
2153
+ return this.doR(elm);
2154
+ case 'bar':
2155
+ return this.doBar(elm);
2156
+ case 'sub':
2157
+ return this.doSub(elm);
2158
+ case 'sup':
2159
+ return this.doSup(elm);
2160
+ case 'f':
2161
+ return this.doF(elm);
2162
+ case 'func':
2163
+ return this.doFunc(elm);
2164
+ case 'fName':
2165
+ return this.doFName(elm);
2166
+ case 'groupChr':
2167
+ return this.doGroupChr(elm);
2168
+ case 'd':
2169
+ return this.doD(elm);
2170
+ case 'rad':
2171
+ return this.doRad(elm);
2172
+ case 'eqArr':
2173
+ return this.doEqArr(elm);
2174
+ case 'limLow':
2175
+ return this.doLimLow(elm);
2176
+ case 'limUpp':
2177
+ return this.doLimUpp(elm);
2178
+ case 'lim':
2179
+ return this.doLim(elm);
2180
+ case 'm':
2181
+ return this.doM(elm);
2182
+ case 'mr':
2183
+ return this.doMr(elm);
2184
+ case 'nary':
2185
+ return this.doNary(elm);
2186
+ case 'borderBox':
2187
+ return this.doBorderBox(elm);
2188
+ case 'phant':
2189
+ return this.doPhant(elm);
2190
+ case 'sPre':
2191
+ return this.doSPre(elm);
2192
+ default:
2193
+ return null;
2194
+ }
2195
+ }
2196
+ processUnknown(stag, elm) {
2197
+ if (DIRECT_TAGS.has(stag)) return this.processChildren(elm);
2198
+ if (stag.endsWith('Pr')) return new Pr(elm, this);
2199
+ this.noteUnsupported(stag);
2200
+ return textContent(elm);
2201
+ }
2202
+ doAcc(elm) {
2203
+ const c = this.processChildrenDict(elm);
2204
+ const pr = c['accPr'];
2205
+ const latexS = getVal(pr?.get('chr'), CHR_DEFAULT.ACC_VAL, CHR) ?? '';
2206
+ const e = c['e'] ?? '';
2207
+ return pyFormat(latexS, [
2208
+ e
2209
+ ]);
2210
+ }
2211
+ doBar(elm) {
2212
+ const c = this.processChildrenDict(elm);
2213
+ const pr = c['barPr'];
2214
+ const latexS = getVal(pr?.get('pos'), POS_DEFAULT.BAR_VAL, POS) ?? '';
2215
+ const e = c['e'] ?? '';
2216
+ return (pr?.text ?? '') + pyFormat(latexS, [
2217
+ e
2218
+ ]);
2219
+ }
2220
+ doD(elm) {
2221
+ const c = this.processChildrenDict(elm);
2222
+ const pr = c['dPr'];
2223
+ const nullChar = D_DEFAULT["null"];
2224
+ const sVal = getVal(pr?.get('begChr'), D_DEFAULT.left, T);
2225
+ const eVal = getVal(pr?.get('endChr'), D_DEFAULT.right, T);
2226
+ const sepVal = getVal(pr?.get('sepChr'), D_DEFAULT.sep, T);
2227
+ const bases = this.processChildrenList(elm, new Set([
2228
+ 'e'
2229
+ ])).map((x)=>String(x.value));
2230
+ const sep = sepVal ? escapeLatex(sepVal) : '';
2231
+ const text = bases.join(sep);
2232
+ return (pr?.text ?? '') + pyFormat(D, [], {
2233
+ left: sVal ? escapeLatex(sVal) : nullChar,
2234
+ text,
2235
+ right: eVal ? escapeLatex(eVal) : nullChar
2236
+ });
2237
+ }
2238
+ doSub(elm) {
2239
+ return pyFormat(SUB_TEMPLATE, [
2240
+ this.processChildren(elm)
2241
+ ]);
2242
+ }
2243
+ doSup(elm) {
2244
+ return pyFormat(SUP_TEMPLATE, [
2245
+ this.processChildren(elm)
2246
+ ]);
2247
+ }
2248
+ doF(elm) {
2249
+ const c = this.processChildrenDict(elm);
2250
+ const pr = c['fPr'];
2251
+ let latexS = getVal(pr?.get('type'), F_DEFAULT, F) ?? '';
2252
+ if (latexS === F_DEFAULT && isOn(pr?.get('smallFrac'))) latexS = F_SMALL;
2253
+ const num = c['num'] ?? '';
2254
+ const den = c['den'] ?? '';
2255
+ return (pr?.text ?? '') + pyFormat(latexS, [], {
2256
+ num,
2257
+ den
2258
+ });
2259
+ }
2260
+ doFunc(elm) {
2261
+ const c = this.processChildrenDict(elm);
2262
+ const fName = c['fName'] ?? '';
2263
+ const e = c['e'] ?? '';
2264
+ return fName.split("{fe}").join(e);
2265
+ }
2266
+ doFName(elm) {
2267
+ const parts = [];
2268
+ for (const { stag, value } of this.processChildrenList(elm))if ('r' === stag) {
2269
+ const key = String(value).trim();
2270
+ if (void 0 !== FUNC[key]) parts.push(FUNC[key]);
2271
+ else {
2272
+ this.noteUnsupported('fName:' + key);
2273
+ parts.push(String(value));
2274
+ }
2275
+ } else parts.push(String(value));
2276
+ const joined = parts.join("");
2277
+ return joined.includes("{fe}") ? joined : joined + "{fe}";
2278
+ }
2279
+ doGroupChr(elm) {
2280
+ const c = this.processChildrenDict(elm);
2281
+ const pr = c['groupChrPr'];
2282
+ const latexS = getVal(pr?.get('chr'), void 0, CHR) ?? '';
2283
+ const e = c['e'] ?? '';
2284
+ return (pr?.text ?? '') + pyFormat(latexS, [
2285
+ e
2286
+ ]);
2287
+ }
2288
+ doRad(elm) {
2289
+ const c = this.processChildrenDict(elm);
2290
+ const text = c['e'] ?? '';
2291
+ const deg = c['deg'];
2292
+ if (deg) return pyFormat(RAD, [], {
2293
+ deg,
2294
+ text
2295
+ });
2296
+ return pyFormat(RAD_DEFAULT, [], {
2297
+ text
2298
+ });
2299
+ }
2300
+ doEqArr(elm) {
2301
+ const rows = this.processChildrenList(elm, new Set([
2302
+ 'e'
2303
+ ])).map((c)=>String(c.value));
2304
+ return pyFormat(ARR, [], {
2305
+ text: rows.join("\\\\")
2306
+ });
2307
+ }
2308
+ doLimLow(elm) {
2309
+ const c = this.processChildrenDict(elm, new Set([
2310
+ 'e',
2311
+ 'lim'
2312
+ ]));
2313
+ const e = c['e'] ?? '';
2314
+ const lim = c['lim'] ?? '';
2315
+ const latexS = LIM_FUNC[e];
2316
+ if (!latexS) {
2317
+ this.noteUnsupported('limLow:' + e);
2318
+ return e + lim;
2319
+ }
2320
+ return pyFormat(latexS, [], {
2321
+ lim
2322
+ });
2323
+ }
2324
+ doLimUpp(elm) {
2325
+ const c = this.processChildrenDict(elm, new Set([
2326
+ 'e',
2327
+ 'lim'
2328
+ ]));
2329
+ const lim = c['lim'] ?? '';
2330
+ const text = c['e'] ?? '';
2331
+ return pyFormat(LIM_UPP, [], {
2332
+ lim,
2333
+ text
2334
+ });
2335
+ }
2336
+ doLim(elm) {
2337
+ return this.processChildren(elm).split(LIM_TO["0"]).join(LIM_TO["1"]);
2338
+ }
2339
+ doM(elm) {
2340
+ const rows = [];
2341
+ let template = M;
2342
+ for (const { stag, value, node } of this.processChildrenList(elm)){
2343
+ if ('mPr' === stag) {
2344
+ const jc = findDescendantAttr(node, 'mcJc', VAL_SUFFIX);
2345
+ if (jc && M_JC[jc]) template = M_JC[jc];
2346
+ continue;
2347
+ }
2348
+ if ('mr' === stag) rows.push(String(value));
2349
+ }
2350
+ return pyFormat(template, [], {
2351
+ text: rows.join("\\\\")
2352
+ });
2353
+ }
2354
+ doMr(elm) {
2355
+ return this.processChildrenList(elm, new Set([
2356
+ 'e'
2357
+ ])).map((c)=>String(c.value)).join("&");
2358
+ }
2359
+ doNary(elm) {
2360
+ const res = [];
2361
+ let bo = '';
2362
+ let limLoc = '';
2363
+ for (const { stag, value } of this.processChildrenList(elm))if ('naryPr' === stag) {
2364
+ const pr = value;
2365
+ bo = getVal(pr.get('chr'), void 0, CHR_BO) ?? '';
2366
+ limLoc = pr.get('naryLim') ?? pr.get('limLoc') ?? pr.get('intLim') ?? '';
2367
+ } else res.push(String(value));
2368
+ const limits = 'undOvr' === limLoc ? '\\limits' : '';
2369
+ return bo + limits + res.join("");
2370
+ }
2371
+ doBorderBox(elm) {
2372
+ const c = this.processChildrenDict(elm);
2373
+ const e = c['e'] ?? '';
2374
+ return pyFormat(BORDER_BOX, [
2375
+ e
2376
+ ]);
2377
+ }
2378
+ doPhant(elm) {
2379
+ const c = this.processChildrenDict(elm);
2380
+ const pr = c['phantPr'];
2381
+ const e = c['e'] ?? '';
2382
+ if (isOn(pr?.get('show'), true)) return e;
2383
+ return pyFormat(PHANT, [
2384
+ e
2385
+ ]);
2386
+ }
2387
+ doSPre(elm) {
2388
+ const c = this.processChildrenDict(elm);
2389
+ const e = c['e'] ?? '';
2390
+ const sub = c['sub'] ?? '';
2391
+ const sup = c['sup'] ?? '';
2392
+ return `{}${sub}${sup}{${e}}`;
2393
+ }
2394
+ processUnicode(s) {
2395
+ let out = '';
2396
+ for (const ch of s.normalize('NFC')){
2397
+ const mapped = T[ch];
2398
+ if (void 0 !== mapped) out += mapped;
2399
+ else if (CHARS.includes(ch)) out += ch;
2400
+ else out += unicodeToLatex(ch);
2401
+ }
2402
+ return out;
2403
+ }
2404
+ doR(elm) {
2405
+ const strs = [];
2406
+ const baseStrs = [];
2407
+ for (const child of elm.children){
2408
+ if (!isElement(child)) continue;
2409
+ if ('t' !== localName(child.tagName)) continue;
2410
+ const s = textContent(child);
2411
+ strs.push(this.processUnicode(s));
2412
+ baseStrs.push(s);
2413
+ }
2414
+ let procStr = escapeLatex(strs.join(""));
2415
+ const baseProcStr = baseStrs.join("");
2416
+ if (!baseProcStr.includes('{') && procStr.includes('\\{')) procStr = procStr.split('\\{').join('{');
2417
+ if (!baseProcStr.includes('}') && procStr.includes('\\}')) procStr = procStr.split('\\}').join('}');
2418
+ return procStr;
2419
+ }
2420
+ constructor(options = {}){
2421
+ _define_property(this, "options", void 0);
2422
+ _define_property(this, "unsupported", void 0);
2423
+ this.options = options;
2424
+ this.unsupported = new Set();
2425
+ }
2426
+ }
2427
+ const SUB_TEMPLATE = '_{{{0}}}';
2428
+ const SUP_TEMPLATE = '^{{{0}}}';
2429
+ function ommlNodeToLatex(node, options = {}) {
2430
+ return new Converter(options).convert(node);
2431
+ }
2432
+ function findAll(nodes, name, acc = []) {
2433
+ for (const node of nodes)if ('string' != typeof node) {
2434
+ if (localName(node.tagName) === name) acc.push(node);
2435
+ findAll(node.children, name, acc);
2436
+ }
2437
+ return acc;
2438
+ }
2439
+ function elementChildren(node) {
2440
+ return node.children.filter((c)=>'string' != typeof c);
2441
+ }
2442
+ function collectOMathNodes(nodes) {
2443
+ const elements = nodes.filter((n)=>'string' != typeof n);
2444
+ if (1 === elements.length) {
2445
+ const root = elements[0];
2446
+ const name = localName(root.tagName);
2447
+ if ('oMath' === name) return [
2448
+ root
2449
+ ];
2450
+ if ('oMathPara' === name || 'm' === name) {
2451
+ const found = findAll(root.children, 'oMath');
2452
+ if (found.length > 0) return found;
2453
+ return [];
2454
+ }
2455
+ }
2456
+ return findAll(nodes, 'oMath');
2457
+ }
2458
+ function ommlToLatex(xml, options = {}) {
2459
+ const nodes = (0, txml_namespaceObject.parse)(xml, {
2460
+ decodeEntities: true
2461
+ });
2462
+ const omaths = collectOMathNodes(nodes);
2463
+ let out = '';
2464
+ for (const omath of omaths)out += ommlNodeToLatex(omath, options);
2465
+ return out.trim();
2466
+ }
2467
+ function extractOmmlLatex(xml, options = {}) {
2468
+ const nodes = (0, txml_namespaceObject.parse)(xml, {
2469
+ decodeEntities: true
2470
+ });
2471
+ return findAll(nodes, 'oMath').map((omath)=>ommlNodeToLatex(omath, options).trim());
2472
+ }
2473
+ exports.elementChildren = __webpack_exports__.elementChildren;
2474
+ exports.escapeLatex = __webpack_exports__.escapeLatex;
2475
+ exports.extractOmmlLatex = __webpack_exports__.extractOmmlLatex;
2476
+ exports.localName = __webpack_exports__.localName;
2477
+ exports.ommlNodeToLatex = __webpack_exports__.ommlNodeToLatex;
2478
+ exports.ommlToLatex = __webpack_exports__.ommlToLatex;
2479
+ exports.textContent = __webpack_exports__.textContent;
2480
+ exports.unicodeToLatex = __webpack_exports__.unicodeToLatex;
2481
+ for(var __rspack_i in __webpack_exports__)if (-1 === [
2482
+ "elementChildren",
2483
+ "escapeLatex",
2484
+ "extractOmmlLatex",
2485
+ "localName",
2486
+ "ommlNodeToLatex",
2487
+ "ommlToLatex",
2488
+ "textContent",
2489
+ "unicodeToLatex"
2490
+ ].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
2491
+ Object.defineProperty(exports, '__esModule', {
2492
+ value: true
2493
+ });
2494
+
2495
+ //# sourceMappingURL=index.cjs.map