Changes

Jump to navigation Jump to search
m
Added rscale=... to the example
== 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.The <code>rscale=...</code> option ensures that all fonts have the same x-height. (You can lookup the relative x-heigt of a font using fontforge.)
<texcode>
\starttypescript [Bonum]
\definetypeface [Bonum] [rm] [serif] [bonum] [default]
\definetypeface [Bonum] [ss] [sans] [adventor] [default] [rscale=0.887] \definetypeface [Bonum] [tt] [mono] [cursor] [default] [rscale=1.163] \definetypeface [Bonum] [mm] [math] [euler] [default] [rscale=1.050]
\stoptypescript
2

edits

Navigation menu