diff options
author | Karl Berry <karl@freefriends.org> | 2013-04-07 18:19:31 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-04-07 18:19:31 +0000 |
commit | 752012c605d34cd943795527a9738475a6958fcc (patch) | |
tree | 4ee06acdd8333a662c2d6f6ef716235053468f55 /Master/texmf/asymptote/labelpath.asy | |
parent | 9789d09132f18a838e84f041b4b3aff28d3426ec (diff) |
texmf -> texmf-dist: start with unique dirs from texmf
git-svn-id: svn://tug.org/texlive/trunk@29712 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf/asymptote/labelpath.asy')
-rw-r--r-- | Master/texmf/asymptote/labelpath.asy | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/Master/texmf/asymptote/labelpath.asy b/Master/texmf/asymptote/labelpath.asy deleted file mode 100644 index 39c1908efd3..00000000000 --- a/Master/texmf/asymptote/labelpath.asy +++ /dev/null @@ -1,28 +0,0 @@ -usepackage("pstricks"); -usepackage("pst-text"); - -string LeftJustified="l"; -string RightJustified="r"; -string Centered="c"; - -void labelpath(frame f, Label L, path g, string justify=Centered, - pen p=currentpen) -{ - if(latex() && !pdf()) { - _labelpath(f,L.s,L.size,g,justify,(L.T.x,L.T.y+0.5linewidth(p)),p); - return; - } - warning("labelpathlatex","labelpath requires -tex latex"); -} - -void labelpath(picture pic=currentpicture, Label L, path g, - string justify=Centered, pen p=currentpen) -{ - pic.add(new void(frame f, transform t) { - labelpath(f,L,t*g,justify,p); - }); - frame f; - label(f,Label(L.s,L.size)); - real w=size(f).y+L.T.y+0.5linewidth(p); - pic.addBox(min(g),max(g),-w,w); -} |