ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: ntg-context@ntg.nl
Subject: Re: syntax
Date: Tue, 18 May 1999 12:27:16 +0200	[thread overview]
Message-ID: <37414084.5DFEF78A@wxs.nl> (raw)
In-Reply-To: <14145.9920.830000.746584@PC377>

Siep Kroonenberg wrote:

>  > > \setuphead[subject]
>  > >   [before=\blank,
>  > >    after=\blank[small],
>  > >    style={\switchtobodyfont[sans,16pt]\bf}]

> This turns out to work in one example but not in another; attached the
> one where it doesn't work.

The \blank macro adds up whitespace, so when natural whitespace is
added, the small one is simply not seen. Just say: [nowhite,small] and
you get a smaller one. Watch out, in head's spacing adapts itself to the
font! You can say \showstruts (\toonstruts) to get an impression on how
white space is also influenced by strut placement. (When in despair, you
can always use \vskip in head setups). 

So, watch out: \blank \blank[2*big] \blank \blank[middle] results in a
2*big skip! 

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl
-----------------------------------------------------------------


      parent reply	other threads:[~1999-05-18 10:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-05-16 12:36 syntax Siep Kroonenberg
1999-05-17 21:59 ` syntax Hans Hagen
1999-05-18  8:37 ` syntax Siep Kroonenberg
1999-05-18 10:14   ` syntax Hans Hagen
1999-05-18 10:27   ` Hans Hagen [this message]

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=37414084.5DFEF78A@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /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).