Changes

Jump to navigation Jump to search
397 bytes added ,  21:23, 3 June 2020
__NOTOC__
Using fonts with TeX was once a Jedi fight, before (2013 / 2015 ?) XeTeX and LuaTeX development. Nowadays, using fonts is simple.
= Nowadays, Fonts are a piece of cake Using fonts =
You will find here the preliminary steps before actually playing with the fonts in your input file.
At the end, with one or two commands, you will make your document enable to use any fonts of available on your computer.
{{TwoColumnsHighlight
|
=== [[Use_fonts_provided_with_ConTeXtUse fonts distributed with ConTeXt|#1 Use fonts provided distributed with ConTeXt]] ===
* How to use the [[ConTeXt distribution's Fonts|21 provided fonts]].
* These are the basics you may want to start with, in 2 or 3 steps, less than 1 minute3 minutes.
|
=== [[Use_the_fonts_you_want|#2 Use the fonts you wantany other font ]] === * The basics to use any font you want, from you operating system, from the web.Cover two cases:* As a quick * Quick "one shot" (less than : < 5 minutes).* And in a * A more sustainable comprehensive approach: ~10 minutes.
}}
The actual use of fonts within your document are details is detailed in '''[[Font_SwitchingFont Switching]]''':
* how to define font size,
* how to use alternative styles like regular / bold / italic / small caps
= Advanced stuff =
{{todo| continue to link with existing and up-to-date wiki material + references to manuals + improve structure}}== The Manuals ==
== A little bit further ==* [http://www.pragma-ade.com/general/manuals/fonts-mkiv.pdf 2016 Fonts manual, all the details] for advanced users* [http://context.aanhet.net/svn/contextman/context-reference/en/co-fonts.pdf the 2013 font chapter] as a separate document* [http://pmrb.free.fr/contextref.pdf#&#91;145,{%22name%22:%22Fit%22}&#93; 2013 reference manual] never officially released, with the 2013 font chapter* [http://www.pragma-ade.com/general/manuals/cont-enp.pdf#&#91;106,{%22name%22:%22Fit%22}&#93; 2001 reference manual] ('''!!! WARNING !!!''' TO KEEP OR NOT TO KEEP)
Vocabulary, What is == A little beyond the scope of basics ==> reference to manuals pages ?* a font* a style* a fontfamily* a typeface* a typescript* a typescriptcollection
How to work with fonts which include:
* different weights (light, extra-light, dark, extra-bold)
* different widths (condensed, expanded)
* different style (inline, shadowed, outline)
* [[Fontsize|What defines the size in a font?]] (2019)
* [[Optical Size]] ('''!!! WARNING !!!''' 2010 = TO KEEP OR NOT ?)
 
;Practical application TO BE WRITTEN (==> reference to manuals pages ? to articles, to existing pages ?)
:*How to work with fonts which include:
:** different weights (light, extra-light, dark, extra-bold)
:** different widths (condensed, expanded)
:** different style (inline, shadowed, outline)
:* and explain the whole vocabulary
:** a font
:** a style switch
:** a fontfamily
:** a typeface
:** a typescript
:** a typescriptcollection
== Deep dive into typescripts ==
* [[Alegreya Typescript]]: a quite complete example (2019), MkIV for the Alegreya fonts by Huerta Tipográfica / Juan Pablo del Peral, downloadable from [https://fonts.google.com/?query=Alegreya Google Fonts].
* [[Fraktur_fonts|Summary of experiences of three Fraktur]] (2019)
* [[Typescripts_examples]] (Cf Thomas Hala)and [[Palatino Linotype under MKIV]].
* Using Font Fallbacks (and perhaps a different page for Fallbacks for math fonts)
* Creating virtual math fonts from type 1 fonts (still needed?)
* Small caps
** [[Pseudo Small Caps]] by Vit Zyka (2011)
* [[Ligatures]] (2017)
* protrusion[[Protrusion]] (also known as hanging or font handling) is a more subtle typographic effect (2012 need update).
* old style numbers
* Kerning
Finally, for older content, refering to mkii, we keep a [[Fonts - Old Content|specific zone in the wiki]]. Work is also need to merge content of [[Fonts_in_LuaTeX]] here.
* Font chapter of the reference manual
** [http://www.pragma-ade.com/general/manuals/cont-enp.pdf#&#91;106,{%22name%22:%22Fit%22}&#93; 2001 reference manual] ('''!!! WARNING !!!''' TO KEEP OR NOT TO KEEP)
** [http://pmrb.free.fr/contextref.pdf#&#91;145,{%22name%22:%22Fit%22}&#93; 2013 reference manual] never officially released, with a font chapter
** [http://context.aanhet.net/svn/contextman/context-reference/en/co-fonts.pdf the 2013 font chapter] as a separate document
* {{cmd|definefontfamily}}
* {{cmd|definedfont}}
* {{cmd|definefontfamily}}* {{cmd|definedfont}}[[Category:Fonts]]

Navigation menu