Peter Haine recently made me aware of the possibility of using a text expander to conveniently type unicode characters like ฮ , โŸถ and ๐’ž by typing things like :Pi:, :to: and :scC:.

After a quick search for available options, I decided to give espanso a try.

While the official package hub offers some packages with snippets relevant to mathematicians, I wasn’t really satisfied with any of the available options and instead started adding all the symbols I might need manually.

demonstration

demo

supported symbols

Currently, I implemented snippets for stuff like the following:

TypeExamplesTypeExample
mathbf๐€, ๐, ๐‚, …greek lettersฮณ, ฮ“, ฮด, ฮ”, …
mathcal๐“, ๐“‘, ๐“’, …subscriptsXโ‚, Xโ‚, …
mathsf๐– , ๐–ก, ๐–ข, …superscriptsXแตƒ, Xยน, …
mathsc๐’œ, ๐’ž, ๐’Ÿ, …various arrowsโŸถ, โ† , โฎฉ, โ‡‰, โ‡ถ, …
mathbb๐”ธ, ๐”น, โ„‚, …miscellaneousโˆž, ร—, โˆฉ, โˆช, …

tholzschuh-maths

In case you want to try it for yourself, I packaged the whole thing and published it as the tholzschuh-maths extension on the package hub.

A detailed overview of all available snippets can be found in the README file.

To install the extension, simply type espanso install tholzschuh-maths in a terminal (which of course requires that you’ve already installed espanso itself).

contributing

If you’d like to have other mathematical symbols supported or have anything else to report, either contact me or submit a pull request at the GitHub repo.

Enjoy!