ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: Grid, section, grid=top
Date: Thu, 13 May 2004 22:37:15 +0200	[thread overview]
Message-ID: <6.0.1.1.2.20040513223350.01d3fec0@server-1> (raw)
In-Reply-To: <m23c64qvtj.fsf@levana.de>

At 15:51 13/05/2004, you wrote:
>Dear ConTeXt hackers,
>
>on a new project I'd like to use grid snapping. One section level
>should have grid=top to get some distance between the text preceding
>the section heading and the heading itself. This works fine. But when
>the section starts at a new page I don't want any extra line inserted
>at the top.
>
>Patrick
>
>
>excerpt:
>
>\setuphead
>     [Abschnitt]
>     [head=nomarking,style=\tfa,
>      alternative=inmargin,
>      distance=1em,
>      grid=top,   % <----- works fine but unwanted on page start.
>     ]

did you look at the options described in details.pdf? maybe grid=page will 
help;

this top of page case is special indeed, since its there that becomes clear 
that grid snapping is meant for novels and other pure text applications 
(i.e. all fonts the same weight)

another option is to set the topskip to strutheight (something 
\setupinterlinespace[top=.72])

Hans

  reply	other threads:[~2004-05-13 20:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-13 13:51 Patrick Gundlach
2004-05-13 20:37 ` Hans Hagen [this message]
2004-05-28  8:44   ` Patrick Gundlach

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=6.0.1.1.2.20040513223350.01d3fec0@server-1 \
    --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).