On Thu, Nov 01, 2001 at 08:04:59AM +0100, Herbert Voss wrote: > http://www.lyx.org/help/IfThen/ifthen.html > One comment: to save typing, one can define
\newcommand{\ifprinted}[2]{\ifthenelse{\boolean{PrintEquation}}{#1}{#2}}
and then use \ifprinted{<text>}{<text>}
