ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* background offsets
@ 2002-09-24 11:18 Jens-Uwe Morawski
  2002-09-27  9:04 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Jens-Uwe Morawski @ 2002-09-24 11:18 UTC (permalink / raw)


Hi,

for a screen-document i draw an overlay under the text-area.
The overlay is a simple MP-figure:

fill unitsquare yxscaled(\overlaywidth+6pt,\overlayheight+6pt) 
	withcolor transparent (1,0.7,white) ;

This overlay is centered under the text-area giving a 3pt offset
to every side.

I would prefer to specify the offset in the \setupbackgrounds
command:
\setupbackgrounds[text][text][offset=3pt,background=<overlay-name>]

and use in the MP-figure only:
fill unitsquare yxscaled(\overlaywidth,\overlayheight) 
	withcolor transparent (1,0.7,white) ;

but this only works for \framed, not for \setupbackgrounds. Why?

Thanks.

Best,
  Jens


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

end of thread, other threads:[~2002-09-27 10:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-24 11:18 background offsets Jens-Uwe Morawski
2002-09-27  9:04 ` Hans Hagen
2002-09-27 10:46   ` Jens-Uwe Morawski

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