From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9370 Path: main.gmane.org!not-for-mail From: Jens-Uwe Morawski Newsgroups: gmane.comp.tex.context Subject: background offsets Date: Tue, 24 Sep 2002 13:18:10 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <20020924131810.1f3a0a5d.morawski@gmx.net> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035399701 2581 80.91.224.250 (23 Oct 2002 19:01:41 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 19:01:41 +0000 (UTC) Original-To: ConTeXt Xref: main.gmane.org gmane.comp.tex.context:9370 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9370 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=] 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