1

I'm looking for a reference of the control sequences defined in Latex and plain Tex similar to this one for the build-in primitives.

The Texbook states that there are about 600 macros in plain Tex. How many are defined in the Latex format?

Many thanks in advance!

closed as too broad by Joseph Wright Aug 2 '14 at 22:17

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 2
    As control sequences can be defined at point of use, it's not really possible to give a definitive list of control sequences. That's true for plain but even more so for LaTeX. Perhaps you could give us an idea of the target here? – Joseph Wright Feb 20 '14 at 12:06
  • 1
    I don't know how extensive this is, but I guess ctan.org/pkg/latex2e-help-texinfo could be of interest. – Torbjørn T. Feb 20 '14 at 12:14
  • 1
    @jules well it's not completely wrong but after making a certain number of definitions they are dumped (using \dump0 into a format which is basically a binary dump of the internal memory state at that point. but when you go \documentclass{article} \documentclass is defined in the format but it then inputs article.cls which defines loads more commands at that time including all the common sectioning commands. – David Carlisle Feb 20 '14 at 12:51
  • 2
    A literal answering of your question would need to document internal commands like \@err@                                                                 % (with that many spaces in its name:-) but not top level user commands like \section that isn't really possible in a "quick reference" so the only answer is to read the documented sources, texdoc source2e in texlive at least. – David Carlisle Feb 20 '14 at 12:52
  • 2
    @jules LaTeX doesn't load the plain TeX format, although LaTeX2e does define many of the plain commands (not all, though). You also need to watch the fact that commands can be redefined: LaTeX's \end is very different from the \end primitive! (The latter is saved by LaTex2e as \@@end) – Joseph Wright Feb 20 '14 at 13:02