0

I need to do a drawing of this circuit on my TeX, can anyone help me with the code to make it?enter image description here

8
  • 1
    There are many examples of circuits on this site. Have you done a proper search and looked at some answers? For example, just look at the circuits tag (there are also others).
    – Werner
    Oct 5 '21 at 18:53
  • 1
  • 5
    I’m voting to close this question because it can be answered by reading the documentation for circuitikz.
    – Don Hosek
    Oct 5 '21 at 19:29
  • 1
    I made the circuit. Thanks to you all. Oct 5 '21 at 19:45
  • 1
    Awesome, congrats on drawing your first circuit!
    – Archange
    Oct 5 '21 at 19:53
1

It's rather easy with pstricks, more specifically with the dedicated package – pst-circ:

\documentclass[11pt]{article}
\usepackage{sansmath}
\usepackage{pst-circ}

\begin{document}

\sffamily\sansmath
\begin{pspicture}(-1,-1)(3,3)
\psset{unit = 1.5cm, linejoin=1}
\pnodes(0,0){A}(0,4){B}(4,4){C}(4,0){D}
\vac[labeloffset=32pt](A)(B){CA}
\resistor[dipolestyle=zigzag, labeloffset=20pt](B)(C){R1}
\coil(C)(D){L1}
\capacitor(D)(A){C1}
\end{pspicture}

\end{document}

enter image description here

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