Open main menu

Changes

There is no typescript called 'latinmodern'. The wiki displays the right output simply because the fallback font is latin modern
You can visualize here the pack A collection of fonts is called a ''typescript'' in ConTeXt. The following typescripts are available in for fonts distributed with ConTeXt's distribution(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)
Noticeably, you will find:
* Latin Modern font family, the TeX standard, complete and ready for maths.
* 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 additionals additional math fonts for sciences and maths:** Euler: <code>eulernova</code>** STIX2: <code>stix</code>** XITS: <code>xits</code>
{|class="wikitable" style="width: 85%;"
<!------------------------------------------------------------------------------>
|-
| 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] [latinmodernromanmodern] \setupbodyfont[mainface]
\switchtobodyfont[12pt]
\starttext \rm Latin Modern\stoptext
\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] [latinmodernsansmodern] \setupbodyfont[mainface]
\switchtobodyfont[12pt]
\starttext \ss Latin Modern\stoptext
\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] [latinmodernmonomodern] \setupbodyfont[mainface]
\switchtobodyfont[12pt]
\starttext \tt Latin Modern\stoptext
<!------------------------------------------------------------------------------>
|-
| style="background-color:#eeeedc; | Tex Gyre Bonum
|
<context>
<!------------------------------------------------------------------------------>
|-
| style="background-color:#eeeedc; | Tex Gyre Cursor
| -
| -
<!------------------------------------------------------------------------------>
|-
| style="background-color:#eeeedc; | Tex Gyre Schola
|
<context>
<!------------------------------------------------------------------------------>
|-
| style="background-color:#eeeedc; |DejaVu
|
<context>
<!------------------------------------------------------------------------------>
|-
| style="background-color:#eeeedc; |Antykwa Poltawskiego
|
<context>
<!------------------------------------------------------------------------------>
|-
| style="background-color:#eeeedc; |Kurier
| -
|
<!------------------------------------------------------------------------------>
|-
| style="background-color:#eeeedc; |Arabic-Latin Modern Fixed
| -
| -
<!------------------------------------------------------------------------------>
|-
| style="background-color:#eeeedc; | STIX2
|
<context>
| -
| -
| [https://www.stixfonts.org Scientific and Technical Information Exchange] fonts.For scientific typesetting with proper mathematical support |<!------------------------------------------------------------------------------>Times (new) Roman
|-
| 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
\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 =
* 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]]