Changes

Jump to navigation Jump to search
no edit summary
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>): * 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>scholas</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>* 3 additional math fonts:** Euler: <code>eulernova</code>** STIX2: <code>stixtwo</code>** XITS: <code>xits</code> {|class="wikitable" style="width: 85%;"
! style="text-align:left;"| Name
! style="text-align:left;"| Serif
! style="text-align:left;"| Sans serif
! style="text-align:left;"| Sans-serif monospaced Monospaced
! style="text-align:left;"| Class
! style="text-align:left;"| Similar to
<!------------------------------------------------------------------------------>
|-
|DejaVustyle="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.6cm7cm] \setuppapersize[sheet]\setuplayout[topspace=0.5mm, backspace=0.5mm,header=0pt, headerdistance=0pt,footer=0pt,footerdistance=0pt,width=4cm,heigth=0.45cm6cm]\definefontfamily [mainface] [rmss] [DejaVu Serifmodern] \setupbodyfont[mainface]\starttext \switchtobodyfont[12pt] \rm DejaVu Serif starttext \ss Latin Modern\stoptext</context><br/>modern,ss
|
<context>
\definepapersize[sheet][width=4.1cm,height=0.6cm7cm] \setuppapersize[sheet]\setuplayout[topspace=0.5mm, backspace=0.5mm,header=0pt, headerdistance=0pt,footer=0pt,footerdistance=0pt,width=4cm,heigth=0.45cm6cm]\definefontfamily [mainface] [sstt] [DejaVu Sansmodern] \setupbodyfont[mainface]\starttext \switchtobodyfont[12pt] \ss DejaVu Sans 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.6cm7cm] \setuppapersize[sheet]\setuplayout[topspace=0.5mm, backspace=0.5mm,header=0pt, headerdistance=0pt,footer=0pt,footerdistance=0pt,width=4cm,heigth=0.45cm6cm]\definefontfamily [mainface] [ttrm] [DejaVu Sans Monotexgyreadventor] \setupbodyfont[mainface]
\switchtobodyfont[12pt]
\starttext \tt DejaVu Mono rm Tex Gyre Adventor \stoptext</context><br/>adventor| -| SansGeometric sans-serif, Humanist| Bitstream PrimaITC Avant Garde Gothic
<!------------------------------------------------------------------------------>
|-
|Gentiumstyle="background-color:#eeeedc; | Tex Gyre Bonum|
<context>
\definepapersize[sheet][width=4.1cm,height=0.6cm7cm] \setuppapersize[sheet]\setuplayout[topspace=0.5mm, backspace=0.5mm,header=0pt, headerdistance=0pt,footer=0pt,footerdistance=0pt,width=4cm,heigth=0.45cm6cm]\definefontfamily [mainface] [rm] [Gentiumtexgyrebonum] \setupbodyfont[mainface]
\switchtobodyfont[12pt]
\starttext \rm Gentium Tex Gyre Bonum \stoptext</context><br/>bonum
| -
| -
| Old Style, Serif transitional,|ITC Bookman
<!------------------------------------------------------------------------------>
|-
|Antykwa PoltawskiegoTex Gyre Chorus|
<context>
\definepapersize[sheet][width=4.1cm,height=0.6cm7cm] \setuppapersize[sheet]\setuplayout[topspace=0.5mm, backspace=0.5mm,header=0pt, headerdistance=0pt,footer=0pt,footerdistance=0pt,width=4cm,heigth=0.45cm6cm]\definefontfamily [mainface] [rm] [antykwapoltawskiegotexgyrechorus] \setupbodyfont[mainface]
\switchtobodyfont[12pt]
\starttext \rm Antykwa Poltawskiego Tex Gyre Chorus \stoptext</context><br/>chorus|-
| -
| AntiquaScript|ITC Zapf Chancery
<!------------------------------------------------------------------------------>
|-
|Kurierstyle="background-color:#eeeedc; | Tex Gyre Cursor| -
| -
|
<context>
\definepapersize[sheet][width=4.1cm,height=0.6cm7cm] \setuppapersize[sheet]\setuplayout[topspace=0.5mm, backspace=0.5mm,header=0pt, headerdistance=0pt,footer=0pt,footerdistance=0pt,width=4cm,heigth=0.45cm6cm]\definefontfamily [mainface] [sstt] [kuriertexgyrecursor] \setupbodyfont[mainface]
\switchtobodyfont[12pt]
\starttext \ss Kurier (not Iwona)tt Tex Gyre Cursor \stoptext</context><br>| -cursor| Sans Monospaced, Slab serif|Courier
<!------------------------------------------------------------------------------>
|-
|IwonaTex Gyre Heros
| -
|
<context>
\definepapersize[sheet][width=4.1cm,height=0.6cm7cm] \setuppapersize[sheet]\setuplayout[topspace=0.5mm, backspace=0.5mm,header=0pt, headerdistance=0pt,footer=0pt,footerdistance=0pt,width=4cm,heigth=0.45cm6cm]\definefontfamily [mainface] [ssrm] [iwonatexgyreheros] \setupbodyfont[mainface]
\switchtobodyfont[12pt]
\starttext \ss Iwona (not Kurier)rm Tex Gyre Heros \stoptext</context><br>heros
| -
| Sans Geometric sans-serif, alternative to Kurier|Helvetica
<!------------------------------------------------------------------------------>
|-
|Arabic-Latin Modern FixedTex 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
| -
| -
| <context>\definepapersize[sheet][width=4.1cm,height=0.6cm] \setuppapersize[sheet]\setuplayout[topspace=0.5mm, backspace=0.5mm,header=0pt, headerdistance=0pt,footer=0pt,footerdistance=0pt,width=4cmOld Style,heigth=0.45cm]\definefontfamily [mainface] [tt] [almfixed] \setupbodyfont[mainface]\switchtobodyfont[12pt]\starttext \tt ALM Fixed\stoptext</context>| extension of TeX-Gyre LM Mono 10Serif|Palatino
<!------------------------------------------------------------------------------>
|-
|Antykwa Toruńskastyle="background-color:#eeeedc; | Tex Gyre Schola|
<context>
\definepapersize[sheet][width=4.1cm,height=0.6cm7cm] \setuppapersize[sheet]\setuplayout[topspace=0.5mm, backspace=0.5mm,header=0pt, headerdistance=0pt,footer=0pt,footerdistance=0pt,width=4cm,heigth=0.45cm6cm]\definefontfamily [mainface] [rm] [antykwatorunskatexgyreschola] \setupbodyfont[mainface]
\switchtobodyfont[12pt]
\starttext \rm Antykwa ToruńskaTex Gyre Schola \stoptext</context><br>schola
| -
| -
| AntiquaSerif transitional|Century Schoolbook
<!------------------------------------------------------------------------------>
|-
|EulerTex Gyre Termes|
<context>
\definepapersize[sheet][width=4.1cm,height=0.6cm7cm] \setuppapersize[sheet]\setuplayout[topspace=0.5mm, backspace=0.5mm,header=0pt, headerdistance=0pt,footer=0pt,footerdistance=0pt,width=4cm,heigth=0.45cm6cm]\definefontfamily [mainface] [rm] [neoeulertexgyretermes] \setupbodyfont[mainface]
\switchtobodyfont[12pt]
\starttext \rm Euler (for math)Tex Gyre Termes \stoptext</context><br>termes
| -
| -
| An upright cursive typeface, for maths.Old Style transitional|Times (new) Roman
<!------------------------------------------------------------------------------>
|-
|Latin Modernstyle="background-color:#eeeedc; |DejaVu|
<context>
\definepapersize[sheet][width=4.1cm,height=0.6cm7cm] \setuppapersize[sheet]\setuplayout[topspace=0.5mm, backspace=0.5mm,header=0pt, headerdistance=0pt,footer=0pt,footerdistance=0pt,width=4cm,heigth=0.45cm6cm]\definefontfamily [mainface] [rm] [latinmodernromandejavuserif] \setupbodyfont[mainface]\starttext \switchtobodyfont[12pt]\starttext \rm Latin ModernDejaVu Serif \stoptext</context><br>dejavu
|
<context>
\definepapersize[sheet][width=4.1cm,height=0.6cm7cm] \setuppapersize[sheet]\setuplayout[topspace=0.5mm, backspace=0.5mm,header=0pt, headerdistance=0pt,footer=0pt,footerdistance=0pt,width=4cm,heigth=0.45cm6cm]\definefontfamily [mainface] [ss] [latinmodernsansdejavusans] \setupbodyfont[mainface]\starttext \switchtobodyfont[12pt]\starttext \ss Latin ModernDejaVu Sans \stoptext</context><br>dejavu,ss
|
<context>
\definepapersize[sheet][width=4.1cm,height=0.6cm7cm] \setuppapersize[sheet]\setuplayout[topspace=0.5mm, backspace=0.5mm,header=0pt, headerdistance=0pt,footer=0pt,footerdistance=0pt,width=4cm,heigth=0.45cm6cm]\definefontfamily [mainface] [tt] [latinmodernmonodejavusansmono] \setupbodyfont[mainface]
\switchtobodyfont[12pt]
\starttext \tt Latin ModernDejaVu Mono \stoptext</context><br>dejavu,tt| Didone. The TeX standardSans-serif, [https://www.tug.org/TUGboat/tb24-1/jackowski.pdf extension] of Computer Modern. Humanist| Computer ModernBitstream Prima
<!------------------------------------------------------------------------------>
|-
| Tex Gyre Adventor| -Gentium|
<context>
\definepapersize[sheet][width=4.1cm,height=0.6cm7cm] \setuppapersize[sheet]\setuplayout[topspace=0.5mm, backspace=0.5mm,header=0pt, headerdistance=0pt,footer=0pt,footerdistance=0pt,width=4cm,heigth=0.45cm6cm]\definefontfamily [mainface] [rm] [texgyreadventorgentium] \setupbodyfont[mainface]
\switchtobodyfont[12pt]
\starttext \rm Tex Gyre Adventor Gentium \stoptext</context><br>gentium| -
| -
| Geometric sans-serifOld Style| ITC Avant Garde Gothic
<!------------------------------------------------------------------------------>
|-
| Tex Gyre Bonumstyle="background-color:#eeeedc; |Antykwa Poltawskiego|
<context>
\definepapersize[sheet][width=4.1cm,height=0.6cm7cm] \setuppapersize[sheet]\setuplayout[topspace=0.5mm, backspace=0.5mm,header=0pt, headerdistance=0pt,footer=0pt,footerdistance=0pt,width=4cm,heigth=0.45cm6cm]\definefontfamily [mainface] [rm] [texgyrebonumantykwapoltawskiego] \setupbodyfont[mainface]
\switchtobodyfont[12pt]
\starttext \rm Tex Gyre Bonum Antykwa Poltawskiego \stoptext</context><br>antykwapoltawskiego|
| -
| -Antiqua| Old Style, Serif transitional,| ITC Zapf Chancery
<!------------------------------------------------------------------------------>
|-
| Tex Gyre ChorusAntykwa Toruńska|
<context>
\definepapersize[sheet][width=4.1cm,height=0.6cm7cm] \setuppapersize[sheet]\setuplayout[topspace=0.5mm, backspace=0.5mm,header=0pt, headerdistance=0pt,footer=0pt,footerdistance=0pt,width=4cm,heigth=0.45cm6cm]\definefontfamily [mainface] [rm] [texgyrechorusantykwatorunska] \setupbodyfont[mainface]
\switchtobodyfont[12pt]
\starttext \rm Tex Gyre Chorus Antykwa Toruńska\stoptext</context><br>antykwa
| -
| -
| ScriptAntiqua| ITC Zapf Chancery
<!------------------------------------------------------------------------------>
|-
| Tex Gyre Pagellastyle="background-color:#eeeedc; |Kurier| -
|
<context>
\definepapersize[sheet][width=4.1cm,height=0.6cm7cm] \setuppapersize[sheet]\setuplayout[topspace=0.5mm, backspace=0.5mm,header=0pt, headerdistance=0pt,footer=0pt,footerdistance=0pt,width=4cm,heigth=0.45cm6cm]\definefontfamily [mainface] [rmss] [texgyrepagellakurier] \setupbodyfont[mainface]
\switchtobodyfont[12pt]
\starttext \rm Tex Gyre Pagella ss Kurier (not Iwona)\stoptext</context><br>kurier,ss
| -
| -Sans serif| Old Style, Serif| Palatino
<!------------------------------------------------------------------------------>
|-
| Tex Gyre ScholaIwona| -|
<context>
\definepapersize[sheet][width=4.1cm,height=0.6cm7cm] \setuppapersize[sheet]\setuplayout[topspace=0.5mm, backspace=0.5mm,header=0pt, headerdistance=0pt,footer=0pt,footerdistance=0pt,width=4cm,heigth=0.45cm6cm]\definefontfamily [mainface] [rmss] [texgyresholaiwona] \setupbodyfont[mainface]
\switchtobodyfont[12pt]
\starttext \rm Tex Gyre Schola ss Iwona (not Kurier)\stoptext</context><br>iwona
| -
| -Sans serif, alternative to Kurier| Serif transitional| Century Schoolbook
<!------------------------------------------------------------------------------>
|-
| Tex Gyre Termesstyle="background-color:#eeeedc; |Arabic-Latin Modern Fixed| -| -|
<context>
\definepapersize[sheet][width=4.1cm,height=0.6cm7cm] \setuppapersize[sheet]\setuplayout[topspace=0.5mm, backspace=0.5mm,header=0pt, headerdistance=0pt,footer=0pt,footerdistance=0pt,width=4cm,heigth=0.45cm6cm]\definefontfamily [mainface] [rmtt] [texgyretermesalmfixed] \setupbodyfont[mainface]
\switchtobodyfont[12pt]
\starttext \rm Tex Gyre Termes tt ALM Fixed\stoptext</context><br>| -almfixed,tt| extension of TeX-Gyre LM Mono 10| Old Style transitional| Times (new) Roman
<!------------------------------------------------------------------------------>
|-
| Tex Gyre CursorEuler| <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.
|
<context!------------------------------------------------------------------------------>\definepapersize[sheet][width=4.1cm,height=0.6cm] \setuppapersize[sheet]\setuplayout[topspace=0.5mm, backspace=0.5mm,header=0pt, headerdistance=0pt,footer=0pt,footerdistance=0pt,width=4cm,heigth=0.45cm]\definefontfamily [mainface] [tt] [texgyrecursor] \setupbodyfont[mainface]\switchtobodyfont[12pt]\starttext \tt Tex Gyre Cursor \stoptext</context>| Monospaced, Slab serif| Courier
<!------------------------------------------------------------------------------>
|-
| style="background-color:#eeeedc; | STIX2
|
<context>
\definepapersize[sheet][width=4.1cm,height=0.6cm7cm] \setuppapersize[sheet]\setuplayout[topspace=0.5mm, backspace=0.5mm,header=0pt, headerdistance=0pt,footer=0pt,footerdistance=0pt,width=4cm,heigth=0.45cm6cm]
\definefontfamily [mainface] [rm] [stixtwotext] \setupbodyfont[mainface]
\switchtobodyfont[12pt]
\starttext \rm STIX Two \stoptext
</context><br>stixtwo
| -
| -
| The [https://www.stixfonts.org Scientific and Technical Information eXchange (STIX) Exchange] fonts.For scientific typesetting with proper mathematical support |<!------------------------------------------------------------------------------>Times (new) Roman
|-
| XITS
|
<context>
\definepapersize[sheet][width=4.1cm,height=0.6cm7cm] \setuppapersize[sheet]\setuplayout[topspace=0.5mm, backspace=0.5mm,header=0pt, headerdistance=0pt,footer=0pt,footerdistance=0pt,width=4cm,heigth=0.45cm6cm]
\definefontfamily [mainface] [rm] [xits] \setupbodyfont[mainface]
\switchtobodyfont[12pt]
\starttext \rm XITS (for math) \stoptext
</context><br>xits
| -
| -
| For scientific typesetting with proper mathematical supportClone 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 =
== Symbols ==/tex/texmf/fonts/truetype/public/marvosym/tex/texmf/fonts/truetype/public/cc-icons/tex/texmf/fonts/opentype/public/FontAwesomeDistribution also provides with:
* 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)
== other ==A page is dedicated to [[Symbols]]
Cambria, Lucida, Minion, Libertinus,[[Category:Fonts]]
3

edits

Navigation menu