ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: colored box background
Date: Fri, 14 Jul 2006 12:07:01 +0200	[thread overview]
Message-ID: <44B76CC5.50208@wxs.nl> (raw)
In-Reply-To: <315181E1-A702-421B-A167-856FB31413C5@science.uva.nl>

Hans van der Meer wrote:
> Say I have a box, e.g. \setbox\thebox=\vbox{....} with dimensions 
> \wd\thebox etc.
> What then is the most efficient and economic (in terms of complexity 
> and speed) way to generate a colored background for it?�
> I know I can use \framed, but this I wish to avoid because it seems 
> overly complex for this simple task and may have side effects in terms 
> of alignment issues.
> Is the best perhaps using a metapost graphic? and if so, what is best 
> MPgraphic, useMPgraphic, reuseMPgraphic, etc.?
\backgroundline[red]{...}

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

  parent reply	other threads:[~2006-07-14 10:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-14  8:55 Hans van der Meer
2006-07-14  9:49 ` Taco Hoekwater
2006-07-14 10:07 ` Hans Hagen [this message]
2006-07-14 10:13   ` Taco Hoekwater
2006-07-14 10:24     ` luigi scarso
2006-07-14 10:33     ` Hans van der Meer

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=44B76CC5.50208@wxs.nl \
    --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).