ifdraft – Detect “draft” and “final” class options
The package defines commands that switch according to the prevailing ‘draft’ or ‘final’ options; each command takes two arguments, the first for the ‘true’, the second for the ‘false’ case. Commands are:
- \ifdraft determines whether we're operating in draft (‘true’) or final mode;
- \ifoptiondraft determines whether a ‘draft’ option has been given; and
- \ifoptionfinal determines whether a ‘final’ option has been given.
Sources | /macros/latex/contrib/oberdiek/ifdraft.dtx |
Documentation | |
Version | 1.4 2016-05-16 |
Licenses | The LaTeX Project Public License 1.3 |
Copyright | 1999, 2005, 2006, 2008 Heiko Oberdiek |
Maintainer | Heiko Oberdiek |
TDS archive | oberdiek.tds.zip |
Contained in | TeX Live as oberdiek MiKTeX as oberdiek |
Topics | Environment query |
Announcements
Suggestions
Maybe you are interested in the following packages as well.
Community Comments