![](https://secure.gravatar.com/avatar/46562c7d27388490d62e8d7a5bc960dd.jpg?s=120&d=mm&r=g)
On 11/6/2021 11:23 AM, Alexandre Christe via ntg-context wrote:
Dear all,
I'd like to know how best to work with font features regarding adaptations of math fonts.
For example, let's assume I'd like to use Minion Pro also for math typesetting. I've referred myself to this page of the Wiki https://wiki.contextgarden.net/Command/definefontfallback https://wiki.contextgarden.net/Command/definefontfallback. I have tried the following, but it fails for greek letters in math mode.
\definefallbackfamily [mainface] [math] [Minion Pro]
[range={math:lowercaseitalic,math:uppercaseitalic,math:lowercasenormal,math:uppercasenormal},force=yes] \definefallbackfamily [mainface] [math] [Minion Pro]
[range={math:lowercasegreekitalic,math:uppercasegreekitalic,math:lowercasegreeknormal,math:uppercasegreeknormal},force=yes] \definefallbackfamily [mainface] [math] [Minion Pro] [range=math:digitsnormal,features=f:lining,force=yes] \definefontfamily [mainface] [math] [Libertinus Math]
Thanks in advance for your support. Do you get results at all? Hard to check as that math font is a commercial one. If it's an otf font, I suppose it can be used directly as mainface math.
Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------