computersci.org
Print     Recent Changes     Search    
Home




LaTeX Reference Manual


Document Classes

« Overview | Table of Contents | Letter Class »
Valid LaTeX document classes include:

  • article
  • book
  • letter
  • report
  • slides

Other document classes are often available. See Overview for details. They are selected with the following command:

    \documentclass [options] {class}

Typeface Size

All the standard classes (except slides) accept the following options for selecting the typeface size (10 pt is default):

    10pt, 11pt, 12pt

Paper Size

All classes accept these options for selecting the paper size (default is letter):

    a4paper, a5paper, b5paper, letterpaper, legalpaper, executivepaper

Other Options

Miscellaneous options (* indicates that this option is not available with the slides class):

landscape
selects landscape format. Default is portrait.
oneside, twoside
selects one- or twosided layout. Default is oneside, except for the book class.
titlepage, notitlepage
selects if there should be a separate title page.
openright, openany
determines if a chaper should start on a right-hand page. Default is openright for book.
onecolumn, twocolumn
one or two columns. Defaults to one column.
leqno
equation number on left side of equations. Default is right side.
fleqn
displayed formulas flush left. Default is centered.
openbib
use “open” bibliography format.
draft, final
mark/do not mark overfull boxes with a rule. Default is final.
clock
available in slides class for printing the time at the bottom of each note.

If you specify more than one option, they must be separated by a comma. The slides class offers the option clock for printing the time at the bottom of each note.

Packages

Additional packages are loaded by a

    \usepackage[options]{pkg}

command. If you specify more than one package, they must be separated by a comma.

Any options given in the \documentclass command that are unknown by the selected document class are passed on to the packages loaded with \usepackage.

« Overview | Table of Contents | Letter Class »

Page last modified on February 24, 2009, at 09:21 AM