diff options
author | Karl Berry <karl@freefriends.org> | 2016-02-20 23:39:11 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-02-20 23:39:11 +0000 |
commit | 30be8b5d845b9d5d18758f65c22ded6e8e53f435 (patch) | |
tree | eb1765523c93a162b092de298ad9d14b8429b788 /Master/texmf-dist/metapost/roundrect | |
parent | 026dc3f78ed8e4bfec292465d8f830dc39f6bca2 (diff) |
roundrect (20feb16)
git-svn-id: svn://tug.org/texlive/trunk@39796 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/metapost/roundrect')
-rw-r--r-- | Master/texmf-dist/metapost/roundrect/roundrect.mp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Master/texmf-dist/metapost/roundrect/roundrect.mp b/Master/texmf-dist/metapost/roundrect/roundrect.mp index 66c385e4943..6011d6d3e76 100644 --- a/Master/texmf-dist/metapost/roundrect/roundrect.mp +++ b/Master/texmf-dist/metapost/roundrect/roundrect.mp @@ -39,6 +39,7 @@ string rrtextfont; rrtextfont := "\fontsize{10pt}{12pt}\selectfont "; color rrtextcolor; rrtextcolor := black; string rrbodytext; rrbodytext := ""; string rrtextalign; rrtextalign := "\centering"; +string rrusepackage; rrusepackage := ""; boolean rrnotop; rrnotop := false; boolean rrnobot; rrnobot := false; boolean rrnolft; rrnolft := false; @@ -91,7 +92,7 @@ rrshadowx := rrbotrtborderrad/4; rrshadowy := -rrbotrtborderrad/4; enddef; def roundrect(expr rrht, rrwd)(suffix name) = -TEXPRE("%&latex" & char(10) & "\documentclass{article}\begin{document}"); +TEXPRE("%&latex" & char(10) & "\documentclass{article}" & rrusepackage & "\begin{document}"); TEXPOST("\end{document}"); if (rrtextwd = 0): rrtextwd := rrwd - 12pt; |