From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87393 Path: news.gmane.org!not-for-mail From: Sanjoy Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: numerator is too high in \frac{3}{4}, in palatino Date: Sat, 17 May 2014 21:19:39 -0400 Message-ID: <87bnuv993o.fsf@approx.mit.edu> References: <87tx98524q.fsf@approx.mit.edu> <5368D79B.40204@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1400376021 25010 80.91.229.3 (18 May 2014 01:20:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 18 May 2014 01:20:21 +0000 (UTC) To: Hans Hagen , ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sun May 18 03:20:16 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Wlplu-0003EM-2X for gctc-ntg-context-518@m.gmane.org; Sun, 18 May 2014 03:20:14 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7CBEC101F9 for ; Sun, 18 May 2014 03:20:13 +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 YWqUUI9rZnst for ; Sun, 18 May 2014 03:20:13 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 4A3C3101FA for ; Sun, 18 May 2014 03:20:09 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9309A101E6 for ; Sun, 18 May 2014 03:20:03 +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 9iz3dCQBrup8 for ; Sun, 18 May 2014 03:20:01 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id C8925101E2 for ; Sun, 18 May 2014 03:19:53 +0200 (CEST) Original-Received: from dmz-mailsec-scanner-8.mit.edu (dmz-mailsec-scanner-8.mit.edu [18.7.68.37]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s4I1Jnem011262 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sun, 18 May 2014 03:19:52 +0200 X-AuditID: 12074425-f79746d000000ecc-25-53780ab48887 Original-Received: from mailhub-auth-1.mit.edu ( [18.9.21.35]) (using TLS with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by dmz-mailsec-scanner-8.mit.edu (Symantec Messaging Gateway) with SMTP id A1.81.03788.4BA08735; Sat, 17 May 2014 21:19:48 -0400 (EDT) Original-Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by mailhub-auth-1.mit.edu (8.13.8/8.9.2) with ESMTP id s4I1JkpN007502; Sat, 17 May 2014 21:19:47 -0400 Original-Received: from approx.mit.edu (pool-72-93-170-229.bstnma.east.verizon.net [72.93.170.229]) (authenticated bits=0) (User authenticated as sanjoy@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id s4I1JhA1011297 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Sat, 17 May 2014 21:19:45 -0400 Original-Received: from sanjoy by approx.mit.edu with local (Exim 4.82) (envelope-from ) id 1WlplL-00057m-IZ; Sat, 17 May 2014 21:19:39 -0400 In-Reply-To: <5368D79B.40204@wxs.nl> User-Agent: Notmuch/0.18 (http://notmuchmail.org) Emacs/24.3.1 (i486-pc-linux-gnu) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrDIsWRmVeSWpSXmKPExsUixCmqrLuFqyLY4PBiJYu18xcxWew6s5zJ gcnj2KrFjB6nrzkHMEVx2aSk5mSWpRbp2yVwZRzeMoe9YA1PxZyHT9gaGGdydTFycEgImEgs 3WrbxcgJZIpJXLi3nq2LkYtDSGA2k8S/ri+sIAkhgY2MEr1nayAS55gk7q5qZIZwZjBK7F2x jhlkEpuAqsTf/4EgDSICRhIb3+1lBLGFBXwkJpw4wAhSwimgIjG9VQhiprPE5udbmUBsUYEg ibMN71lASliApnxYLAIS5hXQlvjW8Z8VwhaUODnzCQuIzSwgIXHwxQvmCYwCs5CkZiFJLWBk WsUom5JbpZubmJlTnJqsW5ycmJeXWqRroZebWaKXmlK6iREUiOwuqjsYJxxSOsQowMGoxMPb eKk8WIg1say4MvcQoyQHk5Io73vmimAhvqT8lMqMxOKM+KLSnNTiQ4wSHMxKIrz+d4HKeVMS K6tSi/JhUtIcLErivG+trYKFBNITS1KzU1MLUotgsjIcHEoSvM84gYYKFqWmp1akZeaUIKSZ ODhBhvMADW8DqeEtLkjMLc5Mh8ifYlSUEuddD5IQAElklObB9cISxStGcaBXhHn/gVTxAJMM XPcroMFMQIPf7C0FGVySiJCSamCsr0vbsEA/50Liq7glO7q3Bjg+//Nued9+k5jTTsrL2EMP T2c7te/c5hqVoDcvp53I3qLloaQyhUdteq9jLJMPe1Ycs0Souv+k8h93Dh6/+uxFx6n5++9F bQn5KgkM0+sJW2PcO5V5snQ8u7Ovcgkv2c9b5LKe1Wn/VjH+FP8fzE7P1oWVf1Ni X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=18.7.68.37; country=US; region=Massachusetts; city=Cambridge; latitude=42.3931; longitude=-71.1345; http://maps.google.com/maps?q=42.3931,-71.1345&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0TM3djOFJ - baf64a1297db - 20140518 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:87393 Archived-At: Hans Hagen writes: > these are font properties and using a consistent opentype math versus > a bunch of loosely related type one fonts makes a difference But shouldn't TeXGyrePagellaMath qualify? > I've added: > > \starttext > > $\displaystyle 1+{2g\over3}+{2\over3}$ \blank > > \setupmathfractions[topdistance=0pt] > > $\displaystyle 1+{2g\over3}+{2\over3}$ \blank > > \setupmathfractions[bottomdistance=0pt] > > $\displaystyle 1+{2g\over3}+{2\over3}$ \blank > > \setupmathfractions[topdistance=0pt,bottomdistance=0pt] > > $\displaystyle 1+{2g\over3}+{2\over3}$ \blank > > \stoptext Thanks, Hans. That is very useful. I also recompiled my textbook draft using the latest beta (2014.05.17), and it works very well. I tried the topdistance and bottomdistance and they are mostly working. To my eye, with topdistance=6pt, the {1\over2} looks very good again. However, the settings don't seem to affect fractions inside square roots. Here's an example (the 20pt setting is to exaggerate the possible effect), using 2014.05.17 beta. \starttext \placeformula\startformula \dfrac{ag}{bcd}\quad{ag\over bcd} \stopformula \placeformula\startformula \sqrt{1\over \dfrac{a}{bcd}} \quad \sqrt{\dfrac{1}{\dfrac{a}{bcd}}} \stopformula \setupmathfractions [topdistance=20pt] \placeformula\startformula \dfrac{ag}{bcd}\quad{ag\over bcd} \stopformula \placeformula\startformula \sqrt{1\over \dfrac{a}{bcd}} \quad \sqrt{\dfrac{1}{\dfrac{a}{bcd}}} \stopformula \stoptext ___________________________________________________________________________________ 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 ___________________________________________________________________________________