[NTG-context] Vertical spacing

Wolfgang Schuster schuster.wolfgang at googlemail.com
Sat Jun 23 18:26:27 CEST 2007


On Sat, 23 Jun 2007 00:17:27 +0200
"Jeff Smith" <ascarel at gmail.com> wrote:

> Hello list!
> 
> I'd like to be able to add vertical spacing before a chapter title on
> the first page of a chapter, and also I want to control spacing before
> and after section titles with something different than the
> \setupwhitespace value, which I want to keep for default spacing
> between paragraphs. How does one achieve this? I've tried using \blank
> with after= and before= parameters in \setuphead, but to no avail!
> 
> Thanks all for your help, as always.
> Jeff

Hi Jeff,

the following works for me:

\starttext

\chapter{Knuth}
\input knuth

\setuphead
  [chapter]
  [before={\blank[force,2cm]}]

\chapter{Knuth}
\input knuth

\stoptext

Wolfgang


More information about the ntg-context mailing list