From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/6116 Path: main.gmane.org!not-for-mail From: Giuseppe Bilotta Newsgroups: gmane.comp.tex.context Subject: Re[2]: Columns AND background Date: Tue, 13 Nov 2001 14:40:19 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <12819570216.20011113144019@bigfoot.com> References: <5.1.0.14.1.20011113093927.0315acc8@server-1> Reply-To: Giuseppe Bilotta 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 1035396662 7549 80.91.224.250 (23 Oct 2002 18:11:02 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:11:02 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: Hans Hagen In-Reply-To: <5.1.0.14.1.20011113093927.0315acc8@server-1> Xref: main.gmane.org gmane.comp.tex.context:6116 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:6116 Tuesday, November 13, 2001 Hans Hagen wrote: HH> At 10:28 PM 11/12/2001 +0100, you wrote: >>Hello, >> >>I would like to be able to obtain balanced columns with a gray >>background. >> >>If I use the background option in the startcolumns command I do >>get a background for each column, but there is an annoying (for >>me) gray space in the space left between the column. Even setting >>distance=0pt doesn't help here. (BTW, there is an error in >>TeXShow, because option=background and option=none|empty are >>listed separately) >> >>If OTOH I use startcolumns inside a vbox inside a framed, columns >>don't get balanced, even if I set balance=yes. I noticed that the >>vbox is enough to cancel the balancing. But it's needed if I must >>use the framed. >> >>Any ideas? HH> You don't want to know this, do you? Reading the solution, no! :-) HH> \definetextbackground[gb][state=start] HH> \definetextbackground[bg][state=start,backgroundcolor=red] HH> \definetextbackground[gg][state=start,backgroundcolor=green] HH> \starttextbackground[gb] [snip] HH> \stoptextbackground HH> \stoptext Thanks. HH> If I have time i will see if i can make backgrounds support columns, but HH> this is not trivial (something is already build into the column set HH> mechanism). Oh, this is enough already (at least by now ...) -- Giuseppe "Oblomov" Bilotta