[NTG-context] Best way to access casul fonts
Pablo Rodriguez
oinos at gmx.es
Tue Jan 24 08:41:27 CET 2023
On 1/23/23 20:32, Mattias Märka via ntg-context wrote:
> Hi Pablo,
>
> Yes, I want to mix casual with serif, sans-serif and so on.
Hi Mattias (please, excuse my previous misspelling of your name),
here you have it:
\definefontfamily[mainface][rm][TeX Gyre Pagella]
\definefontfamily[mainface][ss][TeX Gyre Heros]
\definefontfamily[mainface][tt][TeX Gyre Cursor]
\definefontfamily[mainface][hw][Lucida Casual]
\definefontfamily[mainface][cg][Lucida Casual]
\setupbodyfont[mainface]
\starttext
\doloopoverlist{\rm,\ss,\tt,\hw,\cg}
{{\recursestring%
The quick brown fox jumps over the lazy dog.\par}}
\stoptext
Lucida Casual is handwriting and calligraphy in the sample. But you only
need one of them.
I hope it helps,
Pablo
More information about the ntg-context
mailing list