next up previous
Next: Other Things to Look Up: Simple Text Previous: LATEX Commands

Overall structure

There are some LATEX commands that must appear in every document. The actual text of the document always starts with a \begin{document} command and ends with an \end{document} command (see lines 10 and 39). Anything that comes after the \end{document} command is ignored. Everything that comes before the \begin{document} command is called the preamble. The preamble can only contain LATEX commands to describe the document's style.

One command that must appear in the preamble is the \documentstyle command (see line 9). This command specifies the overall style for the document. Our example file is a simple technical document, and uses the article style, modified to print in eleven-point type on A4 paper. There are other styles that you can use, as you will find out later on in this document.

Kevin Cooper 2002-03-01