ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Matthew Huggett <mhuggett@zam.att.ne.jp>
Subject: Re: color band
Date: Sun, 23 Mar 2003 11:07:11 +0900	[thread overview]
Message-ID: <3E7D16CF.6060807@zam.att.ne.jp> (raw)
In-Reply-To: <3E7CEABD.9DEBD96B@lamar.colostate.edu>

Idris S Hamid wrote:

>Dear syndicate,
>
>For a book cover I want a green-colored rectangular band, centered, at
>the very top of the page, with text in some other color (to be
>determined) overlapping the band. The band is small, just, say, 2cm high
>and 12 cm wide. Since it's at the top it is surrounded by white on only
>three sides. I'm not even sure where to get started here 
>  
>
How about using layers and a grid for your cover page.  You might try:
 
\setuplayout[grid=yes,columns=Some-Value, columndistance=Some-Value]
\definelayer[page] \setupbackgrounds[pagegraphics] 
[background=pagegraphics] % I'm not %100 sure here-- see details.pdf 
regarding overlays and ornaments
 
\setlayer[page][location=grid, column=Your-Column-Choice, 
line=The-base-line-for-your-color-band] % line= 4?
    
{\framed[height=2cm,width=12cm,frame=off,background=color,backgroundcolor=green, 
foregroundcolor=Your-Color]
       {Your-Text}}

I had some luck this way making handouts for classes.  I don't know if 
it will work with your Omega/Gamma setup though.  You'll also need to 
make sure that layers are supported in your version of ConTeXt.  I had 
to upgrade mine before it would work.  You should check out details.pdf 
if you haven't done so already.  Hans has given some good examples there.


Best Wishes,

Matt

  reply	other threads:[~2003-03-23  2:07 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 [this message]
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
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=3E7D16CF.6060807@zam.att.ne.jp \
    --to=mhuggett@zam.att.ne.jp \
    --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).