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.
- versions: Optionally omit pieces of text
- version: Conditionally include text
- comment-pln: Comment macros for use in Plain TeX
- tagging: Document configuration with tags