From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/14813 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Centering two figures on a page Date: Mon, 23 Feb 2004 22:11:37 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <6.0.1.1.2.20040223221041.03034ec0@localhost> References: <403A5722.802@boede.nl> <039C3886-663E-11D8-9EF1-0003934F9514@indiana.edu> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: sea.gmane.org 1077570778 32303 80.91.224.253 (23 Feb 2004 21:12:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 23 Feb 2004 21:12:58 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Mon Feb 23 22:12:49 2004 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AvNNh-0000Ur-00 for ; Mon, 23 Feb 2004 22:12:49 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id BB50810B41; Mon, 23 Feb 2004 22:10:51 +0100 (MET) Original-Received: from mail.solcon.nl (mail.solcon.nl [212.45.33.11]) by ref.ntg.nl (Postfix) with ESMTP id 178F510B21 for ; Mon, 23 Feb 2004 22:10:00 +0100 (MET) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mail.solcon.nl (8.12.10/SQL-8.12.10-1/8.12.5) with ESMTP id i1NLBjOO000394 for ; Mon, 23 Feb 2004 22:11:45 +0100 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id B55DF17D35; Mon, 23 Feb 2004 22:11:52 +0100 (CET) Original-Received: from laptop-3.wxs.nl (unknown [10.100.1.1]) by server-1.pragma-net.nl (Postfix) with ESMTP id F0BE217D04 for ; Mon, 23 Feb 2004 21:11:49 +0000 (UTC) X-Sender: hagen-mail@localhost X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1 Original-To: ntg-context@ntg.nl In-Reply-To: <039C3886-663E-11D8-9EF1-0003934F9514@indiana.edu> Original-References: <403A5722.802@boede.nl> <039C3886-663E-11D8-9EF1-0003934F9514@indiana.edu> X-AntiVirus: checked by Vexira Milter 1.0.6; VAE 6.24.0.4; VDF 6.24.0.15 Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:14813 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:14813 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