[texhax] controlling expansion

Neal H. Walfield neal at walfield.org
Thu Feb 28 15:51:02 CET 2013


I spent some time reading and found a good solution for determining
whether an argument is empty in David Solomon's Advanced TeXbook:

  \ifx\empty#1\empty empty \else not empty\fi

Nice trick!  TeX requires a lot of lateral thinking.

Neal


More information about the texhax mailing list