LaTeX programming: how to implement conditionals | handyfloss - latex conditional execution


LaTeX/Plain TeX - Wikibooks, open books for an open world latex conditional execution

Why do I say this is more friendly? You'll never run into troubles with nesting, for which LaTeX's \newif conditions can sometimes be a bit of a. › questions › newcommand-conditional-exec.

I have following command definition (it's entry of an entrylist) which works fine: \​newcommand{\entry}[4]{% #1&\parbox[t]{cm}{% #2% \hfill% #3% \\#4% }\\}.

The problem with your current setup is the update of \oldlocation. Using \​renewcommand{\oldlocation}{\location}. does not expand \location to. › wiki › LaTeX › Plain_TeX.