[metapost] CMYK colors
Aditya Mahajan
adityam at umich.edu
Thu Jun 30 07:20:32 CEST 2011
On Wed, 29 Jun 2011, Dan T. Abell wrote:
> Now on my wish list is that one can somehow access
> the same colors in both LaTeX and MetaPost.
When metapost is used inside ConTeXt, colors defined in ConTeXt are
accessible using \MPcolor[colorname]. I _think_ that this works by
expanding \MPcolor[...] to an appropriate metapost color expression before
passing the contents to metapost. Is there a latex package for embedding
metapost code in latex that expands its contents? (IIRC, emp does not). If
so, it should be possible to write something similar to \MPcolor in latex
as well.
Aditya
More information about the metapost
mailing list