Difference between revisions of "ConTeXt distribution's Fonts"

From Wiki
Jump to navigation Jump to search
(There is no typescript called 'latinmodern'. The wiki displays the right output simply because the fallback font is latin modern)
(29 intermediate revisions by 2 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>):
 +
 +
* 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>antykwa-poltawskiego</code>
 +
** Antykwa Toruńska: <code>antykwa-torunska</code>
 +
** Kurier : <code>kurier</code>
 +
** Iwona: <code>iwona</code>
 +
* 3 additional math fonts:
 +
** Euler: <code>eulernova</code>
 +
** STIX2: <code>stix</code>
 +
** XITS: <code>xits</code>
 +
 
{|class="wikitable" style="width: 85%;"
 
{|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;"| Sans-serif monospaced
+
! style="text-align:left;"| Monospaced
 
! style="text-align:left;"| Class
 
! style="text-align:left;"| Class
 
! style="text-align:left;"| Similar to
 
! style="text-align:left;"| Similar to
 
<!------------------------------------------------------------------------------>
 
<!------------------------------------------------------------------------------>
 
|-
 
|-
|Latin Modern
+
| style="background-color:#eeeedc; |Latin Modern
 
|  
 
|  
 
<context>
 
<context>
 
\definepapersize[sheet][width=4.1cm,height=0.7cm]  \setuppapersize[sheet]
 
\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]
 
\setuplayout[topspace=0.5mm, backspace=0.5mm,header=0pt, headerdistance=0pt,footer=0pt,footerdistance=0pt,width=4cm,heigth=0.6cm]
\definefontfamily [mainface] [rm] [latinmodernroman] \setupbodyfont[mainface]
+
\definefontfamily [mainface] [rm] [modern] \setupbodyfont[mainface]
 
\switchtobodyfont[12pt]
 
\switchtobodyfont[12pt]
 
\starttext \rm Latin Modern\stoptext
 
\starttext \rm Latin Modern\stoptext
</context>
+
</context><br/>
 
latinmodernroman
 
latinmodernroman
 
|
 
|
Line 22: Line 49:
 
\definepapersize[sheet][width=4.1cm,height=0.7cm]  \setuppapersize[sheet]
 
\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]
 
\setuplayout[topspace=0.5mm, backspace=0.5mm,header=0pt, headerdistance=0pt,footer=0pt,footerdistance=0pt,width=4cm,heigth=0.6cm]
\definefontfamily [mainface] [ss] [latinmodernsans] \setupbodyfont[mainface]
+
\definefontfamily [mainface] [ss] [modern] \setupbodyfont[mainface]
 
\switchtobodyfont[12pt]
 
\switchtobodyfont[12pt]
 
\starttext \ss Latin Modern\stoptext
 
\starttext \ss Latin Modern\stoptext
</context>
+
</context><br/>
 
latinmodernsans
 
latinmodernsans
 
|
 
|
Line 31: Line 58:
 
\definepapersize[sheet][width=4.1cm,height=0.7cm]  \setuppapersize[sheet]
 
\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]
 
\setuplayout[topspace=0.5mm, backspace=0.5mm,header=0pt, headerdistance=0pt,footer=0pt,footerdistance=0pt,width=4cm,heigth=0.6cm]
\definefontfamily [mainface] [tt] [latinmodernmono] \setupbodyfont[mainface]
+
\definefontfamily [mainface] [tt] [modern] \setupbodyfont[mainface]
 
\switchtobodyfont[12pt]
 
\switchtobodyfont[12pt]
 
\starttext \tt Latin Modern\stoptext
 
\starttext \tt Latin Modern\stoptext
</context>
+
</context><br/>
 
latinmodernmono
 
latinmodernmono
 
| Didone, current TeX standard, [https://www.tug.org/TUGboat/tb24-1/jackowski.pdf].  
 
| Didone, current TeX standard, [https://www.tug.org/TUGboat/tb24-1/jackowski.pdf].  
Line 49: Line 76:
 
\switchtobodyfont[12pt]
 
\switchtobodyfont[12pt]
 
\starttext \rm Tex Gyre Adventor \stoptext
 
\starttext \rm Tex Gyre Adventor \stoptext
</context>
+
</context><br/>
 
texgyreadventor
 
texgyreadventor
 
| -
 
| -
Line 56: Line 83:
 
<!------------------------------------------------------------------------------>
 
<!------------------------------------------------------------------------------>
 
|-
 
|-
| Tex Gyre Bonum
+
| style="background-color:#eeeedc; | Tex Gyre Bonum
 
|
 
|
 
<context>
 
<context>
Line 64: Line 91:
 
\switchtobodyfont[12pt]
 
\switchtobodyfont[12pt]
 
\starttext \rm Tex Gyre Bonum \stoptext
 
\starttext \rm Tex Gyre Bonum \stoptext
</context>
+
</context><br/>
 
texgyrebonum
 
texgyrebonum
 
| -
 
| -
Line 80: Line 107:
 
\switchtobodyfont[12pt]
 
\switchtobodyfont[12pt]
 
\starttext \rm Tex Gyre Chorus \stoptext
 
\starttext \rm Tex Gyre Chorus \stoptext
</context>
+
</context><br/>
 
texgyrechorus
 
texgyrechorus
 
| -
 
| -
Line 88: Line 115:
 
<!------------------------------------------------------------------------------>
 
<!------------------------------------------------------------------------------>
 
|-
 
|-
| Tex Gyre Cursor
+
| style="background-color:#eeeedc; | Tex Gyre Cursor
 
| -
 
| -
 
| -
 
| -
Line 98: Line 125:
 
\switchtobodyfont[12pt]
 
\switchtobodyfont[12pt]
 
\starttext \tt Tex Gyre Cursor \stoptext
 
\starttext \tt Tex Gyre Cursor \stoptext
</context>
+
</context><br>
 
texgyrecursor
 
texgyrecursor
 
| Monospaced, Slab serif
 
| Monospaced, Slab serif
Line 112: Line 139:
 
\switchtobodyfont[12pt]
 
\switchtobodyfont[12pt]
 
\starttext \rm Tex Gyre Pagella \stoptext
 
\starttext \rm Tex Gyre Pagella \stoptext
</context>
+
</context><br>
 
texgyrepagella
 
texgyrepagella
 
| -
 
| -
Line 120: Line 147:
 
<!------------------------------------------------------------------------------>
 
<!------------------------------------------------------------------------------>
 
|-
 
|-
| Tex Gyre Schola
+
| style="background-color:#eeeedc; | Tex Gyre Schola
 
|
 
|
 
<context>
 
<context>
Line 128: Line 155:
 
\switchtobodyfont[12pt]
 
\switchtobodyfont[12pt]
 
\starttext \rm Tex Gyre Schola \stoptext
 
\starttext \rm Tex Gyre Schola \stoptext
</context>
+
</context><br>
 
texgyreshola
 
texgyreshola
 
| -
 
| -
Line 144: Line 171:
 
\switchtobodyfont[12pt]
 
\switchtobodyfont[12pt]
 
\starttext \rm Tex Gyre Termes \stoptext
 
\starttext \rm Tex Gyre Termes \stoptext
</context>
+
</context><br>
 
texgyretermes
 
texgyretermes
 
| -
 
| -
Line 152: Line 179:
 
<!------------------------------------------------------------------------------>
 
<!------------------------------------------------------------------------------>
 
|-
 
|-
|DejaVu
+
| style="background-color:#eeeedc; |DejaVu
 
|
 
|
 
<context>
 
<context>
Line 160: Line 187:
 
\setupbodyfont[mainface]
 
\setupbodyfont[mainface]
 
\starttext \switchtobodyfont[12pt] \rm DejaVu Serif \stoptext
 
\starttext \switchtobodyfont[12pt] \rm DejaVu Serif \stoptext
</context>
+
</context><br>
 
dejavuserif
 
dejavuserif
 
|
 
|
Line 168: Line 195:
 
\definefontfamily [mainface] [ss] [dejavusans] \setupbodyfont[mainface]
 
\definefontfamily [mainface] [ss] [dejavusans] \setupbodyfont[mainface]
 
\starttext \switchtobodyfont[12pt] \ss DejaVu Sans \stoptext
 
\starttext \switchtobodyfont[12pt] \ss DejaVu Sans \stoptext
</context>
+
</context><br>
 
dejavusans
 
dejavusans
 
|
 
|
Line 177: Line 204:
 
\switchtobodyfont[12pt]
 
\switchtobodyfont[12pt]
 
\starttext \tt DejaVu Mono \stoptext
 
\starttext \tt DejaVu Mono \stoptext
</context>
+
</context><br>
 
dejavusansmono
 
dejavusansmono
 
| Sans-serif, Humanist
 
| Sans-serif, Humanist
Line 191: Line 218:
 
\switchtobodyfont[12pt]
 
\switchtobodyfont[12pt]
 
\starttext \rm Gentium \stoptext
 
\starttext \rm Gentium \stoptext
</context>
+
</context><br>
 
gentium
 
gentium
 
| -
 
| -
Line 199: Line 226:
 
<!------------------------------------------------------------------------------>
 
<!------------------------------------------------------------------------------>
 
|-
 
|-
|Antykwa Poltawskiego
+
| style="background-color:#eeeedc; |Antykwa Poltawskiego
 
|  
 
|  
 
<context>
 
<context>
Line 207: Line 234:
 
\switchtobodyfont[12pt]
 
\switchtobodyfont[12pt]
 
\starttext \rm Antykwa Poltawskiego \stoptext
 
\starttext \rm Antykwa Poltawskiego \stoptext
</context>
+
</context><br>
 
antykwapoltawskiego
 
antykwapoltawskiego
 
|
 
|
Line 223: Line 250:
 
\switchtobodyfont[12pt]
 
\switchtobodyfont[12pt]
 
\starttext \rm Antykwa Toruńska\stoptext
 
\starttext \rm Antykwa Toruńska\stoptext
</context>
+
</context><br>
 
antykwatorunska
 
antykwatorunska
 
| -
 
| -
Line 231: Line 258:
 
<!------------------------------------------------------------------------------>
 
<!------------------------------------------------------------------------------>
 
|-
 
|-
|Kurier
+
| style="background-color:#eeeedc; |Kurier
 
| -
 
| -
 
|
 
|
Line 240: Line 267:
 
\switchtobodyfont[12pt]
 
\switchtobodyfont[12pt]
 
\starttext \ss Kurier (not Iwona)\stoptext
 
\starttext \ss Kurier (not Iwona)\stoptext
</context>
+
</context><br>
 
kurier
 
kurier
 
| -
 
| -
Line 256: Line 283:
 
\switchtobodyfont[12pt]
 
\switchtobodyfont[12pt]
 
\starttext \ss Iwona (not Kurier)\stoptext
 
\starttext \ss Iwona (not Kurier)\stoptext
</context>
+
</context><br>
 
iwona
 
iwona
 
| -
 
| -
Line 263: Line 290:
 
<!------------------------------------------------------------------------------>
 
<!------------------------------------------------------------------------------>
 
|-
 
|-
|Arabic-Latin Modern Fixed
+
| style="background-color:#eeeedc; |Arabic-Latin Modern Fixed
 
| -
 
| -
 
| -
 
| -
Line 273: Line 300:
 
\switchtobodyfont[12pt]
 
\switchtobodyfont[12pt]
 
\starttext \tt ALM Fixed\stoptext
 
\starttext \tt ALM Fixed\stoptext
</context>
+
</context><br>
 
almfixed
 
almfixed
 
| extension of TeX-Gyre LM Mono 10
 
| extension of TeX-Gyre LM Mono 10
Line 287: Line 314:
 
\switchtobodyfont[12pt]
 
\switchtobodyfont[12pt]
 
\starttext \rm Euler (for math)\stoptext
 
\starttext \rm Euler (for math)\stoptext
</context>
+
</context><br>
 
neoeuler
 
neoeuler
 
| -
 
| -
Line 296: Line 323:
 
<!------------------------------------------------------------------------------>
 
<!------------------------------------------------------------------------------>
 
|-
 
|-
| STIX2
+
| style="background-color:#eeeedc; | STIX2
 
|  
 
|  
 
<context>
 
<context>
Line 304: Line 331:
 
\switchtobodyfont[12pt]
 
\switchtobodyfont[12pt]
 
\starttext \rm STIX Two \stoptext
 
\starttext \rm STIX Two \stoptext
</context>
+
</context><br>
 
stixtwotext
 
stixtwotext
 
| -
 
| -
 
| -
 
| -
| [https://www.stixfonts.org Scientific&Tech. Info eXchange] fonts.
+
| [https://www.stixfonts.org Scientific and Technical Information Exchange] fonts.For scientific typesetting with proper mathematical support
|<!------------------------------------------------------------------------------>
+
| Times (new) Roman
 
|-
 
|-
 
| XITS
 
| XITS
Line 319: Line 346:
 
\switchtobodyfont[12pt]
 
\switchtobodyfont[12pt]
 
\starttext \rm XITS (for math) \stoptext
 
\starttext \rm XITS (for math) \stoptext
</context>
+
</context><br>
 
xits
 
xits
 
| -
 
| -
 
| -
 
| -
| For scientific typesetting with proper mathematical support
+
| Clone of STIX font
 
| Times (new) Roman  
 
| Times (new) Roman  
 
<!------------------------------------------------------------------------------>
 
<!------------------------------------------------------------------------------>
 
|}
 
|}
  
 +
= Overview =
 +
 +
<context source=yes text="This produces:"">
 +
%= Specific layout for rendering on the wiki
 +
\definepapersize[sheet][width=16cm,height=11cm]
 +
\setuppapersize[sheet]
 +
\setuplayout[topspace=0.5mm,           
 +
            backspace=0.5mm,
 +
            header=0pt,
 +
            headerdistance=0pt,
 +
            footer=0pt,
 +
            footerdistance=0pt,
 +
            width=15cm,
 +
            height=11cm]
 +
%
 +
\setupbodyfont[modern]
 +
\setupbodyfont[10pt]
 +
\setupinterlinespace[4ex]
 +
%
 +
\starttext
 +
 +
\startbuffer[line]
 +
The quick brown fox jumps over the lazy dog
 +
\stopbuffer
 +
 +
\startitemize[none,packed]
 +
                                \item default: \getbuffer[line]\\
 +
\switchtobodyfont[modern]  \item lmserif: \getbuffer[line]\\
 +
\switchtobodyfont[modern]  \item \ss lmsans: \getbuffer[line]\\
 +
\switchtobodyfont[modern]  \item \tt lmmono: \getbuffer[line]\\
 +
\switchtobodyfont[adventor]    \item adventor: \getbuffer[line]\\
 +
\switchtobodyfont[bonum]        \item bonum: \getbuffer[line]\\
 +
\switchtobodyfont[chorus]      \item chorus: \getbuffer[line]\\
 +
\switchtobodyfont[cursor]      \item cursor: \getbuffer[line]\\
 +
\switchtobodyfont[pagella]      \item pagella: \getbuffer[line]\\
 +
\switchtobodyfont[shola]        \item shola: \getbuffer[line]\\
 +
\switchtobodyfont[termes]      \item termes: \getbuffer[line]\\
 +
\switchtobodyfont[dejavu]      \item dejavuserif: \getbuffer[line]\\
 +
\switchtobodyfont[dejavu]      \item \ss dejavusans: \getbuffer[line]\\
 +
\switchtobodyfont[dejavu]      \item \tt dejavumono: \getbuffer[line]\\
 +
\switchtobodyfont[gentium]      \item gentium: \getbuffer[line]\\
 +
\stopitemize
 +
 +
\stoptext
 +
</context>
 +
 +
= Symbols =
  
== Symbols ==
+
Distribution also provides with:
/tex/texmf/fonts/truetype/public/marvosym
 
/tex/texmf/fonts/truetype/public/cc-icons
 
/tex/texmf/fonts/opentype/public/FontAwesome
 
  
 +
* 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]]

Revision as of 06:04, 7 June 2020

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: synonym modern-base
    • modernvariable: synonym modern-variable (a variable width typewriter font)
  • The TeX Gyre Collection of Fonts, cross-platform OpenType formats.
    • pagella: synonym palatino
    • termes: synonym times
    • heros: synonym helvetica
    • bonum: synonym bookman
    • scholas: synonym schoolbook
    • adventor: synonym avantgarde
    • cursor: synonym courier
    • chorus: synonym chancery
  • The DejaVu font family : dejavu and dejavu-condensed
  • 6 additionals fonts (covering serif, sans serif, and monospaced)
    • Gentium : gentium
    • Antykwa Poltawskiego : antykwa-poltawskiego
    • Antykwa Toruńska: antykwa-torunska
    • Kurier : kurier
    • Iwona: iwona
  • 3 additional math fonts:
    • Euler: eulernova
    • STIX2: stix
    • XITS: xits
Name Serif Sans serif Monospaced Class Similar to
Latin Modern


latinmodernroman


latinmodernsans


latinmodernmono

Didone, current TeX standard, [1]. Computer Modern
Tex Gyre Adventor -


texgyreadventor

- Geometric sans-serif ITC Avant Garde Gothic
Tex Gyre Bonum


texgyrebonum

- - Old Style, Serif transitional, ITC Zapf Chancery
Tex Gyre Chorus


texgyrechorus

- - Script ITC Zapf Chancery
Tex Gyre Cursor - -


texgyrecursor

Monospaced, Slab serif Courier
Tex Gyre Pagella


texgyrepagella

- - Old Style, Serif Palatino
Tex Gyre Schola


texgyreshola

- - Serif transitional Century Schoolbook
Tex Gyre Termes


texgyretermes

- - Old Style transitional Times (new) Roman
DejaVu


dejavuserif


dejavusans


dejavusansmono

Sans-serif, Humanist Bitstream Prima
Gentium


gentium

- - Old Style
Antykwa Poltawskiego


antykwapoltawskiego

- Antiqua
Antykwa Toruńska


antykwatorunska

- - Antiqua
Kurier -


kurier

- Sans serif
Iwona -


iwona

- Sans serif, alternative to Kurier
Arabic-Latin Modern Fixed - -


almfixed

extension of TeX-Gyre LM Mono 10
Euler


neoeuler

- - An upright cursive typeface, for maths.
STIX2


stixtwotext

- - Scientific and Technical Information Exchange fonts.For scientific typesetting with proper mathematical support Times (new) Roman
XITS


xits

- - Clone of STIX font Times (new) Roman

Overview

%= Specific layout for rendering on the wiki
\definepapersize[sheet][width=16cm,height=11cm]
\setuppapersize[sheet]
\setuplayout[topspace=0.5mm,            
             backspace=0.5mm,
             header=0pt,
             headerdistance=0pt,
             footer=0pt,
             footerdistance=0pt,
             width=15cm,
             height=11cm]
%
\setupbodyfont[modern]
\setupbodyfont[10pt]
\setupinterlinespace[4ex]
%
\starttext

\startbuffer[line]
The quick brown fox jumps over the lazy dog
\stopbuffer

\startitemize[none,packed]
                                \item default: \getbuffer[line]\\
\switchtobodyfont[modern]  \item lmserif: \getbuffer[line]\\
\switchtobodyfont[modern]  \item \ss lmsans: \getbuffer[line]\\
\switchtobodyfont[modern]  \item \tt lmmono: \getbuffer[line]\\
\switchtobodyfont[adventor]     \item adventor: \getbuffer[line]\\
\switchtobodyfont[bonum]        \item bonum: \getbuffer[line]\\
\switchtobodyfont[chorus]       \item chorus: \getbuffer[line]\\
\switchtobodyfont[cursor]       \item cursor: \getbuffer[line]\\
\switchtobodyfont[pagella]      \item pagella: \getbuffer[line]\\
\switchtobodyfont[shola]        \item shola: \getbuffer[line]\\
\switchtobodyfont[termes]       \item termes: \getbuffer[line]\\
\switchtobodyfont[dejavu]       \item dejavuserif: \getbuffer[line]\\
\switchtobodyfont[dejavu]       \item \ss dejavusans: \getbuffer[line]\\
\switchtobodyfont[dejavu]       \item \tt dejavumono: \getbuffer[line]\\
\switchtobodyfont[gentium]      \item gentium: \getbuffer[line]\\
\stopitemize

\stoptext

This produces:

Symbols

Distribution also provides with:

A page is dedicated to Symbols