TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question
5  
Yes; see 16.3.5 in the PGF 3.0 documentation. – Jubobs Aug 9 '14 at 19:03

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.