Juergen Spitzmueller schrieb:

As I understand it, [EMAIL PROTECTED] can only be used in preamble, so the check has to be outside the macro definition.
Anyway, this works for me:


\makeatletter
\newif\ifdraft
[EMAIL PROTECTED]
\makeatother
\def\myNote#1{\ifdraft\footnote{#1}\fi}

in most cases graphics.sty is loaded, so you can simply use

\makeatletter
[EMAIL PROTECTED]
\makeatother

Herbert




Reply via email to