[Tex/LaTex] TikZ: define doubled version of “open triangle” arrow tip

arrowstikz-arrowstikz-pgf

I am trying to define a TikZ arrow tip thatis a doubled version of the “open triangle” tip. I attempted to do it using \pgfarrowsdeclarecombine, as described in this answer, but it doesn’t come out right: the shaft is drawn over the first of the two tips. (Other than that, it’s exactly what I want.)

incorrect double-headed arrow

Other approaches to doubling the arrow tip — like in the following MWE — give the same result. How can I avoid this, and get a doubled version of the “open triangle” tip?

\documentclass{standalone}
\usepackage{tikz} \usetikzlibrary{arrows}
\begin{document}

\begin{tikzpicture}
  \node (A) at (0,0) {$A$}; \node (B) at (2,0) {$B$}; 
  \draw[>=open triangle 60,->>] (A) to (B);
\end{tikzpicture}

\end{document}

I’ve looked at the approaches in this answer, but I can’t see how to apply them in declaring a new tip.

Best Answer

Using Jake's accepted answer at How to draw a double continous arrowhead [tikz], and marsupilam's dot trick, you can define your own arrowhead style.

\documentclass{standalone}
\usepackage{tikz} 
\usetikzlibrary{arrows}
\pgfarrowsdeclaredouble[0pt]{openopen}{openopen}{open triangle 60}{.open triangle 60}
\begin{document}

\begin{tikzpicture}
  \node (A) at (0,0) {$A$}; \node (B) at (2,0) {$B$}; 
  \draw[-openopen] (A) to (B);
\end{tikzpicture}

\end{document}

enter image description here