Changes

Jump to navigation Jump to search
Added description on how to compose your own typescript.
The first line seems to order ConTeXt to "install" (for the current file) the given typescript (it accepts what I have earlier called a "typescript name"). The last one starts using it (you may omit the size if you are satisfied with the default).
 
== Combining predefined fonts in your own typescripts ==
 
It is also possible to combine fonts from the TeX Gyre collection in your own typescripts. The example below combines Bonum (Bookman) roman, Adventor (AvantGarde) for sans serif, Cursor (Courier) for teletype, and Euler for math.
 
<texcode>
\starttypescript [Bonum]
\definetypeface [Bonum] [rm] [serif] [bonum] [default]
\definetypeface [Bonum] [ss] [sans] [adventor] [default]
\definetypeface [Bonum] [tt] [mono] [cursor] [default]
\definetypeface [Bonum] [mm] [math] [euler] [default]
\quittypescriptscanning
\stoptypescript
 
\usetypescript[Bonum]
\setupbodyfont[Bonum,12pt]
 
\starttext
Hello world, I'm Bonum!
\stoptext
</texcode>
== Example typescripts ==
* [[CD_Booklet#Use_Delicious_OTF_font_with_luatex_.2F_mkiv|exljbris Delicious]]
2

edits

Navigation menu