Hi, Defining typescripts to use a font is very painful. How can I use a font without using a typescript? -- Respect, Shiv Shankar Dayal
On Wed, 2024-05-15 at 20:03 +0530, Shiv Shankar Dayal wrote:
Hi,
Defining typescripts to use a font is very painful. How can I use a font without using a typescript?
Use \definefontfamily which is essentially the successor of the old simplefonts module. https://wiki.contextgarden.net/Command/definefontfamily Cheers, Henri
_____________________________________________________________________ ______________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net _____________________________________________________________________ ______________
Shiv Shankar Dayal schrieb am 15.05.2024 um 16:33:
Hi,
Defining typescripts to use a font is very painful. How can I use a font without using a typescript?
\definefontfamily [windows] [rm] [Times New Roman] \definefontfamily [windows] [ss] [Arial] \definefontfamily [windows] [tt] [Courier New] [features=none] \definetypeface [windows] [mm] [math] [termes] % use \definetypeface to load a math font \setupbodyfont[windows] \starttext \showbodyfont \stoptext Wolfgang
On 15 May 2024, at 15:33, Shiv Shankar Dayal
wrote: Hi,
Defining typescripts to use a font is very painful. How can I use a font without using a typescript?
If you just want a very small amount of text in a different font you can use: \definefont [useWarningFont] [name:arialbold*default at 22pt] \starttext This is the regular body text font but {\useWarningFont BE AWARE} that others can be used. \stoptext — Bruce Horrocks Hampshire, UK
participants (4)
-
Bruce Horrocks
-
Henri Menke
-
Shiv Shankar Dayal
-
Wolfgang Schuster