From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
jbf <roma83537@gmail.com>
Subject: Re: spacing between chapters in TOC
Date: Tue, 2 Jun 2020 06:30:29 +0200 [thread overview]
Message-ID: <f61a01b7-d394-8fae-5c24-f495cfdc2ce5@gmail.com> (raw)
In-Reply-To: <9e01d1bf-0cf5-b8f9-bfe7-57c938e9bffd@gmail.com>
jbf schrieb am 02.06.2020 um 03:05:
> Hi list,
>
> I want my table of contents to look like:
>
> Chapter 1
> section 5
> section 10
> section 15
>
> In other words with section items indented.
>
> I presumed I would need to do something with \setuplist[section]. I
> know how to control interline distance, whitespace, but in this
> instance, not indentation of certain lines in a toc. I tried
> \setuplist[section][indenting=yes] and even indentation=yes in the
> hope that existed. It doesn't, at least not used this way.
To change the vertical space between entries you use the before and
after keys (this does *not* change the interline space), e.g.
\setuplist[...][before=\blank, after={\blank[2*line]}]
and to indent entries you use the margin key, e.g.
\setuplist[...][margin=2em]
but this is unrelated to paragraph indentation.
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2020-06-02 4:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-02 1:05 jbf
2020-06-02 4:30 ` Wolfgang Schuster [this message]
2020-06-02 5:37 ` jbf
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=f61a01b7-d394-8fae-5c24-f495cfdc2ce5@gmail.com \
--to=wolfgang.schuster.lists@gmail.com \
--cc=ntg-context@ntg.nl \
--cc=roma83537@gmail.com \
/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).