[NTG-context] Kerning and ligatures in math roman font

Hans Hagen pragma at wxs.nl
Mon Nov 9 13:13:12 CET 2015


On 11/9/2015 12:39 PM, Ulrike Fischer wrote:
> 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 ...

> 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

in context you can do:

\setupmathematics
   [functionstyle=normal]

which will use a box which then will trigger text fonts

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


More information about the ntg-context mailing list