Menu
CTAN
Comprehensive TeX Archive Network
Cover Upload Browse

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.

Sources/macros/latex/contrib/oberdiek/ifdraft.dtx
Doc­u­men­ta­tion
Ver­sion1.3
Li­censeThe LaTeX Project Public Li­cense 1.3
Copy­right1999,2005,2006,2008 Heiko Oberdiek
Main­tainerHeiko Oberdiek
TDS archiveoberdiek.tds.zip
Con­tained inTeXlive as oberdiek
MikTeX as oberdiek
Topics ex­am­ine the TeX pro­gram­ming en­vi­ron­ment
Guest Book Sitemap Contact