summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/luatex/luamplib/test-luamplib-plain.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/luatex/luamplib/test-luamplib-plain.tex')
-rw-r--r--Master/texmf-dist/doc/luatex/luamplib/test-luamplib-plain.tex9
1 files changed, 9 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/luatex/luamplib/test-luamplib-plain.tex b/Master/texmf-dist/doc/luatex/luamplib/test-luamplib-plain.tex
index 583c2fc4d78..f6c7db74e83 100644
--- a/Master/texmf-dist/doc/luatex/luamplib/test-luamplib-plain.tex
+++ b/Master/texmf-dist/doc/luatex/luamplib/test-luamplib-plain.tex
@@ -126,4 +126,13 @@ beginfig(0);
dotlabel.rt("$\sqrt2$",origin);
endfig;
\endmplibcode
+\leavevmode
+\mplibcode
+ D := sqrt(2)**7;
+ beginfig(0);
+ draw fullcircle scaled D;
+ VerbatimTeX("\gdef\Dia{" & decimal D & "}");
+ endfig;
+\endmplibcode
+diameter:\Dia bp.%
\bye