summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/luatex/luamplib/test-luamplib-plain.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-07-09 21:20:53 +0000
committerKarl Berry <karl@freefriends.org>2014-07-09 21:20:53 +0000
commitabee3e3f6d0f906b9fedb4f5f36eae089f865a73 (patch)
treec6c30482e02cd28f5156800314936310782efd04 /Master/texmf-dist/doc/luatex/luamplib/test-luamplib-plain.tex
parent8abeed184a80961b957fdec8d8c148f149419465 (diff)
luamplib (8jul14)
git-svn-id: svn://tug.org/texlive/trunk@34557 c570f23f-e606-0410-a88d-b1316a301751
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.tex6
1 files changed, 5 insertions, 1 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 c679a18a960..583c2fc4d78 100644
--- a/Master/texmf-dist/doc/luatex/luamplib/test-luamplib-plain.tex
+++ b/Master/texmf-dist/doc/luatex/luamplib/test-luamplib-plain.tex
@@ -1,3 +1,6 @@
+\input miniltx
+\input color
+\definecolor{orange}{rgb}{1,0.5,0}
\input luamplib.sty
\everymplib{ beginfig(0); }\everyendmplib{ endfig; }
\tracingcommands1
@@ -27,6 +30,7 @@ draw btex g etex withcolor blue;
draw btex\tracingcommands0 multi
line
tex code
+ 100 \% color
etex shifted (20,0);
draw textext("\tracingcommands0 textext 50\% color") shifted (10,-10) withcolor .5white;
draw bbox currentpicture;
@@ -52,7 +56,7 @@ numeric u; u=1cm;
z1=-z2=(-u,0);
for i = 1 upto 3:
draw z1..(0, i*u)..z2;
- label.top(TEX("$e_{" & decimal(i) & "}$"), (0, i*u)) withcolor blue;
+ label.top(TEX("$e_{" & decimal(i) & "}$"), (0, i*u)) withcolor \mpcolor{orange};
endfor;
endfig;
\endmplibcode