\begin{circuit}1

%Capacitor
\nl \C1 {$C$} d
\- 3 d \P1

\atpin C1t
\- 3 u \P2
\- 2 l

%resistor horizontal
\nl \L1 {$L$} . l
\- 2 l \P4

%resistor horizontal
\nl \spring1 {$R$} l
\- 2 l \P5

% Fuente de tension
\- 2 d
\nl \varU1 {$v(t)$} d

%Cierre del circuito
\vtopin P1
\htopin P1

%Tension resistor
\atpin spring1l \shift -0.8 0.5
\put{$+$}
\shift 1.8 0.7 \put {$v_R(t)$}

\atpin spring1r \shift -0.5 0.5
\put{$-$}

%Tension inductor
\atpin L1* \shift -0.8 0.5
\put{$+$}
\shift 1.3 0.7 \put {$v_L(t)$}

\atpin L1. \shift -0.3 0.5
\put{$-$}

% Tension capacitor
\atpin C1t \shift 0.5 0
\put{$+$}
\shift 1 -1 \put {$v_C(t)$}

\atpin C1b \shift 0.5 -0.5
\put{$-$}

% Tension fuente
\atpin varU1t \shift -1.5 0
\put{$+$}

\atpin varU1b \shift -1.5 -0.5
\put{$-$}

% Corriente de malla
\atpin P5 \shift 6 -3
\put{$\xymatrix{ \ar@/^1pc/[dr]_{i(t)} & \\ & }$}

\end{circuit}