Command/MPcolor

From Wiki
< Command
Revision as of 23:21, 11 January 2025 by Garulfoo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


\MPcolor

Summary

The command \MPcolor is used in MetaPost for getting a color defined in TeX.

Settings

\MPcolor{...}
{...}color

Description

Examples

Fill a disk with a color defined in ConTeXt

  • \definecolor[disc-color][r=0.5,g=0.5,b=1]
    
    \startMPpage
    fill fullcircle scaled 1cm
        withcolor \MPcolor{disc-color};
    \stopMPpage
    

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: