[NTG-context] mathsf / mathversions in context

Csikos Bela bcsikos425 at freemail.hu
Thu Oct 27 18:42:54 CEST 2016


Wolfgang Schuster írta:

[...]

>\definefallbackfamily [documentfont] [mm] [Tex Gyre Adventor] [preset=math:lowercaseitalic]
>\definefontfamily     [documentfont] [mm] [TeX Gyre Pagella Math]
>
>then Tex Gyre Adventor font is used for math (\definefallbackfamily has effect).
>
>If I have this code:
>
>\definefontfamily     [documentfont] [mm] [TeX Gyre Pagella Math]
>\definefallbackfamily [documentfont] [mm] [Tex Gyre Adventor] [preset=math:lowercaseitalic]
>
>then Tex Gyre Pagella is used for math (\definefallbackfamily has no effect).
>
>According to your answer the opposite should happen, shouldn't?
>I am confused.
>
>
>
>The \definefontfamily command creates a typeface which is used to load a
> font but after this point you can’t make changes to it.

I see, I didn't know this.

>The \definefallbackfamily command let you assign additional
>characters for a font but this has to happen before the font is loaded, 
>therefore \definefallbackfamily needs before \definefontfamily in the document.

It is clear now. Thank you a lot.

bcsikos


More information about the ntg-context mailing list