circuitikz bug with decreasing coordinates values
Brought to you by:
baudinr
Hello,
I use texmath to create electronic diagram. There is some problems when the line have to be drawn according to coordinates of decreasing value. A workaround is to draw all lines for increasing coordinates value.
Here is a screenshot of what I except (from overleaf) and what I have with texmath for this code ( I use \usepackage[european, straightvoltage]{circuitikz} in preamble) :
\begin{circuitikz}[scale=1]
\draw (0,0)to[battery1](0,2);
\draw (0,2)to[R=$R$](2,2);
\draw (2,2)to[rmeter, t=A](4,2);
\draw (4,2)to[lamp=$L$,i=$i$](4,0);
\draw (4,0) to[short,i=$i_2$] (2,0);
\draw (2,0)to[rmeter, t=G](0,0) node[above right=-.5cm]{$+$};
\end{circuitikz}
Ok, could you try with the attached version?
Waow perfect ! Thank you very much for your quick response !