ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: Hans Hagen <pragma@wxs.nl>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re:  math: ± and ∓ are shifted
Date: Thu, 4 Apr 2013 18:13:02 -0400 (EDT)	[thread overview]
Message-ID: <alpine.LNX.2.02.1304041808280.26849@ybpnyubfg.ybpnyqbznva> (raw)
In-Reply-To: <515DF949.4000301@wxs.nl>

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1248 bytes --]

On Fri, 5 Apr 2013, Hans Hagen wrote:

> On 4/4/2013 11:44 PM, Aditya Mahajan wrote:
>> On Thu, 4 Apr 2013, Xenia wrote:
>> 
>>> Hi context list,
>>> 
>>> I noticed that the ∓ sign is a little higher than the ± sign, so that
>>> the + signs are at the same height. But this looks strange and should be
>>> changed.
>> 
>> Indeed. These look very odd. I tested this with cambria and the outcome
>> is similar, so this is not a font bug, but something wrong in ConTeXt's
>> math handling.
>
> I'm not sure if I understand the issue
>
> - lm has + and - touching with the + in the same position as the regular +
>
> - cambria has a gap between + and - and moves the + up and down
>
> Afaik context isn't doing any magic here as these are precomposed glyphs that 
> directly map.
>
> $a \ruledhbox{$+$} b \ruledhbox{$-$} c$
>
> $a \ruledhbox{$±$} b \ruledhbox{$∓$} c$
>
> they are 'binary' in math mode, just like + and -

The question is not about the shape of the glyph, but their location. 
But after looking at the output of latex for CM and Cambria, I am no 
longer sure what the correct output should be. For Cambria, ConTeXt and 
LaTeX give similar outputs. For CM/LM they give different outputs.

Aditya

[-- Attachment #2: Type: APPLICATION/pdf, Size: 16904 bytes --]

[-- Attachment #3: Type: APPLICATION/pdf, Size: 23470 bytes --]

[-- Attachment #4: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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:[~2013-04-04 22:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-04 21:36 Xenia
2013-04-04 21:44 ` Aditya Mahajan
2013-04-04 22:06   ` Hans Hagen
2013-04-04 22:13     ` Aditya Mahajan [this message]
2013-04-04 22:55       ` Hans Hagen
2013-04-05  0:16         ` Khaled Hosny
2013-04-05  7:32           ` Hans Hagen
2013-04-05 13:46             ` Hans Hagen

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=alpine.LNX.2.02.1304041808280.26849@ybpnyubfg.ybpnyqbznva \
    --to=adityam@umich.edu \
    --cc=ntg-context@ntg.nl \
    --cc=pragma@wxs.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).