[NTG-context] Killing the space after a section.

luigi scarso luigi.scarso at gmail.com
Fri Apr 13 00:23:48 CEST 2007


On 4/12/07, John R. Culleton <john at wexfordpress.com> wrote:
> I have the file set up with no parindent and one blank line between
> paragraphs. but I want to kill the extra space after \section
> headers.  The current definition is:
> \setuphead[section][number=no,style=\SectSans,page=no,after={\vskip
> 2sp}]
>
> ...but the blank line remains.  Do I need to use a negative \vskip?
not an answer (sorry). But try this

\setuphead[section][style={\ssbfb},
  before={\begingroup\ruledvbox\bgroup},
    after={\egroup\endgroup}]
\starttext
\section{Foo} foo baa
\section{gMoo()} gMoo
\stoptext


luigi


More information about the ntg-context mailing list