[metapost] Problem with colors
Troy Henderson
thenders at gmail.com
Sun Aug 8 15:19:24 CEST 2010
Replace
label(btex \color{red}X etex, origin);
with
label(btex X etex, origin) withcolor red;
or
label(btex X etex, origin) withcmykcolor (1,0,0,0); % This gives cyan
There appears to be no built-in synonyms (although you could easily write
your own) for the base cmykcolors cyan, magenta, and yellow. Black is
already synonymous with the RGB (0,0,0). Specifically, you could do
cmykcolor cyan,magenta,yellow;
cyan:=(1,0,0,0);
magenta:=(0,1,0,0);
yellow:=(0,0,1,0);
label(btex X etex,origin) withcmykcolor cyan;
---
Troy Henderson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/metapost/attachments/20100808/a7233e3e/attachment.html>
More information about the metapost
mailing list