TeX Command vs Macro?

what is the difference between a tex command and a tex macro?

What is the difference between ‘macro’ and ‘command’?

  • It seems, in the TeXbook the term “command” is used when the focus is on that stage where the programmer produces/delivers/types whatsoever .tex-input.
  • It seems, in the TeXbook the terms “token” and “macro” are used when the focus is on that stage where the TeX-program does process the .tex-input.
  • In TeX macros are always defined by \def and its variants such as \edef. LaTeX definition commands such as \newcommand are themselves macros that ultimately result in an application of \def to define a macro.

What are (TeX) macros
Introduction to Macros in Latex

Leave a Reply

Your email address will not be published. Required fields are marked *