On 16 Jun 2017, at 20:46, Pablo Rodriguez
wrote: On 06/16/2017 02:44 PM, Hans Åberg wrote:
Is it possible have say Pagella in math, and also in \tt except for the ASCII range, where a monospace font is used? (Both for largely untranslated Unicode points.)
I’m not sure this is what you want:
\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] \setupbodyfont[mainface] \starttext abd 312 ásñeäæø
\tt abd 312 ásñeäæø \stoptext
Just in case it might help,
Thank you for the help. But the math characters do not show in \tt, as in the example below. (Tried with TeX Live 2017.) ---- \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] \setupbodyfont[mainface] \setupmathematics[lcgreek=normal, default=normal] \starttext \startformula 𝑨 ⇒ (𝑩 ⇒ 𝑨) \stopformula \starttyping axiom A1. 𝑨 ⇒ (𝑩 ⇒ 𝑨). \stoptyping {\tt axiom A1. 𝑨 ⇒ (𝑩 ⇒ 𝑨).} \stoptext ----