ConTEXt an excursion - Pragma ADE
ConTEXt an excursion - Pragma ADE
ConTEXt an excursion - Pragma ADE
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Fonts <strong>an</strong>d font switches<br />
[cmr]<br />
\tf \sc \sl \it \bf \bs \bi \tfx \tfxx \tfa \tfb \tfc \tfd<br />
\rm Ag Ag Ag Ag Ag Ag Ag Ag Ag Ag Ag Ag Ag<br />
\ss Ag Ag Ag Ag Ag Ag Ag Ag Ag Ag Ag Ag Ag<br />
\tt Ag Ag Ag Ag Ag Ag Ag Ag Ag Ag Ag Ag Ag<br />
31.3 Style <strong>an</strong>d size switch in comm<strong>an</strong>ds<br />
contents<br />
index<br />
comm<strong>an</strong>ds<br />
definitions<br />
colofon<br />
In a number of comm<strong>an</strong>ds one of the parameters is character to indicate the desired<br />
typestyle. For example:<br />
\setuphead[chapter][style=\tfd]<br />
In this case the character size for chapters is indicated with a comm<strong>an</strong>d \tfd. But instead<br />
of a comm<strong>an</strong>d you could use the predefined options that are related to the actual typeface:<br />
normal bold sl<strong>an</strong>ted boldsl<strong>an</strong>ted type mediaeval<br />
small smallbold smallsl<strong>an</strong>ted smallboldsl<strong>an</strong>ted smalltype<br />
capital cap<br />
31.4 Local font style <strong>an</strong>d size<br />
In the running text (local) you c<strong>an</strong> ch<strong>an</strong>ge the typestyle into rom<strong>an</strong>, s<strong>an</strong>s serif <strong>an</strong>d teletype<br />
with \rm, \ss <strong>an</strong>d \tt.<br />
You c<strong>an</strong> ch<strong>an</strong>ge the typeface like italic <strong>an</strong>d boldface with \sl <strong>an</strong>d \bf.<br />
The typesize is available from 4pt to 12pt <strong>an</strong>d is ch<strong>an</strong>ged with \switchtobodyfont.<br />
The actual style is indicated with \tf. If you w<strong>an</strong>t to ch<strong>an</strong>ge into a somewhat greater<br />
size you c<strong>an</strong> type \tfa, \tfb, \tfc <strong>an</strong>d \tfd. An addition of a, b, c <strong>an</strong>d d to \sl, \it<br />
<strong>an</strong>d \bf is also allowed.<br />
{\tfc Mintage}<br />
exit<br />
search +<br />
go back<br />
– +<br />
31 89