ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	James Withers <james.o.withers@gmail.com>
Subject: Re: \blank space at the top of a page
Date: Thu, 18 Jun 2020 17:44:43 +0200	[thread overview]
Message-ID: <394df6a1-c011-0442-a767-d15b14657a45@gmail.com> (raw)
In-Reply-To: <CAE8093UVw7j4qP2qDR--tVU5MvNLUPqYFwh_9tb4+akBxG7-Lg@mail.gmail.com>

James Withers schrieb am 18.06.2020 um 17:35:
> Hello list
>
> I have been trying to find a solution to how to insert blank lines
> before a chapter heading at the start of a page. In the following
> example the \blank[4*big] is ignored. The solution I've found is to
> add an empty box using \mbox{} before the \blank command.

I'm curious where the use of \mbox is documented.

> Is this the right way to do it or is there a more elegant way that I
> am missing?
>
> Many thanks
>
> James
>
>
> \setuphead[chapter][before={\blank[4*big]}]

You have to add the "force" keyword to \blank because TeX ignores by 
default vertical space at the begin of a page.

\setuphead[chapter][before={\blank[force,4*big]}]

Wolfgang

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2020-06-18 15:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-18 15:35 James Withers
2020-06-18 15:44 ` Wolfgang Schuster [this message]
2020-06-18 18:11   ` James Withers

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=394df6a1-c011-0442-a767-d15b14657a45@gmail.com \
    --to=wolfgang.schuster.lists@gmail.com \
    --cc=james.o.withers@gmail.com \
    --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).