Command/showpalet

From ConTeXt wiki
Jump to: navigation, search

\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:

C O N T E X T G A R D E N

Personal tools
Namespaces
Variants
Actions
Help
External Help
Installation
Navigation
Toolbox