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).
|Licenses||The LaTeX Project Public License|
|Contained in||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
- ifthen: Conditional commands in LaTeX documents
- xcomment: Allows selected environments to be included/excluded
- comment_io: A Python script to comment and uncomment lines