From: Hans Hagen <pragma@wxs.nl>
Cc: ntg-context@ntg.nl
Subject: Re: pictures in columns
Date: Tue, 19 Feb 2002 10:56:24 +0100 [thread overview]
Message-ID: <5.1.0.14.1.20020219105201.03ea1e88@server-1> (raw)
In-Reply-To: <200202181703.g1IH3LP02322@nathir.fiee.lan>
At 06:03 PM 2/18/2002 +0100, Henning Hraban Ramm wrote:
>Seems to be impossible, what I'd like to get:
>-- picture beside text in a two-column environment
>-- picture sitting on the grid
>
>I tried:
>\useexternalfigure[pic][mypic][maxwidth=.5\textwidth] % ok
>\placeongrid[bottom]{\placefigure[right][somewhat]{none}{\externalfigure[pic]}}
>
>The picture is always centered in the column and centered between some lines,
>text below.
>
>Is there a solution?
i'm in the process of adding more grid control (section header already done).
in your case: look at column sets (in a next release there will be things
like free standing graphics, bleeding control, absolute col/cell
positioning and other things dtp-ers like you will love; working on that now)
\definecolumnset
[main][n=5,distance=.5cm]
\setuppapersize
[A2][A2]
\setuplayout
[topspace=3cm,
backspace=3cm,
header=1.5cm,
footer=1.5cm,
height=middle,
width=middle]
\setupbodyfont
[10pt] % ,ppl]
\starttext
\definecolumntextarea [zero][right][x=1,y=1,nx=5,ny=15,state=start]
\setupcolumntextareatext[zero][right][\WidthSpanningText{Hasselt
750}{\hsize}{RegularBold}]
\definecolumntextarea [one][right][x=1,y=45,nx=5,ny=15,state=start]
\setupcolumntextareatext[one][right][{\externalfigure[hass23g][width=\hsize,height=\vsize]}]
\definecolumntextarea [two][right][x=2,y=42,nx=2,ny=10,state=start]
\setupcolumntextareatext[two][right][{\externalfigure[hakker1b][width=\hsize,height=\vsize]}]
\definecolumntextarea [three][right][x=4,y=55,nx=1,ny=10,state=start]
\setupcolumntextareatext[three][right][{\externalfigure[hakker1b][width=\hsize,height=\vsize]}]
\setupheader[state=high]
\startcolumnset[main]
\dorecurse{100}{\input tufte \par}
\stopcolumnset
\stoptext
guess what happens in a double sided layout with nx > 5
actually, if you want you can play with different column widths (an old
wish of yours if i remember right)
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
fall-back web server:
www.pragma-pod.nl
-------------------------------------------------------------------------
next prev parent reply other threads:[~2002-02-19 9:56 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-18 17:03 Henning Hraban Ramm
2002-02-19 9:56 ` Hans Hagen [this message]
2002-02-19 13:57 ` Henning Hraban Ramm
2002-02-19 15:27 ` Hans Hagen
2002-02-21 7:52 ` Dan Seracu
2002-02-27 19:19 ` Hans Hagen
2002-02-28 9:19 ` Dan Seracu
2002-02-28 10:04 ` Taco Hoekwater
2002-02-28 11:23 ` Dan Seracu
2002-02-28 12:31 ` Taco Hoekwater
2002-02-28 12:45 ` Dan Seracu
2002-02-28 12:56 ` Taco Hoekwater
2002-02-28 16:45 ` Hans Hagen
2002-02-28 12:37 ` etex Patrick Gundlach
2002-02-28 12:50 Pictures in columns Dan Seracu
2002-02-28 16:45 ` 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=5.1.0.14.1.20020219105201.03ea1e88@server-1 \
--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).