In August 2013 Aditya and Hans provided the following wizardry to include math symbols from pagella when using euler as math font. http://www.mail-archive.com/ntg-context@ntg.nl/msg71000.html (Thank you to all involved! It works fine.) \usetypescriptfile[euler] \starttypescript[mainface] \definetypeface[mainface][rm][serif][pagella] [default] \definetypeface[mainface][mm][math] [pagellaovereuler][default] \stoptypescript \setupbodyfont[mainface] \appendtoks \rm \to \everymathematics \setupmathematics[lcgreek=normal, ucgreek=normal] \starttext The text font and $\angle ABD \cong \triangle XYZ$ \stoptext Can this be achieved with the new simplefonts? I have tried the setups in this thread but the symbols do not show. John
Am 19.10.2013 um 14:21 schrieb John Kitzmiller
In August 2013 Aditya and Hans provided the following wizardry to include math symbols from pagella when using euler as math font.
http://www.mail-archive.com/ntg-context@ntg.nl/msg71000.html
(Thank you to all involved! It works fine.)
\usetypescriptfile[euler] \starttypescript[mainface] \definetypeface[mainface][rm][serif][pagella] [default] \definetypeface[mainface][mm][math] [pagellaovereuler][default] \stoptypescript \setupbodyfont[mainface] \appendtoks \rm \to \everymathematics \setupmathematics[lcgreek=normal, ucgreek=normal]
\starttext The text font and $\angle ABD \cong \triangle XYZ$ \stoptext
Can this be achieved with the new simplefonts? I have tried the setups in this thread but the symbols do not show.
The example below works but you have to wait a few days because there was a bug in the code when \definefallbackfamily was used with a math font. \definefontfamily [mainface] [serif] [DejaVu Serif] \definefontfamily [mainface] [sans] [DejaVu Sans] \definefontfamily [mainface] [mono] [DejaVu Sans Mono] \definefallbackfamily [mainface] [math] [TeX Gyre Pagella Math] [range=0x02100-0x02BFF,force=no] \definefallbackfamily [mainface] [math] [TeX Gyre Pagella Math] [range=0x1D400-0x1D7FF,force=no] \definefallbackfamily [mainface] [math] [TeX Gyre Pagella Math] [range=0x0210E] \definefontfamily [mainface] [math] [Neo Euler] \setupbodyfont[mainface] \appendtoks \rm \to \everymathematics \setupmathematics[lcgreek=normal, ucgreek=normal] \starttext The text font and $\angle ABD \cong \triangle XYZ$ \stoptext Wolfgang
participants (2)
-
John Kitzmiller
-
Wolfgang Schuster