[Tex/LaTex] Battery symbol in circuitikz


Is it possible to make circuitikz draw battery-symbols like this:

enter image description here

Best Answer

Sorry, I cannot provide any circuitikz solution. The following uses the tikz circuits library introduced in pgf 2.1 (and 2.0-cvs).

An example with a battery



\begin{tikzpicture}[circuit ee IEC]
  \draw (0,0) to [battery={info={$e_1$}}] ++(2,0) to
  [current direction' = {info = {$i$}, near start}, 
   resistor = {info = {$R$}, near end}] ++(0,3) to 
  [bulb] ++(-2,0) to[current direction' = {info = {$i$}}] (0,0);