diff options
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.tex | 6 |
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 |