16 Feb
2006
16 Feb
'06
7:38 p.m.
luigi scarso wrote:
2) \ifcase\numexpr(#1+1)\or %% a trick to avoid #1=000 seem to works , \ifcase\numexpr(#1+0) %% no Why?
I am not sure what you want and what exactly doesn't work, but it is better to use numexpr like this: \ifcase \numexpr #1+0\relax because the closing ) does not actually cause it to stop scanning forward (it stops in the first case because the \or cannot be part of \numexpr). Cheers, Taco