Changes

Jump to navigation Jump to search
1,604 bytes added ,  10:53, 16 June 2012
initial page
{{Reference
|name=setuphighlight
|attributes=
}}

== [[Help:Reference|Syntax]] ==
<table cellspacing="4" cellpadding="2" class="cmd">
<tr>
<td colspan="2" class="cmd">\setuphighlight<span class="first" style="color:red;">[...]</span></td>
</tr>
<tr valign="top" class="second">
<td class="cmd">[[Command/keyword:style|style]]</td>
<td>[[Command/value:normal|normal]] [[Command/value:bold|bold]] [[Command/value:slanted|slanted]] [[Command/value:boldslanted|boldslanted]] [[Command/value:type|type]] [[Command/value:cap|cap]] [[Command/value:small...|small...]] [[Command/value:command|command]] </td>

</tr>
<tr valign="top" class="second">
<td class="cmd">[[Command/keyword:color|color]]</td>
<td>[[Command/value:IDENTIFIER|IDENTIFIER]] </td>
</tr>
</table>


== Description ==

Allows customization of macros defined by {{cmd|definehighlight}}.

== Example ==

<texcode>
\definehighlight [important] [style=bold] %% define a highlight
\definehighlight [reallyimportant] [important] %% inherit setups
\setuphighlight [reallyimportant] [color=red] %% modify the copy

\setupbackend [export=yes]
\starttext
This \important{you} need to know.\par
This, however, \reallyimportant{everybody} needs to know!

\stoptext
</texcode>

== See also ==
<!-- something like {{cmd|goto}} -->
* {{cmd|definehighlight}}
* {{cmd|installstyleandcolorhandler}} / {{src|mult-aux.mkiv}}
* {{cmd|definestartstop}}
* {{cmd|setupbackend}}
* {{src|core-sys.mkiv}}

== Help from ConTeXt-Mailinglist/Forum ==
All issues with:
{{Forum|{{SUBPAGENAME}}}}

[[Category:Commands|setuphighlight]]
188

edits

Navigation menu