ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans van der Meer <hansm@science.uva.nl>
Subject: Re: figure in the middle of the page
Date: Mon, 19 Jun 2006 22:23:21 +0200	[thread overview]
Message-ID: <C63DFA1F-497A-485B-A8C7-23F1CAED9760@science.uva.nl> (raw)
In-Reply-To: <1150736216.4992.12.camel@localhost>

A strut is something with height and depth which is not really what  
you want, because it takes some vertical space away.
Ususally what I use is a TeX primitive "\null" that typesets an empty  
box; I don't think its typesetting will differ significantly from  
typesetting a strut:
\page
\null
\vfill
text
\vfill
\null
\page

Hans van der Meer

On Jun 19, 2006, at 18:56, Thomas A. Schmitz wrote:

> Andrea,
>
> I'm not a real expert, but what I've understood: \strut is an  
> invisible
> character with no width but the maximum lineheight (cont-eni, p. 72).
> TeX discards glue such as \vfill or \hfill at the beginning of
> horizontal or vertical boxes, so you have to fool it into believing
> there is something before your \vfill. You could have an empty \vbox,
> but \strut is the fastest and easiest way of achieving this.
>
> HTH
>
> Thomas
>
>
> On Mon, 2006-06-19 at 17:55 +0200, andrea valle wrote:
>> Thanks Thomas,
>> it works nice.
>> I still have not understood: what does \strut mean?
>>
>> Best
>> -a-
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

  reply	other threads:[~2006-06-19 20:23 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-19 10:07 andrea valle
2006-06-19 10:21 ` Hans Hagen
2006-06-19 11:04   ` andrea valle
2006-06-19 14:49     ` Aditya Mahajan
     [not found]       ` <8815a141fdf15d1165214e62624f6dec@di.unito.it>
2006-06-19 15:36         ` andrea valle
2006-06-19 15:40           ` Hans Hagen
2006-06-19 20:27             ` andrea valle
2006-06-19 15:45           ` Thomas A. Schmitz
2006-06-19 15:55             ` andrea valle
2006-06-19 16:56               ` Thomas A. Schmitz
2006-06-19 20:23                 ` Hans van der Meer [this message]
2006-06-19 21:04                   ` Hans Hagen
2006-06-19 21:14                   ` Hans Hagen

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=C63DFA1F-497A-485B-A8C7-23F1CAED9760@science.uva.nl \
    --to=hansm@science.uva.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).