Difference between revisions of "ConTeXt distribution's Fonts"
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) |
m (Corrected a mistake in the name of the font Schola (was written 'scholas')) |
||
(6 intermediate revisions by 4 users not shown) | |||
Line 10: | Line 10: | ||
** <code>heros</code>: synonym <code>helvetica</code> | ** <code>heros</code>: synonym <code>helvetica</code> | ||
** <code>bonum</code>: synonym <code>bookman</code> | ** <code>bonum</code>: synonym <code>bookman</code> | ||
− | ** <code> | + | ** <code>schola</code>: synonym <code>schoolbook</code> |
** <code>adventor</code>: synonym <code>avantgarde</code> | ** <code>adventor</code>: synonym <code>avantgarde</code> | ||
** <code>cursor</code>: synonym <code>courier</code> | ** <code>cursor</code>: synonym <code>courier</code> | ||
Line 17: | Line 17: | ||
* 6 additionals fonts (covering serif, sans serif, and monospaced) | * 6 additionals fonts (covering serif, sans serif, and monospaced) | ||
** Gentium : <code>gentium</code> | ** Gentium : <code>gentium</code> | ||
− | ** Antykwa Poltawskiego : <code> | + | ** Antykwa Poltawskiego : <code>antykwapoltawskiego</code> |
− | ** Antykwa Toruńska: <code>antykwa | + | ** Antykwa Toruńska: <code>antykwa</code> |
− | ** Kurier : <code>kurier</code> | + | ** Kurier : <code>kurier,ss</code> |
** Iwona: <code>iwona</code> | ** Iwona: <code>iwona</code> | ||
* 3 additional math fonts: | * 3 additional math fonts: | ||
** Euler: <code>eulernova</code> | ** Euler: <code>eulernova</code> | ||
− | ** STIX2: <code> | + | ** STIX2: <code>stixtwo</code> |
** XITS: <code>xits</code> | ** XITS: <code>xits</code> | ||
Line 44: | Line 44: | ||
\starttext \rm Latin Modern\stoptext | \starttext \rm Latin Modern\stoptext | ||
</context><br/> | </context><br/> | ||
− | + | modern | |
| | | | ||
<context> | <context> | ||
Line 53: | Line 53: | ||
\starttext \ss Latin Modern\stoptext | \starttext \ss Latin Modern\stoptext | ||
</context><br/> | </context><br/> | ||
− | + | modern,ss | |
| | | | ||
<context> | <context> | ||
Line 62: | Line 62: | ||
\starttext \tt Latin Modern\stoptext | \starttext \tt Latin Modern\stoptext | ||
</context><br/> | </context><br/> | ||
− | + | modern,tt | |
| 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]. | ||
| Computer Modern | | Computer Modern | ||
Line 77: | Line 77: | ||
\starttext \rm Tex Gyre Adventor \stoptext | \starttext \rm Tex Gyre Adventor \stoptext | ||
</context><br/> | </context><br/> | ||
− | + | adventor | |
| - | | - | ||
| Geometric sans-serif | | Geometric sans-serif | ||
Line 92: | Line 92: | ||
\starttext \rm Tex Gyre Bonum \stoptext | \starttext \rm Tex Gyre Bonum \stoptext | ||
</context><br/> | </context><br/> | ||
− | + | bonum | |
| - | | - | ||
| - | | - | ||
| Old Style, Serif transitional, | | Old Style, Serif transitional, | ||
− | | ITC | + | | ITC Bookman |
<!------------------------------------------------------------------------------> | <!------------------------------------------------------------------------------> | ||
|- | |- | ||
Line 108: | Line 108: | ||
\starttext \rm Tex Gyre Chorus \stoptext | \starttext \rm Tex Gyre Chorus \stoptext | ||
</context><br/> | </context><br/> | ||
− | + | chorus | |
| - | | - | ||
| - | | - | ||
Line 126: | Line 126: | ||
\starttext \tt Tex Gyre Cursor \stoptext | \starttext \tt Tex Gyre Cursor \stoptext | ||
</context><br> | </context><br> | ||
− | + | cursor | |
| Monospaced, Slab serif | | Monospaced, Slab serif | ||
| Courier | | 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 | ||
<!------------------------------------------------------------------------------> | <!------------------------------------------------------------------------------> | ||
|- | |- | ||
Line 140: | Line 156: | ||
\starttext \rm Tex Gyre Pagella \stoptext | \starttext \rm Tex Gyre Pagella \stoptext | ||
</context><br> | </context><br> | ||
− | + | pagella | |
| - | | - | ||
| - | | - | ||
Line 152: | Line 168: | ||
\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] [ | + | \definefontfamily [mainface] [rm] [texgyreschola] \setupbodyfont[mainface] |
\switchtobodyfont[12pt] | \switchtobodyfont[12pt] | ||
\starttext \rm Tex Gyre Schola \stoptext | \starttext \rm Tex Gyre Schola \stoptext | ||
</context><br> | </context><br> | ||
− | + | schola | |
| - | | - | ||
| - | | - | ||
Line 172: | Line 188: | ||
\starttext \rm Tex Gyre Termes \stoptext | \starttext \rm Tex Gyre Termes \stoptext | ||
</context><br> | </context><br> | ||
− | + | termes | |
| - | | - | ||
| - | | - | ||
Line 188: | Line 204: | ||
\starttext \switchtobodyfont[12pt] \rm DejaVu Serif \stoptext | \starttext \switchtobodyfont[12pt] \rm DejaVu Serif \stoptext | ||
</context><br> | </context><br> | ||
− | + | dejavu | |
| | | | ||
<context> | <context> | ||
Line 196: | Line 212: | ||
\starttext \switchtobodyfont[12pt] \ss DejaVu Sans \stoptext | \starttext \switchtobodyfont[12pt] \ss DejaVu Sans \stoptext | ||
</context><br> | </context><br> | ||
− | + | dejavu,ss | |
| | | | ||
<context> | <context> | ||
Line 205: | Line 221: | ||
\starttext \tt DejaVu Mono \stoptext | \starttext \tt DejaVu Mono \stoptext | ||
</context><br> | </context><br> | ||
− | + | dejavu,tt | |
| Sans-serif, Humanist | | Sans-serif, Humanist | ||
| Bitstream Prima | | Bitstream Prima | ||
Line 251: | Line 267: | ||
\starttext \rm Antykwa Toruńska\stoptext | \starttext \rm Antykwa Toruńska\stoptext | ||
</context><br> | </context><br> | ||
− | + | antykwa | |
| - | | - | ||
| - | | - | ||
Line 268: | Line 284: | ||
\starttext \ss Kurier (not Iwona)\stoptext | \starttext \ss Kurier (not Iwona)\stoptext | ||
</context><br> | </context><br> | ||
− | kurier | + | kurier,ss |
| - | | - | ||
| Sans serif | | Sans serif | ||
Line 301: | Line 317: | ||
\starttext \tt ALM Fixed\stoptext | \starttext \tt ALM Fixed\stoptext | ||
</context><br> | </context><br> | ||
− | almfixed | + | almfixed,tt |
| extension of TeX-Gyre LM Mono 10 | | extension of TeX-Gyre LM Mono 10 | ||
| | | | ||
Line 315: | Line 331: | ||
\starttext \rm Euler (for math)\stoptext | \starttext \rm Euler (for math)\stoptext | ||
</context><br> | </context><br> | ||
− | + | eulernova | |
| - | | - | ||
| - | | - | ||
Line 332: | Line 348: | ||
\starttext \rm STIX Two \stoptext | \starttext \rm STIX Two \stoptext | ||
</context><br> | </context><br> | ||
− | + | stixtwo | |
| - | | - | ||
| - | | - | ||
Line 358: | Line 374: | ||
<context source=yes text="This produces:""> | <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= | + | |
+ | \definepapersize[sheet][width=16cm,height=25cm] | ||
\setuppapersize[sheet] | \setuppapersize[sheet] | ||
− | \setuplayout[topspace=0.5mm, | + | \setuplayout[topspace=0.5mm, |
backspace=0.5mm, | backspace=0.5mm, | ||
header=0pt, | header=0pt, | ||
Line 367: | Line 384: | ||
footer=0pt, | footer=0pt, | ||
footerdistance=0pt, | footerdistance=0pt, | ||
− | width= | + | width=15.9cm, |
− | height= | + | height=24.9cm, |
+ | leftmargin=0.5mm, | ||
+ | grid=yes] | ||
+ | |||
% | % | ||
\setupbodyfont[modern] | \setupbodyfont[modern] | ||
− | \ | + | \setupwhitespace[medium] |
− | \ | + | |
+ | % this enlarges the fonts, see Font Switching on the wiki | ||
+ | \tfb | ||
+ | |||
% | % | ||
\starttext | \starttext | ||
\startbuffer[line] | \startbuffer[line] | ||
− | The quick brown fox jumps over the lazy dog | + | The quick brown fox jumps over the lazy dog! |
\stopbuffer | \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[ | + | \switchtobodyfont[adventor] \getbuffer[line] \wordright{TeX Gyre Adventor} \par |
− | \switchtobodyfont[ | + | \switchtobodyfont[bonum] \getbuffer[line] \wordright{TeX Gyre Bonum} \par |
− | \switchtobodyfont[ | + | \switchtobodyfont[chorus] \getbuffer[line] \wordright{TeX Gyre Chorus} \par |
− | \switchtobodyfont[ | + | \switchtobodyfont[cursor] \getbuffer[line] \wordright{TeX Gyre Cursor} \par |
− | \switchtobodyfont[ | + | \switchtobodyfont[heros] \getbuffer[line] \wordright{Tex Gyre Heros} \par |
− | \switchtobodyfont[ | + | \switchtobodyfont[pagella] \getbuffer[line] \wordright{TeX Gyre Pagella} \par |
− | \switchtobodyfont[ | + | \switchtobodyfont[schola] \getbuffer[line] \wordright{TeX Gyre Schola} \par |
− | \switchtobodyfont[ | + | \switchtobodyfont[termes] \getbuffer[line] \wordright{Tex Gyre Termes} \par |
− | \switchtobodyfont[ | + | \switchtobodyfont[dejavu] \getbuffer[line] \wordright{DejaVu serif} \par |
− | \switchtobodyfont[ | + | \switchtobodyfont[dejavu,ss] \getbuffer[line] \wordright{DejaVu sans} \par |
− | \switchtobodyfont[ | + | \switchtobodyfont[dejavu,tt] \getbuffer[line] \wordright{DejaVu sansmono} \par |
− | \switchtobodyfont[ | + | \switchtobodyfont[gentium] \getbuffer[line] \wordright{Gentium} \par |
− | \switchtobodyfont[ | + | \switchtobodyfont[antykwa] \getbuffer[line] \wordright{Antykwa Toruńska} \par |
− | \switchtobodyfont[ | + | \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 | \stoptext |
Latest revision as of 01:52, 3 September 2023
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
- Gentium :
- 3 additional math fonts:
- Euler:
eulernova
- STIX2:
stixtwo
- XITS:
xits
- 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