Command/showpalet

From Wiki
< Command
Revision as of 14:49, 9 November 2021 by Taco (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


\showpalet

Summary

The command \showpalet is used to display color palettes

Settings

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

OptionExplanation
horizontal horizontal display
vertical vertical display
number print color 'numbers' (actually, the 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).)
value print rgb values
name print palette name

Description

Colors can be 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.

Examples

Example 1

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

Example 2

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

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: