circuitikz_series

../_images/sphx_glr_circuitikz_series.svg
\documentclass[]{standalone}

\usepackage[]{graphicx}

\usepackage{tikz}
\usepackage{pgfplots}
\pgfplotsset{compat=1.17}
\usepackage[european resistors]{circuitikz} 
\tikzset{>=latex}
\usetikzlibrary{arrows,arrows.meta}
\usepackage{steinmetz}
\newcommand*{\equal}{=}

\begin{document}
  \begin{circuitikz}
    \draw(0,2) to[battery,l_=$E$] (0,0) -- (3,0) to[R,i<=$I$,v<=$V$] (3,2) to[vR,l=$R$] (0,2);
  \end{circuitikz}
\end{document}