Debian Codegraph @

texmf-dist/doc/metapost/mpcolornames/fig-clash-svg-dvips.mp

raw
1 %%% file fig-clash-svg-dvips.mp
2 %%% Copyright 2009, 2011 Stephan Hennig
3 %
4 % This work may be distributed and/or modified under the conditions of
5 % the LaTeX Project Public License, either version 1.3 of this license
6 % or (at your option) any later version. The latest version of this
7 % license is in http://www.latex-project.org/lppl.txt
8 %
9 outputtemplate := "%j-%c.mps";
10 input mpcolornames
11 dvipsnames;
12 picture disc; disc := image(fill fullcircle scaled 50);
13 beginfig(1);
14 draw disc withcolor Lavender;
15 begingroup
16 svgnames;
17 draw disc shifted (75,0) withcolor Lavender;
18 endgroup;
19 draw disc shifted (150,0) withcolor Lavender;
20 endfig;
21 end