[NTG-context] Paragraph itemizes

Wolfgang Schuster schuster.wolfgang at gmail.com
Tue Apr 29 14:44:33 CEST 2014


Am 29.04.2014 um 11:20 schrieb Maggyero <maggyero at gmail.com>:

> Hello,
> 
> 
> How do you setup your itemize environment to get a formatting in paragraph fashion, that is to say without margins at the second, third, etc. lines of each item, like this:
> 
> 1. one one one one one one one one one one
> one one one one one one one one one one
> 2. two two two two two two two two two two
> two two two two two two two two two two
> 3. three three three three three three three three three three
> three three three three three three three three three three
> 
> I get this instead (notice the margins represented with underscores):
> 
> 1. one one one one one one one one one one
> __one one one one one one one one one one
> 2. two two two two two two two two two two
> __two two two two two two two two two two
> 3. three three three three three three three three three three
> __three three three three three three three three three three
> 
> with:
> 
> \setupitemgroup[itemize][each][packed]
> \startitemize[n]
> \item \dorecurse{20}{one}
> \item \dorecurse{20}{two}
> \item \dorecurse{20}{three}
> \stopitemize

Use the “intext” keyword.

\usemodule[visual]

\starttext

\startitemize[n,intext,packed]
\item \fakewords{10}{20}
\item \fakewords{10}{20}
\item \fakewords{10}{20}
\stopitemize

\stoptext

BTW: When you make a minimal example it should also be working, i.e. on your case you should also add \starttext and \stoptext.

Wolfgang



More information about the ntg-context mailing list