Controlling linespacing in a TOC
Hello all! This is probably a stupid question, but how do I control the linespacing in a table of contents? I found that space can be added with e.g. \setuplist[chapter][before={\blank[4*big]}] but how do I make the linespacing smaller than default? I've got \setupwhitespace[medium] does that affect the linespacing in a table of contents? Are there any other settings besides \setuplist and \setupwhitespace that affect the TOC spacing? I've got a fairly complicated file (or, rather, a group of files), so I'm wondering if there's something somewhere else that makes my TOC so airily laid out. (It looks nice, but I'd rather squish it into fewer pages...) Thanks, Mari
On 5/18/2015 3:08 PM, Mari Voipio wrote:
Hello all!
This is probably a stupid question, but how do I control the linespacing in a table of contents? I found that space can be added with e.g.
\setuplist[chapter][before={\blank[4*big]}]
but how do I make the linespacing smaller than default?
I've got \setupwhitespace[medium] does that affect the linespacing in a table of contents?
Are there any other settings besides \setuplist and \setupwhitespace that affect the TOC spacing? I've got a fairly complicated file (or, rather, a group of files), so I'm wondering if there's something somewhere else that makes my TOC so airily laid out. (It looks nice, but I'd rather squish it into fewer pages...)
just wrap the list: \start ... all kind of settings ... \placelist[...] \stop ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Mon, May 18, 2015 at 6:38 PM, Hans Hagen
On 5/18/2015 3:08 PM, Mari Voipio wrote:
just wrap the list:
\start ... all kind of settings ... \placelist[...] \stop
Wow, that was easy. A bit of experimenting with \setuplinespace and my TOC looks exactly like I want it. Thank you! Mari
On 05/19/2015 08:31 AM, Mari Voipio wrote:
On Mon, May 18, 2015 at 6:38 PM, Hans Hagen
wrote: On 5/18/2015 3:08 PM, Mari Voipio wrote:
just wrap the list:
\start ... all kind of settings ... \placelist[...] \stop
Wow, that was easy. A bit of experimenting with \setuplinespace and my TOC looks exactly like I want it. Thank you!
Hi Mari, if I’m not getting it wrong, another way to do it would be: \setuplist[chapter][before=, after=,] \starttext \completecontent \dorecurse{10}{\chapter{Chapter}} \stoptext Just in case it might help, Pablo -- http://www.ousia.tk
participants (3)
-
Hans Hagen
-
Mari Voipio
-
Pablo Rodriguez