ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* simple usage of \hpos
@ 2010-02-06 22:17 Peter Münster
  2010-02-07  8:42 ` Wolfgang Schuster
  0 siblings, 1 reply; 7+ messages in thread
From: Peter Münster @ 2010-02-06 22:17 UTC (permalink / raw)
  To: ConTeXt list

Hello,

How can I place an element as background at a previously defined position?

Here a test-file to show what I'm looking for:

\definelayer[graphics][position=yes]
\setupbackgrounds[page][background=graphics]
\starttext
Here is some text. I would like to appear a graphics exactly
behind \hpos{XXX}{HERE}. How can I do this, without measuring by hand the
x- and y-offsets, and perhaps also without using metapost?

Such a command would be fine: \type{\placeatpos[XXX]{my background
    figure}}, or \type{\setlayer[graphics][location=XXX]{...}}.

\setlayer[graphics][dx=128mm, dy=-27mm]{\externalfigure[hacker.jpg][width=1cm]}
\stoptext

TIA for any help!
Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2010-02-07 15:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-06 22:17 simple usage of \hpos Peter Münster
2010-02-07  8:42 ` Wolfgang Schuster
2010-02-07 12:22   ` Peter Münster
2010-02-07 12:46     ` Wolfgang Schuster
2010-02-07 14:26       ` Peter Münster
2010-02-07 14:56         ` Wolfgang Schuster
2010-02-07 15:28           ` Peter Münster

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