When LATEX2e processes an input file, it expects it to follow a
certain structure. Thus every input file must start with the
command
This specifies what sort of document you intend to write. After that,
you can include commands that influence the style of the whole
document, or you can load packages that add new
features to the LATEX system. To load such a package you use the
command
When all the setup work is done,3.5 you start the body of the text with the command
Now you enter the text mixed with some useful LATEX commands. At
the end of the document you add the
command, which tells LATEX to call it a day. Anything that
follows this command will be ignored by LATEX.
Figure
shows the contents of a minimal LATEX2e file. A
slightly more complicated input file is given in
Figure
.