Difference between revisions of "Command/setuphighlight"

From ConTeXt wiki
m (Categories Fonts, MkIV only)
Line 4: Line 4:
 
}}
 
}}
  
 +
== [[Help:Reference|Syntax]] (autogenerated)] ==
 +
<syntax>setuphighlight</syntax>
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==
 
<table cellspacing="4" cellpadding="2" class="cmd">
 
<table cellspacing="4" cellpadding="2" class="cmd">

Revision as of 02:07, 13 October 2019

\setuphighlight

Syntax (autogenerated)]

\setuphighlight[...,...][...=...,...]
[...,...]name
commandyes no
stylestyle command
colorcolor


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: