Stream: helpdesk (published)

Topic: List of legal LaTeX symbols for variables in Pluto


view this post on Zulip Peter Goodall (Jul 20 2021 at 01:44):

The Julia documentation https://docs.julialang.org/en/v1/manual/variables/ says "In the Julia REPL and several other Julia editing environments, you can type many Unicode math symbols by typing the backslashed LaTeX symbol name followed by tab."
How do I find a list of supported symbols and their expressions?
I tried \ddot{x} which failed.

view this post on Zulip Rein Zustand (Jul 20 2021 at 02:50):

You can do x<tab>\ddot.

view this post on Zulip Brenhin Keller (Jul 20 2021 at 02:53):

Or x\ddot<tab>

view this post on Zulip Brenhin Keller (Jul 20 2021 at 02:54):

assuming you want

view this post on Zulip Brenhin Keller (Jul 20 2021 at 02:54):

You can get a complete list by just typing \<tab>

view this post on Zulip Brenhin Keller (Jul 20 2021 at 02:55):

But it's a long list!

view this post on Zulip Brenhin Keller (Jul 20 2021 at 02:55):

Zulip won't even let me paste the whole thing

view this post on Zulip Brenhin Keller (Jul 20 2021 at 02:56):

in any case, it's usually more useful to start typing \ and then _something_ you think is likely, and then hit <tab> twice to see the available options matching what you've typed so far

view this post on Zulip Peter Goodall (Jul 20 2021 at 05:23):

Brenhin Keller said:

Or x\ddot<tab>

Thanks Brenhin - isn't that beautiful!

view this post on Zulip Brenhin Keller (Jul 20 2021 at 05:39):

My favorite trick is if you have a unicode symbol you want to type but don't know how, you can paste it into the Julia help?> prompt and it'll tell you how to type it!

help?> 
"ẍ" can be typed by x\ddot<tab>

search:
...

view this post on Zulip Frederik Banning (Jul 20 2021 at 08:06):

Peter Goodall said:

How do I find a list of supported symbols and their expressions?

Your question was already answered but just in case you're searching for sth again, have a look at this (rather long) list which is easily searchable via your browser's search feature (unlike the REPL output of \<tab>): https://docs.julialang.org/en/v1/manual/unicode-input/

view this post on Zulip cormullion (Jul 20 2021 at 09:26):

using REPL; REPL.symbols_latex could probably be made searchable with a little effort


Last updated: Dec 28 2024 at 04:38 UTC