Up: Document classes


3.1 Document class options

You can specify so-called global options or class options to the \documentclass command by enclosing them in square brackets as usual. To specify more than one option, separate them with a comma:

     \documentclass[option1,option2,...]{class}

Here is the list of the standard class options.

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

     10pt  11pt  12pt

All of the standard classes accept these options for selecting the paper size (default is letterpaper):

     a4paper a5paper b5paper executivepaper legalpaper letterpaper

Miscellaneous other options:

draft, final
mark/do not mark overfull boxes with a big black box; default is final.
fleqn
Put displayed formulas flush left; default is centered.
landscape
Selects landscape format; default is portrait.
leqno
Put equation numbers on the left side of equations; default is the right side.
openbib
Use “open” bibliography format.
titlepage, notitlepage
Specifies whether the title page is separate; default depends on the class.

These options are not available with the slides class:

onecolumn
twocolumn
Typeset in one or two columns; default is onecolumn.
oneside
twoside
Selects one- or two-sided layout; default is oneside, except for the book class.

The \evensidemargin (\oddsidemargin parameter determines the distance on even (odd) numbered pages between the left side of the page and the text's left margin. The defaults vary with the paper size and whether one- or two-side layout is selected. For one-sided printing the text is centered, for two-sided, \oddsidemargin is 40% of the difference between \paperwidth and \textwidth with \evensidemargin the remainder.

openright
openany
Determines if a chapter should start on a right-hand page; default is openright for book.

The slides class offers the option clock for printing the time at the bottom of each note.

Additional packages are loaded like this:

     \usepackage[options]{pkg}

To specify more than one pkg, you can separate them with a comma, or use multiple \usepackage commands.

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