From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/843 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Sample of the Day (Example environment) Date: Thu, 09 Sep 1999 00:44:55 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <37D6E6E7.4FBCE958@wxs.nl> References: <3.0.5.32.19990908125120.00b48340@mail.northcoast.com> 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 1035391684 27599 80.91.224.250 (23 Oct 2002 16:48:04 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 16:48:04 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: David Arnold Xref: main.gmane.org gmane.comp.tex.context:843 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:843 David Arnold wrote: > \startformula > r=\frac{4}{1+0.5\cos\theta}. > \stopformula Ha, you uncovered a bug in \frac, it should be (in core-mat.tex). I didn't count the braces right when I added the \mathematics macro. Stupid error. \def\frac#1#2% {\relax\mathematics{{{\mathstyle{#1}}\over{\mathstyle{#2}}}}} Concerning the italic, it's what you asked for -) \let\mathop\normalmathop gives you non adapting math. I can make a \setupmath command ... Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl -----------------------------------------------------------------