I cannot understand why, in the following example, the first coordinates of the rectangle is correctly shifted and not the second one.
\begin{tikzpicture}
\draw (0,0)+(1,2) rectangle (4,4)+(-1,-2);
\end{tikzpicture}
I see in other posts that I can use 'calc
' library, which is working fine for me.
Thanks
\draw (0,0)+(1,2) rectangle {(4,4)+(-1,-2)};
(1,2)
and(3,2)
, i.e. actually it is line, not square?