<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace">I have several files for this trick</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">%name: doc-new-if.tex</div><div class="gmail_default" style="font-family:monospace,monospace">\newif\ifModeSmall  \ModeSmallfalse</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">%name: my-doc-out-small.tex</div><div class="gmail_default" style="font-family:monospace,monospace">\documentclass{article}</div><div class="gmail_default" style="font-family:monospace,monospace">\input{doc-new-if}</div><div class="gmail_default" style="font-family:monospace,monospace">
\ModeSmalltrue</div><div class="gmail_default" style="font-family:monospace,monospace">
<div class="gmail_default" style="font-family:monospace,monospace">\input{my-doc-main}</div><div class="gmail_default" style="font-family:monospace,monospace">
</div>



</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div><div style="font-family:monospace,monospace" class="gmail_default">
<div class="gmail_default" style="font-family:monospace,monospace">%name: my-doc-out-large.tex</div><div class="gmail_default" style="font-family:monospace,monospace">\documentclass{article}</div><div class="gmail_default" style="font-family:monospace,monospace">\input{doc-new-if}</div>\input{my-doc-main}<div class="gmail_default" style="font-family:monospace,monospace"><div class="gmail_default" style="font-family:monospace,monospace">
</div>



</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">
<div class="gmail_default" style="font-family:monospace,monospace">%name: my-doc-main.tex</div>\title{x}</div><div class="gmail_default" style="font-family:monospace,monospace">\author{y}</div><div class="gmail_default" style="font-family:monospace,monospace">%...</div><div class="gmail_default" style="font-family:monospace,monospace">%usepackage{???}</div><div class="gmail_default" style="font-family:monospace,monospace">\begin{document}</div><div class="gmail_default" style="font-family:monospace,monospace">\maketitle<br></div><div class="gmail_default" style="font-family:monospace,monospace">\ifModeSmall

<br></div><div class="gmail_default" style="font-family:monospace,monospace">      % true<br></div><div class="gmail_default" style="font-family:monospace,monospace">\else % false<br>\fi   % end: ModeSmall


</div><div class="gmail_default" style="font-family:monospace,monospace">\end{document}

</div>

</div><div style="font-family:monospace,monospace" class="gmail_default">hth</div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Ron Fehd  <span class="gmail_default" style="font-family:monospace,monospace">{SAS} </span>macro maven<br></div></div></div>