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
|TeX Live as optional
MiKTeX as optional
Download the contents of this package in one zip archive (290.6k).
Maybe you are interested in the following packages as well.
- version: Conditionally include text
- hideanswer: Generate documents with and without answers by toggling a switch
- conditext: Define and manage conditional content
- ifthenx: Extra tests for \ifthenelse