Command/startfont

From Wiki
Jump to navigation Jump to search


\startfont ... \stopfont

Summary

The environment \startfont ... \stopfont is used for specifying the font (instead of using font switched).

Settings

\startfont[...] ... \stopfont
[...]font

Description

Examples

Example 1

\startfont[Serif sa 1] \color[darkgray]{A} \stopfont
\startfont[Serif sa 2] \color[darkgray]{B} \stopfont
\startfont[Serif sa 3] \color[darkgray]{C} \stopfont
\startfont[Serif sa 4] \color[darkgray]{D} \stopfont
\startfont[Serif sa 5] \color[darkgray]{E} \stopfont
\startfont[Serif sa 6] \color[darkgray]{F} \stopfont

Example 2

\startfont[file:texgyrepagellabold at 48pt] \color[darkgray]{A} \stopfont

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: