From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/1046 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Position of figures Date: Thu, 21 Oct 1999 12:44:22 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <380EFC96.EC76FE2E@wxs.nl> References: <0F3313EC125AD311981100105AB3A75D107968@N0795.mdf.fvbb.de> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035391888 29347 80.91.224.250 (23 Oct 2002 16:51:28 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 16:51:28 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: "Haseloff, Lutz" Xref: main.gmane.org gmane.comp.tex.context:1046 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:1046 "Haseloff, Lutz" wrote: > Is it possible in ConTeXt to place a figure or text on the page > *independent* of all other > contents of the page and *independent* of the margins? > In LaTeX it was possible with the at.sty. > I tried out the Command \position(number,number){text}, but it places > text and figures depending from the current Position and gives me many > overfull \hbox and \vbox messages, \hss and \vss didnīt help. > My TeX Knowledge isnīt that deep, that i could change the content of \output > without crashing ConTeXt. There are two mechanisms, one is described in the chapters I posted recently , and deals with logo's, the other, more frequently used mechanism is called overlays. Say you have: \defineoverlay[thisorthat][{\externalfigure[...]}] then you can say: \setupbackgrounds [text][text] [background=thisorthat] or even a collection of overlays, like background={color,one,two,three} where color refers to the current backgroundcolor. When dealing with overlays, one can use \overlaywidth and \overlayheight as dimensions (macros actually). Overlays can be put behind all relevant areas: headers, footers, text, margin, edge, top, bottom, and page. The latter permits you to exactly position the figure, the former force consistency. There is much more to say to this btw. In my spare moments, 'm working on graphics layering as well, which means graphics on and across layers, hooked into overlays. Rather nice (and even impressive) I would say. Here I also have an experimental page model for metapost, which means that one can have graphics that uses dimensions and positions fed by tex, but permits more clever graphics. In the next MAPS I will (if taco permits me) present some of this, so maybe this is a reason to join the NTG -) Hans > btw, what means degelijkheid? Ha, you refer to the language documentation where I classify according to proverbs and so. It means that when germans do something they do it quite well, they go for it, proper stuff and so. If you want to buy a 'degelijke' car, you'd better buy german. Of course 'degelijkheid' can have its backsides too -) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl -----------------------------------------------------------------