From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/81543 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Math typesetting problems Date: Sat, 06 Apr 2013 23:35:43 +0200 Message-ID: <5160952F.3030203@wxs.nl> References: <3332D3B9-E47C-47C2-8879-C0B5BE5ACADA@gmail.com> <6759E73E-0995-49FF-A826-9913EA39C49E@gmail.com> <902B5A0E-2BF3-428B-8226-07549398F187@gmail.com> <20130128232048.GA7470@khaled-laptop> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1365284149 20624 80.91.229.3 (6 Apr 2013 21:35:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 6 Apr 2013 21:35:49 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Apr 06 23:35:53 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UOam6-0004oj-Bb for gctc-ntg-context-518@m.gmane.org; Sat, 06 Apr 2013 23:35:50 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0ECF4101E3; Sat, 6 Apr 2013 23:35:50 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id z1-tw7SzWbKw; Sat, 6 Apr 2013 23:35:46 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id B8CD5101E8; Sat, 6 Apr 2013 23:35:46 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D73E0101E8 for ; Sat, 6 Apr 2013 23:35:45 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id uaDYslnfKa87 for ; Sat, 6 Apr 2013 23:35:44 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 9BFE5101E4 for ; Sat, 6 Apr 2013 23:35:44 +0200 (CEST) Original-Received: from smtp.ziggozakelijk.nl (D57D1DA2.static.ziggozakelijk.nl [213.125.29.162]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r36LZc8l009806 for ; Sat, 6 Apr 2013 23:35:38 +0200 X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.101; Original-Received: from [10.100.1.101] (unverified [10.100.1.101]) by pragma-net.nl (SurgeMail 6.1c) with ESMTP (TLS) id 14702-1713362 for multiple; Sat, 06 Apr 2013 23:35:34 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.2; rv:17.0) Gecko/20130307 Thunderbird/17.0.4 In-Reply-To: <20130128232048.GA7470@khaled-laptop> X-Authenticated-User: hagen@controller-9 X-Bayes-Prob: 0.0003 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.125.29.162; country=NL; region=15; city=Zwolle; latitude=52.5058; longitude=6.0858; http://maps.google.com/maps?q=52.5058,6.0858&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0QJkJzCRA - c5b9eacddfa6 - 20130406 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:81543 Archived-At: On 1/29/2013 12:20 AM, Khaled Hosny wrote: > On Mon, Jan 28, 2013 at 09:33:52PM +0100, Wolfgang Schuster wrote: >> >> The \frac command uses \vcenter for the content while \dfrac and >> \tfrac only set the mathstyle before placing the content with the >> \over primitive. > > The use of \vcenter seems odd here as it means the fraction rule will no > longer guranteed to be centered around the math axis: > \starttext > \math{-\frac{a^{2^{2^2}}}{a} {a^{2^{2^2}}\over a}} > \stoptext > > Also, why \frac is forcing text style fractions even in display mode? > \starttext > \startformula > -\frac{a^{2^{2^2}}}{a} {a^{2^{2^2}}\over a} > \stopformula > \stoptext > > Both behaviours are different from MkII. I redid the mkiv code ... configurable, defineable, inheritable ... the whole lot \starttext \definemathfraction[myfrac] [mathstyle=script] \definemathfraction[myfracx][mathstyle=script,alternative=outer] \startformula {a^{2^{2^2}}\over a} \frac{a^{2^{2^2}}}{a} \frac{a^{2}}{b} \myfrac{a^{2}}{b} \myfracx{a^{2}}{b} \stopformula \stoptext ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________