summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tikz-3dplot/tikz-3dplot.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/tikz-3dplot/tikz-3dplot.sty')
-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);
}