I've been trying to experiment a bit with circuitikz
to make my file look cleaner and take up less space (instead of using images from circuits diagram editors).
I'm simply lost in all the examples and possibilities I've found online and I figured it's better to ask here and get a straight answer.
These are the two circuits I've been trying to make without much success:
This is my code:
\begin{circuitikz}[scale=1] \draw
(0,0) to[battery2, v=f, invert] (0,4)
to[R=R, -*] (4,4)
to[voltmeter, l=$V_{mis}$] (4,2)
(4,2) --* (4,0)
to[ammeter, l = $I_{mis}$] (5,2)
(5,0) -- (0,0)
;
\end{circuitikz}
which turns out like this (yikes):
Any help would be appreciated!
EDIT: I did it! Here's the code:
\begin{circuitikz}[scale=1] \draw
(0,0) to[battery2, v=f, invert] (0,4)
to[R=R, -*] (4,4)
to[voltmeter, l=$V_{mis}$, -*] (4,0) -- (0,0)
(4,4) -* (6,4)
to[ammeter, l=$I_{mis}$] (6,2) to[R=$R_x$, -*] (6,0) -- (4,0)
;
\end{circuitikz}
and here's the final result:
I still don't know how to rotate the components (especially the voltmeter and amperometer) without making a fuss, so if anyone could help me in this regard it would be great.