Difference between revisions of "Command/setuphighlight"
< Command
Jump to navigation
Jump to search
(initial page) |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
|attributes= | |attributes= | ||
}} | }} | ||
+ | |||
+ | == [[Help:Reference|Syntax]] (autogenerated) == | ||
+ | <syntax>setuphighlight</syntax> | ||
== [[Help:Reference|Syntax]] == | == [[Help:Reference|Syntax]] == | ||
Line 19: | Line 22: | ||
</tr> | </tr> | ||
</table> | </table> | ||
− | |||
== Description == | == Description == | ||
Line 52: | Line 54: | ||
{{Forum|{{SUBPAGENAME}}}} | {{Forum|{{SUBPAGENAME}}}} | ||
− | [[Category: | + | [[Category:Command/Fonts|setuphighlight]] |
+ | [[Category:Command/MkIV only|setuphighlight]] |
Revision as of 14:41, 15 November 2019
\setuphighlight
Syntax (autogenerated)
\setuphighlight[...,...][...=...,...] | |
[...,...] | name |
command | yes no |
style | style command |
color | color |
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
- \definehighlight
- \installstyleandcolorhandler / mult-aux.mkiv
- \definestartstop
- \setupbackend
- core-sys.mkiv
Help from ConTeXt-Mailinglist/Forum
All issues with: