2008/6/8, Hans Hagen <[EMAIL PROTECTED]>:
>
> 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}
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to