AW: [NTG-context] TOC indenting

David Arnold darnold at northcoast.com
Fri Mar 18 18:40:49 CET 2005


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 at ntg.nl
>> [mailto:ntg-context-bounces at 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 at ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>



More information about the ntg-context mailing list