ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Giuseppe Bilotta <bourbaki@bigfoot.com>
Cc: ntg-context@ntg.nl
Subject: Re[2]: Columns AND background
Date: Tue, 13 Nov 2001 14:40:19 +0100	[thread overview]
Message-ID: <12819570216.20011113144019@bigfoot.com> (raw)
In-Reply-To: <5.1.0.14.1.20011113093927.0315acc8@server-1>

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


      reply	other threads:[~2001-11-13 13:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-12 21:28 Giuseppe Bilotta
2001-11-13  8:45 ` Hans Hagen
2001-11-13 13:40   ` Giuseppe Bilotta [this message]

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=12819570216.20011113144019@bigfoot.com \
    --to=bourbaki@bigfoot.com \
    --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).