Command/setuphighlight

From Wiki
Jump to navigation Jump to search

\setuphighlight

Syntax (autogenerated)

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


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
    
    \starttext
    \startTEXpage
    This \important{you} need to know.\par
    This, however, \reallyimportant{everybody} needs to know!
    \stopTEXpage
    \stoptext
    

    produces

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: