[metapost] background and non-rgbcolors
taco at elvenkind.com
Sat May 19 10:02:46 CEST 2007
Stephan Hennig wrote:
> the internal variable background seems only to accept rgbcolor values
> (which is not documented). Would it be possible to make 'background'
> accept cmykcolor or greyscale values as well?
background is simply a variable defined in plain.mp. If you want it
to be different, redefine it. A simple statement will do:
This usage is the reason why withcolor is polymorph.
More information about the metapost