Changes

Jump to navigation Jump to search
m
no edit summary
Many ConTeXt commands accept a <code>style</code> and a <code>color</code> parameter. These in turn accept a name as defined by <code>\definehighlight</code>, <code>\definealternativestyle</code>, <code>\definefont</code> for fonts, etc., respectively <code>\definecolor</code> or <code>\startstandardmakeup</code> for colors:
<textcodetexcode>
\definefont[MyFont][Arial at 28pt]
\startmakeup[standard][style=MyFont]
Lorem ipsum dolor sit amet consectetur.
\stopmakeup
</textcodetexcode>
Alternatively, instead of pre-defining a font or color name, one can hand the definition over directly:
<textcodetexcode>
\startmakeup[standard][style={\setupinterlinespace[line=5em]}]
Lorem ipsum dolor sit amet consectetur.
\stopmakeup
</textcodetexcode>
4

edits

Navigation menu