[NTG-context] inmargin for only Roman-numbered items

Wolfgang Schuster wolfgang.schuster.lists at gmail.com
Wed Mar 20 20:50:25 CET 2019

Pablo Rodriguez schrieb am 20.03.19 um 20:43:
> On 3/20/19 8:09 PM, Wolfgang Schuster wrote:
>> Pablo Rodriguez schrieb am 20.03.19 um 20:03:
>>> [...]
>>> Is there a way to get only [option=inmargin] for the items that are
>>> Roman-numbered?
>> \startitemize[I,inmargin]
> Many thanks for your reply, Wolfgang.
> I need a \setup... command, since I’m going to use it in an environment
> file to typeset XML sources.
> Is there a way with a \setupitemize (or \setupitemgroup) to configure
> only one kind of numbered (or unnumbered, for that matter) item groups?

You have to create a new itemgroup environment/instance.

\defineitemgroup [romanitemize]
\setupitemgroup  [romanitemize] [R,inmargin]


     \dorecurse{5}{\item item}

\startitemgroup [romanitemize]
     \dorecurse{5}{\item item}



More information about the ntg-context mailing list