Y
Hacker News
new
|
ask
|
show
|
jobs
by
prisonguard
1159 days ago
thank you for explaining, but do i need a special keyboard just to type out the natural number type?
2 comments
deadbeef57
1159 days ago
No, you can just type `\nat` and the Lean extension in VScode will turn it into `ℕ`. Similarly, you can type many LaTeX macros, and the will render in unicode. Examples: `\times` becomes `×` and `\to` becomes `→`, etc...
link
nodogoto
1159 days ago
No, you just type \N. You can also use `nat` instead if you prefer.
link