What is the unicode for the number i, the imaginary unit of the complex numbers

Er? How do I type in the imaginary unit in Julia code as an unicode character? Also how do I type it in program Textedit in normal Mac text document?

The number i, the imaginary unit of the complex numbers.

PS: I want to type it in as a single character not “im”

You can use \iti<tab> = im for the italic i.

Or just i = im if you want the regular one.

1 Like

Make sure to use const i=im for performance reasons.

3 Likes

unicode u+1d456 𝑖

on the Mac
CTRL-COMMAND-SPACE u+1d456 DOWNARROW ENTER