I would like for my section headers to have the following format: Section 1 -- First Section Section 2 -- Second Section ... and I would also like for enumeration lists, for example \startitemize[n] \item Foo \item Bar \stopitemize to look like 1-1 Foo 1-2 Bar where the "1-" is the section number in which the itemize resides. Thanks, Troy Henderson
Am 10.12.2012 um 16:26 schrieb Troy Henderson
I would like for my section headers to have the following format:
Section 1 -- First Section Section 2 -- Second Section ...
and I would also like for enumeration lists, for example
\startitemize[n] \item Foo \item Bar \stopitemize
to look like
1-1 Foo 1-2 Bar
where the "1-" is the section number in which the itemize resides.
Provide a minimal example next time. \setuplabeltext[section=Section~] \setuphead [section] [sectionstopper=~–~, distance=0pt] \setupitemgroup [itemize] [prefix=yes, width=2em] \starttext \section{First Section} \startitemize[n] \item Foo \item Bar \stopitemize \section{Second Section} \startitemize[n] \item Foo \item Bar \stopitemize \stoptext Wolfgang
Am 10.12.2012 um 16:53 schrieb Troy Henderson
Provide a minimal example next time.
Apologies. I certainly will.
\setupitemgroup [itemize] [prefix=yes, width=2em]
This produces 1.1, 1.2, etc. for me instead of 1-2, 1-2, etc.
\setupitemgroup [itemize] [prefix=yes, prefixconnector=-, width=2em] Wolfgang
participants (2)
-
Troy Henderson
-
Wolfgang Schuster