ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: ntg-context@ntg.nl
Subject: Re: Images centered on page : Solved
Date: Sat, 24 Nov 2007 10:19:07 +0100	[thread overview]
Message-ID: <20071124101907.a773f7ac.schuster.wolfgang@googlemail.com> (raw)
In-Reply-To: <fe8d59da0711231450h14b88970sea3e9ad2a5b432c8@mail.gmail.com>

On Fri, 23 Nov 2007 23:50:42 +0100
"luigi scarso" <luigi.scarso@gmail.com> wrote:

> On Nov 23, 2007 9:39 PM, Vyatcheslav Yatskovsky <yatskovsky@gmail.com> wrote:
> > Hello,
> >
> > Thank you all very much. I'm pleased with number and quality of solutions to my problem.
> Did you look in supp-box at centerbox definition ?
> it' something like
> \vbox to \adimension{\vfill ....\vfill}
> (well, not \vfill, but \vss)
> 
> You approach was not so distant to solutions , you only forget that
> \vfill need a bit of attention.
> (hey even today sometimes i'm lost with \def and \edef...)
> 
> Compare
> \starttext
> \vfill
> a
> \vfill
> \stoptext
> 
> with
> \starttext
> \hskip1sp
> \vfill
> a
> \vfill
> \stoptext
> 
> Given that 1sp is invisible to human eye ,
> one can appreciate here a "butterfly effect" :))

Hi Luigi,

you can use \dontleavehmode in this case.

\starttext
\dontleavehmode\vfill
a
\vfill
\stoptext

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


  reply	other threads:[~2007-11-24  9:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.179.1195840896.4317.ntg-context@ntg.nl>
2007-11-23 20:39 ` Vyatcheslav Yatskovsky
2007-11-23 22:50   ` luigi scarso
2007-11-24  9:19     ` Wolfgang Schuster [this message]
2007-11-24 10:06       ` luigi scarso

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=20071124101907.a773f7ac.schuster.wolfgang@googlemail.com \
    --to=schuster.wolfgang@googlemail.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).