ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* how to: place a figure in an overlay
@ 2001-02-16 15:49 Uwe Koloska
  2001-02-16 16:44 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Uwe Koloska @ 2001-02-16 15:49 UTC (permalink / raw)


Hello Hans, hello all,

I have a picture that is smaller than the page and want to place it in the 
background -- but not in the middle.  How can I do that?

Say, the pic is 5x5cm and I want to place it at (10cm,12cm) from the top 
left corner.

Uwe

-- 
mailto:koloska@rcs.urz.tu-dresden.de
http://rcswww.urz.tu-dresden.de/~koloska/
--                                    --
right now the web page is in german only
but this will change as time goes by ;-)


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: how to: place a figure in an overlay
  2001-02-16 15:49 how to: place a figure in an overlay Uwe Koloska
@ 2001-02-16 16:44 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2001-02-16 16:44 UTC (permalink / raw)
  Cc: ntg-context

At 04:49 PM 2/16/01 +0100, Uwe Koloska wrote:
>Hello Hans, hello all,
>
>I have a picture that is smaller than the page and want to place it in the 
>background -- but not in the middle.  How can I do that?
>
>Say, the pic is 5x5cm and I want to place it at (10cm,12cm) from the top 
>left corner.

What corner? The paper? 

\defineoverlay
  [mine]
  [\vbox to \overlayheight 
     {\vskip10cm
      \hbox to \overlaywidth{\hskip12cm\externalfigure[somefig]\hfill}
      \vfill}]

\setupbackgrounds[page][background=mine]

Hans  

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-02-16 16:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-16 15:49 how to: place a figure in an overlay Uwe Koloska
2001-02-16 16:44 ` Hans Hagen

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).