next up previous contents
Next: Standard classes Up: Classes and packages Previous: What are classes and

Class and package options

In LaTeX 2.09, only document styles could have options such as twoside or draft. In LaTeX2e, both classes and packages are allowed to have options. For example, to specify a two-sided article with graphics using the dvips driver, you write:

It is possible for packages to share common options. For example, you could, in addition, load the color package by specifying:
But because \usepackage allows more than one package to be listed, this can be shortened to:
In addition, packages will also use each option given to the \documentclass command (if they know what to do with it), so you could also write:
Class and package options are covered in more detail in The LaTeX Companion and in LaTeX2e for Class and Package Writers.

Rainer Schoepf
Thu Jul 31 16:46:28 MEST 1997