Difference between revisions of "Command/uniqueMPgraphic"

From Wiki
Jump to navigation Jump to search
m (Categorize page.)
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
 
|attributes=
 
|attributes=
 
}}
 
}}
 +
 +
== [[Help:Reference|Syntax]] (autogenerated) ==
 +
<syntax>uniqueMPgraphic</syntax>
  
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==
Line 41: Line 44:
 
{{Forum|uniqueMPgraphic}}
 
{{Forum|uniqueMPgraphic}}
  
[[Category:Commands/MetaPost|uniqueMPgraphic]]
+
[[Category:Command/MetaPost|uniqueMPgraphic]]

Latest revision as of 14:37, 15 November 2019

\uniqueMPgraphic

Syntax (autogenerated)

\uniqueMPgraphic{...}{...=...,...}
{...}name
keyvalue


Syntax

\uniqueMPgraphic{...}
{...} name of an MPgraphic previously defined with \startuniqueMPgraphic

Description

Place a new instance of a graphic defined with \startuniqueMPgraphic. The graphic will be recompiled; for static images, see \startreusableMPgraphic instead.

Example

\def\mycolor{.625red}

\startuniqueMPgraphic{name}
  fill fullcircle scaled 20pt withcolor \mycolor;
\stopuniqueMPgraphic

red: \uniqueMPgraphic{name}

\def\mycolor{.625blue}
blue: \uniqueMPgraphic{name}

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: