* Absolute positioning of grafics in ConTeXt
@ 2006-04-04 14:31 Johannes Fichtinger
2006-04-05 8:07 ` Vit Zyka
0 siblings, 1 reply; 2+ messages in thread
From: Johannes Fichtinger @ 2006-04-04 14:31 UTC (permalink / 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
--------------------------------------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Absolute positioning of grafics in ConTeXt
2006-04-04 14:31 Absolute positioning of grafics in ConTeXt Johannes Fichtinger
@ 2006-04-05 8:07 ` Vit Zyka
0 siblings, 0 replies; 2+ messages in thread
From: Vit Zyka @ 2006-04-05 8:07 UTC (permalink / raw)
Johannes Fichtinger wrote:
> 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}]
\setupbackgrounds[page][background={foreground,wr-overlay}]
Cheers, Vit
> \starttext
>
> \setlayer[wr-layer][x=-0.1cm,y=-0.1cm]{\externalfigure[wr]}
> Blablabla
>
> \stoptext
> --------------------------------------------------------------
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>
--
=======================================================
Ing. Vít Zýka, Ph.D. TYPOkvítek
database publishing databazove publikovani
data maintaining and typesetting in typographic quality
priprava dat a jejich sazba v typograficke kvalite
tel.: (+420) 777 198 189 www: http://typokvitek.com
=======================================================
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-04-05 8:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-04 14:31 Absolute positioning of grafics in ConTeXt Johannes Fichtinger
2006-04-05 8:07 ` Vit Zyka
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).