Changes

Jump to navigation Jump to search
m
→‎See Also: link to src:search instead of line number
}}
== [[Help:Reference|Syntax]] (autogenerated) == <table cellspacing="4" cellpadding="2" class="cmd"> <tr> <td colspan="2" class="cmd"syntax>\definehighlight<span class="first" >[...]</span><span class="second" >[...,...=...,...]</span></td> </tr> <tr valign="top" class="first"> <td class="cmd">[...]</td> <td>name </td> </tr> <tr valign="top" class="second"> <td class="cmd">[...,...=...,...]</td> <td>see [[Command/setuphighlight|\setuphighlight]] </td> </tr></tablesyntax>
== Description ==
(MkIV only)
''Highlights'' are a generic facility for defining and maintaining
different emphases.
resulting in a tag {{code|highlight}}, with the respective names as
argument to the attribute ''detail''.
 
When converting from font switches (as {{code|{\bf text}}} to defined highlights,
be sure to convert the syntax to command syntax ( {{code|\important{text}}} ).
== Example ==
== See Also ==
* {{cmd|highlightsetuphighlight}}* {{src|core-sys.mkiv#l197?search{{=}}highlight|core-sys.mkiv}}
== Help from ConTeXt-Mailinglist/Forum ==
{{Forum|{{SUBPAGENAME}}}}
[[Category:CommandsCommand/Fonts|definehighlight]][[Category:Commands|Command/MkIV only|definehighlight]]

Navigation menu