Difference between revisions of "Fonts/ConTeXt distribution's Fonts"
< Fonts
Jump to navigation
Jump to search
(67 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
− | + | A collection of fonts is called a ''typescript'' in ConTeXt. The following typescripts are available for fonts distributed with ConTeXt (the name of the typescript is shown as <code>typescriptname</code>): | |
− | {|class="wikitable" | + | * The Latin Modern font family, which is a modern version of standard TeX font [https://en.wikipedia.org/wiki/Computer_Modern Computer Modern]: |
+ | **<code>modern</code>: synonym <code>modern-base</code> | ||
+ | **<code>modernvariable</code>: synonym <code>modern-variable</code> (a variable width typewriter font) | ||
+ | |||
+ | * The [http://www.gust.org.pl/projects/e-foundry/tex-gyre TeX Gyre] Collection of Fonts, cross-platform OpenType formats. | ||
+ | ** <code>pagella</code>: synonym <code>palatino</code> | ||
+ | ** <code>termes</code>: synonym <code>times</code> | ||
+ | ** <code>heros</code>: synonym <code>helvetica</code> | ||
+ | ** <code>bonum</code>: synonym <code>bookman</code> | ||
+ | ** <code>schola</code>: synonym <code>schoolbook</code> | ||
+ | ** <code>adventor</code>: synonym <code>avantgarde</code> | ||
+ | ** <code>cursor</code>: synonym <code>courier</code> | ||
+ | ** <code>chorus</code>: synonym <code>chancery</code> | ||
+ | * The DejaVu font family : <code>dejavu</code> and <code>dejavu-condensed</code> | ||
+ | * 6 additionals fonts (covering serif, sans serif, and monospaced) | ||
+ | ** Gentium : <code>gentium</code> | ||
+ | ** Antykwa Poltawskiego : <code>antykwapoltawskiego</code> | ||
+ | ** Antykwa Toruńska: <code>antykwa</code> | ||
+ | ** Kurier : <code>kurier,ss</code> | ||
+ | ** Iwona: <code>iwona</code> | ||
+ | ** IMB Plex: <code>plex</code> (serif, sans, mono, condensed, extra-light to semi bold and bold) | ||
+ | ** EB Garamond: <code>ebgaramond</code> | ||
+ | ** Libertinus: <code>libertinus</code> | ||
+ | * 3 additional math fonts: | ||
+ | ** Euler: <code>eulernova</code> | ||
+ | ** STIX2: <code>stixtwo</code> | ||
+ | ** XITS: <code>xits</code> | ||
+ | ** Kp: <code>kp</code> | ||
+ | ** XCharter: <code>charter</code> | ||
+ | |||
+ | {|class="wikitable" style="width: 85%;" | ||
! style="text-align:left;"| Name | ! style="text-align:left;"| Name | ||
! style="text-align:left;"| Serif | ! style="text-align:left;"| Serif | ||
! style="text-align:left;"| Sans serif | ! style="text-align:left;"| Sans serif | ||
− | ! style="text-align:left;"| | + | ! style="text-align:left;"| Monospaced |
+ | ! style="text-align:left;"| Class | ||
! style="text-align:left;"| Similar to | ! style="text-align:left;"| Similar to | ||
+ | <!------------------------------------------------------------------------------> | ||
+ | |- | ||
+ | | style="background-color:#eeeedc; |Latin Modern | ||
+ | | | ||
+ | <context> | ||
+ | \definepapersize[sheet][width=4.1cm,height=0.7cm] \setuppapersize[sheet] | ||
+ | \setuplayout[topspace=0.5mm, backspace=0.5mm,header=0pt, headerdistance=0pt,footer=0pt,footerdistance=0pt,width=4cm,heigth=0.6cm] | ||
+ | \definefontfamily [mainface] [rm] [modern] \setupbodyfont[mainface] | ||
+ | \switchtobodyfont[12pt] | ||
+ | \starttext \rm Latin Modern\stoptext | ||
+ | </context><br/> | ||
+ | modern | ||
+ | | | ||
+ | <context> | ||
+ | \definepapersize[sheet][width=4.1cm,height=0.7cm] \setuppapersize[sheet] | ||
+ | \setuplayout[topspace=0.5mm, backspace=0.5mm,header=0pt, headerdistance=0pt,footer=0pt,footerdistance=0pt,width=4cm,heigth=0.6cm] | ||
+ | \definefontfamily [mainface] [ss] [modern] \setupbodyfont[mainface] | ||
+ | \switchtobodyfont[12pt] | ||
+ | \starttext \ss Latin Modern\stoptext | ||
+ | </context><br/> | ||
+ | modern,ss | ||
+ | | | ||
+ | <context> | ||
+ | \definepapersize[sheet][width=4.1cm,height=0.7cm] \setuppapersize[sheet] | ||
+ | \setuplayout[topspace=0.5mm, backspace=0.5mm,header=0pt, headerdistance=0pt,footer=0pt,footerdistance=0pt,width=4cm,heigth=0.6cm] | ||
+ | \definefontfamily [mainface] [tt] [modern] \setupbodyfont[mainface] | ||
+ | \switchtobodyfont[12pt] | ||
+ | \starttext \tt Latin Modern\stoptext | ||
+ | </context><br/> | ||
+ | modern,tt | ||
+ | | Didone, current TeX standard, [https://www.tug.org/TUGboat/tb24-1/jackowski.pdf]. | ||
+ | | Computer Modern | ||
+ | <!------------------------------------------------------------------------------> | ||
+ | |- | ||
+ | | Tex Gyre Adventor | ||
+ | | - | ||
+ | | | ||
+ | <context> | ||
+ | \definepapersize[sheet][width=4.1cm,height=0.7cm] \setuppapersize[sheet] | ||
+ | \setuplayout[topspace=0.5mm, backspace=0.5mm,header=0pt, headerdistance=0pt,footer=0pt,footerdistance=0pt,width=4cm,heigth=0.6cm] | ||
+ | \definefontfamily [mainface] [rm] [texgyreadventor] \setupbodyfont[mainface] | ||
+ | \switchtobodyfont[12pt] | ||
+ | \starttext \rm Tex Gyre Adventor \stoptext | ||
+ | </context><br/> | ||
+ | adventor | ||
+ | | - | ||
+ | | Geometric sans-serif | ||
+ | | ITC Avant Garde Gothic | ||
+ | <!------------------------------------------------------------------------------> | ||
+ | |- | ||
+ | | style="background-color:#eeeedc; | Tex Gyre Bonum | ||
+ | | | ||
+ | <context> | ||
+ | \definepapersize[sheet][width=4.1cm,height=0.7cm] \setuppapersize[sheet] | ||
+ | \setuplayout[topspace=0.5mm, backspace=0.5mm,header=0pt, headerdistance=0pt,footer=0pt,footerdistance=0pt,width=4cm,heigth=0.6cm] | ||
+ | \definefontfamily [mainface] [rm] [texgyrebonum] \setupbodyfont[mainface] | ||
+ | \switchtobodyfont[12pt] | ||
+ | \starttext \rm Tex Gyre Bonum \stoptext | ||
+ | </context><br/> | ||
+ | bonum | ||
+ | | - | ||
+ | | - | ||
+ | | Old Style, Serif transitional, | ||
+ | | ITC Bookman | ||
+ | <!------------------------------------------------------------------------------> | ||
+ | |- | ||
+ | | Tex Gyre Chorus | ||
+ | | | ||
+ | <context> | ||
+ | \definepapersize[sheet][width=4.1cm,height=0.7cm] \setuppapersize[sheet] | ||
+ | \setuplayout[topspace=0.5mm, backspace=0.5mm,header=0pt, headerdistance=0pt,footer=0pt,footerdistance=0pt,width=4cm,heigth=0.6cm] | ||
+ | \definefontfamily [mainface] [rm] [texgyrechorus] \setupbodyfont[mainface] | ||
+ | \switchtobodyfont[12pt] | ||
+ | \starttext \rm Tex Gyre Chorus \stoptext | ||
+ | </context><br/> | ||
+ | chorus | ||
+ | | - | ||
+ | | - | ||
+ | | Script | ||
+ | | ITC Zapf Chancery | ||
+ | <!------------------------------------------------------------------------------> | ||
|- | |- | ||
− | | | + | | style="background-color:#eeeedc; | Tex Gyre Cursor |
− | |[ | + | | - |
− | |[ | + | | - |
− | + | | | |
+ | <context> | ||
+ | \definepapersize[sheet][width=4.1cm,height=0.7cm] \setuppapersize[sheet] | ||
+ | \setuplayout[topspace=0.5mm, backspace=0.5mm,header=0pt, headerdistance=0pt,footer=0pt,footerdistance=0pt,width=4cm,heigth=0.6cm] | ||
+ | \definefontfamily [mainface] [tt] [texgyrecursor] \setupbodyfont[mainface] | ||
+ | \switchtobodyfont[12pt] | ||
+ | \starttext \tt Tex Gyre Cursor \stoptext | ||
+ | </context><br> | ||
+ | cursor | ||
+ | | Monospaced, Slab serif | ||
+ | | Courier | ||
+ | <!------------------------------------------------------------------------------> | ||
+ | |- | ||
+ | | Tex Gyre Heros | ||
+ | | - | ||
+ | | | ||
+ | <context> | ||
+ | \definepapersize[sheet][width=4.1cm,height=0.7cm] \setuppapersize[sheet] | ||
+ | \setuplayout[topspace=0.5mm, backspace=0.5mm,header=0pt, headerdistance=0pt,footer=0pt,footerdistance=0pt,width=4cm,heigth=0.6cm] | ||
+ | \definefontfamily [mainface] [rm] [texgyreheros] \setupbodyfont[mainface] | ||
+ | \switchtobodyfont[12pt] | ||
+ | \starttext \rm Tex Gyre Heros \stoptext | ||
+ | </context><br> | ||
+ | heros | ||
+ | | - | ||
+ | | Geometric sans-serif | ||
+ | | Helvetica | ||
+ | <!------------------------------------------------------------------------------> | ||
+ | |- | ||
+ | | Tex Gyre Pagella | ||
+ | | | ||
+ | <context> | ||
+ | \definepapersize[sheet][width=4.1cm,height=0.7cm] \setuppapersize[sheet] | ||
+ | \setuplayout[topspace=0.5mm, backspace=0.5mm,header=0pt, headerdistance=0pt,footer=0pt,footerdistance=0pt,width=4cm,heigth=0.6cm] | ||
+ | \definefontfamily [mainface] [rm] [texgyrepagella] \setupbodyfont[mainface] | ||
+ | \switchtobodyfont[12pt] | ||
+ | \starttext \rm Tex Gyre Pagella \stoptext | ||
+ | </context><br> | ||
+ | pagella | ||
+ | | - | ||
+ | | - | ||
+ | | Old Style, Serif | ||
+ | | Palatino | ||
+ | <!------------------------------------------------------------------------------> | ||
+ | |- | ||
+ | | style="background-color:#eeeedc; | Tex Gyre Schola | ||
+ | | | ||
+ | <context> | ||
+ | \definepapersize[sheet][width=4.1cm,height=0.7cm] \setuppapersize[sheet] | ||
+ | \setuplayout[topspace=0.5mm, backspace=0.5mm,header=0pt, headerdistance=0pt,footer=0pt,footerdistance=0pt,width=4cm,heigth=0.6cm] | ||
+ | \definefontfamily [mainface] [rm] [texgyreschola] \setupbodyfont[mainface] | ||
+ | \switchtobodyfont[12pt] | ||
+ | \starttext \rm Tex Gyre Schola \stoptext | ||
+ | </context><br> | ||
+ | schola | ||
+ | | - | ||
+ | | - | ||
+ | | Serif transitional | ||
+ | | Century Schoolbook | ||
+ | <!------------------------------------------------------------------------------> | ||
+ | |- | ||
+ | | Tex Gyre Termes | ||
+ | | | ||
+ | <context> | ||
+ | \definepapersize[sheet][width=4.1cm,height=0.7cm] \setuppapersize[sheet] | ||
+ | \setuplayout[topspace=0.5mm, backspace=0.5mm,header=0pt, headerdistance=0pt,footer=0pt,footerdistance=0pt,width=4cm,heigth=0.6cm] | ||
+ | \definefontfamily [mainface] [rm] [texgyretermes] \setupbodyfont[mainface] | ||
+ | \switchtobodyfont[12pt] | ||
+ | \starttext \rm Tex Gyre Termes \stoptext | ||
+ | </context><br> | ||
+ | termes | ||
+ | | - | ||
+ | | - | ||
+ | | Old Style transitional | ||
+ | | Times (new) Roman | ||
+ | <!------------------------------------------------------------------------------> | ||
+ | |- | ||
+ | | style="background-color:#eeeedc; |DejaVu | ||
+ | | | ||
+ | <context> | ||
+ | \definepapersize[sheet][width=4.1cm,height=0.7cm] \setuppapersize[sheet] | ||
+ | \setuplayout[topspace=0.5mm, backspace=0.5mm,header=0pt, headerdistance=0pt,footer=0pt,footerdistance=0pt,width=4cm,heigth=0.6cm] | ||
+ | \definefontfamily [mainface] [rm] [dejavuserif] | ||
+ | \setupbodyfont[mainface] | ||
+ | \starttext \switchtobodyfont[12pt] \rm DejaVu Serif \stoptext | ||
+ | </context><br> | ||
+ | dejavu | ||
+ | | | ||
+ | <context> | ||
+ | \definepapersize[sheet][width=4.1cm,height=0.7cm] \setuppapersize[sheet] | ||
+ | \setuplayout[topspace=0.5mm, backspace=0.5mm,header=0pt, headerdistance=0pt,footer=0pt,footerdistance=0pt,width=4cm,heigth=0.6cm] | ||
+ | \definefontfamily [mainface] [ss] [dejavusans] \setupbodyfont[mainface] | ||
+ | \starttext \switchtobodyfont[12pt] \ss DejaVu Sans \stoptext | ||
+ | </context><br> | ||
+ | dejavu,ss | ||
+ | | | ||
+ | <context> | ||
+ | \definepapersize[sheet][width=4.1cm,height=0.7cm] \setuppapersize[sheet] | ||
+ | \setuplayout[topspace=0.5mm, backspace=0.5mm,header=0pt, headerdistance=0pt,footer=0pt,footerdistance=0pt,width=4cm,heigth=0.6cm] | ||
+ | \definefontfamily [mainface] [tt] [dejavusansmono] \setupbodyfont[mainface] | ||
+ | \switchtobodyfont[12pt] | ||
+ | \starttext \tt DejaVu Mono \stoptext | ||
+ | </context><br> | ||
+ | dejavu,tt | ||
+ | | Sans-serif, Humanist | ||
| Bitstream Prima | | Bitstream Prima | ||
+ | <!------------------------------------------------------------------------------> | ||
|- | |- | ||
|Gentium | |Gentium | ||
− | |[ | + | | |
+ | <context> | ||
+ | \definepapersize[sheet][width=4.1cm,height=0.7cm] \setuppapersize[sheet] | ||
+ | \setuplayout[topspace=0.5mm, backspace=0.5mm,header=0pt, headerdistance=0pt,footer=0pt,footerdistance=0pt,width=4cm,heigth=0.6cm] | ||
+ | \definefontfamily [mainface] [rm] [gentium] \setupbodyfont[mainface] | ||
+ | \switchtobodyfont[12pt] | ||
+ | \starttext \rm Gentium \stoptext | ||
+ | </context><br> | ||
+ | gentium | ||
+ | | - | ||
+ | | - | ||
+ | | Old Style | ||
+ | | | ||
+ | <!------------------------------------------------------------------------------> | ||
+ | |- | ||
+ | | style="background-color:#eeeedc; |Antykwa Poltawskiego | ||
+ | | | ||
+ | <context> | ||
+ | \definepapersize[sheet][width=4.1cm,height=0.7cm] \setuppapersize[sheet] | ||
+ | \setuplayout[topspace=0.5mm, backspace=0.5mm,header=0pt, headerdistance=0pt,footer=0pt,footerdistance=0pt,width=4cm,heigth=0.6cm] | ||
+ | \definefontfamily [mainface] [rm] [antykwapoltawskiego] \setupbodyfont[mainface] | ||
+ | \switchtobodyfont[12pt] | ||
+ | \starttext \rm Antykwa Poltawskiego \stoptext | ||
+ | </context><br> | ||
+ | antykwapoltawskiego | ||
+ | | | ||
+ | | - | ||
+ | | Antiqua | ||
+ | | | ||
+ | <!------------------------------------------------------------------------------> | ||
+ | |- | ||
+ | |Antykwa Toruńska | ||
+ | | | ||
+ | <context> | ||
+ | \definepapersize[sheet][width=4.1cm,height=0.7cm] \setuppapersize[sheet] | ||
+ | \setuplayout[topspace=0.5mm, backspace=0.5mm,header=0pt, headerdistance=0pt,footer=0pt,footerdistance=0pt,width=4cm,heigth=0.6cm] | ||
+ | \definefontfamily [mainface] [rm] [antykwatorunska] \setupbodyfont[mainface] | ||
+ | \switchtobodyfont[12pt] | ||
+ | \starttext \rm Antykwa Toruńska\stoptext | ||
+ | </context><br> | ||
+ | antykwa | ||
+ | | - | ||
+ | | - | ||
+ | | Antiqua | ||
+ | | | ||
+ | <!------------------------------------------------------------------------------> | ||
+ | |- | ||
+ | | style="background-color:#eeeedc; |Kurier | ||
+ | | - | ||
+ | | | ||
+ | <context> | ||
+ | \definepapersize[sheet][width=4.1cm,height=0.7cm] \setuppapersize[sheet] | ||
+ | \setuplayout[topspace=0.5mm, backspace=0.5mm,header=0pt, headerdistance=0pt,footer=0pt,footerdistance=0pt,width=4cm,heigth=0.6cm] | ||
+ | \definefontfamily [mainface] [ss] [kurier] \setupbodyfont[mainface] | ||
+ | \switchtobodyfont[12pt] | ||
+ | \starttext \ss Kurier (not Iwona)\stoptext | ||
+ | </context><br> | ||
+ | kurier,ss | ||
| - | | - | ||
+ | | Sans serif | ||
+ | | | ||
+ | <!------------------------------------------------------------------------------> | ||
+ | |- | ||
+ | |Iwona | ||
| - | | - | ||
− | | | + | | |
+ | <context> | ||
+ | \definepapersize[sheet][width=4.1cm,height=0.7cm] \setuppapersize[sheet] | ||
+ | \setuplayout[topspace=0.5mm, backspace=0.5mm,header=0pt, headerdistance=0pt,footer=0pt,footerdistance=0pt,width=4cm,heigth=0.6cm] | ||
+ | \definefontfamily [mainface] [ss] [iwona] \setupbodyfont[mainface] | ||
+ | \switchtobodyfont[12pt] | ||
+ | \starttext \ss Iwona (not Kurier)\stoptext | ||
+ | </context><br> | ||
+ | iwona | ||
+ | | - | ||
+ | | Sans serif, alternative to Kurier | ||
+ | | | ||
+ | <!------------------------------------------------------------------------------> | ||
+ | |- | ||
+ | | style="background-color:#eeeedc; |Arabic-Latin Modern Fixed | ||
+ | | - | ||
+ | | - | ||
+ | | | ||
+ | <context> | ||
+ | \definepapersize[sheet][width=4.1cm,height=0.7cm] \setuppapersize[sheet] | ||
+ | \setuplayout[topspace=0.5mm, backspace=0.5mm,header=0pt, headerdistance=0pt,footer=0pt,footerdistance=0pt,width=4cm,heigth=0.6cm] | ||
+ | \definefontfamily [mainface] [tt] [almfixed] \setupbodyfont[mainface] | ||
+ | \switchtobodyfont[12pt] | ||
+ | \starttext \tt ALM Fixed\stoptext | ||
+ | </context><br> | ||
+ | almfixed,tt | ||
+ | | extension of TeX-Gyre LM Mono 10 | ||
+ | | | ||
+ | <!------------------------------------------------------------------------------> | ||
+ | |- | ||
+ | |Euler | ||
+ | | | ||
+ | <context> | ||
+ | \definepapersize[sheet][width=4.1cm,height=0.7cm] \setuppapersize[sheet] | ||
+ | \setuplayout[topspace=0.5mm, backspace=0.5mm,header=0pt, headerdistance=0pt,footer=0pt,footerdistance=0pt,width=4cm,heigth=0.6cm] | ||
+ | \definefontfamily [mainface] [rm] [neoeuler] \setupbodyfont[mainface] | ||
+ | \switchtobodyfont[12pt] | ||
+ | \starttext \rm Euler (for math)\stoptext | ||
+ | </context><br> | ||
+ | eulernova | ||
+ | | - | ||
+ | | - | ||
+ | | An upright cursive typeface, for maths. | ||
+ | | | ||
+ | <!------------------------------------------------------------------------------> | ||
+ | <!------------------------------------------------------------------------------> | ||
+ | |- | ||
+ | | style="background-color:#eeeedc; | STIX2 | ||
+ | | | ||
+ | <context> | ||
+ | \definepapersize[sheet][width=4.1cm,height=0.7cm] \setuppapersize[sheet] | ||
+ | \setuplayout[topspace=0.5mm, backspace=0.5mm,header=0pt, headerdistance=0pt,footer=0pt,footerdistance=0pt,width=4cm,heigth=0.6cm] | ||
+ | \definefontfamily [mainface] [rm] [stixtwotext] \setupbodyfont[mainface] | ||
+ | \switchtobodyfont[12pt] | ||
+ | \starttext \rm STIX Two \stoptext | ||
+ | </context><br> | ||
+ | stixtwo | ||
+ | | - | ||
+ | | - | ||
+ | | [https://www.stixfonts.org Scientific and Technical Information Exchange] fonts.For scientific typesetting with proper mathematical support | ||
+ | | Times (new) Roman | ||
|- | |- | ||
+ | | XITS | ||
+ | | | ||
+ | <context> | ||
+ | \definepapersize[sheet][width=4.1cm,height=0.7cm] \setuppapersize[sheet] | ||
+ | \setuplayout[topspace=0.5mm, backspace=0.5mm,header=0pt, headerdistance=0pt,footer=0pt,footerdistance=0pt,width=4cm,heigth=0.6cm] | ||
+ | \definefontfamily [mainface] [rm] [xits] \setupbodyfont[mainface] | ||
+ | \switchtobodyfont[12pt] | ||
+ | \starttext \rm XITS (for math) \stoptext | ||
+ | </context><br> | ||
+ | xits | ||
+ | | - | ||
+ | | - | ||
+ | | Clone of STIX font | ||
+ | | Times (new) Roman | ||
+ | <!------------------------------------------------------------------------------> | ||
|} | |} | ||
− | + | = Overview = | |
− | |||
− | |||
− | |||
+ | <context source=yes text="This produces:""> | ||
+ | % Specific layout for rendering on the wiki, for rendering a similar pdf via context, add some width | ||
− | + | \definepapersize[sheet][width=16cm,height=25cm] | |
+ | \setuppapersize[sheet] | ||
+ | \setuplayout[topspace=0.5mm, | ||
+ | backspace=0.5mm, | ||
+ | header=0pt, | ||
+ | headerdistance=0pt, | ||
+ | footer=0pt, | ||
+ | footerdistance=0pt, | ||
+ | width=15.9cm, | ||
+ | height=24.9cm, | ||
+ | leftmargin=0.5mm, | ||
+ | grid=yes] | ||
− | + | % | |
− | + | \setupbodyfont[modern] | |
− | + | \setupwhitespace[medium] | |
− | + | % this enlarges the fonts, see Font Switching on the wiki | |
+ | \tfb | ||
− | + | % | |
+ | \starttext | ||
− | - | + | \startbuffer[line] |
+ | The quick brown fox jumps over the lazy dog! | ||
+ | \stopbuffer | ||
+ | \getbuffer[line] \wordright{default --- Latin Modern serif} \par | ||
+ | \switchtobodyfont[modern,ss] \getbuffer[line] \wordright{Latin Modern sans} \par | ||
+ | \switchtobodyfont[modern,tt] \getbuffer[line] \wordright{Latin Modern mono} \par | ||
+ | \switchtobodyfont[adventor] \getbuffer[line] \wordright{TeX Gyre Adventor} \par | ||
+ | \switchtobodyfont[bonum] \getbuffer[line] \wordright{TeX Gyre Bonum} \par | ||
+ | \switchtobodyfont[chorus] \getbuffer[line] \wordright{TeX Gyre Chorus} \par | ||
+ | \switchtobodyfont[cursor] \getbuffer[line] \wordright{TeX Gyre Cursor} \par | ||
+ | \switchtobodyfont[heros] \getbuffer[line] \wordright{Tex Gyre Heros} \par | ||
+ | \switchtobodyfont[pagella] \getbuffer[line] \wordright{TeX Gyre Pagella} \par | ||
+ | \switchtobodyfont[schola] \getbuffer[line] \wordright{TeX Gyre Schola} \par | ||
+ | \switchtobodyfont[termes] \getbuffer[line] \wordright{Tex Gyre Termes} \par | ||
+ | \switchtobodyfont[dejavu] \getbuffer[line] \wordright{DejaVu serif} \par | ||
+ | \switchtobodyfont[dejavu,ss] \getbuffer[line] \wordright{DejaVu sans} \par | ||
+ | \switchtobodyfont[dejavu,tt] \getbuffer[line] \wordright{DejaVu sansmono} \par | ||
+ | \switchtobodyfont[gentium] \getbuffer[line] \wordright{Gentium} \par | ||
+ | \switchtobodyfont[antykwa] \getbuffer[line] \wordright{Antykwa Toruńska} \par | ||
+ | \switchtobodyfont[antykwapoltawskiego] \getbuffer[line] \wordright{Antykwa Półtawskiego} \par | ||
+ | \switchtobodyfont[kurier,ss] \getbuffer[line] \wordright{Kurier} \par | ||
+ | \switchtobodyfont[iwona] \getbuffer[line] \wordright{Iwona} \par | ||
+ | \switchtobodyfont[almfixed,tt] \getbuffer[line] \wordright{ALM Fixed} \par | ||
+ | \switchtobodyfont[eulernova] \getbuffer[line] \wordright{Euler (for math)} \par | ||
+ | \switchtobodyfont[stixtwo] \getbuffer[line] \wordright{STIX Two} \par | ||
+ | \switchtobodyfont[xits] \getbuffer[line] \wordright{XITS (for math)} \par | ||
− | + | \stoptext | |
− | + | </context> | |
− | |||
− | |||
− | |||
− | |||
− | + | = Symbols = | |
− | |||
− | |||
− | |||
− | + | Distribution also provides with: | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | /tex/ | + | * marvosym: [https://www.ctan.org/pkg/marvosym Martin Vogel's Symbols] with [https://martinvogel.de/blog/index.php?/archives/131-Marvosym.ttf.html link to picture ] |
+ | * cc-icons: https://www.ctan.org/tex-archive/fonts/ccicons Creative Commons icons] and [https://ctan.crest.fr/tex-archive/fonts/ccicons/ccicons.pdf pdf] | ||
+ | * FontAwesome: [https://ctan.org/tex-archive/fonts/fontawesome Font Awesome] provides web-related icons (2016) | ||
− | + | A page is dedicated to [[Symbols]] | |
− | + | [[Category:Fonts]] |
Latest revision as of 14:14, 19 May 2024
A collection of fonts is called a typescript in ConTeXt. The following typescripts are available for fonts distributed with ConTeXt (the name of the typescript is shown as typescriptname
):
- The Latin Modern font family, which is a modern version of standard TeX font Computer Modern:
modern
: synonymmodern-base
modernvariable
: synonymmodern-variable
(a variable width typewriter font)
- The TeX Gyre Collection of Fonts, cross-platform OpenType formats.
pagella
: synonympalatino
termes
: synonymtimes
heros
: synonymhelvetica
bonum
: synonymbookman
schola
: synonymschoolbook
adventor
: synonymavantgarde
cursor
: synonymcourier
chorus
: synonymchancery
- The DejaVu font family :
dejavu
anddejavu-condensed
- 6 additionals fonts (covering serif, sans serif, and monospaced)
- Gentium :
gentium
- Antykwa Poltawskiego :
antykwapoltawskiego
- Antykwa Toruńska:
antykwa
- Kurier :
kurier,ss
- Iwona:
iwona
- IMB Plex:
plex
(serif, sans, mono, condensed, extra-light to semi bold and bold) - EB Garamond:
ebgaramond
- Libertinus:
libertinus
- Gentium :
- 3 additional math fonts:
- Euler:
eulernova
- STIX2:
stixtwo
- XITS:
xits
- Kp:
kp
- XCharter:
charter
- Euler:
Name | Serif | Sans serif | Monospaced | Class | Similar to |
---|---|---|---|---|---|
Latin Modern |
|
|
|
Didone, current TeX standard, [1]. | Computer Modern |
Tex Gyre Adventor | - |
|
- | Geometric sans-serif | ITC Avant Garde Gothic |
Tex Gyre Bonum |
|
- | - | Old Style, Serif transitional, | ITC Bookman |
Tex Gyre Chorus |
|
- | - | Script | ITC Zapf Chancery |
Tex Gyre Cursor | - | - |
|
Monospaced, Slab serif | Courier |
Tex Gyre Heros | - |
|
- | Geometric sans-serif | Helvetica |
Tex Gyre Pagella |
|
- | - | Old Style, Serif | Palatino |
Tex Gyre Schola |
|
- | - | Serif transitional | Century Schoolbook |
Tex Gyre Termes |
|
- | - | Old Style transitional | Times (new) Roman |
DejaVu |
|
|
|
Sans-serif, Humanist | Bitstream Prima |
Gentium |
|
- | - | Old Style | |
Antykwa Poltawskiego |
|
- | Antiqua | ||
Antykwa Toruńska |
|
- | - | Antiqua | |
Kurier | - |
|
- | Sans serif | |
Iwona | - |
|
- | Sans serif, alternative to Kurier | |
Arabic-Latin Modern Fixed | - | - |
|
extension of TeX-Gyre LM Mono 10 | |
Euler |
|
- | - | An upright cursive typeface, for maths. | |
STIX2 |
|
- | - | Scientific and Technical Information Exchange fonts.For scientific typesetting with proper mathematical support | Times (new) Roman |
XITS |
|
- | - | Clone of STIX font | Times (new) Roman |
Overview
% Specific layout for rendering on the wiki, for rendering a similar pdf via context, add some width \definepapersize[sheet][width=16cm,height=25cm] \setuppapersize[sheet] \setuplayout[topspace=0.5mm, backspace=0.5mm, header=0pt, headerdistance=0pt, footer=0pt, footerdistance=0pt, width=15.9cm, height=24.9cm, leftmargin=0.5mm, grid=yes] % \setupbodyfont[modern] \setupwhitespace[medium] % this enlarges the fonts, see Font Switching on the wiki \tfb % \starttext \startbuffer[line] The quick brown fox jumps over the lazy dog! \stopbuffer \getbuffer[line] \wordright{default --- Latin Modern serif} \par \switchtobodyfont[modern,ss] \getbuffer[line] \wordright{Latin Modern sans} \par \switchtobodyfont[modern,tt] \getbuffer[line] \wordright{Latin Modern mono} \par \switchtobodyfont[adventor] \getbuffer[line] \wordright{TeX Gyre Adventor} \par \switchtobodyfont[bonum] \getbuffer[line] \wordright{TeX Gyre Bonum} \par \switchtobodyfont[chorus] \getbuffer[line] \wordright{TeX Gyre Chorus} \par \switchtobodyfont[cursor] \getbuffer[line] \wordright{TeX Gyre Cursor} \par \switchtobodyfont[heros] \getbuffer[line] \wordright{Tex Gyre Heros} \par \switchtobodyfont[pagella] \getbuffer[line] \wordright{TeX Gyre Pagella} \par \switchtobodyfont[schola] \getbuffer[line] \wordright{TeX Gyre Schola} \par \switchtobodyfont[termes] \getbuffer[line] \wordright{Tex Gyre Termes} \par \switchtobodyfont[dejavu] \getbuffer[line] \wordright{DejaVu serif} \par \switchtobodyfont[dejavu,ss] \getbuffer[line] \wordright{DejaVu sans} \par \switchtobodyfont[dejavu,tt] \getbuffer[line] \wordright{DejaVu sansmono} \par \switchtobodyfont[gentium] \getbuffer[line] \wordright{Gentium} \par \switchtobodyfont[antykwa] \getbuffer[line] \wordright{Antykwa Toruńska} \par \switchtobodyfont[antykwapoltawskiego] \getbuffer[line] \wordright{Antykwa Półtawskiego} \par \switchtobodyfont[kurier,ss] \getbuffer[line] \wordright{Kurier} \par \switchtobodyfont[iwona] \getbuffer[line] \wordright{Iwona} \par \switchtobodyfont[almfixed,tt] \getbuffer[line] \wordright{ALM Fixed} \par \switchtobodyfont[eulernova] \getbuffer[line] \wordright{Euler (for math)} \par \switchtobodyfont[stixtwo] \getbuffer[line] \wordright{STIX Two} \par \switchtobodyfont[xits] \getbuffer[line] \wordright{XITS (for math)} \par \stoptext
This produces:
Symbols
Distribution also provides with:
- marvosym: Martin Vogel's Symbols with link to picture
- cc-icons: https://www.ctan.org/tex-archive/fonts/ccicons Creative Commons icons] and pdf
- FontAwesome: Font Awesome provides web-related icons (2016)
A page is dedicated to Symbols