I would like to find a table of Unicode characters mapped to LaTeX commands. Specifically everything here mapped to the unicode equivalent.

I found a partial list here but it doesn't include many basic ones such as Æ as \AE.

So to rephrase the related questions, I'm wondering how I could iterate through all the commands in a package and print out the symbols and their Unicode equivalents myself. Or if it can't print the Unicode code for the symbol (like U+0000), then just printing the actual character enough so that I can copy-paste it into a text file out from the PDF, and then I can just write some code to transform it to the Unicode equivalent.

But basically I would like to generate a big list of all the commands from that pdf, and their either symbol form or Unicode form.

  • you could start with /usr/local/texlive/2019/texmf-dist/tex/latex/unicode-math/unicode-math-table.tex (or an equivalent place on your installation) – David Carlisle Jun 5 at 15:19
  • Not really sure what that means. cat /usr/local/texlive/2019/texmf-dist/tex/latex/unicode-math/unicode-math-tble.tex cat: /usr/local/texlive/2019/texmf-dist/tex/latex/unicode-math/unicode-math-table.tex: No such file or directory – Lance Pollard Jun 5 at 15:21
  • Do you have a full TL distribution? – Alan Munn Jun 5 at 15:32
  • do you have unicode-math package installed? the file is part of that. the full path is just the default texlive location – David Carlisle Jun 5 at 15:35
  • \alpha is not even listed in that package, I am looking for more than just that. ctan.org/tex-archive/macros/latex/contrib/unicode-math – Lance Pollard Jun 16 at 18:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.