On 06/16/2017 10:07 PM, Hans Åberg wrote: >> On 16 Jun 2017, at 21:46, Pablo Rodriguez <[email protected]> wrote: >> [...] >> I don’t do math (at all, not only with ConTeXt), but the following >> command seems to work: >> >> \definefontfamily[mainface][tt][TeX Gyre Pagella Math] > > Great! That seems to work in \tt, but for some reason not with > \starttyping. Probably one should set the font, But I can't find info > about it.
This is my sample:
\definefallbackfamily[mainface][tt][TeX Gyre Cursor]
[range={basiclatin, digitslatin}, force=yes]
\definefontfamily[mainface][rm][TeX Gyre Pagella]
\definefontfamily[mainface][mm][TeX Gyre Pagella Math]
\definefontfamily[mainface][tt][TeX Gyre Pagella Math]
\setupbodyfont[mainface]
\setupmathematics[lcgreek=normal, default=normal]
\starttext
\startformula
𝑨 ⇒ (𝑩 ⇒ 𝑨)
\stopformula
\starttyping
axiom B1. 𝑨 ⇒ (𝑩 ⇒ 𝑨).
\stoptyping
{\tt axiom A1. 𝑨 ⇒ (𝑩 ⇒ 𝑨).}
With latest beta (from 2017.06.15 22:10) and LuaTeX-1.05.0, I get three
formulas typeset with Pagella Math. (Output attached.)
If this doesn’t work with TeX Live 2017, you might try the latest beta
from the ConTeXt Suite.
Pablo
--
http://www.ousia.tk
a.pdf
Description: Adobe PDF document
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________
