ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: luigi scarso <luigi.scarso@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Interlinespace in headertexts
Date: Sat, 27 Mar 2010 16:01:14 +0100	[thread overview]
Message-ID: <fe8d59da1003270801x6a72539bg99f14268e930f233@mail.gmail.com> (raw)
In-Reply-To: <4BAE136F.3080009@googlemail.com>

On Sat, Mar 27, 2010 at 3:17 PM, Wolfgang Schuster
<schuster.wolfgang@googlemail.com> wrote:
> Am 26.03.10 23:33, schrieb Willi Egger:
>>
>> Hi,
>>
>> When setting up a headertext in a \vbox there is no interlinespacing.
>> Placing the same text in a \vbox in the text area there is the default
>> interlinespacing.
>> Is there a simple explanation for this behaviour?
>
> When ConTeXt puts a page together (add headers, footers etc. to the text)
> it disables interlinespace between all the elements to avoid unwanted
> vertical
> space between header, text, footer ...
>
> Because header are added when the page is constructed the disabled
> interlinespace
> is active and you get the what you experienced.
>
> Normal text is typeset before the page is build and you get therefore the
> correct
> interlinespace.

\starttext
1·hello\par world

2·hello\par\nointerlineskip world  \par %% reset
3·hello\par world %% like 1

\blank

4·hello\par\nointerlineskip\vskip-1.2\lineheight
···world\par\nointerlineskip\vskip-1.2\lineheight
····tonight

\vskip 3\lineheight

\vbox{\offinterlineskip \input knuth }

\stoptext




-- 
luigi
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2010-03-27 15:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-26 22:33 Willi Egger
2010-03-27  3:38 ` luigi scarso
2010-03-28 11:33   ` Willi Egger
2010-03-27 14:17 ` Wolfgang Schuster
2010-03-27 15:01   ` luigi scarso [this message]
2010-03-27 15:15     ` Wolfgang Schuster
2010-03-27 15:21       ` luigi scarso
2010-03-28 11:36   ` Willi Egger

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=fe8d59da1003270801x6a72539bg99f14268e930f233@mail.gmail.com \
    --to=luigi.scarso@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).