Difference between revisions of "Command/showpalet"

From ConTeXt wiki
Jump to navigationJump to search
(Add {{Color navbox}})
Line 54: Line 54:
  
 
== See also ==
 
== See also ==
* {{cmd|definepalet}}
+
{{Color navbox}}
* {{cmd|setuppalet}}
 
* {{cmd|comparepalet}}
 
 
 
* {{cmd|definecolorgroup}}
 
* {{cmd|showcolorgroup}}
 
 
 
* {{src|colo-ini.mkii}}, {{src|colo-ini.mkiv}}
 
  
 
== Help from ConTeXt-Mailinglist/Forum ==
 
== Help from ConTeXt-Mailinglist/Forum ==

Revision as of 12:26, 13 May 2013

\showpalet

Syntax

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


Description

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).

Example

\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


Help from ConTeXt-Mailinglist/Forum

All issues with: