# Can I combine arrow tips in TikZ/pgf?

I'd like to draw an arrow using TikZ where I can specify more than one tip (or tail). This is presumably technically possible since the >> tip is a "doubled" tip: defining >=diamond produces a double diamond tip. Also, quoting from the arrows section of the manual:

The spacing arrow tips are useful for combining them with other arrows to get arrows that do not touch the end of the line.

Which is, admittedly, vague enough that I could be interpreting it incorrectly.

But what is the actual syntax for combining two tips? Just listing them one after another doesn't work.

-

\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{arrows}
\pgfarrowsdeclarecombine{blah}{blah}{diamond}{diamond}{stealth}{stealth}
\begin{document}
\tikz{\draw[blah-blah] (0,0)--(1,0);}
\end{document}

-
Wow! How did you find that command? I looked at pgfarrows.sty, but it's not defined there, nor is it explained in the manual. –  Jake Jan 21 '11 at 14:09
It's in pgfcorearrows.code.tex. –  Hendrik Vogt Jan 21 '11 at 14:15
Thanks, this is great to know -- I was surprised there was no arrow tip like this: |<--->| which is good for indicating measurements, but was able to use \pgfarrowsdeclarecombine{blah}{blah}{stealth}{stealth}{|}{|} to good effect (I imagine you can use a name other than blah but haven't bothered). –  bryn Nov 7 '11 at 23:19