6

Is there a command to draw upper half of an arrow in tikz? Something similar to:

1
  • 5
    Yes; see 16.3.5 in the PGF 3.0 documentation.
    – jub0bs
    Aug 9, 2014 at 19:03

2 Answers 2

13

This can be easily obtained via arrows.meta library in PGF 3.0. The shape you requested belong to the Staight Barb family (See PGF 3.0 documentation page 206). As a MWE, see this simple code and the output below it:

\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{arrows.meta}
\begin{document}

\begin{tikzpicture}
\draw [-{Straight Barb[left]}] (0,0)--(0.5,0);
\end{tikzpicture}

\end{document}

The output here is:

enter image description here

3

You can also use a symbol from latexsym package.

\documentclass{article}
\usepackage{latexsym}

\begin{document}

$\rightharpoonup$

$\rightharpoondown$

\end{document}

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .