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).
The LaTeX Project Public License
|Contained in||TeX Live as optional|
|MiKTeX as optional|
editor’s marks, highlights, etc.
Download the contents of this package in one zip archive (290.6k).
Maybe you are interested in the following packages as well.
- codesection: Provides an environment that may be conditionally included
- version: Conditionally include text
- xifthen: Extended conditional commands
- ifthenx: Extra tests for \ifthenelse