I'm using Latex and CircuiTikz to draw circuits but I can't rotate de voltmeter without making a disaster. Any idea? Here is an example.
\begin{circuitikz}
\draw
(0,0) to[ammeter] (3,0)
to (4,0)
to[lamp] (4,-2)
to (0,-2)
to[sV] (0,0);
\draw (3,0) to[voltmeter] (3,-2);
\end{circuitikz}
Best Answer
I see that in the last version of
circuitikz
, the definitions for ammeter and voltmeter have been changed, so if your version is 0.3.0 or newer, use the following code. If you don't need the diagonal arrow, comment the last two\pgfusepath{draw}
. However I notice that now the circles don't touch the wires (I wonder why). If you want to correct this behaviour, replace the lineswith
but then you have to do the same in the ammeter definition.