From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/2366 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: figures Date: Wed, 05 Jul 2000 18:15:41 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <3.0.6.32.20000705181541.01718100@pop.wxs.nl> References: <3.0.6.32.20000704084815.00ad1e20@pop.wxs.nl> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: main.gmane.org 1035393155 8270 80.91.224.250 (23 Oct 2002 17:12:35 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:12:35 +0000 (UTC) Cc: ConTeXt Original-To: Hraban In-Reply-To: <39636E65.1FE7C4AF@gmx.net> Xref: main.gmane.org gmane.comp.tex.context:2366 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:2366 At 07:20 PM 7/5/00 +0200, Hraban wrote: >> \startbuffer >> \setupcombinations[width=4cm] >> \startcombination >> ... >> \stopcombination >> >> \placefigure[here][..]{none}{\getbuffer} > >Is it necessary to use this buffer construction? Why? Not necessary but it simply looks better in code, as well as there is less chance on {} errors [it also groups the setup command nicely] >I changed my file in this way. It's better than before, >but the text stays only as wide as the logo (and is >therefore wrapped horribly). >Perhaps I wasn't clear enough: I need a space of e.g. >5 cm for the logo (which is 2 cm wide itself). In this >space it should be centered, the describing text should >wrap at the whole width (5 cm). > > >> \def\koe{\sbox{\externalfigure[koe][height=\lineheight]}} >> [so, \sbox does the trick, alternative: > >Yes, that's ok. > >> \hbox{\lower.2ex\hbox{your fig}} > >It's useful at another place. \hbox to 5cm{\hss\sbox{\hbox{oeps}}\hss} One way of doing these things is using framed and packing them together. \hbox {\framed[width=5cm,height=5cm]{figure}% \framed[width=10cm,height=5cm]{some text}} etc. Turn of the frame, set the offset to 'overlay' and done. Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE 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 -------------------------------------------------------------------------