Changes

Jump to navigation Jump to search
490 bytes added ,  20:27, 14 July 2020
< [[Basics#Basics_of_ConTeXt_text_formatting|Basics of text formatting]] | [[Fonts]] >
 
 
In ConTeXt there are four ways to switch fonts:
* [[Simple Typescript Example]]
* [[Example Roboto Typescript]] an example with normal and condensed font variants]]
* [[Linux Libertine on mkiv]]
== From font-var.mkvi [https://source.contextgarden.net/tex/context/base/mkiv/font-var.mkvi?search=fontface#l49] ==
 
<context source=yes>
% fontclass % modern dejavu
% fontbody % ... 10pt 11pt 12pt ...
% fontstyle % rm ss tt mm hw cg ...
% fontalternative % tf bf sl it bs bi sc ...
% fontsize % a b c d ...
% fontface % 0=normal 1=text 2=script 3=scriptscript 4=x 5=xx (math are temporary)
 
class: \fontclass
 
body : \fontbody
 
style: \fontstyle
alternative: \fontalternative
 
size: \fontsize
 
face: \fontface
 
</context>
[[Category:Fonts]]

Navigation menu