Difference between revisions of "Command/showpalet"

From ConTeXt wiki
Jump to navigationJump to search
m (remove setuppagenumbering after fixing configuration)
m (Text replace - "\[\[cmd:(.*)\|(.*)\]\]" to "{{cmd|$1}}")
Line 54: Line 54:
== See also ==
== See also ==
[[source:colo-ini.mkii|colo-ini.mkii]] [[source:colo-ini.mkii|colo-ini.mkiv]]
[[source:colo-ini.mkii|colo-ini.mkii]] [[source:colo-ini.mkii|colo-ini.mkiv]]

Revision as of 05:49, 23 March 2012



[...] name
[...,...,...] horizontal vertical name value


Colors are grouped in palettes. The colors in such a palette can have colorful names, but best is to use names that specify their use, like important or danger. ConTeXt has some palettes predefined and \showpalet is used to graphically display colors being used in a particular palette.

Orientation of displayed palette can be either horizontal or vertical, name prints palette name (alfa, beta, ...) on left or bottom, number prints quark name to which the color gets assigned (Hans happened to be reading S. Hawking's A hort history of time at the time of implementing color palettes).


\showpalet [alfa] [vertical,name,number]

\showpalet [beta] [horizontal,name,number]
\showpalet [gamma] [horizontal,name]
\showpalet [delta] [horizontal,name]
\showpalet [epsilon] [horizontal,name]
\showpalet [zeta] [horizontal,name]

See also

\definepalet \setuppalet \comparepalet

\definecolorgroup \showcolorgroup

colo-ini.mkii colo-ini.mkiv

TODO: add category Visual Debugging

Help from ConTeXt-Mailinglist/Forum

All issues with: