AZ logo

Package optional:
Facilitate optional printing of parts of a document.

Optional provides simple, flexible, optional compilation of LaTeX documents. Option switches may be given via package options, by the \UseOption command, or interactively via the \AskOption command (help text may be provided, by defining the \ExplainOptions command).

The package is not robust, in the way that comment package is, against ill-behaved text. In particular, verbatim text may not be directly included in optional sections (whether they're included or not).

Getting it

If possible, get this package from your distribution using its installation manager. (For installation help, click on your distribution's name.)

Distribution Package name
MiKTeX optional
TeX Live optional

You can also visit optional's CTAN directory to browse the source or download the material for installation by hand.

More

Documentation on CTAN
Package documentation
Documentation off CTAN -none known-
Maintainers
Donald Arseneau
Version 2.2b
License LaTeX Project Public License
Related packages -none recorded-
Keywords
macro programming
Characterizations
primary:
Programming in TeX > Programming structures

You can suggest changes to the keywords and characterizations and the maintainer information.

You can get information about any package.