ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Setupbackgrounds question
@ 2002-05-22 21:52 Tobias Burnus
  0 siblings, 0 replies; 2+ messages in thread
From: Tobias Burnus @ 2002-05-22 21:52 UTC (permalink / raw)


Hi,

I want to have a background which stretches from the top to the bottom on
the left margin.
I tried:
  \setupbackgrounds[top,header,text,footer,bottom][leftmargin][...]
but this only covers the header to the footer, i.e. a white, uncovered
region remain at the top and at the bottom. Any ideas what might go wrong?

Tobias


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

* Re: Setupbackgrounds question
       [not found] <Pine.LNX.4.44.0205222348480.13781-100000@warp9.physik.fu-b erlin.de>
@ 2002-05-23 10:31 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2002-05-23 10:31 UTC (permalink / raw)
  Cc: NTG-ConTeXt

At 11:52 PM 5/22/2002 +0200, Tobias Burnus wrote:
>Hi,
>
>I want to have a background which stretches from the top to the bottom on
>the left margin.
>I tried:
>   \setupbackgrounds[top,header,text,footer,bottom][leftmargin][...]
>but this only covers the header to the footer, i.e. a white, uncovered
>region remain at the top and at the bottom. Any ideas what might go wrong?

probably because top/bottom are not set large enough to span the rest,

\startreusableMPgraphic{somename}
   StartPage ;
     fill
       llcorner Page --
       ulcorner Page --
       ulcorner Page shifted (backspace,0) --
       llcorner Page shifted (backspace,0) -- cycle ;
   StopPage ;
\stopreusableMPgraphic

\defineoverlay[somename][\reuseMPgraphic{somename}]

\setupbackgrounds[page][background=somename]

may be a better approach

Hans

-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------


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

end of thread, other threads:[~2002-05-23 10:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-22 21:52 Setupbackgrounds question Tobias Burnus
     [not found] <Pine.LNX.4.44.0205222348480.13781-100000@warp9.physik.fu-b erlin.de>
2002-05-23 10:31 ` Hans Hagen

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