Changes

Jump to navigation Jump to search
remove manual syntax table (was outdated)
}}
== [[Help:Reference|Syntax]] ==<table cellspacing="4" cellpadding="2" class="cmd"> <tr> <td colspan="2" class="cmd">\definetypeface<span class="first">[...]</span><span class="second">[...]</span><span class="third">[...]</span><span class="fourth">[...]</span><span class="fifth">[...]</span><span class="sixth">[...]</span></td> </tr> <tr valign="top" class="first"> <td class="cmd">[...]</td> <td>TEXT (typescript identifierautogenerated)</td> </tr> <tr valign="top" class="second"> <td class="cmd"syntax>[...]</td> <td>rm ss tt mm hw cg ("basic style")</td> </tr> <tr valign="top" class="third"> <td class="cmd">[...]</td> <td>IDENTIFIER (existing font set)</td> </tr> <tr valign="top" class="fourth"> <td class="cmd">[...]</td> <td>IDENTIFIER (existing font set)</td> </tr> <tr valign="top" class="fifth"> <td class="cmd">[...]</td> <td>IDENTIFIER (?)</td> </tr> <tr valign="top" class="sixth"> <td class="cmd">[...]</td> <td>features = IDENTIFIER<br />rscale = NUMBER<br/>encoding = IDENTIFIER<br/>text = IDENTIFIER</td> </tr>definetypeface</tablesyntax>
== Description ==
== Example ==
<context source="yes">
\starttypescript [palatino] [texnansi,ec,qx,t5,default]
\definetypeface[palatino] [rm] [serif][palatino] [default]
\definetypeface[palatino] [ss] [sans] [modern] [default] [rscale=1.075]
</context>
This defines a typescript named `palatino in five different encodings`. When this typescript isexecuted via \{{cmd|usetypescript}}, it will define four typefaces, `typeface`s that are (by coincidence) also called `palatino`; one of each of the four basic stylesrm, ss, tt, and mm.These typefaces are then usable as arguments to {{cmd|setupbodyfont}} or {{cmd|switchtobodyfont}}
== See also ==

Navigation menu