Difference between revisions of "Command/startMPpage"

From Wiki
Jump to navigation Jump to search
m (Text replacement - "<syntax>start" to "<syntax type=“environment”>")
Line 5: Line 5:
  
 
== [[Help:Reference|Syntax]] (autogenerated) ==
 
== [[Help:Reference|Syntax]] (autogenerated) ==
<syntax>startMPpage</syntax>
+
<syntax type=“environment”>MPpage</syntax>
  
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==

Revision as of 19:46, 24 July 2020

\startMPpage

Syntax (autogenerated)

\MPpage{...}
{...}name


Syntax

\startMPpage

Description

\startMPpage produces a page a containing MetaPost graphic. The page is just large enough to contain the graphic.

Example

This produces a PDF with two pages, one for each graphic:

\starttext
\startMPpage
    draw fullcircle scaled 2cm ;
    dotlabel.bot(textext("(0,0)"),origin) ;
\stopMPpage

\startMPpage
    draw fullcircle scaled 2cm ;
    drawarrow (0,0)--(1cm,0) ;
    label.bot(textext("$r$"),(5mm,0)) ;
\stopMPpage
\stoptext

See also


Help from ConTeXt-Mailinglist/Forum

All issues with: