Changes

Jump to navigation Jump to search
1,279 bytes added ,  13:35, 13 October 2019
no edit summary
}}
== [[Help:Reference|Syntax]] (autogenerated) ==
<syntax>setuppalet</syntax>
== [[Help:Reference|Syntax]] ==
<table cellspacing="4" cellpadding="2" class="cmd">
</table>
== Description ==
Activate a palette previously defined with {{cmd|definepalet}}.
 
== Example ==
<context source=yes>
\definecolor[green1][r=0, g=1, b=0]
\definecolor[green2][r=0, g=0.5, b=0]
\definecolor[blue1] [r=0, g=0, b=1]
\definecolor[blue2] [r=0, g=0, b=0.5]
 
\definepalet[green]
[english=green1,
latin=green2]
 
\definepalet[blue]
[english=blue1,
latin=blue2]
 
\section{The Praying Mantis}
\setuppalet[green]
\color[english]{Praying Mantis} (\color[latin]{Mantis religiosa})
== Description == There was never a greater mistake! Those pious airs are a fraud; those arms raised in prayer are really the most horrible weapons, which slay whatever passes within reach. The Mantis is fierce as a tigress, cruel as an ogress. She feeds only on living creatures.
\section{Sacred beetles}
\setuppalet[blue]
\color[english]{Scarab Beetle} (\color[latin]{Scarabaeus sacer}).
The edge of his broad, flat head is notched with six teeth arranged
in a semicircle, like a sort of curved rake; and this he uses for
digging and cutting up, for throwing aside the stuff he does not
want, and scraping together the food he chooses.
\blank[line]
\rightaligned{---Jean-Henri Fabre, trans. Mrs. Rodolph Stawell}
== Example ==<!-- Please fill in an example if you can --/context>
== See also ==
<!-- something like [[cmd:goto|\goto]] -->
{{Color navbox}} == Help from ConTeXt-Mailinglist/Forum ==All issues with:{{Forum|{{SUBPAGENAME}}}} [[Category:ReferenceCommand/enColors|setuppalet]]

Navigation menu