From: Ulrike Fischer <news3@nililand.de>
To: ntg-context@ntg.nl
Subject: Re: Kerning and ligatures in math roman font
Date: Mon, 9 Nov 2015 14:06:12 +0100 [thread overview]
Message-ID: <go9dcketm04x$.dlg@nililand.de> (raw)
In-Reply-To: <56408DD8.9040308@wxs.nl>
Am Mon, 9 Nov 2015 13:13:12 +0100 schrieb Hans Hagen:
>> In this example there is no kerning and no ligatures in the math:
>>
>> \starttext
>> WAiff $\mfunction{WAiff}$
>> \stoptext
>>
>> This is a different behaviour than with legacy math fonts.
>
> depends what legacy is ...
I meant the fonts you would get with plaintex or pdflatex.
>> A question about this has been asked some month ago on tex.sx
>> (http://tex.stackexchange.com/questions/252493/ligatures-are-not-used-in-opentype-maths-families).
>> The problem (or feature) exist also with xetex.
>>
>> With luatex one can avoid to loose the kerning by loading as math
>> roman font a font in mode base
>> (http://tex.stackexchange.com/questions/277362/lualatex-no-kerning-within-operatorname-when-not-loading-lmodern-package/277395#277395,
>> I have no idea how to do this in context).
>>
>> Is this a luatex/xetex bug? Or a feature? How could one enable
>> kerning and/or ligatures without going back to base mode?
> most math fonts don't have ligatures etc ... in fact, as ligatures are a
> language/script related feature and math is the script it makes not much
> sense either
But the plaintex and latex examples on tex.SX don't use a math font
for operatornames like \sin or for \mathrm (which seems to be
\mfunction in context). It is a text font and it has ligatures and
kerning informations, but they are not used in math.
Doesn't use context for \mfunction a text font too? I thought so
because it has kerning when used outside math:
\starttext
\mfunction{WAiff}
$\mfunction{WAiff}$
\stoptext
Also bad kerning in operator names is a nuisance. I don't think that
the default result of
\definemathcommand[VA][nolop]{\mfunction{VA}} is good looking.
> in context you can do:
>
> \setupmathematics
> [functionstyle=normal]
>
> which will use a box which then will trigger text fonts
Yes, one workaround is to quit math mode. The other to use fonts in
mode "base". But I would like to understand why workarounds are
needed at all.
--
Ulrike Fischer
http://www.troubleshooting-tex.de/
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2015-11-09 13:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-09 11:39 Ulrike Fischer
2015-11-09 12:13 ` Hans Hagen
2015-11-09 13:06 ` Ulrike Fischer [this message]
2015-11-09 13:22 ` Hans Hagen
2015-11-09 13:59 ` Ulrike Fischer
2015-11-09 15:44 ` Hans Hagen
2015-11-09 17:10 ` Ulrike Fischer
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='go9dcketm04x$.dlg@nililand.de' \
--to=news3@nililand.de \
--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).