All, In my table of contents, I have: \definecombinedlist [content][section,subsection] \setupcombinedlist [content] [alternative=c,aligntitle=yes,width=2.5em] How do I set up my TOC so that subsections are indented slightly more than sections in which they are contained?
Hi David! See the following example for a TOC where sections and subsections are indented. Regards Michael Example: -------------------------------------- \setuplist [chapter] [before=\blank,style=bold] \setuplist [section] [margin=2em, width=3em] \setuplist [subsection] [margin=4em, width=3em,distance=1em] \setupcombinedlist [content] [alternative=c, aligntitle=no, width=2em] \starttext \placecontent [level=subsection,criterium=all] \chapter{One} \section{One- one} \subsection{One- two} \section{Two- one} \subsection{Two- two} \chapter{Two} \section{One- one} \subsection{One- two} \section{Two- one} \subsection{Two- two} \stoptext
-----Ursprüngliche Nachricht----- Von: ntg-context-bounces@ntg.nl [mailto:ntg-context-bounces@ntg.nl] Im Auftrag von David Arnold Gesendet: Donnerstag, 17. März 2005 23:54 An: Context Mailing List List Betreff: [NTG-context] TOC indenting
All,
In my table of contents, I have:
\definecombinedlist [content][section,subsection]
\setupcombinedlist [content] [alternative=c,aligntitle=yes,width=2.5em]
How do I set up my TOC so that subsections are indented slightly more than sections in which they are contained?
Michael, Perfect! Thanks. On Mar 18, 2005, at 1:28 AM, Michael Fuchs wrote:
Hi David!
See the following example for a TOC where sections and subsections are indented.
Regards
Michael
Example: --------------------------------------
\setuplist [chapter] [before=\blank,style=bold] \setuplist [section] [margin=2em, width=3em] \setuplist [subsection] [margin=4em, width=3em,distance=1em] \setupcombinedlist [content] [alternative=c, aligntitle=no, width=2em]
\starttext
\placecontent [level=subsection,criterium=all]
\chapter{One}
\section{One- one} \subsection{One- two}
\section{Two- one} \subsection{Two- two}
\chapter{Two}
\section{One- one} \subsection{One- two}
\section{Two- one} \subsection{Two- two}
\stoptext
-----Ursprüngliche Nachricht----- Von: ntg-context-bounces@ntg.nl [mailto:ntg-context-bounces@ntg.nl] Im Auftrag von David Arnold Gesendet: Donnerstag, 17. März 2005 23:54 An: Context Mailing List List Betreff: [NTG-context] TOC indenting
All,
In my table of contents, I have:
\definecombinedlist [content][section,subsection]
\setupcombinedlist [content] [alternative=c,aligntitle=yes,width=2.5em]
How do I set up my TOC so that subsections are indented slightly more than sections in which they are contained?
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
participants (2)
-
David Arnold
-
Michael Fuchs