Stanford University School of Earth Science
 
Home
News
New Users
Policies
Network File Server
Web Server
Get Help
Net Connections
Your Macintosh
Your Windows PC
Your Unix/Linux System
Other School Resources
Using Unix
   Overview
   Documentation
   Accounts
   Using the Shell
   Using X-Windows
   File Manipulation
   Net Commands
   Editing Text
   Formatting Text
   Printing
   Filters & Utilities
   Programming

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
 

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

\documentstyle{stylename}
\begin{document}
\end{document}

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?

Stanford University    |