Menu

#294 Nodes for arcs, which angles are calculated simultaneously

v1.0 (example)
closed-fixed
nobody
arc (1) node (2)
5
2014-03-21
2014-03-01
No

Thanks for including nodes for arcs, this will be in my opinion helpful for many users.

However, there is one problem I came across to. Sometimes angles of the arc are calculated simultaneously, as in "\draw (60:1) arc (30+30:0:1);" This works fine by itself, but when combined with node command, one gets error

! Illegal unit of measure (pt inserted).
<to be="" read="" again="">
+

Is there any way round this problem?

\begin{tikzpicture}[>=stealth,auto]
\draw (60:3) -- (0,0) -- (0:3);
\draw (60:1) arc (30+30:0:1);
\draw (60:1) arc (30+30:0:1) node[midway] {$\beta$};
\end{tikzpicture}

Discussion

  • Till Tantau

    Till Tantau - 2014-03-21
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,4 +1,3 @@
    -
     Thanks for including nodes for arcs, this will be in my opinion helpful for many users.
    
     However, there is one problem I came across to.  Sometimes angles of the arc are calculated simultaneously, as in "\draw (60:1) arc (30+30:0:1);"  This works fine by itself, but when combined with node command, one gets error
    
    • status: open --> closed-fixed
     
  • Till Tantau

    Till Tantau - 2014-03-21

    fixed in cvs