Difference between revisions of "Fonts"
Jump to navigation
Jump to search
Line 12: | Line 12: | ||
\setuplayout[topspace=0.5mm, backspace=0.5mm,header=0pt, headerdistance=0pt,footer=0pt,footerdistance=0pt,width=14cm,height=11cm] | \setuplayout[topspace=0.5mm, backspace=0.5mm,header=0pt, headerdistance=0pt,footer=0pt,footerdistance=0pt,width=14cm,height=11cm] | ||
\setupbodyfont[14pt] | \setupbodyfont[14pt] | ||
− | \definefontfamily [ | + | \definefontfamily [mainfacea] [rm] [latinmodernroman] |
− | \definefontfamily [ | + | \definefontfamily [mainfaceb] [rm] [latinmodernsans] |
− | \definefontfamily [ | + | \definefontfamily [mainfacec] [rm] [latinmodernmono] |
− | \definefontfamily [ | + | \definefontfamily [mainfaced] [rm] [texgyreadventor] |
− | \definefontfamily [ | + | \definefontfamily [mainfacee] [rm] [texgyrebonum] |
− | \definefontfamily [ | + | \definefontfamily [mainfacef] [rm] [texgyrecursor] |
− | \definefontfamily [ | + | \definefontfamily [mainfaceg] [rm] [texgyrechorus] |
− | \definefontfamily [ | + | \definefontfamily [mainfaceh] [rm] [texgyrepagella] |
− | \definefontfamily [ | + | \definefontfamily [mainfacei] [rm] [texgyreshola] |
− | \definefontfamily [ | + | \definefontfamily [mainfacej] [rm] [texgyretermes] |
− | \definefontfamily [ | + | \definefontfamily [mainfacek] [rm] [dejavuserif] |
− | \definefontfamily [ | + | \definefontfamily [mainfacel] [rm] [dejavusans] |
− | \definefontfamily [ | + | \definefontfamily [mainfacem] [rm] [dejavusansmono] |
− | \definefontfamily [ | + | \definefontfamily [mainfacen] [rm] [gentium] |
− | \setupbodyfont[ | + | \setupbodyfont[mainfacea] |
+ | |||
\starttext | \starttext | ||
\startitemize[n,packed] | \startitemize[n,packed] | ||
− | \item | + | \item \switchtobodyfont[mainfacea] The quick brown fox jumps over the lazy dog\\ |
− | \switchtobodyfont[ | + | \item \switchtobodyfont[mainfaceb] The quick brown fox jumps over the lazy dog\\ |
− | \switchtobodyfont[ | + | \switchtobodyfont[mainfacec] \item The quick brown fox jumps over the lazy dog\\ |
− | \switchtobodyfont[ | + | \switchtobodyfont[mainfaced] \item The quick brown fox jumps over the lazy dog\\ |
− | \switchtobodyfont[ | + | \switchtobodyfont[mainfacee] \item The quick brown fox jumps over the lazy dog\\ |
− | \switchtobodyfont[ | + | \switchtobodyfont[mainfacef] \item The quick brown fox jumps over the lazy dog\\ |
− | \switchtobodyfont[ | + | \switchtobodyfont[mainfaceg] \item The quick brown fox jumps over the lazy dog\\ |
− | \switchtobodyfont[ | + | \switchtobodyfont[mainfaceh] \item The quick brown fox jumps over the lazy dog\\ |
− | \switchtobodyfont[ | + | \switchtobodyfont[mainfacei] \item The quick brown fox jumps over the lazy dog\\ |
− | \switchtobodyfont[ | + | \switchtobodyfont[mainfacej] \item The quick brown fox jumps over the lazy dog\\ |
− | \switchtobodyfont[ | + | \switchtobodyfont[mainfacek] \item The quick brown fox jumps over the lazy dog\\ |
− | \switchtobodyfont[ | + | \switchtobodyfont[mainfacel] \item The quick brown fox jumps over the lazy dog\\ |
− | \switchtobodyfont[ | + | \switchtobodyfont[mainfacem] \item The quick brown fox jumps over the lazy dog\\ |
− | \switchtobodyfont[ | + | \switchtobodyfont[mainfacen] \item The quick brown fox jumps over the lazy dog\\ |
− | \switchtobodyfont[ | ||
\stopitemize | \stopitemize | ||
\stoptext | \stoptext |
Revision as of 18:18, 31 May 2020
First, be aware of the 21 fonts provided by the ConTeXt distribution's Fonts.
If required, you can regenerate the font database:
mtxrun --script font --reload --force
How to use the fonts included by default in the distribution