CTAN package submission: ifdraft v1.0
Datum: 5. Oktober 2005 11:37:04 MESZ
On Wed, 5 Oct 2005, Heiko Oberdiek submitted a new package called
ifdraft
to CTAN.
> License: LPPL 1.3.
>
> Excerpt from the doc part inside the file:
>
> % Function: Switch for option draft.
> %
> % Use: \usepackage{ifdraft}
> % \ifdraft{<draft case>}{<final case>}
> % \ifoptiondraft{<option draft is given}%
> % {<option draft is not given}
> % \ifoptionfinal{<option final is given}%
> % {<option final is not given}
> %
> % If none of the options "draft" or "final" is used,
> % then this package assumes "final" as default setting
> % for \ifdraft. [...]
> %
> % If either "draft" or "final" is used, \ifdraft is
> % enough to distinguish between these cases.
> % [...]
Thanks for the upload.
For the CTAN Team
Rainer Schöpf
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.
| Paket | ifdraft |
| Version | 1.4 2016-05-16 |
| Copyright | 1999, 2005, 2006, 2008 Heiko Oberdiek |
| Betreuer | The LaTeX Project Team Heiko Oberdiek |