[Tex/LaTex] Double-headed arrows

tikz-arrows

Is it possible to get TikZ-arrows to draw double-headed arrows?

What I'm looking for is a way to achieve

\draw[-triangle 90 triangle 90] (A) -- (B);

and the open triangle equivalent, in the way TikZ would normally read

\draw[->>] (A) -- (B);

Best Answer

See the Section 74 (also 23) of PGF documentation (mine is version 2.10) to obtain a lot of arrow tips.

Just put on preamble

\usetikzlibrary{arrows}
\pgfarrowsdeclarecombine{twotriang}{twotriang}%
{triangle 90}{triangle 90}{triangle 90}{triangle 90}

and then you can use \draw[twotriang-twotriang] (0,0) -- (2,0);

Here is the output.

enter image description here

Here is a part of the documentation

enter image description here