[NTG-context] Euler with fallback

Sanjoy Mahajan sanjoy at MIT.EDU
Mon Mar 3 12:50:58 CET 2014

Aditya Mahajan <adityam at umich.edu> writes:

> This is to announce that the latest beta supports creating virtual math 
> fonts with fallback. The main test case is to use Euler font with missing 
> characters taken from Pagella but the mechanism is general and can be used 
> to replace a specific set of math glyphs from a font.
> This feature is not extensively tested. As such it will be useful if 
> everyone interested in math fallback mechanism could test this out and 
> report any bugs or inconsistencies.

One inconsistency or maybe bug is that text subscripts come out in Euler
instead of Palatino.  

Here's an example (using 2014.02.14 beta).  The "Sun" subscript using
_{\tf Sun} or _{\rm Sun} was in Palatino in the corresponding MkII
setup, but is in Euler now.  The workaround of an hbox with \tfxx or
\tfx doesn't get quite the right size.


\definetypeface [mainface] [rm] [serif] [pagella]          [default]
\definetypeface [mainface] [tt] [mono]  [dejavu]           [default]
\definetypeface [mainface] [mm] [math]  [pagellaovereuler] [default]


\appendtoks \rm \to \everymathematics
\setupmathematics[lcgreek=normal, ucgreek=normal]


M_{\rm Sun}\quad M_{\hbox{\tfx Sun}} \quad M_{\hbox{\tfxx Sun}} \quad M_{\tf Sun}


More information about the ntg-context mailing list