Difference between revisions of "Command/setuphighlight"

From Wiki
Jump to navigation Jump to search
(initial page)
 
m (Categories Fonts, MkIV only)
Line 19: Line 19:
 
   </tr>
 
   </tr>
 
</table>
 
</table>
 
  
 
== Description ==  
 
== Description ==  
Line 52: Line 51:
 
{{Forum|{{SUBPAGENAME}}}}
 
{{Forum|{{SUBPAGENAME}}}}
  
[[Category:Commands|setuphighlight]]
+
[[Category:Command/Fonts|setuphighlight]]
 +
[[Category:Command/MkIV only|setuphighlight]]

Revision as of 11:32, 3 July 2012

\setuphighlight

Syntax

\setuphighlight[...]
style normal bold slanted boldslanted type cap small... command
color IDENTIFIER

Description

Allows customization of macros defined by \definehighlight.

Example

\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

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: