How can I shift the arrow more to the far way from the components and color both arrows and labels differently as in the image?
(Placing the label below the arrow probably makes it look a bit better but I prefer to put it on top.)
I have been trying to apply this from manual but couldn't make it work.
\documentclass[border=0.1mm]{standalone}
\usepackage[american,siunitx,RPvoltages]{circuitikz}
\begin{document}
\begin{tikzpicture}[thick]
\ctikzset{bipoles/cuteinductor/voltage/distance from node/.initial=0.4};
\ctikzset{bipoles/capacitor/voltage/distance from node/.initial=0.7};
\ctikzset{!i/.style={ no i symbols}};
\newcommand{\iarronly}[1]{% name
\node [currarrow, color=red, anchor=center,
rotate=\ctikzgetdirection{#1-Iarrow}] at (#1-Ipos) {};
}
\draw (0,0) node[ocirc,scale=2]{} to [C,
i>^=$I_C$,
v^=$V_C$
] ++(3,0) to
[cute inductor,
v^=$V_L$,
i^>= $I_L$,
voltage/american label distance=0.8pt] ++(1.5,0) to
[short, name= LL,!i] ++(1,0)node[ocirc,scale=2] {};
% \iarronly{LL};
\end{tikzpicture}
\end{document}
no i symbol
needs a current specifier to get the direction and above/below position. Try ` to [short, name= LL, i, !i] ++(1,0)` (ori<
or whatever).i>
but it doesn't work as well.