12 Jun
2008
12 Jun
'08
9:06 a.m.
2008/6/8, Hans Hagen
Peter Münster wrote:
Hello,
Is it already possible to get 0 padding with \startitemize: 01 02 03 and so on ?
If yes, how? And if no, where is the magic point, where I could apply a patch (if it's not too difficult ;)
has always been possible ...
\starttext
\def\mypaddednumber#1{\ifnum#1<9 0\fi\number#1\relax}
\defineconversion[pn] [\mypaddednumber]
\startitemize[pn,broad] \item oeps \item oeps \item oeps \stopitemize
\stoptext
And 9? Best \def\mypaddednumber#1{\ifnum#1<10 0\fi\number#1\relax}