Difference between revisions of "Command/starttypescript"
< Command
Jump to navigation
Jump to search
(Created page with "{{Reference |name={{subst:SUBPAGENAME}} |attributes= }} == Syntax (automatically generated) == <syntax>starttypescript</syntax> == Description == The t...") |
m (→Example) |
||
Line 16: | Line 16: | ||
In almost all cases the environment is used like this | In almost all cases the environment is used like this | ||
<texcode> | <texcode> | ||
− | \starttypescript [serif] [myname] | + | \starttypescript [serif] [myname] [name] |
\definefontsynonym [...] | \definefontsynonym [...] | ||
... | ... | ||
\stoptypescript | \stoptypescript | ||
− | \starttypescript [sans] [myname] | + | \starttypescript [sans] [myname] [name] |
\definefontsynonym [...] | \definefontsynonym [...] | ||
... | ... | ||
\stoptypescript | \stoptypescript | ||
− | \starttypescript [mono] [myname] | + | \starttypescript [mono] [myname] [name] |
\definefontsynonym [...] | \definefontsynonym [...] | ||
... | ... |
Revision as of 12:07, 3 July 2020
\starttypescript
Syntax (automatically generated)
\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.
Example
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]
See also
Help from ConTeXt-Mailinglist/Forum
All issues with: