From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/175 Path: main.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: ConTeXt: math formulars + framed/grey background Date: Fri, 16 Oct 1998 15:37:47 +0200 (W. Europe Daylight Time) Sender: owner-ntg-context@let.uu.nl Message-ID: <13863.19499.760000.670332@PC709> NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035391044 21808 80.91.224.250 (23 Oct 2002 16:37:24 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 16:37:24 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: Wolfgang Huber Xref: main.gmane.org gmane.comp.tex.context:175 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:175 >>>>> "WH" == Wolfgang Huber writes: WH> Hi ! >> I don't need it right now, but is there is simple why to frame >> everything within \{start|stop}formulas? An entire formula is easy: \startbuffer \startformula ..... \stopformula \stopbuffer \framed{\getbuffer} 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. WH> That reminds me -- has there been work on the math-part of WH> context in the recent time? No, but I promise I'll get around to that in the next couple of months. We first had to get some extensions to the font mechanism in place, and that work is now finished. Greetings, Taco