[NTG-context] custom itemize

Taco Hoekwater taco at elvenkind.com
Fri Aug 4 16:55:47 CEST 2006



Renaud AUBIN wrote:
> 
> Hi all,
> 
> Some times ago, Taco helps me to define a custom itemize:
> \setbox0=\hbox{--~}
> \def\indenteddash#1{\hskip\parindent--~}
> \definesymbol[indentdash][\indenteddash]
> \setupitemize[each][indentdash,packed,joinedup,intext][indentnext=yes,width=\dimexpr 
> \parindent + \wd0 \relax]

> Now, I would a new custom itemize with numbered items:
> 
>      1. first paragraph ..
> .... with a lot of text (multiline),
>      2. second paragraph ..
> .... with a lot of text (multiline).
> 
> How to do that ?

  \setbox0=\hbox{0.~}
  \def\indenteddash#1{\hskip\parindent #1.~}
  \defineconversion[indentdash][\indenteddash]
  \setup... % as before

Taco


More information about the ntg-context mailing list