From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/178 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: ConTeXt: math formulars + framed/grey background Date: Fri, 16 Oct 1998 18:18:57 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <36278001.E955F95@wxs.nl> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035391047 21836 80.91.224.250 (23 Oct 2002 16:37:27 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 16:37:27 +0000 (UTC) Cc: Wolfgang Huber , ntg-context@ntg.nl Original-To: Taco Hoekwater Xref: main.gmane.org gmane.comp.tex.context:178 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:178 Taco Hoekwater wrote: > An entire formula is easy: > > \startbuffer > \startformula > ..... > \stopformula > \stopbuffer > > \framed{\getbuffer} Ok, although I'm not sure how the spacing around formulas is done then. > For a partial thing you needs something along the lines of: > > \def\mframed#1{\relax\ifmmode > \vcenter{\hbox{\framed{$\ifinner > \else \displaystyle \fi #1$}}}% > \else \framed{$\relax #1$}\fi} > > Which allows \mframed{\alpha}, but with slightly less than optimal > spacing. I get some useful examples I can try to overcome the 'something' and make it permanent present. How should the spacing be? Did you try \inframed? Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | mail: pragma@wxs.nl -----------------------------------------------------------------