ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* TOC indenting
@ 2005-03-17 22:54 David Arnold
  2005-03-18  9:28 ` AW: " Michael Fuchs
  0 siblings, 1 reply; 3+ messages in thread
From: David Arnold @ 2005-03-17 22:54 UTC (permalink / raw)


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?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* AW: TOC indenting
  2005-03-17 22:54 TOC indenting David Arnold
@ 2005-03-18  9:28 ` Michael Fuchs
  2005-03-18 17:40   ` David Arnold
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Fuchs @ 2005-03-18  9:28 UTC (permalink / raw)


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?
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: AW: TOC indenting
  2005-03-18  9:28 ` AW: " Michael Fuchs
@ 2005-03-18 17:40   ` David Arnold
  0 siblings, 0 replies; 3+ messages in thread
From: David Arnold @ 2005-03-18 17:40 UTC (permalink / raw)


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
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-03-18 17:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-17 22:54 TOC indenting David Arnold
2005-03-18  9:28 ` AW: " Michael Fuchs
2005-03-18 17:40   ` David Arnold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).