Lets say I create a component like this
(0,0) to [R, l^=$R1$] (0,2)
How can I make it so that the value, R1, is say, on the right hand side, and the resistance, say, 1kohm is on the left hand side?
I've tried
(0,0) to [R, l^=$R1$, l_=$\SI{1}{\kilo\ohm}$] (0,2)
but that does not work because it just overwrites (or ignores) the first l^=...
Thanks.
Edit: Added example code that compiles and a picture of what I'm after.
\documentclass[a4paper,journal]{IEEEtran}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage[american]{circuitikz}
\begin{document}
\begin{circuitikz}[scale=1,transform shape]
\draw
% Left half of circuit.
(0,0) to [sV, l=$v_\mathrm{s}$] (0,2)
to [short, -o] (1.5,2)
to [R, l=$R_\mathrm{G}$, -o] (4,2)
to [open, v^=$v_\mathrm{gs}$] (4,0)
to [short, o-o] (1.5,0)
to [short] (0,0)
% Right half of circuit.
(7,2) to [cI, i_=$g_m v_\mathrm{gs}$] (7,0)
(7,2) to [short, -*] (8.5,2)
to [R, l=$r_ \mathrm{o}$] (8.5,0)
to [short, *-] (7,0)
(8.5,2) to [short, -o] (9.5,2)
to [short, -o] (13,2) node[right] {$v_\mathrm{o}$}
(8.5,0) to [short, -o] (9.5,0)
to [short] (12,0)
(10.5,2) to [R, l=$R_\mathrm{D}$, *-*] (10.5,0)
(12,2) to [vR, l=$R_\mathrm{l}$, *-] (12,0)
(3.5,0) to [short, -*] (7,0)
(1.5,0) node[below] {S}
(9.5,0) node[below] {S}
(1.5,2) node[above] {G}
(9.5,2) node[above] {D}
;
\end{circuitikz}
\end{document}
\documentclass{}
and ending with\end{document}
that demonstrates the problem. In that way, the users of this site, who may be interested in helping you, only have to fix a line, rather than write a whole block of code.