tex2typst 0.3.5 → 0.3.7

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.js CHANGED
@@ -55,66 +55,25 @@ var symbolMap = /* @__PURE__ */ new Map([
55
55
  ["rm", "upright"],
56
56
  // TODO: \pmb need special logic to handle but it is not implemented now. See the commented test case.
57
57
  ["pmb", "bold"],
58
- /* variants of plus,minus,times,divide */
59
- ["pm", "plus.minus"],
60
- ["mp", "minus.plus"],
61
- ["boxplus", "plus.square"],
62
- ["otimes", "times.circle"],
63
- ["boxtimes", "times.square"],
64
- /* wave */
65
- // tex: \sim \approx \cong \simeq \asymp \equiv \propto
66
- // typst: tilde.op approx tilde.equiv tilde.eq ≍ equiv prop
67
- ["approx", "approx"],
68
- ["cong", "tilde.equiv"],
69
- ["simeq", "tilde.eq"],
70
- ["asymp", "\u224D"],
71
- // just use the unicode character :-)
72
- ["equiv", "equiv"],
73
- ["propto", "prop"],
74
- /* arrows */
75
- ["gets", "arrow.l"],
76
- // ['longmapsto', 'arrow.r.bar'],
77
- ["iff", "arrow.l.r.double.long"],
78
- ["implies", "arrow.r.double.long"],
79
- ["leadsto", "arrow.squiggly"],
80
- ["Cap", "sect.double"],
81
- ["Cup", "union.double"],
58
+ ["leadsto", "arrow.r.squiggly"],
59
+ ["P", "pilcrow"],
60
+ ["S", "section"],
61
+ ["aleph", "alef"],
82
62
  ["Delta", "Delta"],
83
63
  ["Gamma", "Gamma"],
84
- ["Join", "join"],
85
64
  ["Lambda", "Lambda"],
86
65
  ["Omega", "Omega"],
87
- ["P", "pilcrow"],
88
66
  ["Phi", "Phi"],
89
67
  ["Pi", "Pi"],
90
68
  ["Psi", "Psi"],
91
- ["Rightarrow", "arrow.r.double"],
92
- ["S", "section"],
93
69
  ["Sigma", "Sigma"],
94
70
  ["Theta", "Theta"],
95
- ["aleph", "alef"],
96
71
  ["alpha", "alpha"],
97
72
  // ['amalg', 'product.co'],
98
- ["angle", "angle"],
99
- ["approx", "approx"],
100
- ["approxeq", "approx.eq"],
101
- // ['ast', 'ast'],
102
73
  ["beta", "beta"],
103
- ["bigcap", "sect.big"],
104
74
  ["bigcirc", "circle.big"],
105
- ["bigcup", "union.big"],
106
- ["bigodot", "dot.circle.big"],
107
- // ['bigoplus', 'xor.big'], // or "plus.circle.big"
108
- ["bigotimes", "times.circle.big"],
109
- ["bigsqcup", "union.sq.big"],
110
- // ['bigtriangledown', 'triangle.b'],
111
- // ['bigtriangleup', 'triangle.t'],
112
- ["biguplus", "union.plus.big"],
113
- ["bigvee", "or.big"],
114
- ["bigwedge", "and.big"],
115
75
  // ['bowtie', 'join'],
116
76
  ["bullet", "bullet"],
117
- ["cap", "sect"],
118
77
  ["cdot", "dot.op"],
119
78
  // 'dot.op' or 'dot.c'
120
79
  ["cdots", "dots.c"],
@@ -212,7 +171,6 @@ var symbolMap = /* @__PURE__ */ new Map([
212
171
  ["oiint", "integral.surf"],
213
172
  ["oiiint", "integral.vol"],
214
173
  ["omega", "omega"],
215
- // ['omicron', 'omicron'],
216
174
  ["ominus", "minus.circle"],
217
175
  // ['oplus', 'xor'], // or 'plus.circle'
218
176
  ["otimes", "times.circle"],
@@ -245,8 +203,6 @@ var symbolMap = /* @__PURE__ */ new Map([
245
203
  ["smallsetminus", "without"],
246
204
  // ['smile', 'paren.b'],
247
205
  ["spadesuit", "suit.spade"],
248
- ["sqcap", "sect.sq"],
249
- ["sqcup", "union.sq"],
250
206
  ["sqsubseteq", "subset.eq.sq"],
251
207
  ["sqsupseteq", "supset.eq.sq"],
252
208
  // ['star', 'star'],
@@ -294,761 +250,795 @@ var symbolMap = /* @__PURE__ */ new Map([
294
250
  ["TeX", "#TeX"]
295
251
  ]);
296
252
  var map_from_official_docs = /* @__PURE__ */ new Map([
297
- ["lparen", "paren.l"],
298
- ["lParen", "paren.l.double"],
299
- ["rparen", "paren.r"],
300
- ["rParen", "paren.r.double"],
301
- ["overparen", "paren.t"],
302
- ["underparen", "paren.b"],
303
- ["lbrace", "brace.l"],
304
- ["lBrace", "brace.l.double"],
305
- ["rbrace", "brace.r"],
306
- ["rBrace", "brace.r.double"],
307
- // ['overbrace', 'brace.t'],
308
- ["underbrace", "brace.b"],
309
- ["lbrack", "bracket.l"],
310
- ["lBrack", "bracket.l.double"],
311
- ["rbrack", "bracket.r"],
312
- ["rBrack", "bracket.r.double"],
313
- ["overbracket", "bracket.t"],
314
- ["underbracket", "bracket.b"],
315
- ["lbrbrak", "shell.l"],
316
- ["Lbrbrak", "shell.l.double"],
317
- ["rbrbrak", "shell.r"],
318
- ["Rbrbrak", "shell.r.double"],
319
- ["obrbrak", "shell.t"],
320
- ["ubrbrak", "shell.b"],
321
- ["vert", "bar.v"],
322
- ["Vert", "bar.v.double"],
323
- ["Vvert", "bar.v.triple"],
324
- ["circledvert", "bar.v.circle"],
325
- ["horizbar", "bar.h"],
326
- ["lvzigzag", "fence.l"],
327
- ["Lvzigzag", "fence.l.double"],
328
- ["rvzigzag", "fence.r"],
329
- ["Rvzigzag", "fence.r.double"],
330
- ["fourvdots", "fence.dotted"],
331
- ["angle", "angle"],
332
- ["langle", "angle.l"],
333
- ["lcurvyangle", "angle.l.curly"],
334
- ["langledot", "angle.l.dot"],
335
- ["rangle", "angle.r"],
336
- ["rcurvyangle", "angle.r.curly"],
337
- ["rangledot", "angle.r.dot"],
253
+ ["acwopencirclearrow", "arrow.ccw"],
254
+ ["adots", "dots.up"],
338
255
  ["angdnr", "angle.acute"],
339
- ["measuredangle", "angle.arc"],
340
- ["measuredangleleft", "angle.arc.rev"],
341
- ["wideangledown", "angle.oblique"],
342
- ["revangle", "angle.rev"],
343
- ["rightangle", "angle.right"],
344
- ["measuredrightangle", "angle.right.arc"],
345
- ["rightanglemdot", "angle.right.dot"],
346
- ["rightanglesqr", "angle.right.sq"],
256
+ ["angle", "angle"],
347
257
  ["angles", "angle.s"],
348
- ["threedangle", "angle.spatial"],
349
- ["sphericalangle", "angle.spheric"],
350
- ["gtlpar", "angle.spheric.rev"],
351
- ["sphericalangleup", "angle.spheric.top"],
352
- ["lceil", "ceil.l"],
353
- ["rceil", "ceil.r"],
354
- ["lfloor", "floor.l"],
355
- ["rfloor", "floor.r"],
356
- ["mathampersand", "amp"],
357
- ["upand", "amp.inv"],
258
+ ["approx", "approx"],
259
+ ["approxeq", "approx.eq"],
260
+ ["approxident", "tilde.triple"],
261
+ ["assert", "tack.r.short"],
358
262
  ["ast", "ast.op"],
359
- ["circledast", "ast.circle"],
360
- ["boxast", "ast.square"],
361
- ["mathatsign", "at"],
263
+ ["asymp", "asymp"],
264
+ ["awint", "integral.ccw"],
265
+ ["backcong", "tilde.rev.equiv"],
266
+ ["backdprime", "prime.double.rev"],
267
+ ["backprime", "prime.rev"],
268
+ ["backsim", "tilde.rev"],
269
+ ["backsimeq", "tilde.eq.rev"],
362
270
  ["backslash", "backslash"],
363
- ["obslash", "backslash.circle"],
364
- ["rsolbar", "backslash.not"],
365
- ["mathcolon", "colon"],
271
+ ["backtrprime", "prime.triple.rev"],
272
+ ["bardownharpoonleft", "harpoon.bl.bar"],
273
+ ["bardownharpoonright", "harpoon.br.bar"],
274
+ ["barleftarrow", "arrow.l.stop"],
275
+ ["barleftarrowrightarrowbar", "arrows.lr.stop"],
276
+ ["barleftharpoondown", "harpoon.lb.stop"],
277
+ ["barleftharpoonup", "harpoon.lt.stop"],
278
+ ["barrightharpoondown", "harpoon.rb.bar"],
279
+ ["barrightharpoonup", "harpoon.rt.bar"],
280
+ ["baruparrow", "arrow.t.stop"],
281
+ ["barupharpoonleft", "harpoon.tl.stop"],
282
+ ["barupharpoonright", "harpoon.tr.stop"],
283
+ ["barV", "tack.b.double"],
284
+ ["BbbA", "AA"],
285
+ ["BbbB", "BB"],
286
+ ["BbbC", "CC"],
287
+ ["BbbD", "DD"],
288
+ ["BbbE", "EE"],
289
+ ["BbbF", "FF"],
290
+ ["BbbG", "GG"],
291
+ ["BbbH", "HH"],
292
+ ["BbbI", "II"],
293
+ ["BbbJ", "JJ"],
294
+ ["BbbK", "KK"],
295
+ ["BbbL", "LL"],
296
+ ["BbbM", "MM"],
297
+ ["BbbN", "NN"],
298
+ ["BbbO", "OO"],
299
+ ["BbbP", "PP"],
300
+ ["BbbQ", "QQ"],
301
+ ["BbbR", "RR"],
302
+ ["BbbS", "SS"],
303
+ ["BbbT", "TT"],
304
+ ["BbbU", "UU"],
305
+ ["BbbV", "VV"],
306
+ ["BbbW", "WW"],
307
+ ["BbbX", "XX"],
308
+ ["BbbY", "YY"],
309
+ ["BbbZ", "ZZ"],
310
+ ["because", "because"],
311
+ ["bigblacktriangledown", "triangle.filled.b"],
312
+ ["bigblacktriangleup", "triangle.filled.t"],
313
+ ["bigbot", "tack.t.big"],
314
+ ["bigcap", "inter.big"],
315
+ ["bigcup", "union.big"],
316
+ ["bigcupdot", "union.dot.big"],
317
+ ["biginterleave", "interleave.big"],
318
+ ["bigodot", "dot.circle.big"],
319
+ ["bigoplus", "plus.circle.big"],
320
+ // or 'xor.big'
321
+ ["bigotimes", "times.circle.big"],
322
+ ["bigsqcap", "inter.sq.big"],
323
+ ["bigsqcup", "union.sq.big"],
324
+ ["bigstar", "star.filled"],
325
+ ["bigtimes", "times.big"],
326
+ ["bigtop", "tack.b.big"],
327
+ ["bigtriangledown", "triangle.stroked.b"],
328
+ // or 'triangle.b'
329
+ ["bigtriangleup", "triangle.stroked.t"],
330
+ // or 'triangle.t'
331
+ ["biguplus", "union.plus.big"],
332
+ ["bigvee", "or.big"],
333
+ ["bigwedge", "and.big"],
334
+ ["bigwhitestar", "star.stroked"],
335
+ ["blackhourglass", "hourglass.filled"],
336
+ ["blacktriangle", "triangle.filled.small.t"],
337
+ ["blacktriangledown", "triangle.filled.small.b"],
338
+ ["blacktriangleleft", "triangle.filled.l"],
339
+ ["blacktriangleright", "triangle.filled.r"],
340
+ ["blkhorzoval", "ellipse.filled.h"],
341
+ ["blkvertoval", "ellipse.filled.v"],
342
+ ["bot", "bot"],
343
+ ["boxast", "ast.square"],
344
+ ["boxdot", "dot.square"],
345
+ ["boxminus", "minus.square"],
346
+ ["boxplus", "plus.square"],
347
+ ["boxtimes", "times.square"],
348
+ ["cap", "inter"],
349
+ ["Cap", "inter.double"],
350
+ ["capdot", "inter.dot"],
351
+ ["capwedge", "inter.and"],
352
+ ["caretinsert", "caret"],
353
+ ["cdot", "dot.op"],
354
+ ["cdotp", "dot.c"],
355
+ ["checkmark", "checkmark"],
356
+ ["circledast", "ast.circle"],
357
+ ["circledcirc", "circle.nested"],
358
+ ["circleddash", "dash.circle"],
359
+ ["circledequal", "eq.circle"],
360
+ ["circledparallel", "parallel.circle"],
361
+ ["circledvert", "bar.v.circle"],
362
+ ["clubsuit", "suit.club.filled"],
366
363
  ["Colon", "colon.double"],
367
364
  ["coloneq", "colon.eq"],
368
365
  ["Coloneq", "colon.double.eq"],
369
- ["mathcomma", "comma"],
366
+ ["complement", "complement"],
367
+ ["cong", "tilde.equiv"],
368
+ ["coprod", "product.co"],
369
+ ["cup", "union"],
370
+ ["Cup", "union.double"],
371
+ ["cupdot", "union.dot"],
372
+ ["cupleftarrow", "union.arrow"],
373
+ ["cupvee", "union.or"],
374
+ ["curlyeqprec", "eq.prec"],
375
+ ["curlyeqsucc", "eq.succ"],
376
+ ["curlyvee", "or.curly"],
377
+ ["curlywedge", "and.curly"],
378
+ ["curvearrowleft", "arrow.ccw.half"],
379
+ ["curvearrowright", "arrow.cw.half"],
380
+ ["cwopencirclearrow", "arrow.cw"],
370
381
  ["dagger", "dagger"],
371
- ["ddagger", "dagger.double"],
372
382
  ["dashcolon", "dash.colon"],
373
- ["circleddash", "dash.circle"],
374
- ["hzigzag", "dash.wave.double"],
375
- ["cdot", "dot.op"],
376
- ["mathperiod", "dot.basic"],
377
- ["cdotp", "dot.c"],
378
- ["odot", "dot.circle"],
379
- ["bigodot", "dot.circle.big"],
380
- ["boxdot", "dot.square"],
381
- ["dddot", "dot.triple"],
383
+ ["dashv", "tack.l"],
384
+ ["Dashv", "tack.l.double"],
385
+ ["dashVdash", "tack.l.r"],
386
+ ["ddagger", "dagger.double"],
382
387
  ["ddddot", "dot.quad"],
383
- ["mathexclam", "excl"],
384
- ["Exclam", "excl.double"],
385
- ["mathquestion", "quest"],
386
- ["Question", "quest.double"],
387
- ["mathoctothorpe", "hash"],
388
- // ['mathhyphen', 'hyph'],
389
- ["mathpercent", "percent"],
390
- ["mathparagraph", "pilcrow"],
391
- ["mathsection", "section"],
392
- ["mathsemicolon", "semi"],
393
- ["mathslash", "slash"],
394
- ["sslash", "slash.double"],
395
- ["trslash", "slash.triple"],
396
- ["xsol", "slash.big"],
397
- ["unicodecdots", "dots.h.c"],
398
- ["unicodeellipsis", "dots.h"],
399
- ["vdots", "dots.v"],
388
+ ["dddot", "dot.triple"],
400
389
  ["ddots", "dots.down"],
401
- ["adots", "dots.up"],
402
- ["sim", "tilde.op"],
390
+ ["DDownarrow", "arrow.b.quad"],
391
+ ["Ddownarrow", "arrow.b.triple"],
392
+ ["diameter", "diameter"],
393
+ ["diamondcdot", "diamond.stroked.dot"],
394
+ ["diamondsuit", "suit.diamond.stroked"],
395
+ ["dicei", "die.one"],
396
+ ["diceii", "die.two"],
397
+ ["diceiii", "die.three"],
398
+ ["diceiv", "die.four"],
399
+ ["dicev", "die.five"],
400
+ ["dicevi", "die.six"],
401
+ ["div", "div"],
402
+ ["divideontimes", "times.div"],
403
+ ["Doteq", "eq.dots"],
404
+ ["dotminus", "minus.dot"],
405
+ ["dotplus", "plus.dot"],
403
406
  ["dotsim", "tilde.dot"],
404
- ["sime", "tilde.eq"],
405
- ["nsimeq", "tilde.eq.not"],
406
- ["backsimeq", "tilde.eq.rev"],
407
- ["cong", "tilde.equiv"],
408
- ["ncong", "tilde.equiv.not"],
409
- ["simneqq", "tilde.nequiv"],
410
- ["nsim", "tilde.not"],
411
- ["backsim", "tilde.rev"],
412
- ["backcong", "tilde.rev.equiv"],
413
- ["approxident", "tilde.triple"],
414
- ["caretinsert", "caret"],
415
- ["prime", "prime"],
416
- ["backprime", "prime.rev"],
417
- ["dprime", "prime.double"],
418
- ["backdprime", "prime.double.rev"],
419
- ["trprime", "prime.triple"],
420
- ["backtrprime", "prime.triple.rev"],
421
- ["qprime", "prime.quad"],
422
- ["mathplus", "plus"],
423
- ["oplus", "plus.circle"],
424
- ["rightarrowonoplus", "plus.circle.arrow"],
425
- ["bigoplus", "plus.circle.big"],
426
- ["dotplus", "plus.dot"],
407
+ ["dottedcircle", "circle.dotted"],
408
+ ["dottedsquare", "square.stroked.dotted"],
427
409
  ["doubleplus", "plus.double"],
428
- ["pm", "plus.minus"],
429
- ["boxplus", "plus.square"],
430
- ["triangleplus", "plus.triangle"],
431
- ["tripleplus", "plus.triple"],
432
- ["minus", "minus"],
433
- ["ominus", "minus.circle"],
434
- ["dotminus", "minus.dot"],
435
- ["mp", "minus.plus"],
436
- ["boxminus", "minus.square"],
437
- ["eqsim", "minus.tilde"],
438
- ["triangleminus", "minus.triangle"],
439
- ["div", "div"],
440
- ["odiv", "div.circle"],
441
- ["times", "times"],
442
- ["bigtimes", "times.big"],
443
- ["otimes", "times.circle"],
444
- ["bigotimes", "times.circle.big"],
445
- ["divideontimes", "times.div"],
446
- ["leftthreetimes", "times.three.l"],
447
- ["rightthreetimes", "times.three.r"],
448
- ["ltimes", "times.l"],
449
- ["rtimes", "times.r"],
450
- ["boxtimes", "times.square"],
451
- ["triangletimes", "times.triangle"],
452
- ["mathratio", "ratio"],
453
- ["equal", "eq"],
454
- ["stareq", "eq.star"],
455
- ["circledequal", "eq.circle"],
410
+ ["downarrow", "arrow.b"],
411
+ ["Downarrow", "arrow.b.double"],
412
+ ["downarrowbar", "arrow.b.stop"],
413
+ ["downdasharrow", "arrow.b.dashed"],
414
+ ["downdownarrows", "arrows.bb"],
415
+ ["downharpoonleft", "harpoon.bl"],
416
+ ["downharpoonleftbar", "harpoon.bl.stop"],
417
+ ["downharpoonright", "harpoon.br"],
418
+ ["downharpoonrightbar", "harpoon.br.stop"],
419
+ ["downharpoonsleftright", "harpoons.blbr"],
420
+ ["downrightcurvedarrow", "arrow.b.curve"],
421
+ ["downuparrows", "arrows.bt"],
422
+ ["downupharpoonsleftright", "harpoons.bltr"],
423
+ ["downwhitearrow", "arrow.b.stroked"],
424
+ ["downzigzagarrow", "arrow.zigzag"],
425
+ ["dprime", "prime.double"],
426
+ ["dualmap", "multimap.double"],
427
+ ["eighthnote", "note.eighth.alt"],
428
+ ["ell", "ell"],
429
+ ["emptysetoarr", "emptyset.arrow.r"],
430
+ ["emptysetoarrl", "emptyset.arrow.l"],
431
+ ["emptysetobar", "emptyset.bar"],
432
+ ["emptysetocirc", "emptyset.circle"],
433
+ ["eparsl", "parallel.slanted.eq"],
456
434
  ["eqcolon", "eq.colon"],
457
- // \usepackage{mathtools} defines \eqdef
458
- // https://tex.stackexchange.com/questions/28836/typesetting-the-define-equals-symbol
459
435
  ["eqdef", "eq.def"],
460
- ["triangleq", "eq.delta"],
461
- ["veeeq", "eq.equi"],
462
- ["wedgeq", "eq.est"],
436
+ // \usepackage{mathtools} defines \eqdef
463
437
  ["eqgtr", "eq.gt"],
464
438
  ["eqless", "eq.lt"],
465
- ["measeq", "eq.m"],
466
- ["ne", "eq.not"],
467
- ["curlyeqprec", "eq.prec"],
468
- ["questeq", "eq.quest"],
469
- ["curlyeqsucc", "eq.succ"],
439
+ ["eqsim", "minus.tilde"],
440
+ ["equal", "eq"],
441
+ ["equalparallel", "parallel.eq"],
470
442
  ["equiv", "eq.triple"],
471
443
  ["Equiv", "eq.quad"],
472
- ["greater", "gt"],
473
- ["ogreaterthan", "gt.circle"],
474
- ["gtrdot", "gt.dot"],
475
- ["gtrapprox", "gt.approx"],
476
- ["gg", "gt.double"],
444
+ ["equivVert", "parallel.equiv"],
445
+ ["eqvparsl", "parallel.slanted.equiv"],
446
+ ["errbarblackcircle", "errorbar.circle.filled"],
447
+ ["errbarblackdiamond", "errorbar.diamond.filled"],
448
+ ["errbarblacksquare", "errorbar.square.filled"],
449
+ ["errbarcircle", "errorbar.circle.stroked"],
450
+ ["errbardiamond", "errorbar.diamond.stroked"],
451
+ ["errbarsquare", "errorbar.square.stroked"],
452
+ ["euro", "euro"],
453
+ ["Exclam", "excl.double"],
454
+ ["exists", "exists"],
455
+ ["fallingdotseq", "eq.dots.down"],
456
+ ["fint", "integral.slash"],
457
+ ["flat", "flat"],
458
+ ["forall", "forall"],
459
+ ["fourvdots", "fence.dotted"],
460
+ ["fullouterjoin", "join.l.r"],
477
461
  ["geq", "gt.eq"],
478
- ["geqslant", "gt.eq.slant"],
479
- ["gtreqless", "gt.eq.lt"],
480
- ["ngeq", "gt.eq.not"],
481
462
  ["geqq", "gt.equiv"],
482
- ["gtrless", "gt.lt"],
483
- ["ngtrless", "gt.lt.not"],
484
- ["gneq", "gt.neq"],
463
+ ["geqslant", "gt.eq.slant"],
464
+ ["gg", "gt.double"],
465
+ ["ggg", "gt.triple"],
466
+ ["gggnest", "gt.triple.nested"],
485
467
  ["gnapprox", "gt.napprox"],
468
+ ["gneq", "gt.neq"],
486
469
  ["gneqq", "gt.nequiv"],
487
- ["ngtr", "gt.not"],
488
470
  ["gnsim", "gt.ntilde"],
471
+ ["greater", "gt"],
472
+ ["gtlpar", "angle.spheric.rev"],
473
+ ["gtrapprox", "gt.approx"],
474
+ ["gtrdot", "gt.dot"],
475
+ ["gtreqless", "gt.eq.lt"],
476
+ ["gtrless", "gt.lt"],
489
477
  ["gtrsim", "gt.tilde"],
490
- ["ngtrsim", "gt.tilde.not"],
491
- ["vartriangleright", "gt.tri"],
492
- ["trianglerighteq", "gt.tri.eq"],
493
- ["ntrianglerighteq", "gt.tri.eq.not"],
494
- ["nvartriangleright", "gt.tri.not"],
495
- ["ggg", "gt.triple"],
496
- ["gggnest", "gt.triple.nested"],
497
- ["less", "lt"],
498
- ["olessthan", "lt.circle"],
499
- ["lessdot", "lt.dot"],
500
- ["lessapprox", "lt.approx"],
501
- ["ll", "lt.double"],
478
+ ["heartsuit", "suit.heart.stroked"],
479
+ ["hknearrow", "arrow.tr.hook"],
480
+ ["hknwarrow", "arrow.tl.hook"],
481
+ ["hksearrow", "arrow.br.hook"],
482
+ ["hkswarrow", "arrow.bl.hook"],
483
+ ["hookleftarrow", "arrow.l.hook"],
484
+ ["hookrightarrow", "arrow.r.hook"],
485
+ ["horizbar", "bar.h"],
486
+ ["hourglass", "hourglass.stroked"],
487
+ ["hrectangle", "rect.stroked.h"],
488
+ ["hrectangleblack", "rect.filled.h"],
489
+ ["hslash", "planck.reduce"],
490
+ ["hzigzag", "dash.wave.double"],
491
+ ["iiiint", "integral.quad"],
492
+ ["iiint", "integral.triple"],
493
+ ["iinfin", "infinity.incomplete"],
494
+ ["iint", "integral.double"],
495
+ ["Im", "Im"],
496
+ ["imageof", "image"],
497
+ ["in", "in"],
498
+ ["increment", "laplace"],
499
+ ["infty", "infinity"],
500
+ ["int", "integral"],
501
+ ["intbar", "integral.dash"],
502
+ ["intBar", "integral.dash.double"],
503
+ ["intcap", "integral.inter"],
504
+ ["intclockwise", "integral.cw"],
505
+ ["intcup", "integral.union"],
506
+ ["interleave", "interleave"],
507
+ ["intlarhk", "integral.arrow.hook"],
508
+ ["intx", "integral.times"],
509
+ ["Join", "join"],
510
+ ["langle", "angle.l"],
511
+ ["lAngle", "angle.l.double"],
512
+ ["langledot", "angle.l.dot"],
513
+ ["lat", "lat"],
514
+ ["late", "lat.eq"],
515
+ ["lbrace", "brace.l"],
516
+ ["lBrace", "brace.l.double"],
517
+ ["lbrack", "bracket.l"],
518
+ ["lBrack", "bracket.l.double"],
519
+ ["lbrbrak", "shell.l"],
520
+ ["Lbrbrak", "shell.l.double"],
521
+ ["lceil", "ceil.l"],
522
+ ["lcurvyangle", "angle.l.curly"],
523
+ ["leftarrow", "arrow.l"],
524
+ ["Leftarrow", "arrow.l.double"],
525
+ ["leftarrowtail", "arrow.l.tail"],
526
+ ["leftdasharrow", "arrow.l.dashed"],
527
+ ["leftdotarrow", "arrow.l.dotted"],
528
+ ["leftdowncurvedarrow", "arrow.l.curve"],
529
+ ["leftharpoondown", "harpoon.lb"],
530
+ ["leftharpoondownbar", "harpoon.lb.bar"],
531
+ ["leftharpoonsupdown", "harpoons.ltlb"],
532
+ ["leftharpoonup", "harpoon.lt"],
533
+ ["leftharpoonupbar", "harpoon.lt.bar"],
534
+ ["leftleftarrows", "arrows.ll"],
535
+ ["leftouterjoin", "join.l"],
536
+ ["leftrightarrow", "arrow.l.r"],
537
+ ["Leftrightarrow", "arrow.l.r.double"],
538
+ ["leftrightarrows", "arrows.lr"],
539
+ ["leftrightharpoondowndown", "harpoon.lb.rb"],
540
+ ["leftrightharpoondownup", "harpoon.lb.rt"],
541
+ ["leftrightharpoons", "harpoons.ltrb"],
542
+ ["leftrightharpoonsdown", "harpoons.lbrb"],
543
+ ["leftrightharpoonsup", "harpoons.ltrt"],
544
+ ["leftrightharpoonupdown", "harpoon.lt.rb"],
545
+ ["leftrightharpoonupup", "harpoon.lt.rt"],
546
+ ["leftrightsquigarrow", "arrow.l.r.wave"],
547
+ ["leftsquigarrow", "arrow.l.squiggly"],
548
+ ["leftthreearrows", "arrows.lll"],
549
+ ["leftthreetimes", "times.three.l"],
550
+ ["leftwavearrow", "arrow.l.wave"],
551
+ ["leftwhitearrow", "arrow.l.stroked"],
502
552
  ["leq", "lt.eq"],
553
+ ["leqq", "lt.equiv"],
503
554
  ["leqslant", "lt.eq.slant"],
555
+ ["less", "lt"],
556
+ ["lessapprox", "lt.approx"],
557
+ ["lessdot", "lt.dot"],
504
558
  ["lesseqgtr", "lt.eq.gt"],
505
- ["nleq", "lt.eq.not"],
506
- ["leqq", "lt.equiv"],
507
559
  ["lessgtr", "lt.gt"],
508
- ["nlessgtr", "lt.gt.not"],
509
- ["lneq", "lt.neq"],
510
- ["lnapprox", "lt.napprox"],
511
- ["lneqq", "lt.nequiv"],
512
- ["nless", "lt.not"],
513
- ["lnsim", "lt.ntilde"],
514
560
  ["lesssim", "lt.tilde"],
515
- ["nlesssim", "lt.tilde.not"],
516
- ["vartriangleleft", "lt.tri"],
517
- ["trianglelefteq", "lt.tri.eq"],
518
- ["ntrianglelefteq", "lt.tri.eq.not"],
519
- ["nvartriangleleft", "lt.tri.not"],
561
+ ["lfloor", "floor.l"],
562
+ ["lgblkcircle", "circle.filled.big"],
563
+ ["lgblksquare", "square.filled.big"],
564
+ ["lgwhtcircle", "circle.stroked.big"],
565
+ ["lgwhtsquare", "square.stroked.big"],
566
+ ["ll", "lt.double"],
567
+ ["llblacktriangle", "triangle.filled.bl"],
568
+ ["LLeftarrow", "arrow.l.quad"],
569
+ ["Lleftarrow", "arrow.l.triple"],
520
570
  ["lll", "lt.triple"],
521
571
  ["lllnest", "lt.triple.nested"],
522
- ["approx", "approx"],
523
- ["approxeq", "approx.eq"],
524
- ["napprox", "approx.not"],
525
- ["prec", "prec"],
526
- ["precapprox", "prec.approx"],
527
- ["preccurlyeq", "prec.curly.eq"],
528
- ["npreccurlyeq", "prec.curly.eq.not"],
529
- ["Prec", "prec.double"],
530
- ["preceq", "prec.eq"],
531
- ["preceqq", "prec.equiv"],
532
- ["precnapprox", "prec.napprox"],
533
- ["precneq", "prec.neq"],
534
- ["precneqq", "prec.nequiv"],
535
- ["nprec", "prec.not"],
536
- ["precnsim", "prec.ntilde"],
537
- ["precsim", "prec.tilde"],
538
- ["succ", "succ"],
539
- ["succapprox", "succ.approx"],
540
- ["succcurlyeq", "succ.curly.eq"],
541
- ["nsucccurlyeq", "succ.curly.eq.not"],
542
- ["Succ", "succ.double"],
543
- ["succeq", "succ.eq"],
544
- ["succeqq", "succ.equiv"],
545
- ["succnapprox", "succ.napprox"],
546
- ["succneq", "succ.neq"],
547
- ["succneqq", "succ.nequiv"],
548
- ["nsucc", "succ.not"],
549
- ["succnsim", "succ.ntilde"],
550
- ["succsim", "succ.tilde"],
551
- ["nequiv", "equiv.not"],
552
- ["propto", "prop"],
553
- ["origof", "original"],
554
- ["imageof", "image"],
555
- ["varnothing", "emptyset"],
556
- ["emptysetoarr", "emptyset.arrow.r"],
557
- ["emptysetoarrl", "emptyset.arrow.l"],
558
- ["emptysetobar", "emptyset.bar"],
559
- ["emptysetocirc", "emptyset.circle"],
560
- ["revemptyset", "emptyset.rev"],
561
- ["setminus", "without"],
562
- ["complement", "complement"],
563
- ["in", "in"],
564
- ["notin", "in.not"],
565
- ["ni", "in.rev"],
566
- ["nni", "in.rev.not"],
567
- ["smallni", "in.rev.small"],
568
- ["smallin", "in.small"],
569
- ["subset", "subset"],
570
- ["subsetdot", "subset.dot"],
571
- ["Subset", "subset.double"],
572
- ["subseteq", "subset.eq"],
573
- ["nsubseteq", "subset.eq.not"],
574
- ["sqsubseteq", "subset.eq.sq"],
575
- ["nsqsubseteq", "subset.eq.sq.not"],
576
- ["subsetneq", "subset.neq"],
577
- ["nsubset", "subset.not"],
578
- ["sqsubset", "subset.sq"],
579
- ["sqsubsetneq", "subset.sq.neq"],
580
- ["supset", "supset"],
581
- ["supsetdot", "supset.dot"],
582
- ["Supset", "supset.double"],
583
- ["supseteq", "supset.eq"],
584
- ["nsupseteq", "supset.eq.not"],
585
- ["sqsupseteq", "supset.eq.sq"],
586
- ["nsqsupseteq", "supset.eq.sq.not"],
587
- ["supsetneq", "supset.neq"],
588
- ["nsupset", "supset.not"],
589
- ["sqsupset", "supset.sq"],
590
- ["sqsupsetneq", "supset.sq.neq"],
591
- ["cup", "union"],
592
- ["cupleftarrow", "union.arrow"],
593
- ["bigcup", "union.big"],
594
- ["cupdot", "union.dot"],
595
- ["bigcupdot", "union.dot.big"],
596
- ["Cup", "union.double"],
597
- ["uminus", "union.minus"],
598
- ["cupvee", "union.or"],
599
- ["uplus", "union.plus"],
600
- ["biguplus", "union.plus.big"],
601
- ["sqcup", "union.sq"],
602
- ["bigsqcup", "union.sq.big"],
603
- ["Sqcup", "union.sq.double"],
604
- ["cap", "sect"],
605
- ["capwedge", "sect.and"],
606
- ["bigcap", "sect.big"],
607
- ["capdot", "sect.dot"],
608
- ["Cap", "sect.double"],
609
- ["sqcap", "sect.sq"],
610
- ["bigsqcap", "sect.sq.big"],
611
- ["Sqcap", "sect.sq.double"],
612
- ["infty", "infinity"],
613
- ["nvinfty", "infinity.bar"],
614
- ["iinfin", "infinity.incomplete"],
615
- ["tieinfty", "infinity.tie"],
616
- ["partial", "diff"],
617
- ["nabla", "gradient"],
618
- ["sum", "sum"],
619
- ["sumint", "sum.integral"],
620
- ["prod", "product"],
621
- ["coprod", "product.co"],
622
- ["int", "integral"],
623
- ["intlarhk", "integral.arrow.hook"],
624
- ["awint", "integral.ccw"],
625
- ["oint", "integral.cont"],
626
- ["ointctrclockwise", "integral.cont.ccw"],
627
- ["varointclockwise", "integral.cont.cw"],
628
- ["intclockwise", "integral.cw"],
629
- ["intbar", "integral.dash"],
630
- ["intBar", "integral.dash.double"],
631
- ["iint", "integral.double"],
632
- ["iiiint", "integral.quad"],
633
- ["intcap", "integral.sect"],
634
- ["fint", "integral.slash"],
635
- ["sqint", "integral.square"],
636
- ["oiint", "integral.surf"],
637
- ["intx", "integral.times"],
638
- ["iiint", "integral.triple"],
639
- ["intcup", "integral.union"],
640
- ["oiiint", "integral.vol"],
641
- ["increment", "laplace"],
642
- ["forall", "forall"],
643
- ["exists", "exists"],
644
- ["nexists", "exists.not"],
645
- ["top", "top"],
646
- ["bot", "bot"],
647
- ["neg", "not"],
648
- ["wedge", "and"],
649
- ["bigwedge", "and.big"],
650
- ["curlywedge", "and.curly"],
651
- ["wedgedot", "and.dot"],
652
- ["Wedge", "and.double"],
653
- ["vee", "or"],
654
- ["bigvee", "or.big"],
655
- ["curlyvee", "or.curly"],
656
- ["veedot", "or.dot"],
657
- ["Vee", "or.double"],
658
- ["models", "models"],
659
- ["Vdash", "forces"],
660
- ["nVdash", "forces.not"],
661
- ["therefore", "therefore"],
662
- ["because", "because"],
663
- ["QED", "qed"],
664
- ["vysmwhtcircle", "compose"],
665
- ["multimap", "multimap"],
666
- ["dualmap", "multimap.double"],
667
- ["tplus", "tiny"],
668
- ["tminus", "miny"],
669
- ["mid", "divides"],
670
- ["nmid", "divides.not"],
671
- ["wr", "wreath"],
672
- ["parallel", "parallel"],
673
- ["nhpar", "parallel.struck"],
674
- ["circledparallel", "parallel.circle"],
675
- ["equalparallel", "parallel.eq"],
676
- ["equivVert", "parallel.equiv"],
677
- ["nparallel", "parallel.not"],
678
- ["eparsl", "parallel.slanted.eq"],
679
- ["smeparsl", "parallel.slanted.eq.tilde"],
680
- ["eqvparsl", "parallel.slanted.equiv"],
681
- ["parsim", "parallel.tilde"],
682
- ["perp", "perp"],
683
- ["operp", "perp.circle"],
684
- ["diameter", "diameter"],
685
- ["Join", "join"],
686
- ["rightouterjoin", "join.r"],
687
- ["leftouterjoin", "join.l"],
688
- ["fullouterjoin", "join.l.r"],
689
- ["smashtimes", "smash"],
572
+ ["lltriangle", "triangle.stroked.bl"],
573
+ ["lnapprox", "lt.napprox"],
574
+ ["lneq", "lt.neq"],
575
+ ["lneqq", "lt.nequiv"],
576
+ ["lnsim", "lt.ntilde"],
577
+ ["longdashv", "tack.l.long"],
578
+ ["Longleftarrow", "arrow.l.double.long"],
579
+ ["longleftarrow", "arrow.l.long"],
580
+ ["Longleftrightarrow", "arrow.l.r.double.long"],
581
+ ["longleftrightarrow", "arrow.l.r.long"],
582
+ ["longleftsquigarrow", "arrow.l.long.squiggly"],
583
+ ["Longmapsfrom", "arrow.l.double.long.bar"],
584
+ ["longmapsfrom", "arrow.l.long.bar"],
585
+ ["longmapsto", "arrow.r.long.bar"],
586
+ ["Longmapsto", "arrow.r.double.long.bar"],
587
+ ["Longrightarrow", "arrow.r.double.long"],
588
+ ["longrightarrow", "arrow.r.long"],
589
+ ["longrightsquigarrow", "arrow.r.long.squiggly"],
590
+ ["looparrowleft", "arrow.l.loop"],
591
+ ["looparrowright", "arrow.r.loop"],
592
+ ["lparen", "paren.l"],
593
+ ["lParen", "paren.l.double"],
594
+ ["lrblacktriangle", "triangle.filled.br"],
595
+ ["lrtriangle", "triangle.stroked.br"],
596
+ ["ltimes", "times.l"],
597
+ ["lvzigzag", "fence.l"],
598
+ ["Lvzigzag", "fence.l.double"],
599
+ ["maltese", "maltese"],
600
+ ["mapsdown", "arrow.b.bar"],
601
+ ["mapsfrom", "arrow.l.bar"],
602
+ ["Mapsfrom", "arrow.l.double.bar"],
603
+ ["mapsto", "arrow.r.bar"],
604
+ ["Mapsto", "arrow.r.double.bar"],
605
+ ["mapsup", "arrow.t.bar"],
606
+ ["mathampersand", "amp"],
607
+ ["mathatsign", "at"],
608
+ ["mathcolon", "colon"],
609
+ ["mathcomma", "comma"],
690
610
  ["mathdollar", "dollar"],
691
- ["euro", "euro"],
611
+ ["mathexclam", "excl"],
612
+ // ['mathhyphen', 'hyph'], // \mathhyphen is not defined in standard amsmath package
613
+ ["mathoctothorpe", "hash"],
614
+ ["mathparagraph", "pilcrow"],
615
+ ["mathpercent", "percent"],
616
+ ["mathperiod", "dot.basic"],
617
+ ["mathplus", "plus"],
618
+ ["mathquestion", "quest"],
619
+ ["mathratio", "ratio"],
620
+ ["mathsection", "section"],
621
+ ["mathsemicolon", "semi"],
622
+ ["mathslash", "slash"],
692
623
  ["mathsterling", "pound"],
693
624
  ["mathyen", "yen"],
694
- ["checkmark", "checkmark"],
695
- ["maltese", "maltese"],
696
- ["clubsuit", "suit.club.filled"],
697
- ["varclubsuit", "suit.club.stroked"],
698
- ["vardiamondsuit", "suit.diamond.filled"],
699
- ["diamondsuit", "suit.diamond.stroked"],
700
- ["varheartsuit", "suit.heart.filled"],
701
- ["heartsuit", "suit.heart.stroked"],
702
- ["spadesuit", "suit.spade.filled"],
703
- ["varspadesuit", "suit.spade.stroked"],
704
- ["quarternote", "note.quarter.alt"],
705
- ["eighthnote", "note.eighth.alt"],
706
- ["twonotes", "note.eighth.beamed"],
707
- ["natural", "natural"],
708
- ["flat", "flat"],
709
- ["sharp", "sharp"],
710
- ["smblkcircle", "bullet"],
711
- ["mdlgwhtcircle", "circle.stroked"],
712
- ["mdsmwhtcircle", "circle.stroked.small"],
713
- ["lgwhtcircle", "circle.stroked.big"],
625
+ ["mdblkdiamond", "diamond.filled.medium"],
626
+ ["mdblklozenge", "lozenge.filled.medium"],
627
+ ["mdblksquare", "square.filled.medium"],
714
628
  ["mdlgblkcircle", "circle.filled"],
715
- ["mdsmblkcircle", "circle.filled.tiny"],
716
- ["vysmblkcircle", "circle.filled.small"],
717
- ["lgblkcircle", "circle.filled.big"],
718
- ["dottedcircle", "circle.dotted"],
719
- ["circledcirc", "circle.nested"],
720
- ["whthorzoval", "ellipse.stroked.h"],
721
- ["whtvertoval", "ellipse.stroked.v"],
722
- ["blkhorzoval", "ellipse.filled.h"],
723
- ["blkvertoval", "ellipse.filled.v"],
724
- ["bigtriangleup", "triangle.stroked.t"],
725
- ["bigtriangledown", "triangle.stroked.b"],
726
- ["triangleright", "triangle.stroked.r"],
727
- ["triangleleft", "triangle.stroked.l"],
728
- ["lltriangle", "triangle.stroked.bl"],
729
- ["lrtriangle", "triangle.stroked.br"],
730
- ["ultriangle", "triangle.stroked.tl"],
731
- ["urtriangle", "triangle.stroked.tr"],
732
- ["vartriangle", "triangle.stroked.small.t"],
733
- ["triangledown", "triangle.stroked.small.b"],
734
- ["smalltriangleright", "triangle.stroked.small.r"],
735
- ["smalltriangleleft", "triangle.stroked.small.l"],
736
- ["whiteinwhitetriangle", "triangle.stroked.nested"],
737
- ["trianglecdot", "triangle.stroked.dot"],
738
- ["bigblacktriangleup", "triangle.filled.t"],
739
- ["bigblacktriangledown", "triangle.filled.b"],
740
- ["blacktriangleright", "triangle.filled.r"],
741
- ["blacktriangleleft", "triangle.filled.l"],
742
- ["llblacktriangle", "triangle.filled.bl"],
743
- ["lrblacktriangle", "triangle.filled.br"],
744
- ["ulblacktriangle", "triangle.filled.tl"],
745
- ["urblacktriangle", "triangle.filled.tr"],
746
- ["blacktriangle", "triangle.filled.small.t"],
747
- ["blacktriangledown", "triangle.filled.small.b"],
748
- ["smallblacktriangleright", "triangle.filled.small.r"],
749
- ["smallblacktriangleleft", "triangle.filled.small.l"],
750
- ["mdlgwhtsquare", "square.stroked"],
751
- ["smwhtsquare", "square.stroked.tiny"],
752
- ["mdsmwhtsquare", "square.stroked.small"],
753
- ["mdwhtsquare", "square.stroked.medium"],
754
- ["lgwhtsquare", "square.stroked.big"],
755
- ["dottedsquare", "square.stroked.dotted"],
756
- ["squoval", "square.stroked.rounded"],
629
+ ["mdlgblkdiamond", "diamond.filled"],
630
+ ["mdlgblklozenge", "lozenge.filled"],
757
631
  ["mdlgblksquare", "square.filled"],
758
- ["smblksquare", "square.filled.tiny"],
759
- ["mdsmblksquare", "square.filled.small"],
760
- ["mdblksquare", "square.filled.medium"],
761
- ["lgblksquare", "square.filled.big"],
762
- ["hrectangle", "rect.stroked.h"],
763
- ["vrectangle", "rect.stroked.v"],
764
- ["hrectangleblack", "rect.filled.h"],
765
- ["vrectangleblack", "rect.filled.v"],
766
- ["pentagon", "penta.stroked"],
767
- ["pentagonblack", "penta.filled"],
768
- ["varhexagon", "hexa.stroked"],
769
- ["varhexagonblack", "hexa.filled"],
632
+ ["mdlgwhtcircle", "circle.stroked"],
770
633
  ["mdlgwhtdiamond", "diamond.stroked"],
771
- ["smwhtdiamond", "diamond.stroked.small"],
772
- ["mdwhtdiamond", "diamond.stroked.medium"],
773
- ["diamondcdot", "diamond.stroked.dot"],
774
- ["mdlgblkdiamond", "diamond.filled"],
775
- ["mdblkdiamond", "diamond.filled.medium"],
776
- ["smblkdiamond", "diamond.filled.small"],
777
634
  ["mdlgwhtlozenge", "lozenge.stroked"],
778
- ["smwhtlozenge", "lozenge.stroked.small"],
635
+ ["mdlgwhtsquare", "square.stroked"],
636
+ ["mdsmblkcircle", "circle.filled.tiny"],
637
+ ["mdsmblksquare", "square.filled.small"],
638
+ ["mdsmwhtcircle", "circle.stroked.small"],
639
+ ["mdsmwhtsquare", "square.stroked.small"],
640
+ ["mdwhtdiamond", "diamond.stroked.medium"],
779
641
  ["mdwhtlozenge", "lozenge.stroked.medium"],
780
- ["mdlgblklozenge", "lozenge.filled"],
781
- ["smblklozenge", "lozenge.filled.small"],
782
- ["mdblklozenge", "lozenge.filled.medium"],
642
+ ["mdwhtsquare", "square.stroked.medium"],
643
+ ["measeq", "eq.m"],
644
+ ["measuredangle", "angle.arc"],
645
+ ["measuredangleleft", "angle.arc.rev"],
646
+ ["measuredrightangle", "angle.right.arc"],
647
+ ["mho", "Omega.inv"],
648
+ ["mid", "divides"],
649
+ ["minus", "minus"],
650
+ ["models", "models"],
651
+ ["mp", "minus.plus"],
652
+ ["multimap", "multimap"],
653
+ /* ['mupAlpha', 'Alpha'],
654
+ ['mupalpha', 'alpha'],
655
+ ['mupBeta', 'Beta'],
656
+ ['mupbeta', 'beta'],
657
+ ['mupChi', 'Chi'],
658
+ ['mupchi', 'chi'],
659
+ ['mupDelta', 'Delta'],
660
+ ['mupdelta', 'delta'],
661
+ ['mupEpsilon', 'Epsilon'],
662
+ ['mupepsilon', 'epsilon.alt'],
663
+ ['mupEta', 'Eta'],
664
+ ['mupeta', 'eta'],
665
+ ['mupGamma', 'Gamma'],
666
+ ['mupgamma', 'gamma'],
667
+ ['mupIota', 'Iota'],
668
+ ['mupiota', 'iota'],
669
+ ['mupKappa', 'Kappa'],
670
+ ['mupkappa', 'kappa'],
671
+ ['mupLambda', 'Lambda'],
672
+ ['muplambda', 'lambda'],
673
+ ['mupMu', 'Mu'],
674
+ ['mupmu', 'mu'],
675
+ ['mupNu', 'Nu'],
676
+ ['mupnu', 'nu'],
677
+ ['mupOmega', 'Omega'],
678
+ ['mupomega', 'omega'],
679
+ ['mupOmicron', 'Omicron'],
680
+ ['mupomicron', 'omicron'],
681
+ ['mupPhi', 'Phi'],
682
+ ['mupphi', 'phi.alt'],
683
+ ['mupPi', 'Pi'],
684
+ ['muppi', 'pi'],
685
+ ['mupPsi', 'Psi'],
686
+ ['muppsi', 'psi'],
687
+ ['mupRho', 'Rho'],
688
+ ['muprho', 'rho'],
689
+ ['mupSigma', 'Sigma'],
690
+ ['mupsigma', 'sigma'],
691
+ ['mupTau', 'Tau'],
692
+ ['muptau', 'tau'],
693
+ ['mupTheta', 'Theta'],
694
+ ['muptheta', 'theta'],
695
+ ['mupUpsilon', 'Upsilon'],
696
+ ['mupupsilon', 'upsilon'],
697
+ ['mupvarepsilon', 'epsilon'],
698
+ ['mupvarkappa', 'kappa.alt'],
699
+ ['mupvarphi', 'phi'],
700
+ ['mupvarpi', 'pi.alt'],
701
+ ['mupvarrho', 'rho.alt'],
702
+ ['mupvarsigma', 'sigma.alt'],
703
+ ['mupvartheta', 'theta.alt'],
704
+ ['mupXi', 'Xi'],
705
+ ['mupxi', 'xi'],
706
+ ['mupZeta', 'Zeta'],
707
+ ['mupzeta', 'zeta'], */
708
+ ["nabla", "gradient"],
709
+ ["napprox", "approx.not"],
710
+ ["nasymp", "asymp.not"],
711
+ ["natural", "natural"],
712
+ ["ncong", "tilde.equiv.not"],
713
+ ["ne", "eq.not"],
714
+ ["nearrow", "arrow.tr"],
715
+ ["Nearrow", "arrow.tr.double"],
716
+ ["neg", "not"],
717
+ ["nequiv", "equiv.not"],
718
+ // or eq.triple.not
719
+ ["neswarrow", "arrow.tr.bl"],
720
+ ["nexists", "exists.not"],
721
+ ["ngeq", "gt.eq.not"],
722
+ ["ngtr", "gt.not"],
723
+ ["ngtrless", "gt.lt.not"],
724
+ ["ngtrsim", "gt.tilde.not"],
725
+ ["nhpar", "parallel.struck"],
726
+ ["nhVvert", "interleave.struck"],
727
+ ["ni", "in.rev"],
728
+ ["nLeftarrow", "arrow.l.double.not"],
729
+ ["nleftarrow", "arrow.l.not"],
730
+ ["nLeftrightarrow", "arrow.l.r.double.not"],
731
+ ["nleftrightarrow", "arrow.l.r.not"],
732
+ ["nleq", "lt.eq.not"],
733
+ ["nless", "lt.not"],
734
+ ["nlessgtr", "lt.gt.not"],
735
+ ["nlesssim", "lt.tilde.not"],
736
+ ["nmid", "divides.not"],
737
+ ["nni", "in.rev.not"],
738
+ ["notin", "in.not"],
739
+ ["nparallel", "parallel.not"],
740
+ ["nprec", "prec.not"],
741
+ ["npreccurlyeq", "prec.curly.eq.not"],
742
+ ["nRightarrow", "arrow.r.double.not"],
743
+ ["nrightarrow", "arrow.r.not"],
744
+ ["nsim", "tilde.not"],
745
+ ["nsimeq", "tilde.eq.not"],
746
+ ["nsqsubseteq", "subset.eq.sq.not"],
747
+ ["nsqsupseteq", "supset.eq.sq.not"],
748
+ ["nsubset", "subset.not"],
749
+ ["nsubseteq", "subset.eq.not"],
750
+ ["nsucc", "succ.not"],
751
+ ["nsucccurlyeq", "succ.curly.eq.not"],
752
+ ["nsupset", "supset.not"],
753
+ ["nsupseteq", "supset.eq.not"],
754
+ ["ntrianglelefteq", "lt.tri.eq.not"],
755
+ ["ntrianglerighteq", "gt.tri.eq.not"],
756
+ ["nvartriangleleft", "lt.tri.not"],
757
+ ["nvartriangleright", "gt.tri.not"],
758
+ ["nVdash", "forces.not"],
759
+ ["nvdash", "tack.r.not"],
760
+ ["nvDash", "tack.r.double.not"],
761
+ ["nvinfty", "infinity.bar"],
762
+ ["nwarrow", "arrow.tl"],
763
+ ["Nwarrow", "arrow.tl.double"],
764
+ ["nwsearrow", "arrow.tl.br"],
765
+ ["obrbrak", "shell.t"],
766
+ ["obslash", "backslash.circle"],
767
+ ["odiv", "div.circle"],
768
+ ["odot", "dot.circle"],
769
+ ["ogreaterthan", "gt.circle"],
770
+ ["oiiint", "integral.vol"],
771
+ ["oiint", "integral.surf"],
772
+ ["oint", "integral.cont"],
773
+ ["ointctrclockwise", "integral.cont.ccw"],
774
+ ["olessthan", "lt.circle"],
775
+ ["ominus", "minus.circle"],
776
+ ["operp", "perp.circle"],
777
+ ["oplus", "plus.circle"],
778
+ ["origof", "original"],
779
+ ["otimes", "times.circle"],
780
+ // ['overbrace', 'brace.t'],
781
+ ["overbracket", "bracket.t"],
782
+ ["overparen", "paren.t"],
783
+ ["parallel", "parallel"],
783
784
  ["parallelogram", "parallelogram.stroked"],
784
785
  ["parallelogramblack", "parallelogram.filled"],
785
- ["star", "star.op"],
786
- ["bigwhitestar", "star.stroked"],
787
- ["bigstar", "star.filled"],
786
+ ["parsim", "parallel.tilde"],
787
+ ["partial", "diff"],
788
+ ["pentagon", "penta.stroked"],
789
+ ["pentagonblack", "penta.filled"],
790
+ ["perp", "perp"],
791
+ ["Planckconst", "planck"],
792
+ ["pm", "plus.minus"],
793
+ ["prec", "prec"],
794
+ ["Prec", "prec.double"],
795
+ ["precapprox", "prec.approx"],
796
+ ["preccurlyeq", "prec.curly.eq"],
797
+ ["preceq", "prec.eq"],
798
+ ["preceqq", "prec.equiv"],
799
+ ["precnapprox", "prec.napprox"],
800
+ ["precneq", "prec.neq"],
801
+ ["precneqq", "prec.nequiv"],
802
+ ["precnsim", "prec.ntilde"],
803
+ ["precsim", "prec.tilde"],
804
+ ["prime", "prime"],
805
+ ["prod", "product"],
806
+ ["propto", "prop"],
807
+ ["QED", "qed"],
808
+ ["qprime", "prime.quad"],
809
+ ["quarternote", "note.quarter.alt"],
810
+ ["questeq", "eq.quest"],
811
+ ["Question", "quest.double"],
812
+ ["rangle", "angle.r"],
813
+ ["rAngle", "angle.r.double"],
814
+ ["rangledot", "angle.r.dot"],
815
+ ["rbrace", "brace.r"],
816
+ ["rBrace", "brace.r.double"],
817
+ ["rbrack", "bracket.r"],
818
+ ["rBrack", "bracket.r.double"],
819
+ ["rbrbrak", "shell.r"],
820
+ ["Rbrbrak", "shell.r.double"],
821
+ ["rceil", "ceil.r"],
822
+ ["rcurvyangle", "angle.r.curly"],
823
+ ["Re", "Re"],
824
+ ["revangle", "angle.rev"],
825
+ ["revemptyset", "emptyset.rev"],
826
+ ["revnmid", "divides.not.rev"],
827
+ ["rfloor", "floor.r"],
828
+ ["rightangle", "angle.right"],
829
+ ["rightanglemdot", "angle.right.dot"],
830
+ ["rightanglesqr", "angle.right.sq"],
788
831
  ["rightarrow", "arrow.r"],
789
- ["longmapsto", "arrow.r.long.bar"],
790
- ["mapsto", "arrow.r.bar"],
791
- ["rightdowncurvedarrow", "arrow.r.curve"],
832
+ ["Rightarrow", "arrow.r.double"],
833
+ ["rightarrowbar", "arrow.r.stop"],
834
+ ["rightarrowonoplus", "plus.circle.arrow"],
835
+ ["rightarrowtail", "arrow.r.tail"],
792
836
  ["rightdasharrow", "arrow.r.dashed"],
793
837
  ["rightdotarrow", "arrow.r.dotted"],
794
- ["Rightarrow", "arrow.r.double"],
795
- ["Mapsto", "arrow.r.double.bar"],
796
- ["Longrightarrow", "arrow.r.double.long"],
797
- ["Longmapsto", "arrow.r.double.long.bar"],
798
- ["nRightarrow", "arrow.r.double.not"],
799
- ["hookrightarrow", "arrow.r.hook"],
800
- ["longrightarrow", "arrow.r.long"],
801
- ["longrightsquigarrow", "arrow.r.long.squiggly"],
802
- ["looparrowright", "arrow.r.loop"],
803
- ["nrightarrow", "arrow.r.not"],
804
- ["RRightarrow", "arrow.r.quad"],
838
+ ["rightdowncurvedarrow", "arrow.r.curve"],
839
+ ["rightharpoondown", "harpoon.rb"],
840
+ ["rightharpoondownbar", "harpoon.rb.stop"],
841
+ ["rightharpoonsupdown", "harpoons.rtrb"],
842
+ ["rightharpoonup", "harpoon.rt"],
843
+ ["rightharpoonupbar", "harpoon.rt.stop"],
844
+ ["rightleftarrows", "arrows.rl"],
845
+ ["rightleftharpoons", "harpoons.rtlb"],
846
+ ["rightleftharpoonsdown", "harpoons.rblb"],
847
+ ["rightleftharpoonsup", "harpoons.rtlt"],
848
+ ["rightouterjoin", "join.r"],
849
+ ["rightrightarrows", "arrows.rr"],
805
850
  ["rightsquigarrow", "arrow.r.squiggly"],
806
- ["rightarrowbar", "arrow.r.stop"],
851
+ ["rightthreearrows", "arrows.rrr"],
852
+ ["rightthreetimes", "times.three.r"],
853
+ ["rightwavearrow", "arrow.r.wave"],
807
854
  ["rightwhitearrow", "arrow.r.stroked"],
808
- ["rightarrowtail", "arrow.r.tail"],
809
- ["similarrightarrow", "arrow.r.tilde"],
855
+ ["risingdotseq", "eq.dots.up"],
856
+ ["rparen", "paren.r"],
857
+ ["rParen", "paren.r.double"],
858
+ ["RRightarrow", "arrow.r.quad"],
810
859
  ["Rrightarrow", "arrow.r.triple"],
811
- ["twoheadmapsto", "arrow.r.twohead.bar"],
812
- ["twoheadrightarrow", "arrow.r.twohead"],
813
- ["rightwavearrow", "arrow.r.wave"],
814
- ["leftarrow", "arrow.l"],
815
- ["mapsfrom", "arrow.l.bar"],
816
- ["leftdowncurvedarrow", "arrow.l.curve"],
817
- ["leftdasharrow", "arrow.l.dashed"],
818
- ["leftdotarrow", "arrow.l.dotted"],
819
- ["Leftarrow", "arrow.l.double"],
820
- ["Mapsfrom", "arrow.l.double.bar"],
821
- ["Longleftarrow", "arrow.l.double.long"],
822
- ["Longmapsfrom", "arrow.l.double.long.bar"],
823
- ["nLeftarrow", "arrow.l.double.not"],
824
- ["hookleftarrow", "arrow.l.hook"],
825
- ["longleftarrow", "arrow.l.long"],
826
- ["longmapsfrom", "arrow.l.long.bar"],
827
- ["longleftsquigarrow", "arrow.l.long.squiggly"],
828
- ["looparrowleft", "arrow.l.loop"],
829
- ["nleftarrow", "arrow.l.not"],
830
- ["LLeftarrow", "arrow.l.quad"],
831
- ["leftsquigarrow", "arrow.l.squiggly"],
832
- ["barleftarrow", "arrow.l.stop"],
833
- ["leftwhitearrow", "arrow.l.stroked"],
834
- ["leftarrowtail", "arrow.l.tail"],
860
+ ["rsolbar", "backslash.not"],
861
+ ["rtimes", "times.r"],
862
+ ["rvzigzag", "fence.r"],
863
+ ["Rvzigzag", "fence.r.double"],
864
+ ["searrow", "arrow.br"],
865
+ ["Searrow", "arrow.br.double"],
866
+ ["setminus", "without"],
867
+ ["sharp", "sharp"],
868
+ ["shortdowntack", "tack.b.short"],
869
+ ["shortlefttack", "tack.l.short"],
870
+ ["shortuptack", "tack.t.short"],
871
+ ["sim", "tilde.op"],
872
+ ["sime", "tilde.eq"],
835
873
  ["similarleftarrow", "arrow.l.tilde"],
836
- ["Lleftarrow", "arrow.l.triple"],
837
- ["twoheadmapsfrom", "arrow.l.twohead.bar"],
838
- ["twoheadleftarrow", "arrow.l.twohead"],
839
- ["leftwavearrow", "arrow.l.wave"],
840
- ["uparrow", "arrow.t"],
841
- ["mapsup", "arrow.t.bar"],
842
- ["uprightcurvearrow", "arrow.t.curve"],
843
- ["updasharrow", "arrow.t.dashed"],
844
- ["Uparrow", "arrow.t.double"],
845
- ["UUparrow", "arrow.t.quad"],
846
- ["baruparrow", "arrow.t.stop"],
847
- ["upwhitearrow", "arrow.t.stroked"],
848
- ["Uuparrow", "arrow.t.triple"],
849
- ["twoheaduparrow", "arrow.t.twohead"],
850
- ["downarrow", "arrow.b"],
851
- ["mapsdown", "arrow.b.bar"],
852
- ["downrightcurvedarrow", "arrow.b.curve"],
853
- ["downdasharrow", "arrow.b.dashed"],
854
- ["Downarrow", "arrow.b.double"],
855
- ["DDownarrow", "arrow.b.quad"],
856
- ["downarrowbar", "arrow.b.stop"],
857
- ["downwhitearrow", "arrow.b.stroked"],
858
- ["Ddownarrow", "arrow.b.triple"],
874
+ ["similarrightarrow", "arrow.r.tilde"],
875
+ ["simneqq", "tilde.nequiv"],
876
+ ["smallblacktriangleleft", "triangle.filled.small.l"],
877
+ ["smallblacktriangleright", "triangle.filled.small.r"],
878
+ ["smallin", "in.small"],
879
+ ["smallni", "in.rev.small"],
880
+ ["smalltriangleleft", "triangle.stroked.small.l"],
881
+ ["smalltriangleright", "triangle.stroked.small.r"],
882
+ ["smashtimes", "smash"],
883
+ ["smblkcircle", "bullet"],
884
+ ["smblkdiamond", "diamond.filled.small"],
885
+ ["smblklozenge", "lozenge.filled.small"],
886
+ ["smblksquare", "square.filled.tiny"],
887
+ ["smeparsl", "parallel.slanted.eq.tilde"],
888
+ ["smt", "smt"],
889
+ ["smte", "smt.eq"],
890
+ ["smwhtdiamond", "diamond.stroked.small"],
891
+ ["smwhtlozenge", "lozenge.stroked.small"],
892
+ ["smwhtsquare", "square.stroked.tiny"],
893
+ ["spadesuit", "suit.spade.filled"],
894
+ ["sphericalangle", "angle.spheric"],
895
+ ["sphericalangleup", "angle.spheric.top"],
896
+ ["sqcap", "inter.sq"],
897
+ ["Sqcap", "inter.sq.double"],
898
+ ["sqcup", "union.sq"],
899
+ ["Sqcup", "union.sq.double"],
900
+ ["sqint", "integral.square"],
901
+ ["sqsubset", "subset.sq"],
902
+ ["sqsubseteq", "subset.eq.sq"],
903
+ ["sqsubsetneq", "subset.sq.neq"],
904
+ ["sqsupset", "supset.sq"],
905
+ ["sqsupseteq", "supset.eq.sq"],
906
+ ["sqsupsetneq", "supset.sq.neq"],
907
+ ["squoval", "square.stroked.rounded"],
908
+ ["sslash", "slash.double"],
909
+ ["star", "star.op"],
910
+ ["stareq", "eq.star"],
911
+ ["subset", "subset"],
912
+ ["Subset", "subset.double"],
913
+ ["subsetdot", "subset.dot"],
914
+ ["subseteq", "subset.eq"],
915
+ ["subsetneq", "subset.neq"],
916
+ ["succ", "succ"],
917
+ ["Succ", "succ.double"],
918
+ ["succapprox", "succ.approx"],
919
+ ["succcurlyeq", "succ.curly.eq"],
920
+ ["succeq", "succ.eq"],
921
+ ["succeqq", "succ.equiv"],
922
+ ["succnapprox", "succ.napprox"],
923
+ ["succneq", "succ.neq"],
924
+ ["succneqq", "succ.nequiv"],
925
+ ["succnsim", "succ.ntilde"],
926
+ ["succsim", "succ.tilde"],
927
+ ["sum", "sum"],
928
+ ["sumint", "sum.integral"],
929
+ ["supset", "supset"],
930
+ ["Supset", "supset.double"],
931
+ ["supsetdot", "supset.dot"],
932
+ ["supseteq", "supset.eq"],
933
+ ["supsetneq", "supset.neq"],
934
+ ["swarrow", "arrow.bl"],
935
+ ["Swarrow", "arrow.bl.double"],
936
+ ["therefore", "therefore"],
937
+ ["threedangle", "angle.spatial"],
938
+ ["threedotcolon", "colon.tri.op"],
939
+ ["tieinfty", "infinity.tie"],
940
+ ["times", "times"],
941
+ ["tminus", "miny"],
942
+ ["top", "tack.b"],
943
+ ["tplus", "tiny"],
944
+ ["trianglecdot", "triangle.stroked.dot"],
945
+ ["triangledown", "triangle.stroked.small.b"],
946
+ ["triangleleft", "triangle.stroked.l"],
947
+ ["trianglelefteq", "lt.tri.eq"],
948
+ ["triangleminus", "minus.triangle"],
949
+ ["triangleplus", "plus.triangle"],
950
+ ["triangleq", "eq.delta"],
951
+ ["triangleright", "triangle.stroked.r"],
952
+ ["trianglerighteq", "gt.tri.eq"],
953
+ ["triangletimes", "times.triangle"],
954
+ ["tripleplus", "plus.triple"],
955
+ ["trprime", "prime.triple"],
956
+ ["trslash", "slash.triple"],
859
957
  ["twoheaddownarrow", "arrow.b.twohead"],
860
- ["leftrightarrow", "arrow.l.r"],
861
- ["Leftrightarrow", "arrow.l.r.double"],
862
- ["Longleftrightarrow", "arrow.l.r.double.long"],
863
- ["nLeftrightarrow", "arrow.l.r.double.not"],
864
- ["longleftrightarrow", "arrow.l.r.long"],
865
- ["nleftrightarrow", "arrow.l.r.not"],
866
- ["leftrightsquigarrow", "arrow.l.r.wave"],
958
+ ["twoheadleftarrow", "arrow.l.twohead"],
959
+ ["twoheadmapsfrom", "arrow.l.twohead.bar"],
960
+ ["twoheadmapsto", "arrow.r.twohead.bar"],
961
+ ["twoheadrightarrow", "arrow.r.twohead"],
962
+ ["twoheaduparrow", "arrow.t.twohead"],
963
+ ["twonotes", "note.eighth.beamed"],
964
+ ["ubrbrak", "shell.b"],
965
+ ["ulblacktriangle", "triangle.filled.tl"],
966
+ ["ultriangle", "triangle.stroked.tl"],
967
+ ["uminus", "union.minus"],
968
+ ["underbrace", "brace.b"],
969
+ ["underbracket", "bracket.b"],
970
+ ["underparen", "paren.b"],
971
+ ["unicodecdots", "dots.h.c"],
972
+ ["unicodeellipsis", "dots.h"],
973
+ ["upand", "amp.inv"],
974
+ ["uparrow", "arrow.t"],
975
+ ["Uparrow", "arrow.t.double"],
976
+ ["updasharrow", "arrow.t.dashed"],
867
977
  ["updownarrow", "arrow.t.b"],
868
978
  ["Updownarrow", "arrow.t.b.double"],
869
- ["nearrow", "arrow.tr"],
870
- ["Nearrow", "arrow.tr.double"],
871
- ["hknearrow", "arrow.tr.hook"],
872
- ["searrow", "arrow.br"],
873
- ["Searrow", "arrow.br.double"],
874
- ["hksearrow", "arrow.br.hook"],
875
- ["nwarrow", "arrow.tl"],
876
- ["Nwarrow", "arrow.tl.double"],
877
- ["hknwarrow", "arrow.tl.hook"],
878
- ["swarrow", "arrow.bl"],
879
- ["Swarrow", "arrow.bl.double"],
880
- ["hkswarrow", "arrow.bl.hook"],
881
- ["nwsearrow", "arrow.tl.br"],
882
- ["neswarrow", "arrow.tr.bl"],
883
- ["acwopencirclearrow", "arrow.ccw"],
884
- ["curvearrowleft", "arrow.ccw.half"],
885
- ["cwopencirclearrow", "arrow.cw"],
886
- ["curvearrowright", "arrow.cw.half"],
887
- ["downzigzagarrow", "arrow.zigzag"],
888
- ["rightrightarrows", "arrows.rr"],
889
- ["leftleftarrows", "arrows.ll"],
890
- ["upuparrows", "arrows.tt"],
891
- ["downdownarrows", "arrows.bb"],
892
- ["leftrightarrows", "arrows.lr"],
893
- ["barleftarrowrightarrowbar", "arrows.lr.stop"],
894
- ["rightleftarrows", "arrows.rl"],
895
979
  ["updownarrows", "arrows.tb"],
896
- ["downuparrows", "arrows.bt"],
897
- ["rightthreearrows", "arrows.rrr"],
898
- ["leftthreearrows", "arrows.lll"],
899
- ["rightharpoonup", "harpoon.rt"],
900
- ["barrightharpoonup", "harpoon.rt.bar"],
901
- ["rightharpoonupbar", "harpoon.rt.stop"],
902
- ["rightharpoondown", "harpoon.rb"],
903
- ["barrightharpoondown", "harpoon.rb.bar"],
904
- ["rightharpoondownbar", "harpoon.rb.stop"],
905
- ["leftharpoonup", "harpoon.lt"],
906
- ["leftharpoonupbar", "harpoon.lt.bar"],
907
- ["barleftharpoonup", "harpoon.lt.stop"],
908
- ["leftharpoondown", "harpoon.lb"],
909
- ["leftharpoondownbar", "harpoon.lb.bar"],
910
- ["barleftharpoondown", "harpoon.lb.stop"],
911
- ["upharpoonleft", "harpoon.tl"],
912
- ["upharpoonleftbar", "harpoon.tl.bar"],
913
- ["barupharpoonleft", "harpoon.tl.stop"],
914
- ["upharpoonright", "harpoon.tr"],
915
- ["upharpoonrightbar", "harpoon.tr.bar"],
916
- ["barupharpoonright", "harpoon.tr.stop"],
917
- ["downharpoonleft", "harpoon.bl"],
918
- ["bardownharpoonleft", "harpoon.bl.bar"],
919
- ["downharpoonleftbar", "harpoon.bl.stop"],
920
- ["downharpoonright", "harpoon.br"],
921
- ["bardownharpoonright", "harpoon.br.bar"],
922
- ["downharpoonrightbar", "harpoon.br.stop"],
923
- ["leftrightharpoonupup", "harpoon.lt.rt"],
924
- ["leftrightharpoondowndown", "harpoon.lb.rb"],
925
- ["leftrightharpoondownup", "harpoon.lb.rt"],
926
- ["leftrightharpoonupdown", "harpoon.lt.rb"],
927
980
  ["updownharpoonleftleft", "harpoon.tl.bl"],
928
- ["updownharpoonrightright", "harpoon.tr.br"],
929
981
  ["updownharpoonleftright", "harpoon.tl.br"],
930
982
  ["updownharpoonrightleft", "harpoon.tr.bl"],
931
- ["rightharpoonsupdown", "harpoons.rtrb"],
932
- ["downharpoonsleftright", "harpoons.blbr"],
933
- ["downupharpoonsleftright", "harpoons.bltr"],
934
- ["leftrightharpoonsdown", "harpoons.lbrb"],
935
- ["leftharpoonsupdown", "harpoons.ltlb"],
936
- ["leftrightharpoons", "harpoons.ltrb"],
937
- ["leftrightharpoonsup", "harpoons.ltrt"],
938
- ["rightleftharpoonsdown", "harpoons.rblb"],
939
- ["rightleftharpoons", "harpoons.rtlb"],
940
- ["rightleftharpoonsup", "harpoons.rtlt"],
983
+ ["updownharpoonrightright", "harpoon.tr.br"],
941
984
  ["updownharpoonsleftright", "harpoons.tlbr"],
985
+ ["upharpoonleft", "harpoon.tl"],
986
+ ["upharpoonleftbar", "harpoon.tl.bar"],
987
+ ["upharpoonright", "harpoon.tr"],
988
+ ["upharpoonrightbar", "harpoon.tr.bar"],
942
989
  ["upharpoonsleftright", "harpoons.tltr"],
990
+ ["uplus", "union.plus"],
991
+ ["uprightcurvearrow", "arrow.t.curve"],
992
+ ["upuparrows", "arrows.tt"],
993
+ ["upwhitearrow", "arrow.t.stroked"],
994
+ ["urblacktriangle", "triangle.filled.tr"],
995
+ ["urtriangle", "triangle.stroked.tr"],
996
+ ["UUparrow", "arrow.t.quad"],
997
+ ["Uuparrow", "arrow.t.triple"],
998
+ ["varclubsuit", "suit.club.stroked"],
999
+ ["vardiamondsuit", "suit.diamond.filled"],
1000
+ ["varheartsuit", "suit.heart.filled"],
1001
+ ["varhexagon", "hexa.stroked"],
1002
+ ["varhexagonblack", "hexa.filled"],
1003
+ ["varnothing", "emptyset"],
1004
+ ["varointclockwise", "integral.cont.cw"],
1005
+ ["varspadesuit", "suit.spade.stroked"],
1006
+ ["vartriangle", "triangle.stroked.small.t"],
1007
+ ["vartriangleleft", "lt.tri"],
1008
+ ["vartriangleright", "gt.tri"],
1009
+ ["Vbar", "tack.t.double"],
1010
+ ["Vdash", "forces"],
943
1011
  ["vdash", "tack.r"],
944
- ["nvdash", "tack.r.not"],
945
- ["vlongdash", "tack.r.long"],
946
- ["assert", "tack.r.short"],
947
1012
  ["vDash", "tack.r.double"],
948
- ["nvDash", "tack.r.double.not"],
949
- ["dashv", "tack.l"],
950
- ["longdashv", "tack.l.long"],
951
- ["shortlefttack", "tack.l.short"],
952
- ["Dashv", "tack.l.double"],
953
- ["bigbot", "tack.t.big"],
954
- ["Vbar", "tack.t.double"],
955
- ["shortuptack", "tack.t.short"],
956
- ["bigtop", "tack.b.big"],
957
- ["barV", "tack.b.double"],
958
- ["shortdowntack", "tack.b.short"],
959
- ["dashVdash", "tack.l.r"],
960
- /*
961
- ['mupalpha', 'alpha'],
962
- ['mupbeta', 'beta'],
963
- ['mupchi', 'chi'],
964
- ['mupdelta', 'delta'],
965
- ['mupvarepsilon', 'epsilon'],
966
- ['mupepsilon', 'epsilon.alt'],
967
- ['mupeta', 'eta'],
968
- ['mupgamma', 'gamma'],
969
- ['mupiota', 'iota'],
970
- ['mupkappa', 'kappa'],
971
- ['mupvarkappa', 'kappa.alt'],
972
- ['muplambda', 'lambda'],
973
- ['mupmu', 'mu'],
974
- ['mupnu', 'nu'],
975
- ['mho', 'ohm.inv'],
976
- ['mupomega', 'omega'],
977
- ['mupomicron', 'omicron'],
978
- ['mupvarphi', 'phi'],
979
- ['mupphi', 'phi.alt'],
980
- ['muppi', 'pi'],
981
- ['mupvarpi', 'pi.alt'],
982
- ['muppsi', 'psi'],
983
- ['muprho', 'rho'],
984
- ['mupvarrho', 'rho.alt'],
985
- ['mupsigma', 'sigma'],
986
- ['mupvarsigma', 'sigma.alt'],
987
- ['muptau', 'tau'],
988
- ['muptheta', 'theta'],
989
- ['mupvartheta', 'theta.alt'],
990
- ['mupupsilon', 'upsilon'],
991
- ['mupxi', 'xi'],
992
- ['mupzeta', 'zeta'],
993
- ['mupAlpha', 'Alpha'],
994
- ['mupBeta', 'Beta'],
995
- ['mupChi', 'Chi'],
996
- ['mupDelta', 'Delta'],
997
- ['mupEpsilon', 'Epsilon'],
998
- ['mupEta', 'Eta'],
999
- ['mupGamma', 'Gamma'],
1000
- ['mupIota', 'Iota'],
1001
- ['mupKappa', 'Kappa'],
1002
- ['mupLambda', 'Lambda'],
1003
- ['mupMu', 'Mu'],
1004
- ['mupNu', 'Nu'],
1005
- ['mupOmega', 'Omega'],
1006
- ['mupOmicron', 'Omicron'],
1007
- ['mupPhi', 'Phi'],
1008
- ['mupPi', 'Pi'],
1009
- ['mupPsi', 'Psi'],
1010
- ['mupRho', 'Rho'],
1011
- ['mupSigma', 'Sigma'],
1012
- ['mupTau', 'Tau'],
1013
- ['mupTheta', 'Theta'],
1014
- ['mupUpsilon', 'Upsilon'],
1015
- ['mupXi', 'Xi'],
1016
- ['mupZeta', 'Zeta'],
1017
- */
1018
- ["BbbA", "AA"],
1019
- ["BbbB", "BB"],
1020
- ["BbbC", "CC"],
1021
- ["BbbD", "DD"],
1022
- ["BbbE", "EE"],
1023
- ["BbbF", "FF"],
1024
- ["BbbG", "GG"],
1025
- ["BbbH", "HH"],
1026
- ["BbbI", "II"],
1027
- ["BbbJ", "JJ"],
1028
- ["BbbK", "KK"],
1029
- ["BbbL", "LL"],
1030
- ["BbbM", "MM"],
1031
- ["BbbN", "NN"],
1032
- ["BbbO", "OO"],
1033
- ["BbbP", "PP"],
1034
- ["BbbQ", "QQ"],
1035
- ["BbbR", "RR"],
1036
- ["BbbS", "SS"],
1037
- ["BbbT", "TT"],
1038
- ["BbbU", "UU"],
1039
- ["BbbV", "VV"],
1040
- ["BbbW", "WW"],
1041
- ["BbbX", "XX"],
1042
- ["BbbY", "YY"],
1043
- ["BbbZ", "ZZ"],
1044
- ["ell", "ell"],
1045
- ["Planckconst", "planck"],
1046
- ["hslash", "planck.reduce"],
1047
- ["Angstrom", "angstrom"],
1048
- ["Re", "Re"],
1049
- ["Im", "Im"],
1050
- ["imath", "dotless.i"],
1051
- ["jmath", "dotless.j"]
1013
+ ["vdots", "dots.v"],
1014
+ ["vee", "or"],
1015
+ ["Vee", "or.double"],
1016
+ ["veedot", "or.dot"],
1017
+ ["veeeq", "eq.equi"],
1018
+ ["vert", "bar.v"],
1019
+ ["Vert", "bar.v.double"],
1020
+ ["vlongdash", "tack.r.long"],
1021
+ ["vrectangle", "rect.stroked.v"],
1022
+ ["vrectangleblack", "rect.filled.v"],
1023
+ ["Vvert", "bar.v.triple"],
1024
+ ["vysmblkcircle", "circle.filled.small"],
1025
+ ["vysmwhtcircle", "circle.stroked.tiny"],
1026
+ // or compose
1027
+ ["wedge", "and"],
1028
+ ["Wedge", "and.double"],
1029
+ ["wedgedot", "and.dot"],
1030
+ ["wedgeq", "eq.est"],
1031
+ ["whiteinwhitetriangle", "triangle.stroked.nested"],
1032
+ ["whthorzoval", "ellipse.stroked.h"],
1033
+ ["whtvertoval", "ellipse.stroked.v"],
1034
+ ["wideangledown", "angle.oblique"],
1035
+ ["wr", "wreath"],
1036
+ ["xsol", "slash.big"]
1037
+ ]);
1038
+ var texAliasMap = /* @__PURE__ */ new Map([
1039
+ ["gets", "leftarrow"],
1040
+ ["iff", "Longleftrightarrow"],
1041
+ ["implies", "Longrightarrow"]
1052
1042
  ]);
1053
1043
  for (const [key, value] of map_from_official_docs) {
1054
1044
  if (!symbolMap.has(key)) {
@@ -1073,6 +1063,11 @@ var typst_to_tex_map = /* @__PURE__ */ new Map([
1073
1063
  for (const [key, value] of typst_to_tex_map) {
1074
1064
  reverseSymbolMap.set(key, value);
1075
1065
  }
1066
+ for (const [key, value] of texAliasMap) {
1067
+ if (!symbolMap.has(key)) {
1068
+ symbolMap.set(key, symbolMap.get(value));
1069
+ }
1070
+ }
1076
1071
 
1077
1072
  // src/generic.ts
1078
1073
  function array_find(array, item, start = 0) {
@@ -1670,6 +1665,16 @@ var BINARY_COMMANDS = [
1670
1665
  "tbinom",
1671
1666
  "overset"
1672
1667
  ];
1668
+ var IGNORED_COMMANDS = [
1669
+ "bigl",
1670
+ "bigr",
1671
+ "biggl",
1672
+ "biggr",
1673
+ "Bigl",
1674
+ "Bigr",
1675
+ "Biggl",
1676
+ "Biggr"
1677
+ ];
1673
1678
  var EMPTY_NODE = new TexNode("empty", "");
1674
1679
  function get_command_param_num(command) {
1675
1680
  if (UNARY_COMMANDS.includes(command)) {
@@ -1763,7 +1768,36 @@ var rules_map = /* @__PURE__ */ new Map([
1763
1768
  [String.raw`\s+`, (s) => new TexToken(4 /* SPACE */, s.text())],
1764
1769
  [String.raw`\\[\\,:;]`, (s) => new TexToken(6 /* CONTROL */, s.text())],
1765
1770
  [String.raw`\\[{}%$&#_|]`, (s) => new TexToken(0 /* ELEMENT */, s.text())],
1766
- [String.raw`\\[a-zA-Z]+`, (s) => new TexToken(1 /* COMMAND */, s.text())],
1771
+ [String.raw`(\\[a-zA-Z]+)(\s*\d|\s+[a-zA-Z])\s*([0-9a-zA-Z])`, (s) => {
1772
+ const text = s.text();
1773
+ const regex = RegExp(String.raw`(\\[a-zA-Z]+)(\s*\d|\s+[a-zA-Z])\s*([0-9a-zA-Z])`);
1774
+ const match = text.match(regex);
1775
+ assert(match !== null);
1776
+ const command = match[1];
1777
+ const arg1 = match[2].trimStart();
1778
+ const arg2 = match[3];
1779
+ return [
1780
+ new TexToken(1 /* COMMAND */, command),
1781
+ new TexToken(0 /* ELEMENT */, arg1),
1782
+ new TexToken(0 /* ELEMENT */, arg2)
1783
+ ];
1784
+ }],
1785
+ [String.raw`(\\[a-zA-Z]+)(\s*\d|\s+[a-zA-Z])`, (s) => {
1786
+ const text = s.text();
1787
+ const regex = RegExp(String.raw`(\\[a-zA-Z]+)(\s*\d|\s+[a-zA-Z])`);
1788
+ const match = text.match(regex);
1789
+ assert(match !== null);
1790
+ const command = match[1];
1791
+ const arg1 = match[2].trimStart();
1792
+ return [
1793
+ new TexToken(1 /* COMMAND */, command),
1794
+ new TexToken(0 /* ELEMENT */, arg1)
1795
+ ];
1796
+ }],
1797
+ [String.raw`\\[a-zA-Z]+`, (s) => {
1798
+ const command = s.text();
1799
+ return [new TexToken(1 /* COMMAND */, command)];
1800
+ }],
1767
1801
  [String.raw`[0-9]+`, (s) => new TexToken(0 /* ELEMENT */, s.text())],
1768
1802
  [String.raw`[a-zA-Z]`, (s) => new TexToken(0 /* ELEMENT */, s.text())],
1769
1803
  [String.raw`[+\-*/='<>!.,;:?()\[\]|]`, (s) => new TexToken(0 /* ELEMENT */, s.text())],
@@ -1876,6 +1910,9 @@ var LatexParser = class {
1876
1910
  }
1877
1911
  }
1878
1912
  parseNextExprWithoutSupSub(tokens, start) {
1913
+ if (start >= tokens.length) {
1914
+ return [EMPTY_NODE, start];
1915
+ }
1879
1916
  const firstToken = tokens[start];
1880
1917
  switch (firstToken.type) {
1881
1918
  case 0 /* ELEMENT */:
@@ -1888,6 +1925,10 @@ var LatexParser = class {
1888
1925
  case 5 /* NEWLINE */:
1889
1926
  return [new TexNode("whitespace", firstToken.value), start + 1];
1890
1927
  case 1 /* COMMAND */:
1928
+ const commandName = firstToken.value.slice(1);
1929
+ if (IGNORED_COMMANDS.includes(commandName)) {
1930
+ return this.parseNextExprWithoutSupSub(tokens, start + 1);
1931
+ }
1891
1932
  if (firstToken.eq(BEGIN_COMMAND)) {
1892
1933
  return this.parseBeginEndExpr(tokens, start);
1893
1934
  } else if (firstToken.eq(LEFT_COMMAND)) {
@@ -1948,7 +1989,7 @@ var LatexParser = class {
1948
1989
  throw new LatexParserError("No matching right square bracket for [");
1949
1990
  }
1950
1991
  const [exponent, _] = this.parseGroup(tokens, posLeftSquareBracket + 1, posRightSquareBracket);
1951
- const [arg12, newPos2] = this.parseNextExprWithoutSupSub(tokens, posRightSquareBracket + 1);
1992
+ const [arg12, newPos2] = this.parseNextArg(tokens, posRightSquareBracket + 1);
1952
1993
  return [new TexNode("unaryFunc", command, [arg12], exponent), newPos2];
1953
1994
  } else if (command === "\\text") {
1954
1995
  if (pos + 2 >= tokens.length) {
@@ -1960,18 +2001,41 @@ var LatexParser = class {
1960
2001
  const text = tokens[pos + 1].value;
1961
2002
  return [new TexNode("text", text), pos + 3];
1962
2003
  }
1963
- let [arg1, newPos] = this.parseNextExprWithoutSupSub(tokens, pos);
2004
+ let [arg1, newPos] = this.parseNextArg(tokens, pos);
1964
2005
  return [new TexNode("unaryFunc", command, [arg1]), newPos];
1965
2006
  }
1966
2007
  case 2: {
1967
- const [arg1, pos1] = this.parseNextExprWithoutSupSub(tokens, pos);
1968
- const [arg2, pos2] = this.parseNextExprWithoutSupSub(tokens, pos1);
2008
+ const [arg1, pos1] = this.parseNextArg(tokens, pos);
2009
+ const [arg2, pos2] = this.parseNextArg(tokens, pos1);
1969
2010
  return [new TexNode("binaryFunc", command, [arg1, arg2]), pos2];
1970
2011
  }
1971
2012
  default:
1972
2013
  throw new Error("Invalid number of parameters");
1973
2014
  }
1974
2015
  }
2016
+ /*
2017
+ Extract a non-space argument from the token stream.
2018
+ So that `\frac{12} 3` is parsed as
2019
+ TexCommand{ content: '\frac', args: ['12', '3'] }
2020
+ rather than
2021
+ TexCommand{ content: '\frac', args: ['12', ' '] }, TexElement{ content: '3' }
2022
+ */
2023
+ parseNextArg(tokens, start) {
2024
+ let pos = start;
2025
+ let arg = null;
2026
+ while (pos < tokens.length) {
2027
+ let node;
2028
+ [node, pos] = this.parseNextExprWithoutSupSub(tokens, pos);
2029
+ if (node.type !== "whitespace") {
2030
+ arg = node;
2031
+ break;
2032
+ }
2033
+ }
2034
+ if (arg === null) {
2035
+ throw new LatexParserError("Expecting argument but token stream ended");
2036
+ }
2037
+ return [arg, pos];
2038
+ }
1975
2039
  parseLeftRightExpr(tokens, start) {
1976
2040
  assert(tokens[start].eq(LEFT_COMMAND));
1977
2041
  let pos = start + 1;
@@ -2208,7 +2272,6 @@ var TypstWriter = class {
2208
2272
  no_need_space ||= /[^=]$/.test(this.buffer) && str === "(";
2209
2273
  no_need_space ||= /^[_^,;!]$/.test(str);
2210
2274
  no_need_space ||= str === "'";
2211
- no_need_space ||= /[0-9]$/.test(this.buffer) && /^[0-9]/.test(str);
2212
2275
  no_need_space ||= /[\(\[{]\s*(-|\+)$/.test(this.buffer) || this.buffer === "-" || this.buffer === "+";
2213
2276
  no_need_space ||= str.startsWith("\n");
2214
2277
  no_need_space ||= this.buffer === "";
@@ -3494,6 +3557,7 @@ function typst2tex(typst) {
3494
3557
  return writer.finalize();
3495
3558
  }
3496
3559
  export {
3560
+ shorthandMap,
3497
3561
  symbolMap,
3498
3562
  tex2typst,
3499
3563
  typst2tex