Introduction to LaTeX macros |
In computer jargon, a macro
is just a shorthand command that abbreviates a more complicated
sequence of commands. For example, LaTeX's \section
macro encodes instructions to leave some vertical space, to
increment the section number counter, and to format a section
heading.
Like any self-respecting programming language, LaTeX lets
you define your own macros. LaTeX has a \newcommand
command that you can use to
define personal macros.
Introduction to LaTeX macros |