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 | 9 |
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 f6c7db74e83..1a76f1e857f 100644 --- a/Master/texmf-dist/doc/luatex/luamplib/test-luamplib-plain.tex +++ b/Master/texmf-dist/doc/luatex/luamplib/test-luamplib-plain.tex @@ -135,4 +135,13 @@ endfig; endfig; \endmplibcode diameter:\Dia bp.% +\mplibcode + vardef rotatedlabel@#(expr str, loc, angl) = + draw thelabel@#(str, loc) rotatedaround(loc, angl) + enddef; + + beginfig(1); + rotatedlabel.top(textext("Rotated!"), origin, 45); + endfig; +\endmplibcode \bye |