Here is my problematic code:
\begin{tikzpicture}
\draw (0,0) to [bend left=20] (3,3) node[midway] {midway label};
\end{tikzpicture}
I wanted to put a label midway of the line, but instead the label is at (0,0)
.
If I remove [bend left=20]
, the line is not bent, and the label still misplaced.
If I remove to
and replace it by --
, then it works fine, but my line is not bent any more.
\begin{tikzpicture}
\draw (0,0) -- (3,3) node[midway] {midway label};
\end{tikzpicture}
Works fine.
The problem occurs with MacTeX 2011 and MacTeX 2012.
[bend left=20]
in your post) can be formatted by enclosing them in backticks.