Command/startMPdrawing
Jump to navigation
Jump to search
Contents
\startMPdrawing ... \stopMPdrawing
Summary
The environment \startMPdrawing ... \stopMPdrawing is used for Metapost inline graphics.
Settings
\startMPdrawing[...] ... \stopMPdrawing | |
[...] | - |
Description
Similar to the command \MPdrawing.
Examples
Example 1
\startMPdrawing fill fullcircle scaled 2cm withcolor darkyellow; \stopMPdrawing text before \MPdrawingdonetrue % you don't the drawing without \getMPdrawing text after
![](/wikiteximage/d908e41ce42a70f291186b33b48e0ee1.png)
with lua
\startluacode context.startMPdrawing() context("fill fullcircle scaled 2cm withcolor darkyellow;") context.stopMPdrawing() context("text before") context.MPdrawingdonetrue() context.getMPdrawing() context("text after") \stopluacode
![](/wikiteximage/6bfc320f538327fe3c49ecfea24d8ef4.png)