I want to draw a resistor with a resistance value showing and a voltage label showing as well. This is content-wise an MWE of everything I want:
\documentclass{article}
\usepackage[siunitx]{circuitikz}
\begin{document}
\begin{circuitikz}[american]
\draw (2,0) to[R=90<\ohm>, v_>=$v_g$] (2,2) ;
\end{circuitikz}
\end{document}
but when the resistor is vertical, the v_g variable is extremely close to the resistor, with the - symbol touching the resistor's terminal line, the + symbol even crossing the terminal line, and the v_g down in the zig zags of the resistor. I just started using circuitikz today and am trying to search through the documentation, but does anyone know how to space away the v_>=$variable_name_here$ part?


\documentclassand the appropriate packages so that those trying to help don't have to recreate it. – Peter Grill Mar 15 '12 at 15:44