CTAN Comprehensive TeX Archive Network

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
Version1.4 2016-05-16
LicensesThe Project Public License 1.3
Copyright1999, 2005, 2006, 2008 Heiko Oberdiek
MaintainerThe Project Team
Heiko Oberdiek
TDS archiveoberdiek.tds.zip
Contained inTeX Live as oberdiek
MiKTeX as oberdiek
TopicsEnvironment query
Tagged PDF – fully compatible

Community Comments

Loading...

Announcements

Here you can see a respective diagram in newer browsers.

more

Guest Book Sitemap Contact Contact Author