benetech / MathShare

MIT License
9 stars 3 forks source link

\triangle producing a different symbol #91

Closed NSoiffer closed 6 years ago

NSoiffer commented 6 years ago

Type \triangle followed by enter and you get ≜ (\triangleq).

This is a mathlive bug caused by using the larger text sequence

NSoiffer commented 6 years ago

If you use up/down arrow, you can select from a list of options, on which is triangle. Not that easily discoverable, so other options need to be considered.

arnog commented 6 years ago

A solution for this would be to define an inline shortcut using config.inlineShortcuts:{'triangle': '\\triangle'} so that just typing triangle (and not \triangle) would result in the triangle symbol appearing.