From: Johannes Fichtinger <jotfi@yahoo.de>
Subject: Absolute positioning of grafics in ConTeXt
Date: Tue, 4 Apr 2006 16:31:57 +0200 [thread overview]
Message-ID: <200604041631.57170.jotfi@yahoo.de> (raw)
Hi all,
I'm quite new to ConTeXt, but I've been working with LaTeX for several years
now. Now I faced a problem which I'm not able to solve in LaTeX which
probably can be solved in ConTeXt:
I need a possibility to set grafics in a book on exact, absolute positions.
Now I found the way for background images, like in the attached example.
But obviously, normal text is written above the background image. I need
now a possibility like this but for foreground grafics.
So, how can I set the position of grafics absolutely in ConTeXt?
Thanks,
Johannes.
My example:
--------------------------------------------------------------
\enableregime [il1]
\mainlanguage [de]
\setuplayout [grid=yes,marking=on,horoffset=2cm,veroffset=2cm]
\definepapersize [jo][width=14cm,height=18cm]
\setuppapersize [jo][a4]
\useexternalfigure[wr][dpm][type=png, width=5cm, height=4cm]
\definelayer[wr-layer]
\defineoverlay[wr-overlay][\composedlayer{wr-layer}]
\setupbackgrounds[page][background={wr-overlay}]
\starttext
\setlayer[wr-layer][x=-0.1cm,y=-0.1cm]{\externalfigure[wr]}
Blablabla
\stoptext
--------------------------------------------------------------
next reply other threads:[~2006-04-04 14:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-04 14:31 Johannes Fichtinger [this message]
2006-04-05 8:07 ` Vit Zyka
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=200604041631.57170.jotfi@yahoo.de \
--to=jotfi@yahoo.de \
--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).