\newif effects
The command \newif\iffoo
set \iffoo
to false, and define two commands:
\footrue
set\iffoo
to true\foofalse
set\iffoo
to false
Typical usages are:
\newif\ifdraft\drafttrue
\ifdraft
something...
\else
another...
\fi
The command \newif\iffoo
set \iffoo
to false, and define two commands:
\footrue
set \iffoo
to true\foofalse
set \iffoo
to falseTypical usages are:
\newif\ifdraft\drafttrue
\ifdraft
something...
\else
another...
\fi