ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Controlling linespacing in a TOC
@ 2015-05-18 13:08 Mari Voipio
  2015-05-18 15:38 ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Mari Voipio @ 2015-05-18 13:08 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Controlling linespacing in a TOC
  2015-05-18 13:08 Controlling linespacing in a TOC Mari Voipio
@ 2015-05-18 15:38 ` Hans Hagen
  2015-05-19  6:31   ` Mari Voipio
  0 siblings, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2015-05-18 15:38 UTC (permalink / raw)
  To: ntg-context

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
-----------------------------------------------------------------
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Controlling linespacing in a TOC
  2015-05-18 15:38 ` Hans Hagen
@ 2015-05-19  6:31   ` Mari Voipio
  2015-05-19 19:10     ` Pablo Rodriguez
  0 siblings, 1 reply; 4+ messages in thread
From: Mari Voipio @ 2015-05-19  6:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Mon, May 18, 2015 at 6:38 PM, Hans Hagen <pragma@wxs.nl> 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!

Mari
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Controlling linespacing in a TOC
  2015-05-19  6:31   ` Mari Voipio
@ 2015-05-19 19:10     ` Pablo Rodriguez
  0 siblings, 0 replies; 4+ messages in thread
From: Pablo Rodriguez @ 2015-05-19 19:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 05/19/2015 08:31 AM, Mari Voipio wrote:
> On Mon, May 18, 2015 at 6:38 PM, Hans Hagen <pragma@wxs.nl> 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
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2015-05-19 19:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-18 13:08 Controlling linespacing in a TOC Mari Voipio
2015-05-18 15:38 ` Hans Hagen
2015-05-19  6:31   ` Mari Voipio
2015-05-19 19:10     ` Pablo Rodriguez

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).