[texhax] Defining a command which runs differently based ion input argument

Lars Madsen daleif at imf.au.dk
Tue Dec 28 12:06:47 CET 2010

> that is sadly not possible. You cannot make macros that can run as 
> \macro and \macro{...}
> the {} are required in both cases (or at least eting a token is required 
> in both cases)
> as for testing to see if #1 is empty I recommend usinf the etoolbox 
> package the \ifblank{#1}{empty}{not empty} is very useful

ok, with evil means of programming everything is possible



More information about the texhax mailing list