# pin angle not accepted [closed]

I am trying to draw a pin with a 45-degree angle. For some reason, the angle is not accepted and is seen as the pin label:

\documentclass[tikz]{standalone}
\usetikzlibrary{intersections}
\begin{document}
\begin{tikzpicture}[scale=2.54]
\path[draw,red,name path=thresh] (0,0.4) -- (4.0,0.4);
\path[draw,blue,name path=four] (0,0) -- (4.0,1);
\path[name intersections={of=four and thresh,name=newfour}];
\node[style={fill=black,circle,scale=0.3},
pin={[pin edge={black,thick}]45:{cross}}] at (newfour-1) { };
\end{tikzpicture}
\end{document}


Here is the result:

How can I fix this issue?

Note: My pgf version is 2.10.

• Your code works correctly with pgf 2.10, as you can check it here for example (include \pgfversion command in the docuemnt to see that it has 2.10). Also here too. Mar 26, 2013 at 17:31
• The problem must be elswhere then. I am using MacTex and when including \pgfversion the resukt is 2.10 as reported. Mar 26, 2013 at 17:34
• And I compile with pdflatex --shell-escape -enable-write18 \$fullname Mar 26, 2013 at 17:36
• Pin angles are known to snap to certain angles. There must be a long thread about that. Here it is tex.stackexchange.com/questions/43912/… Mar 26, 2013 at 17:43
• Probably there is something wrong with your installation. That's a valid syntax provided that you are loading the calc library. Mar 26, 2013 at 18:13