inmargin for only Roman-numbered items
Dear list, I have the following sample: \showframe \setupitemize[each][option=inmargin] \starttext \startitemize[n] \dorecurse{5}{\item item} \stopitemize \startitemize \dorecurse{5}{\item item} \stopitemize \startitemize[I] \dorecurse{5}{\item item} \stopitemize \stoptext Is there a way to get only [option=inmargin] for the items that are Roman-numbered? Many thanks for your help, Pablo -- http://www.ousia.tk
Pablo Rodriguez schrieb am 20.03.19 um 20:03:
Dear list,
I have the following sample:
\showframe \setupitemize[each][option=inmargin] \starttext \startitemize[n] \dorecurse{5}{\item item} \stopitemize
\startitemize \dorecurse{5}{\item item} \stopitemize
\startitemize[I] \dorecurse{5}{\item item} \stopitemize \stoptext
Is there a way to get only [option=inmargin] for the items that are Roman-numbered?
\startitemize[I,inmargin] Wolfgang
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? Many thanks for your help, Pablo -- http://www.ousia.tk
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] \starttext \startromanitemize \dorecurse{5}{\item item} \stopromanitemize \startitemgroup [romanitemize] \dorecurse{5}{\item item} \stopitemgroup \stoptext Wolfgang
On 3/20/19 8:50 PM, Wolfgang Schuster wrote:
Pablo Rodriguez schrieb am 20.03.19 um 20:43:
[...] 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]
Many thanks for your help, Wolfgang. This is exactly what I needed. Pablo -- http://www.ousia.tk
participants (2)
-
Pablo Rodriguez
-
Wolfgang Schuster