From: Otared Kavian <otared@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \pm set too low in MkIV?
Date: Wed, 7 May 2014 11:38:26 +0200 [thread overview]
Message-ID: <7A9915E0-6E40-4D18-99F5-04BD37D7B633@gmail.com> (raw)
In-Reply-To: <CAHy-LL_27+ad+rn2bxU6M9LPWQ8vY19oO4a2mLFvoQvBY4Rk8w@mail.gmail.com>
On 7 mai 2014, at 10:46, Mikael P. Sundqvist <mickep@gmail.com> wrote:
> […]
>
> I guess one could do this for the other signs one don't like in TeX
> Gyre Pagella Math…
Hi,
This is a good trick to know, especially if one combines \pm and \mp as in the counter-example given by Hans:
% Start example
\definefallbackfamily[mainface][math][Asana Math]
[range={00B1-00B1}]
\definefontfamily[mainface][serif][Tex Gyre Pagella]
\definefontfamily[mainface][math][Tex Gyre Pagella Math]
\starttext
\switchtobodyfont[pagella] Hello $ x \pm 2 = a \mp 2 $\par
\switchtobodyfont[asana] Hello $ x \pm 2 = a \mp 2 $\par
\switchtobodyfont[mainface] Hello $ x \pm 2 = a \mp 2 $\par
\stoptext
% Stop example
The sample with
\switchtobodyfont[asana] Hello $ x \pm 2 = a \mp 2 $\par
looks quite fine.
Best regards: OK
___________________________________________________________________________________
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
___________________________________________________________________________________
prev parent reply other threads:[~2014-05-07 9:38 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
2014-05-07 0:34 ` Sanjoy Mahajan
2014-05-07 8:46 ` Mikael P. Sundqvist
2014-05-07 9:38 ` Otared Kavian [this message]
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=7A9915E0-6E40-4D18-99F5-04BD37D7B633@gmail.com \
--to=otared@gmail.com \
--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).