Is this a bug or am I doing something wrong? When using pure TIKZ everything works as expected:
\documentclass{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw (0,0) -- ++(2,0) -- +(0,-1) +(0,0) -- +(2,0);
\end{tikzpicture}
\end{document}
But when doing the same with CircuiTIKZ, the y coordinate seems to be updated:
\documentclass{standalone}
\usepackage{circuitikz}
\begin{document}
\begin{tikzpicture}
\draw (0,0) to[short] ++(2,0) to[C] +(0,-1) +(0,0) to[short] +(2,0);
\end{tikzpicture}
\end{document}
--
withto
. What does adding attributes toto
changes? Also\draw (0,0) to +(4,0) ++(2,0) to[C] +(0,-1);
seems to produce wrong results, as+(0,-1)
ends up at (0,-1)