summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tikz-3dplot
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-09-24 17:33:52 +0000
committerKarl Berry <karl@freefriends.org>2010-09-24 17:33:52 +0000
commitc02d1d2bbfd08364a3c96ebc6fb96ec39a5764b9 (patch)
treed9a4394b0069eccf9c0d81cd5f09f9beed51e354 /Master/texmf-dist/tex/latex/tikz-3dplot
parent23411464076fe1aa198b73c6c3700395accec2f8 (diff)
tikz-3dplot (30jul10)
git-svn-id: svn://tug.org/texlive/trunk@19879 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/tikz-3dplot')
-rw-r--r--Master/texmf-dist/tex/latex/tikz-3dplot/tikz-3dplot.sty7
1 files changed, 4 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/tikz-3dplot/tikz-3dplot.sty b/Master/texmf-dist/tex/latex/tikz-3dplot/tikz-3dplot.sty
index b5a8ae8fad1..a4849d4b2e7 100644
--- a/Master/texmf-dist/tex/latex/tikz-3dplot/tikz-3dplot.sty
+++ b/Master/texmf-dist/tex/latex/tikz-3dplot/tikz-3dplot.sty
@@ -20,7 +20,7 @@
%tikz-3dplot.sty - package for plotting three dimensional axes and coordinates in TikZ. The user can specify orientation of the display, and also define rotated coordinate systems within the 3d display coordinate system.
-%Created 2009-11-07 by Jeff Hein. Last updated: 2010-04-03
+%Created 2009-11-07 by Jeff Hein. Last updated: 2010-07-30
%----------------------------------------------------------
%Requirements
@@ -38,7 +38,7 @@
%Style definitions and includes
%------------------------------
-\usetikzlibrary{calc,3d}
+\usetikzlibrary{calc,3d,arrows}
\tikzset{tdplot_screen_coords/.style={x={(1 cm,0 cm)},y={(0 cm, 1 cm)},z={(-1 cm, -1 cm)}}}%
@@ -426,11 +426,12 @@
%#5: end angle
%#6: label options
%#7: label
+%#8: arc arrowhead style
% \tdplotdrawarc{(O)}{0.2}{0}{\phivec}{anchor=north}{$\phi$}
\newcommand{\tdplotdrawarc}[7][tdplot_main_coords]{%
\pgfmathsetmacro{\tdplottemp}{#5 + #4}
\tdplotdiv{\tdplottemp}{\tdplottemp}{2}
-\draw[#1] #2 + (\tdplottemp:#3) node[#6]{#7};
+\path[#1] #2 + (\tdplottemp:#3) node[#6]{#7};
\draw[#1] #2 + (#4:#3) arc (#4:#5:#3);
}