Difference between revisions of "Command/usestaticMPfigure"

From Wiki
Jump to navigation Jump to search
 
(2 intermediate revisions by one other user not shown)
Line 3: Line 3:
 
|attributes=
 
|attributes=
 
}}
 
}}
 +
 +
== [[Help:Reference|Syntax]] (autogenerated) ==
 +
<syntax>usestaticMPfigure</syntax>
  
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==
Line 49: Line 52:
  
 
== See also ==
 
== See also ==
 
+
{{MetaPost see also}}
* {{cmd|startstaticMPfigure}}
 
  
 
== Help from ConTeXt-Mailinglist/Forum ==
 
== Help from ConTeXt-Mailinglist/Forum ==
Line 56: Line 58:
 
{{Forum|usestaticMPfigure}}
 
{{Forum|usestaticMPfigure}}
  
[[Category:Commands|usestaticMPfigure]]
+
[[Category:Command/MetaPost|usestaticMPfigure]]

Latest revision as of 14:37, 15 November 2019

\usestaticMPfigure

Syntax (autogenerated)

\usestaticMPfigure[...=...,...][...]
...=...,...inherits from \setupscale
[...]name


Syntax

\usestaticMPfigure[...][...]
[...] figure name
[...] see \useexternalfigure

Description

Include a figure previously created with \startstaticMPfigure

Example

\startstaticMPfigure{center}
 draw fullcircle scaled 2cm ;
 dotlabel.bot(textext("(0,0)"),origin) ;
\stopstaticMPfigure

\startstaticMPfigure{radius}
 draw fullcircle scaled 2cm ;
 drawarrow (0,0)--(1cm,0) ;
 label.bot(textext("$r$"),(5mm,0)) ;
\stopstaticMPfigure

\starttext

Circle centered \usestaticMPfigure[center][width=1cm] at origin with radius
\usestaticMPfigure[radius][width=1cm] $r=1\,\text{cm}$.

\stoptext

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: