ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: ntg-context@ntg.nl
Subject: Re: Position of figures
Date: Thu, 21 Oct 1999 12:44:22 +0100	[thread overview]
Message-ID: <380EFC96.EC76FE2E@wxs.nl> (raw)
In-Reply-To: <0F3313EC125AD311981100105AB3A75D107968@N0795.mdf.fvbb.de>

"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
-----------------------------------------------------------------


  reply	other threads:[~1999-10-21 11:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-10-21  6:14 Haseloff, Lutz
1999-10-21 11:44 ` Hans Hagen [this message]
1999-10-22  3:00   ` NTG international (was Re: Position of figures) Ed L. Cashin
1999-10-22  8:31     ` Hans Hagen
1999-10-22 15:31     ` Berend de Boer

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=380EFC96.EC76FE2E@wxs.nl \
    --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).