next up previous
Next: Samples of working LATEX Up: An introduction to TEX Previous: The suite of tools

Anatomy of a LATEX Document

Basic structure of a LATEX document

\documentclass[options]{class}
Preamble commands, if needed

\begin{document}
Document text & commands here

\begin{environment1}
Environment 1 commands & text here
\end{environment1}

More document text & commands here

\begin{environment2}
Environment 2 commands \& text here
\end{environment2}

\end{document}

Some useful options:

Common constructs in articles or documents:


next up previous
Next: Samples of working LATEX Up: An introduction to TEX Previous: The suite of tools
David Wood 2007-06-25