From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/29344 Path: news.gmane.org!not-for-mail From: Hans van der Meer Newsgroups: gmane.comp.tex.context Subject: colored box background Date: Fri, 14 Jul 2006 10:55:34 +0200 Message-ID: <315181E1-A702-421B-A167-856FB31413C5@science.uva.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: multipart/mixed; boundary="===============0024837225==" X-Trace: sea.gmane.org 1152867547 8203 80.91.229.2 (14 Jul 2006 08:59:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 14 Jul 2006 08:59:07 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Jul 14 10:59:05 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1G1JVn-0005Yf-VU for gctc-ntg-context-518@m.gmane.org; Fri, 14 Jul 2006 10:59:04 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 478D2127FE; Fri, 14 Jul 2006 10:59:03 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07674-04; Fri, 14 Jul 2006 10:58:59 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 98BF6127E1; Fri, 14 Jul 2006 10:56:50 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C76ED127E1 for ; Fri, 14 Jul 2006 10:56:41 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 08707-01 for ; Fri, 14 Jul 2006 10:56:32 +0200 (CEST) Original-Received: from smtp.science.uva.nl (smtp.science.uva.nl [146.50.4.84]) by ronja.ntg.nl (Postfix) with SMTP id D3941127CE for ; Fri, 14 Jul 2006 10:56:25 +0200 (CEST) Original-Received: from 118-2.uva.surfnetthuis.nl [145.98.118.2] by smtp.science.uva.nl with ESMTP (sendmail 8.11.6p2/config 11.36). id k6E8uHv21614; Fri, 14 Jul 2006 10:56:17 +0200 X-Organisation: Faculty of Science, University of Amsterdam, The Netherlands X-URL: http://www.science.uva.nl/ Original-To: NTG ConTeXt X-Mailer: Apple Mail (2.752.2) X-Virus-Scanned: by amavisd-new X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:29344 Archived-At: --===============0024837225== Content-Type: multipart/alternative; boundary=Apple-Mail-1-613958689 --Apple-Mail-1-613958689 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed 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.? Hans van der Meer --Apple-Mail-1-613958689 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1 Say I have a box, e.g. = \setbox\thebox=3D\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?=A0
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.?

Hans van der = Meer


=

= --Apple-Mail-1-613958689-- --===============0024837225== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context --===============0024837225==--