Changes

Jump to navigation Jump to search
==Small extension==
We extend the script a litte:
<texcode>
...
\definefontsynonym [SansCaps] [name:nimbusromno9lregu]
\stoptypescript
 
\starttypescript [nimbus]
\definetypeface [nimbus] [rm] [serif] [nimbus]
\definetypeface [nimbus] [ss] [sans] [nimbus]
\stoptypescript
 
\usetypescript[nimbus]
\setupbodyfont[nimbus,rm,10pt]
 
\starttext
...
</texcode>
 
Annotations:
* A thrid typescript is defined named ''[nimbus]''
* usetypescript calls the ''typescript [[nimbus]]'' in which the ''typeface [nimbus]'' is defined
* ''typeface [nimbus]'' and ''typescript [nimbus]]'' are two totally different things
* In this example: if the ''typescript [nimbus]'' is not called via usetypescript then the ''typeface [nimbus]'' is not defined
==References==
Anonymous user

Navigation menu