ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Marcin Borkowski <mbork@wmi.amu.edu.pl>
To: ntg-context@ntg.nl
Subject: Re: Centering a figure vertically on a page
Date: Tue, 3 Jul 2012 14:18:05 +0200	[thread overview]
Message-ID: <20120703141805.11f841f4@aga-netbook> (raw)
In-Reply-To: <FEB61B48-106E-4A1B-9B83-892A17684D69@gmail.com>

Dnia 2012-07-03, o godz. 13:30:22
Wolfgang Schuster <schuster.wolfgang@gmail.com> napisał(a):

> 
> Am 03.07.2012 um 13:21 schrieb Marcin Borkowski:
> 
> > Hello,
> > 
> > the subject line basically covers my problem: I have a large (tikz)
> > figure, and I want to have it by itself on a page, centered both
> > horizontally and vertically.  How can I achieve this?  I already
> > know that \setuppagenumber[state=stop] is a good idea, and
> > \midaligned{...} gives me horizontal centering; what about
> > vertical?  The problem is that the figure is larger than the text
> > area (and this doesn't bother me, it's a game board and it may
> > extend almost to the paper border), so \vfill doesn't work (and
> > \vss doesn't, either).
> 
> \starttext
> %\noheaderandfooterlines
> \centerbox{\externalfigure[cow]}
> \stoptext
> 
> Wolfgang

Thanks a lot, it works!

-- 
Marcin Borkowski
http://mbork.pl
___________________________________________________________________________________
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:[~2012-07-03 12:18 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-03 11:21 Marcin Borkowski
2012-07-03 11:30 ` Wolfgang Schuster
2012-07-03 12:18   ` Marcin Borkowski [this message]
2012-07-03 13:10   ` Alan BRASLAU
2012-07-03 13:48     ` Hans Hagen
2012-07-03 15:27       ` Alan BRASLAU
2012-07-03 15:54         ` Aditya Mahajan
2012-07-03 16:04         ` luigi scarso
2012-07-03 16:08           ` Wolfgang Schuster
2012-07-03 16:19             ` luigi scarso
2012-07-03 16:27               ` Wolfgang Schuster

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=20120703141805.11f841f4@aga-netbook \
    --to=mbork@wmi.amu.edu.pl \
    --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).