Difference between revisions of "Command/usestaticMPfigure"

From Wiki
Jump to navigation Jump to search
(/MetaPost)
 
Line 3: Line 3:
 
|attributes=
 
|attributes=
 
}}
 
}}
 +
 +
== [[Help:Reference|Syntax]] (autogenerated) ==
 +
<syntax>usestaticMPfigure</syntax>
  
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==

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: