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.
- comment-pln: Comment macros for use in Plain TeX
- multiaudience: Several versions of output from the same source
- xifthen: Extended conditional commands
- ifthen: Conditional commands in LaTeX documents