When reading mathematics books, there are often different fonts for indicating concepts such as sets and algebraic structures. In Lean 4 using VSCode:
\bn
produces the unicode ℕ representing natural numbers.
\bC
produces ℂ representing complex numbers.
(but it's not complete. e.g. \bx
does not produce a similar font).
The question is:
Are there other escape sequences that systematically generate different mathematical fonts?
If not, how to enter them in Lean 4?
-- Update --
I understand that this is a VSCode mechanism (for entering math symbols therein). And I have now added a vscode
tag. But my question is whether there are some rules in those escape sequences. For example, In addition to \bn
, \bc
etc., there is also
\MCP for 𝓟
\MCC for 𝓒
etc.
What I am asking is whether there are known rules in naming these escape sequences (specifically for the math types). Or does one have to enumerate via "Lean 4: Docs: Show Unicode Input Abbreviations", and reverse engineer to figure out?
\->
and\u=
). What do you expect beyond this? $\endgroup$