diff options
Diffstat (limited to 'metapost')
-rw-r--r-- | metapost/context/base/mp-base.mp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/metapost/context/base/mp-base.mp b/metapost/context/base/mp-base.mp index 87f3fd2f7..41eb7aa96 100644 --- a/metapost/context/base/mp-base.mp +++ b/metapost/context/base/mp-base.mp @@ -477,10 +477,11 @@ enddef; def label = draw thelabel enddef; newinternal dotlabeldiam; dotlabeldiam:=3bp; -vardef dotlabel@#(expr s,z) = +vardef dotlabel@#(expr s,z) text t_ = + label@#(s,z) t_; label@#(s,z); interim linecap:=rounded; - draw z withpen pencircle scaled dotlabeldiam; + draw z withpen pencircle scaled dotlabeldiam t_; enddef; def makelabel = dotlabel enddef; |