From: Hans Hagen <pragma@wxs.nl>
Subject: Re: Re: color band
Date: Wed, 26 Mar 2003 08:31:09 +0100 [thread overview]
Message-ID: <5.1.0.14.1.20030326082824.01db1d78@server-1> (raw)
In-Reply-To: <87of3z1i8e.fsf@gundla.ch>
At 06:14 PM 3/25/2003 +0100, you wrote:
>Idris S Hamid <ishamid@lamar.colostate.edu> writes:
>
>Hello Idris,
>
> > But what about overlays over color. They still don't work:
>
>There are two problems here. First, say background={color,backgr}
>with setupbackgrounds. But this won't help ;-) since the
>setupbackground is sometimes a bit strange (see below).
>
>I bet the leftedge is 0pt (test with showmakeup or my t-layout
>module, say \ShowModule[showmore=1]) so you won't be able to see
>anything colored.
>
>\setupbackgrounds[text][leftmargin][background={color,backgr},
> backgroundcolor=green]
>
>When you use \setupbackgrounds[page]... you access the whole page
>(!). Not just any margin or textarea. So there you probably need some
>metapost hacking (easy) in order to get your green side. See the
>metafun manual or my page.pdf.
it may help to know that there is a predefined path OverlayBox:
\startuniqueMPgraphic{myback}
fill OverlayBox withcolor red ;
\stopuniqueMPgraphic
or
fill OverlayBox enlarged 2pt withcolor red (for a bleed)
or
fill OverlayBox leftenlarged 3pt ...
setbounds currentpicture to OverlayBox
or
StartPage ;
...
StopPage ;
if needed : setbounds currentpicture to Page ;
also, you can say:
\setuplayout[clipoffset=3pt]
to get nicely clipped pages
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
-------------------------------------------------------------------------
next prev parent reply other threads:[~2003-03-26 7:31 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-22 22:59 Idris S Hamid
2003-03-23 2:07 ` Matthew Huggett
2003-03-23 7:47 ` Guy Worthington
2003-03-23 21:15 ` Idris S Hamid
2003-03-23 8:56 ` Patrick Gundlach
2003-03-23 22:04 ` Idris S Hamid
2003-03-23 22:09 ` Re[2]: " Giuseppe Bilotta
2003-03-23 22:24 ` Idris S Hamid
2003-03-23 23:07 ` Re[2]: " Giuseppe Bilotta
2003-03-23 23:30 ` Re[3]: " Giuseppe Bilotta
2003-03-24 9:29 ` Re[2]: " Hans Hagen
2003-03-25 15:31 ` Idris S Hamid
2003-03-25 17:10 ` Hans Hagen
2003-03-25 17:14 ` Patrick Gundlach
2003-03-25 22:25 ` Idris S Hamid
2003-03-25 22:41 ` Bill McClain
2003-03-25 22:44 ` Patrick Gundlach
2003-03-27 15:42 ` Idris S Hamid
2003-03-27 16:20 ` Patrick Gundlach
2003-03-27 21:38 ` Idris S Hamid
2003-03-27 17:16 ` Hans Hagen
2003-03-27 15:45 ` Idris S Hamid
2003-03-26 7:31 ` Hans Hagen [this message]
2003-03-26 8:01 ` Patrick Gundlach
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=5.1.0.14.1.20030326082824.01db1d78@server-1 \
--to=pragma@wxs.nl \
--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).