ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: David Arnold <darnold@northcoast.com>
Subject: Re: AW: TOC indenting
Date: Fri, 18 Mar 2005 09:40:49 -0800	[thread overview]
Message-ID: <DDAF2811-97D4-11D9-AB8C-001124338712@northcoast.com> (raw)
In-Reply-To: <20050318092852.DF6295F219@sunkist.iskp.uni-bonn.de>

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
>

      reply	other threads:[~2005-03-18 17:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-17 22:54 David Arnold
2005-03-18  9:28 ` AW: " Michael Fuchs
2005-03-18 17:40   ` David Arnold [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DDAF2811-97D4-11D9-AB8C-001124338712@northcoast.com \
    --to=darnold@northcoast.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).