From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/11592 Path: main.gmane.org!not-for-mail From: Matthew Huggett Newsgroups: gmane.comp.tex.context Subject: Re: color band Date: Sun, 23 Mar 2003 11:07:11 +0900 Sender: ntg-context-admin@ntg.nl Message-ID: <3E7D16CF.6060807@zam.att.ne.jp> References: <3E7CEABD.9DEBD96B@lamar.colostate.edu> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1048385409 28953 80.91.224.249 (23 Mar 2003 02:10:09 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 23 Mar 2003 02:10:09 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Sun Mar 23 03:10:05 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18wuw0-0007WQ-00 for ; Sun, 23 Mar 2003 03:10:04 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 6DB5410B3B; Sun, 23 Mar 2003 03:10:12 +0100 (MET) Original-Received: from smtp2.att.ne.jp (smtp2.att.ne.jp [165.76.15.138]) by ref.ntg.nl (Postfix) with ESMTP id 0657210AE8 for ; Sun, 23 Mar 2003 03:07:21 +0100 (MET) Original-Received: from zam.att.ne.jp (unknown [218.231.154.89]) by smtp2.att.ne.jp (Postfix) with ESMTP id 34F192519E for ; Sun, 23 Mar 2003 11:07:21 +0900 (JST) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2.1) Gecko/20021130 X-Accept-Language: en-us, en, zh-cn, ja, zh-tw Original-To: ntg-context@ntg.nl In-Reply-To: <3E7CEABD.9DEBD96B@lamar.colostate.edu> Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:11592 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:11592 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