ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Sanjoy Mahajan <sanjoy@MIT.EDU>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: colored backgrounds in displayed math
Date: Mon, 13 Apr 2009 14:53:41 -0400	[thread overview]
Message-ID: <E1LtRHp-0005NF-DB@approx.mit.edu> (raw)
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)

Wolfgang Schuster <schuster.wolfgang@googlemail.com> 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
<http://wiki.contextgarden.net/Framed>.

-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
___________________________________________________________________________________


  reply	other threads:[~2009-04-13 18:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-09 13:34 Sanjoy Mahajan
2009-04-09 20:44 ` Wolfgang Schuster
2009-04-13 18:53   ` Sanjoy Mahajan [this message]
2009-04-14  7:11     ` luigi scarso

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=E1LtRHp-0005NF-DB@approx.mit.edu \
    --to=sanjoy@mit.edu \
    --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).