答案1
使用起来相当容易pstricks
,更具体地说,使用专用包 – 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}