Changes

Jump to navigation Jump to search
126 bytes added ,  09:37, 1 June 2020
}}
= Using a newly downloaded font = == Quickly use one of the styles (3 steps, 1 min.) ==
Let's take a example, we want to use [https://fonts.google.com/specimen/Noto+Serif Noto Serif]. The google website enable us to download a zip file with the 4 alternative styles:
:* Use the commands {{cmd|definedfont}}
<texcode>
\definedfont[file:NotoSerif-BoldItalic at 18pt12pt]
The quick brown fox jumps over the lazy dog
</texcode>
[[File:result_of_test_with_noto-serif_one.png]]
== Use all the styles (3 steps, 1 min.) == ; #61. Define them as a new typescript (ConTeXt vocabulary) in your input file.
:* Use the commands {{cmd|starttypescript}} and {{cmd|definefontsynonym}} to declare
</texcode>
; #72. Define them as part of your font family, here as a roman
<texcode>
\definefontfamily [MyFontIdentifier] [rm] [notoserif]
</texcode>
 ; #3. You are done! Finally, we havethe following input file:
<texcode>

Navigation menu