This may be a total newbie problem, but I cannot find a single reference of this behaviour anywhere I look and thus this question:
This is my code:
\documentclass{article}
\usepackage[american,siunitx]{circuitikz}
\begin{document}
\begin{circuitikz}
\draw (0,0) to[battery, l=12<\volt>] (0,2) -- (0,3.5)
to[R] (4,3.5) -- (4,2)
(0,0) -- (4,0) to[battery, l=24<\volt>] (4,2)
(0,2) to[R, *-*] (2,2)
to[R, -*] (4,2)
(2,0) to[R, *-] (2,2);
\end{circuitikz}
\end{document}
The result I get is both labels overlapped at the lower left corner of the picture; the only way I can look at the image is with xdvi
; any other document viewer like evince
shows just the text, not the image. If another label is included in the code above, it goes like the others and ends overlapped at the lower left corner of the picture. It doesn't matter where or what is labelled: voltages, currents, capacitors, sources, ... it ends at the same place with the others at the lower left corner of the picture.
Yesterday I updated TeXLive from CTAN. No dice. I can send the resulting .dvi file if someone is kind enough to tell me how can I include a file to the question or if there is a place where I can upload it for you to see it like Dropbox
.
pdflatex
, do you have to compile via DVI? (Not really an answer, I know.).dvi
file to.pdf
, the labels are correctly placed.