CTAN Comprehensive TeX Archive Network

ifdraft – Detect “draft” and “final” class options

The pack­age de­fines com­mands that switch ac­cord­ing to the pre­vail­ing ‘draft’ or ‘fi­nal’ op­tions; each com­mand takes two ar­gu­ments, the first for the ‘true’, the sec­ond for the ‘false’ case. Com­mands are:

  • \if­draft de­ter­mines whether we're op­er­at­ing in draft (‘true’) or fi­nal mode;
  • \ifop­tion­draft de­ter­mines whether a ‘draft’ op­tion has been given; and
  • \ifop­tion­fi­nal de­ter­mines whether a ‘fi­nal’ op­tion has been given.

Ver­sion1.4 2016-05-16
Li­censesThe Project Public Li­cense 1.3
Copy­right1999, 2005, 2006, 2008 Heiko Oberdiek
Main­tainerHeiko Oberdiek
TDS archiveoberdiek.tds.zip
Con­tained inTeX Live as oberdiek
MiKTeX as oberdiek
TopicsEn­vi­ron­ment query

Com­mu­nity Com­ments



Here you can see a re­spec­tive di­a­gram in newer browsers.


Guest Book Sitemap Contact Contact Author