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