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
supported symbols
Currently, I implemented snippets for stuff like the following:
Type | Examples | Type | Example |
---|---|---|---|
mathbf | ๐, ๐, ๐, … | greek letters | ฮณ, ฮ, ฮด, ฮ, … |
mathcal | ๐, ๐, ๐, … | subscripts | Xโ, Xโ, … |
mathsf | ๐ , ๐ก, ๐ข, … | superscripts | Xแต, 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!