From: Hans Hagen <pragma@wxs.nl>
Subject: Re: Centering two figures on a page
Date: Mon, 23 Feb 2004 22:11:37 +0100 [thread overview]
Message-ID: <6.0.1.1.2.20040223221041.03034ec0@localhost> (raw)
In-Reply-To: <039C3886-663E-11D8-9EF1-0003934F9514@indiana.edu>
At 21:22 23/02/2004, you wrote:
>Hello,
>
>I have a bunch of figures of the same dimension 3.5x3.5.
>On each page in a document, I'd like to place a pair of them \ so that
>-- the figures are exactly at the same location on each page
>-- there is a specific horizontal gap between the figures
>-- they are vertically aligned.
>
>In short, I'd be happy if I could force TeX to put the left upper corner
>of a figure at a specific location on the page.
>
>All figures have the same dimension. I tried to improve on
>
>\placefigure
> [nonumber,fit]
> [fig:page7]
> {Pair No 7}
> \framed{
> \startcombination[2*1]
> {\externalfigure[left7][width=3.5in]}{}
> {\externalfigure[right7][width=3.5in]}{}
> \stopcombination
> }
>
>but I have no clue how to make the whitespace between the figures
>to be say exactly .2 in, nor how to force a position of the float into
>the center of the page.
>
>Details.pdf contains lots of suggestions for placements, and I have
>the suspicion that I just haven't found it there yet -- maybe somebody here
>can help me?
I leave it to you to figure out how to reach that much abstraction -)
\useMPlibrary[dum]
\definecombination
[double]
[distance=.2in,
location=middle]
\definefloat
[doublefigure]
[doublefigures]
[figure]
\setupfloat
[doublefigure]
[default={top,nonumber,fit},
frame=on]
\useexternalfigure
[double]
[width=3.5in]
\starttext
\startbuffer
\startcombination[double][2*1]
{\externalfigure[left7][double][height=1in]} {}
{\externalfigure[right7][double]} {}
\stopcombination
\stopbuffer
\placedoublefigure[][fig:page7]{Pair No 7}{\getbuffer}
test
\stoptext
next prev parent reply other threads:[~2004-02-23 21:11 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-23 17:20 manual on style design Hans Hagen
2004-02-23 19:40 ` Willi Egger
2004-02-23 20:22 ` Centering two figures on a page Matthias Weber
2004-02-23 21:11 ` Hans Hagen [this message]
2004-02-23 21:04 ` manual on style design Henning Hraban Ramm
2004-02-23 22:16 ` Floris van Manen
2004-02-23 22:49 ` Hans Hagen
2004-02-23 23:06 ` Re[2]: " Floris van Manen
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=6.0.1.1.2.20040223221041.03034ec0@localhost \
--to=pragma@wxs.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).