I have this circuit created with circuitikz that simply represent a current generator with the direction of the current and its label.
\begin{circuitikz}[american]
\draw (0,0) to[ioosource, i_=$i_{in}$] +(0,-2) node[ground]{};
\end{circuitikz}
The result is this:
But I would like to have the label of the current next to the current generator symbol like in this case:
\begin{circuitikz}[american]
\draw (0,0) to[ioosource, l_=$i_{in}$] +(0,-2) node[ground]{};
\end{circuitikz}
But as you can see if I do in this way the arrow of the current is no more present. How can I solve this problem?
xshift
andyshift
to taste