925 bytes added
, 13:33, 26 November 2012
{{Reference
|name=reuseMPgraphic
|attributes=
}}
== [[Help:Reference|Syntax]] ==
<table cellspacing="4" cellpadding="2" class="cmd">
<tr>
<td colspan="2" class="cmd">\reuseMPgraphic<!--
--><span class="first">{...}</span><!--
--></td>
</tr>
<tr valign="top" class="first">
<td class="cmd">{...}</td>
<td>''name under which the graphic will be known''</td>
</tr>
</table>
== Description ==
Reuse a MetaPost graphic that was defined with {{cmd|startreusableMPgraphic}}.
== Example ==
<context source=yes>
\def\mycolor{.625red}
\startreusableMPgraphic{name}
fill fullcircle scaled 20pt withcolor \mycolor;
\stopreusableMPgraphic
red: \reuseMPgraphic{name}
\def\mycolor{.625blue}
blue: \reuseMPgraphic{name}
</context>
== See also ==
{{MetaPost see also}}
== Help from ConTeXt-Mailinglist/Forum ==
All issues with:
{{Forum|startuseMPgraphic}}
[[Category:Command/MetaPost|startuseMPgraphic]]