From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/49396 Path: news.gmane.org!not-for-mail From: Sanjoy Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: colored backgrounds in displayed math Date: Mon, 13 Apr 2009 14:53:41 -0400 Message-ID: References: <108C8604-370C-432E-93AE-F383F00E00AE@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1239649137 27890 80.91.229.12 (13 Apr 2009 18:58:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 13 Apr 2009 18:58:57 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Apr 13 21:00:16 2009 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 lo.gmane.org with esmtp (Exim 4.50) id 1LtROB-0004q1-RG for gctc-ntg-context-518@m.gmane.org; Mon, 13 Apr 2009 21:00:15 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 264C61FA41; Mon, 13 Apr 2009 20:58:48 +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 14193-02; Mon, 13 Apr 2009 20:57:46 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1E0B71FA4C; Mon, 13 Apr 2009 20:57:46 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4BD6F1FA4C for ; Mon, 13 Apr 2009 20:57:44 +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 29287-05 for ; Mon, 13 Apr 2009 20:57:00 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by ronja.ntg.nl (Postfix) with ESMTP id DEAC11FA2B for ; Mon, 13 Apr 2009 20:57:00 +0200 (CEST) Original-Received: from biscayne-one-station.mit.edu (BISCAYNE-ONE-STATION.MIT.EDU [18.7.7.80]) by filter4-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n3DIuxit013970 for ; Mon, 13 Apr 2009 20:57:00 +0200 Original-Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by biscayne-one-station.mit.edu (8.13.6/8.9.2) with ESMTP id n3DIuuUh025828; Mon, 13 Apr 2009 14:56:56 -0400 (EDT) Original-Received: from approx.mit.edu ([18.38.7.153]) (authenticated bits=0) (User authenticated as sanjoy@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id n3DIus2Q026568 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); Mon, 13 Apr 2009 14:56:55 -0400 (EDT) Original-Received: from sanjoy by approx.mit.edu with local (Exim 4.69) (envelope-from ) id 1LtRHp-0005NF-DB; Mon, 13 Apr 2009 14:53:41 -0400 In-Reply-To: Your message of "Thu, 09 Apr 2009 22:44:42 +0200." <108C8604-370C-432E-93AE-F383F00E00AE@gmail.com> (sfid-20090409_213141_358632_3E88D69E) X-Mailer: MH-E 8.1; nmh 1.2; GNU Emacs 22.3.1 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 X-Scanned-By: MIMEDefang 2.42 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=18.7.7.80; country=US; region=MA; city=Cambridge; postalcode=02139; latitude=42.3646; longitude=-71.1028; metrocode=506; areacode=617; http://maps.google.com/maps?q=42.3646,-71.1028&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 207792882 - 5e31522f3950 - 20090413 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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:49396 Archived-At: Wolfgang Schuster wrote: > Hi Sanjoy, welcome back Thanks! It's absurdly enjoyable but exhausting raising a small child (22 months old)...and we have only one so I don't know how people with two or more children manage even to tie their shoes. >> In displayed math I was trying to highlight a piece of a formula >> using a gray background. > Use backgroundoffset, not frameoffset. Ah! Because I used frame=off, I did not notice that frameoffset=5pt was correctly moving the frame (rather than the background) outward. So, thanks for the recipe; it works perfectly, I've wikified at . -Sanjoy `Until lions have their historians, tales of the hunt shall always glorify the hunters.' --African Proverb ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________