diff options
Diffstat (limited to 'Master/texmf-dist/doc/luatex/luamplib/test-luamplib-latex.tex')
-rw-r--r-- | Master/texmf-dist/doc/luatex/luamplib/test-luamplib-latex.tex | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/luatex/luamplib/test-luamplib-latex.tex b/Master/texmf-dist/doc/luatex/luamplib/test-luamplib-latex.tex index 016ac80c846..a500e2181dd 100644 --- a/Master/texmf-dist/doc/luatex/luamplib/test-luamplib-latex.tex +++ b/Master/texmf-dist/doc/luatex/luamplib/test-luamplib-latex.tex @@ -62,7 +62,21 @@ for i = 1 upto 3: endfor; endfig; \end{mplibcode}% -B\par +B\par\leavevmode +\mplibcodeinherit{enable}% +\mplibglobaltextext{enable}% +\everymplib{ beginfig(0);}\everyendmplib{ endfig;}% +\begin{mplibcode} + label(btex $\sqrt{2}$ etex, origin); + draw fullcircle scaled 20; + picture pic; pic := currentpicture; +\end{mplibcode}% +\begin{mplibcode} + currentpicture := pic scaled 2; +\end{mplibcode}% +\everymplib{}\everyendmplib{}% +\mplibcodeinherit{disable}% +\mplibglobaltextext{disable}\par \mplibsetformat{metafun}% \begin{mplibcode} verbatimtex \moveright 0.4\hsize etex |