Re: Align multilevel itemize
Bruce Horrocks <[email protected]>
| Newsgroups | gmane.comp.tex.context |
|---|---|
| Message-ID | <[email protected]> |
> On 19 Mar 2026, at 17:41, Alan Caruanambo <[email protected]> wrote: > > Hello list, how can I align the numbers in the second-level lists with the numbers in the first-level lists? > > \setupitemize > [each] > [n,packed,repeat] > [style=bold, > headstyle=bold, > afterhead={\blank[medium]}] > > \setupitemize[1][width=1.5em] % space for "1." > \setupitemize[2][width=2.5em] % space for "1.1." Remove the above lines and replace with: \setupitemize [each] [n,packed,repeat,inmargin] % or atmargin [style=bold, headstyle=bold, afterhead={\blank[medium]}, width=2.5em] > > \starttext > > \startitemize > \starthead{first} > \input ward > \startitemize > \starthead{one} > \input ward > \stophead > \starthead{two} > \input ward > \stophead > \starthead{three} > \input ward > \stophead > \starthead{four} > \input ward > \stophead > \stopitemize > \stophead > % > \starthead{second} > \input ward > \startitemize > \starthead{one} > \input ward > \stophead > \starthead{two} > \input ward > \stophead > \starthead{three} > \input ward > \stophead > \starthead{four} > \input ward > \stophead > \stopitemize > \stopitemize > > \stoptext — Bruce Horrocks Hampshire, UK ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : [email protected] / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________