Difference between revisions of "Command/definepalet"
< Command
Jump to navigation
Jump to search
m (→Example: example) |
m (→Description: brief description.) |
||
Line 20: | Line 20: | ||
− | == Description == | + | == Description == |
− | + | Allows on-the-fly switching of whole sets of color name definitions. | |
− | |||
== Example == | == Example == |
Revision as of 12:30, 16 June 2012
\definepalet
Syntax
\definepalet[...][...,...=...,...] | |
[...] | name |
name | name |
Description
Allows on-the-fly switching of whole sets of color name definitions.
Example
\setupcolors [x11] \definepalet [colorful] [primary=green] \definepalet [bleak] [primary=darkgray] \starttext \setuppalet [colorful] \color[primary]{Ain’t I a colorful entity?} \setuppalet [bleak] \color[primary]{Ain’t I a colorful entity?} \stoptext
See also
Help from ConTeXt-Mailinglist/Forum
All issues with: