0

I am looking for a list of all commands available in LaTeX 2e, commands available without packages. I am creating a parser for latex therefore I need to know all commands and the corresponding arguments. For instance:

\newcommand{name}[num]{definition}

I searched for a long time and didn't find such a list.

3
  • Welcome to TeX - LaTeX! This is non-trivial. Some commands define other commands, etc., perhaps depending on arguments passed to them. I think the short answer is: no. May 22, 2018 at 22:07
  • 2
    The LaTeX manual, ISBN 978-0201529838; The LaTeX Companion, ISBN 978-0201362992.
    – egreg
    May 22, 2018 at 22:09
  • You can start with the documented source source2e of LaTeX and the source itself latex.ltx. Both come in handy to learn LaTeX's inner workings. But there are lots of commands that define other commands, and there are TeX primitives, so Andrew's answer sums the situation pretty well... May 22, 2018 at 22:10

0

Browse other questions tagged .