2

I recently started using CircuitTikZ and tried to make an electrical circuit. However, the resistor that connects both the upper line with the middle line, is crossed by a line inside itself. Does anyone know how I can delete it?

enter image description here

\begin{circuitikz}[american] \draw
      (0,0) -- (0,8)
      (8,0) -- (8,8)
      to[resistor, l=$R$] (4,8) 
      to[resistor, l=$R_1$] (0,8)
      (1,8) -- (1,5) 
      (7,8) -- (7,5)
      to[resistor, l=$R$] (1,5) 


      (1,8) -- (1,11) 
      (7,8) -- (7,11)
      to[resistor, l=$R$] (4,11) 
      to[resistor, l=$R$] (1,11)

      (4,8) -- (4,11)
      to[resistor=$R$, i=$i_1$] (4,8)


      (1,0) -- (0,0)
      to[resistor, l=$R$] (8,0)
      (1,0) -- (1,-4)
      to[battery1, l=$V$] (7,-4) -- (7,0)
    ;
\end{circuitikz}
2
4
  (4,8) -- (4,11)
  to[resistor=$R$, i=$i_1$] (4,8)

draws a straight line from (4,8) to (4,11) and then adds a resistor on the path from (4,11) to (4,8), i.e. on the same line run backwards. You say you do not want the straight line, so drop (4,8) --.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.