Possible Duplicate:
How to place a node in the middle of an arc?
A very common problem I come across drawing technical pictures is drawing zillions of angles. In general, there is no nice way to put a node to an arc, so I usually have to do this
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw (0,0) -- (0:2cm); %rays
\draw (0,0) -- (60:2cm);
\draw (1cm,0) arc (0:60:1cm); % angle
\draw (30:1cm+20pt) node {$\alpha$};
\end{tikzpicture}
\end{document}
I wonder if there is a way to simplify last two commands. Of course I could define a \newcommand{\angle}[4] which looks very awkward. I would rather use something like that
\draw (1cm,0) arc (0:60:1cm) node[outarc=20pt] {$\alpha$};
Is it possible to define "outarc" position of the node?

outarcto do? – Andrew Stacey Aug 17 '12 at 13:01above=1cmorpos=0.3etc. for relative positioning with respect to the arc. – percusse Aug 17 '12 at 13:48node[midway,auto] {\(\alpha\)}then the node is a bit above where I would want it as it chooses the south-west anchor. To get a better position, I found thatnode[midway,anchor=195]was good (note that this is the correct angle). Would an answer that only works with the CVS version of PGF be acceptable? – Andrew Stacey Aug 17 '12 at 13:58raise=20ptoption to the decoration. So the line should readdecorate={raise=20pt,– percusse Aug 17 '12 at 14:12.style 2 argsand pass the lift as another argument to the style. – Andrew Stacey Aug 17 '12 at 14:25\tikzset{arcnode/.style 2 args={...}}. Incidentally, sometimes the offset is negative. – Andrew Stacey Aug 17 '12 at 14:34