I'm trying to create the circuit shown in the picture using the circuitikz package, but I just can't find any similar example to array the elements in that way. Can someone help me with the code?

enter image description here

  • Could you at least try first? There are far more complicated examples here. – John Kormylo Nov 29 '17 at 4:07

Since this is a do-it-for-me question, this is just a practice for me and I will not be entertaining further questions regarding this.


% Ref: https://tex.stackexchange.com/a/396801/117534
\ctikzset{current arrow color/.initial=black}% create key
        \pgf@circ@res@step = \pgf@circ@Rlen
        \divide \pgf@circ@res@step by 16
        \pgf@x  =\pgf@circ@res@step

        \pgf@circ@res@step = \pgf@circ@Rlen
        \divide \pgf@circ@res@step by 16

        \pgfsetcolor{\pgfkeysvalueof{/tikz/circuitikz/current arrow color}}

        \draw[circuitikz/current arrow color=red]
        (0,0) to[R=20<\ohm>] (2,0) to[battery1, l=10<\volt>,i_=$I_3$] (4,0)
        -- (4,1.8) to[battery1,l_=10<\volt>, i^<=$I_2$] (2,1.8) to[R, l_=5<\ohm>] (0,1.8) -| (0,0) 
        -| (0,3.6) to[R=10<\ohm>] (2,3.6) to[battery1, l=6<\volt>,i_=$I_1$] (4,3.6) -- (4,1.8)


|improve this answer|||||
  • Thank you very much for your time and sorry for asking too much and not trying – Edgar Dominguez Dec 9 '17 at 3:51

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.