[Tex/LaTex] Partial triangular arrows with TikZ/PGF

tikz-arrowstikz-pgf

I'd like to draw a partial arrow (i.e. with only "half" of the tip) but with a triangular tip shape (e.g. using >=latex), instead of the standard single line you get with "left to", "right to", etc.

The result should be something like the following image:

Triangular partial arrow

How can I achieve this? I haven't seen any such tip in the TikZ/PGF manual.

Best Answer

The new really cool CVS arrow stuff (bendy arrows!) written by Till Tantau makes all sorts of customization of arrows possible. In particular left and right parts of arrows can be specified like this -{Stealth[left]}

This example is culled from the latest CVS manual:

\documentclass[border=0.125cm]{standalone}

\usepackage{tikz}

\usetikzlibrary{arrows.meta}

\makeatletter
\long\def\arrowexample#1{%
    \tt#1 &
    \tikz\draw [-{#1}, very thick](0,0) -- (1,0);
    \\
}
\begin{document}

\begin{tabular}{ll}
    \arrowexample{Stealth[]}
    \arrowexample{Stealth[sep] Stealth[]}
    \arrowexample{Stealth[sep] . Stealth[]}
    \arrowexample{Stealth[open]}
    \arrowexample{Stealth[length=6pt,width=4pt]}
    \arrowexample{Stealth[length=6pt,width=4pt,inset=1.5pt]}
    \arrowexample{Stealth[round]}
    \arrowexample{Stealth[slant=.3]}
    \arrowexample{Stealth[left]}
    \arrowexample{Stealth[right]}
    \arrowexample{Stealth[red]}
\end{tabular}

\end{document}

enter image description here