Conditional Statements in LatexAdd tags
3 posts
• Page 1 of 1
Conditional Statements in LatexHi, how would I go about including conditional statements in Latex?
if \ifdef DRAFT \else %%% do some PSTricks stuff in here \fi and then I'm able to set DRAFT=1 in some other file, ie a style file. Thanks!!!
Re: Conditional Statements in LatexThat's in tex. In latex, you'd use the ifthen package which provides stuff like
(Spacing changed to be suggestive; by default it's just \ifthenelse{}{}{} )
Re: Conditional Statements in LatexThe etoolbox package offers a solution that is a bit cleaner (no namespace polluting) and faster to type:
3 posts
• Page 1 of 1
Who is onlineUsers browsing this forum: No registered users and 34 guests |





