Command/starttypescript
< Command
Jump to navigation
Jump to search
Contents
\starttypescript ... \stoptypescript
Summary
The environment \starttypescript ... \stoptypescript is used to setup a font family.
Settings
\starttypescript[...,...][...,...][...,...] ... \stoptypescript | |
[...,...] | serif sans mono math handwriting calligraphy |
[...,...] | name |
[...,...] | size name |
Description
The typescript environment functions as a container for the font and type definitions therein.
Examples
Example 1
In almost all cases the environment is used like this:
\starttypescript [serif] [myname] [name] \definefontsynonym [...] ... \stoptypescript \starttypescript [sans] [myname] [name] \definefontsynonym [...] ... \stoptypescript \starttypescript [mono] [myname] [name] \definefontsynonym [...] ... \stoptypescript
immediately followed by
\starttypescript [myname] \definetypeface [myname] [ss] [sans] [...] \definetypeface [myname] [rm] [serif] [...] \definetypeface [myname] [tt] [mono] [...] \stoptypescript
and the created definitions are then later used (perhaps in a different file) by:
\usetypescript [myname] \setupbodyfont [myname]