The e-TeX primitive `\detokenize`, which removes special meaning from TeX code.

learn more… | top users | synonyms

1
vote
0answers
34 views

Expansion control in “isEmpty” condition

There is a known method of testing if an argument is empty or not. \def\isEmpty#1{% \if\relax\detokenize{#1}\relax empty% \else NOT empty% \fi } I used this trick to ...