Difference between revisions of "ConTeXt distribution's Fonts"
Jump to navigation
Jump to search
m |
(There is no typescript called 'latinmodern'. The wiki displays the right output simply because the fallback font is latin modern) |
||
Line 40: | Line 40: | ||
\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] [modern] \setupbodyfont[mainface] |
\switchtobodyfont[12pt] | \switchtobodyfont[12pt] | ||
\starttext \rm Latin Modern\stoptext | \starttext \rm Latin Modern\stoptext | ||
Line 49: | 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] [ | + | \definefontfamily [mainface] [ss] [modern] \setupbodyfont[mainface] |
\switchtobodyfont[12pt] | \switchtobodyfont[12pt] | ||
\starttext \ss Latin Modern\stoptext | \starttext \ss Latin Modern\stoptext | ||
Line 58: | 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] [ | + | \definefontfamily [mainface] [tt] [modern] \setupbodyfont[mainface] |
\switchtobodyfont[12pt] | \switchtobodyfont[12pt] | ||
\starttext \tt Latin Modern\stoptext | \starttext \tt Latin Modern\stoptext | ||
Line 370: | Line 370: | ||
height=11cm] | height=11cm] | ||
% | % | ||
− | \setupbodyfont[ | + | \setupbodyfont[modern] |
\setupbodyfont[10pt] | \setupbodyfont[10pt] | ||
\setupinterlinespace[4ex] | \setupinterlinespace[4ex] | ||
Line 382: | Line 382: | ||
\startitemize[none,packed] | \startitemize[none,packed] | ||
\item default: \getbuffer[line]\\ | \item default: \getbuffer[line]\\ | ||
− | \switchtobodyfont[ | + | \switchtobodyfont[modern] \item lmserif: \getbuffer[line]\\ |
− | \switchtobodyfont[ | + | \switchtobodyfont[modern] \item \ss lmsans: \getbuffer[line]\\ |
− | \switchtobodyfont[ | + | \switchtobodyfont[modern] \item \tt lmmono: \getbuffer[line]\\ |
\switchtobodyfont[adventor] \item adventor: \getbuffer[line]\\ | \switchtobodyfont[adventor] \item adventor: \getbuffer[line]\\ | ||
\switchtobodyfont[bonum] \item bonum: \getbuffer[line]\\ | \switchtobodyfont[bonum] \item bonum: \getbuffer[line]\\ |
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
: 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
scholas
: 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 :
antykwa-poltawskiego
- Antykwa Toruńska:
antykwa-torunska
- Kurier :
kurier
- Iwona:
iwona
- Gentium :
- 3 additional math fonts:
- Euler:
eulernova
- STIX2:
stix
- 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 Zapf Chancery |
Tex Gyre Chorus |
|
- | - | Script | ITC Zapf Chancery |
Tex Gyre Cursor | - | - |
|
Monospaced, Slab serif | Courier |
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 \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:
- 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