5

I find out many topics on this forum concerning curved arrows,

however I am not able to find among them a simple and working solution for producing folowing arrow shape:

enter image description here

I try using following code but it does not deliver the expected result. Could someone explain me why my approach is not showing the border in black and why the tip of the arrow is not displayed.

\documentclass[tikz, margin=10px]{standalone}
\usepackage{tikz}
\usetikzlibrary{shapes, arrows}

\begin{document}

\begin{tikzpicture}
\draw[single arrow, draw=black, fill=gray, -stealth, line width=1pt](0,0) arc(45:-140:.5) (1.25,2);
\end{tikzpicture}

\end{document}
  • What you are doing is to produce an arc and then moving the pen to the position (1.25,2). To draw the arrow you need to change the end point. For example, just use (0,0) arc(45:-140:.5) but the result is not what you want. – Sigur Dec 7 '14 at 14:59
6

A solution not using the library but made by hand.

\documentclass[margin=10px]{standalone}
\usepackage{tikz}

\begin{document}

\begin{tikzpicture}
\draw[fill=gray,line width=1pt] (0:1cm) arc (0:-180:1cm) -- (-180:1.25cm) -- (-.75,.75) -- (-180:.25cm) -- (-180:.5cm) arc (-180:0:.5cm)--cycle;
\end{tikzpicture}
\begin{tikzpicture}
\draw[rotate=45,fill=gray,line width=1pt] (0:1cm) arc (0:-180:1cm) -- (-180:1.25cm) -- (-.75,.75) -- (-180:.25cm) -- (-180:.5cm) arc (-180:0:.5cm)--cycle;
\end{tikzpicture}

\end{document}

enter image description here

Maybe, using (-.75,.5) instead of (-.75,.75) could produce a better result.

enter image description here

  • Your proposal works fine, i find out that I can reduce the size by the use of scale=0.5. But how can use your code line with relative coordonate. Something like at \node (x,y) \draw ... Thanks in advance – ChrisDE Dec 7 '14 at 16:19
  • @ChrisDE You could make it into a pic, perhaps? – cfr Dec 7 '14 at 19:09
  • @ cfr, thanks for the response. I am using this special arrow in a tikzpicture environment with other draw and node elements. Usually, it is possible for any draw element to set it position by the definition of coordinate. I do not manage to make the given code work without changing all dimensions in the case of other positioning. – ChrisDE Dec 7 '14 at 19:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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