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.

Sources /macros/latex/contrib/oberdiek/ifdraft.dtx
Doc­u­men­ta­tion
Ver­sion 1.4 2016-05-16
Li­cense The Project Public Li­cense 1.3
Main­tainer Heiko Oberdiek
TDS archive oberdiek.tds.zip
Con­tained in TeX Live as oberdiek
MiKTeX as oberdiek
Topics ex­am­ine the pro­gram­ming en­vi­ron­ment

An­nounce­ments

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

more

Guest Book Sitemap Contact Contact Author