Difference between revisions of "Command/showpalet"

From ConTeXt wiki
Jump to navigationJump to search
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
 
}}
 
}}
  
== [[Help:Reference|Syntax]] (autogenerated)] ==
+
== [[Help:Reference|Syntax]] (autogenerated) ==
 
<syntax>showpalet</syntax>
 
<syntax>showpalet</syntax>
 +
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==
 
<table cellspacing="4" cellpadding="2" class="cmd">
 
<table cellspacing="4" cellpadding="2" class="cmd">

Latest revision as of 20:52, 13 January 2020

\showpalet

Syntax (autogenerated)

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


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: