ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \pm set too low in MkIV?
Date: Tue, 06 May 2014 21:08:15 +0200	[thread overview]
Message-ID: <5369331F.5080806@wxs.nl> (raw)
In-Reply-To: <5BDBF115-CAED-4423-8F67-4F66B43F0AA4@gmail.com>

On 5/6/2014 8:28 PM, Otared Kavian wrote:
> Hi Hans,
>
> Thanks for your attention to the issue pointed out by Sanjoy.
>
> On 6 mai 2014, at 20:14, Hans Hagen <pragma@wxs.nl
> <mailto:pragma@wxs.nl>> wrote:
>> […]
>> all minus' are below the baseline so consider it a feature
>
> Yes this is the case in recent versions of mkiv, but in Plain TeX and
> mkii this is not the case: there the minus sign in \pm is aligned with
> the baseline.
>
> I agree with Sanjoy and Mikael to say that it the minus sign in \pm
> should be aligned with the baseline: however I don’t know if this can be
> easily achieved.

so how about \mp then ...

\starttext
                                $x \pm 2 + \mp x + a $\par
     \switchtobodyfont[pagella] $x \pm 2 + \mp x + a $\par
     \switchtobodyfont[termes]  $x \pm 2 + \mp x + a $\par
     \switchtobodyfont[cambria] $x \pm 2 + \mp x + a $\par
     \switchtobodyfont[bonum]   $x \pm 2 + \mp x + a $\par
     \switchtobodyfont[schola]  $x \pm 2 + \mp x + a $\par
\stoptext

the + aligns on the math axis so one can argue if the type-one variant 
is ok ... so we would need a smaller (less height) + then which would 
look visually weird

(all can be achieved ... but the idea of lm/gyre fonts is to provide an 
acceptable consistent set ... at some point we can think of variants - 
or maybe the fonts have a variant already)

Hans


-----------------------------------------------------------------
                                           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
___________________________________________________________________________________


  reply	other threads:[~2014-05-06 19:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-06 14:22 Sanjoy Mahajan
2014-05-06 14:41 ` Mikael P. Sundqvist
2014-05-06 14:56   ` Sanjoy Mahajan
2014-05-06 19:09     ` Hans Hagen
2014-05-06 18:14 ` Hans Hagen
2014-05-06 18:28   ` Otared Kavian
2014-05-06 19:08     ` Hans Hagen [this message]
2014-05-07  0:34       ` Sanjoy Mahajan
2014-05-07  8:46         ` Mikael P. Sundqvist
2014-05-07  9:38           ` Otared Kavian

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5369331F.5080806@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).