Do you have an idea how I could make a conditional code inclusion?
Something like that:
#define DETAIL ON if (DETAIL=ON) % in such case we include all the calculation details { blablabla blabla }
Bastien
#define DETAIL ON if (DETAIL=ON) % in such case we include all the calculation details { blablabla blabla }
NEW: TikZ book now 40% off at Amazon.com for a short time.
etoolbox
package, do you need an example ?Code: Select all
\documentclass{article}
\usepackage{etoolbox}
\newbool{myboolean}
\boolfalse{myboolean}
%\booltrue{myboolean}
\ifbool{myboolean}{
% if
}{
% else
}
\begin{document}
\ifbool{myboolean}{
Text : boolean is true
}{
Text : boolean is false
}
\end{document}
NEW: TikZ book now 40% off at Amazon.com for a short time.