Changes

Jump to navigation Jump to search
1,335 bytes added ,  08:26, 2 July 2022
m
Text replacement - "pragma-ade.com" to "pragma-ade.nl"
__NOTOC__
FirstUsing fonts with TeX was once a Jedi fight, before XeTeX and LuaTeX development. Nowadays, be aware of the 21 using fonts provided by the [[ConTeXt distribution's Fonts]]is simple.
If required, you can [[Mtxrun#= Using fonts| regenerate the font database]]:<code>mtxrun --script font --reload --force</code>=
= How to use You will find here the preliminary steps before actually playing with the fonts included by default in your input file.At the distribution =end, with one or two commands, you will make your document enable to use any fonts available on your computer.
<context>\setuppapersize{{TwoColumnsHighlight|=== [[A6Use fonts distributed with ConTeXt| Use fonts distributed with ConTeXt]]=== \setuplayout* How to use the [[topspace=0ConTeXt distribution's Fonts|21 provided fonts]].5mm* These are the basics you may want to start with, in 2 or 3 steps, backspace=0less than 3 minutes.5mm,header| =0pt, headerdistance=0pt,footer=0pt,footerdistance[[Use_the_fonts_you_want| Use any other font ]] =0pt,width=8cm,heigth=0* Case 1: Quick "one shot" (< 5min.)* Case 2: Comprehensive approach (~10min.6cm])}}  \switchtobodyfontThe actual use of fonts within your document is detailed in '''[[12ptFont Switching]]''':* how to define font size, \starttext* how to use alternative styles like regular / bold / italic / small caps\* how to switch between serif, sans serif, monospaced, or to another fonts with {{cmd|switchtobodyfont[latinmodernroman] }}* how to underline, strike... = Advanced stuff = == The quick brown fox jumps over the lazy dog\parManuals == \switchtobodyfont* [lmsans8regularhttp://www.pragma-ade.nl/general/manuals/fonts-mkiv.pdf 2016 Fonts manual, all the details] The quick brown fox jumps over the lazy dog\parfor advanced users\switchtobodyfont* [lmroman12regularhttp://context.aanhet.net/svn/contextman/context-reference/en/co-fonts.pdf the 2013 font chapter] The quick brown fox jumps over the lazy dog\paras a separate document\switchtobodyfont* [texgyreadventorhttp://pmrb.free.fr/contextref.pdf#&#91;145,{%22name%22:%22Fit%22}&#93; 2013 reference manual] The quick brown fox jumps over never officially released, with the lazy dog\par2013 font chapter\switchtobodyfont== Deep dive into typescripts == * [[texgyrebonumTypescripts examples]] The quick brown fox jumps over look at the lazy dog\parexisting examples to build your own Typescripts.\switchtobodyfont* [[texgyrechorusFeaturesets]] The quick brown fox jumps over the lazy dog\par, and here some of common option for {{cmd|definefontfeature}}** <code>onum=yes</code> for old style numbers, vs <code>lnum=yes</code> for lining numbers** <code>kern=yes</code> for kerning\switchtobodyfont** See [[texgyrecursorLigatures]] The quick brown fox jumps over (2017). <code>liga=yes</code> for common ligature and <code>dlig=yes</code> for discretionary ligature (like st), <code>calt=yes</code> for contextual alternates. ** for small caps, the lazy dog\parfont must propose Caps variation like "EBGaramondSC12-Regular.otf" et "AlegreyaSC-Regular.otf"\switchtobodyfont** [texgyrepagellahttps://helpx.adobe.com/fonts/using/open-type-syntax.html Syntax for OpenType features] The quick brown fox jumps over the lazy dog\parfrom Adobe\switchtobodyfont* [[texgyresholaFontsize|What defines the size in a font?]] The quick brown fox jumps over the lazy dog\par(2019)\switchtobodyfont* [[texgyretermesOptical Size|How to set up a font family with optical size options]] The quick brown fox jumps over the lazy dog\par\switchtobodyfont* [[dejavuserifProtrusion]] The quick brown fox jumps over the lazy dog\par(also known as hanging or font handling) is a more subtle typographic effect (2012 need update). \switchtobodyfont* [dejavusanshttps://source.contextgarden.net/?search=s-fonts- the source browser] The quick brown fox jumps over the lazy dog\parfor s-fonts- files, that a user can run (to get an example) or use as module for own fonts * Lua Font Goodies with examples.  \switchtobodyfontFinally, for older content, refering to mkii, we keep a [[dejavusansmonoFonts - Old Content|specific zone in the wiki]] The quick brown fox jumps over the lazy dog\par\switchtobodyfont. Work is also need to merge content of [[gentiumFonts_in_LuaTeX]] The quick brown fox jumps over the lazy dog\parhere.  * {{cmd|definefontfamily}}* {{cmd|definedfont}} \stoptext</context>[[Category:Fonts]]

Navigation menu