Required parts of a LaTeX input file

Last revision August 3, 2004

Table of Contents:
  1. Features of LaTeX
  2. Basic layout of a LaTeX document
  3. Required parts of a LaTeX input file
  4. Basic LaTeX topics
    1. LaTeX environments
    2. LaTeX modes
    3. Special symbols in the input file.
    4. Running LaTeX
  5. LaTeX by example
  6. LaTeX Frequent Questions

A few commands MUST appear in every LaTeX input file in a certain order. They are:


The documentstyle has a required argument stylename to select an overall typesetting style for the document; the one you normally use is article (there are also book, report, letter, and memo). It also has an optional argument to select 11pt or 12pt normal type size (10pt is the default size).

Between the \documentstyle and \begin{document} commands you can place commands that will affect the environment of the entire document, such as changes to margin widths.

The actual text of your document and associated commands go between the \begin{document} and \end{document} commands.

Comments or Questions?