In LaTeX, you can use \char` followed by a symbol to get that symbol. For example \char`b or \char`\b would just yield the letter b.
- Which symbols/letters does that work for? Two cases I've found that yield different symbols are
\char`{and\char`}. Is there any sort of reason why those two don't work the way you would think? - Why does this happen in the first place? Just typing out
`bdoesn't give you anything special, so why does it work in the context of a\char? - Why is the backslash ignored in things like
\char`\_when there's a valid command for\_?
I'm still new to LaTeX and it's hard to Google symbol-related stuff like this, so that's why I'm asking here. Thanks in advance.
\charis not a latex command and shouldn't be used in documents, the latex version is\symbolwhich takes a standard latex brace syntax so\symbol{\b}or\symbol{64}` or whatever. – David Carlisle Nov 22 '17 at 17:03