![如何使用带有并行选项的 \multidipole?](https://linux22.com/image/379915/%E5%A6%82%E4%BD%95%E4%BD%BF%E7%94%A8%E5%B8%A6%E6%9C%89%E5%B9%B6%E8%A1%8C%E9%80%89%E9%A1%B9%E7%9A%84%20%5Cmultidipole%EF%BC%9F.png)
我想使用和绘制R1+R2
与 平行的。不幸的是,我收到错误。如何修复?R3+R4
\multidipole
parallel
\documentclass[pstricks,border=12pt]{standalone}
\usepackage{pst-circ}
\begin{document}
\begin{pspicture}[showgrid=none](10,-5)
\pnodes
(1,-2){A}
(8,-2){B}
\multidipole(A)(B)
\resistor{$R_1$}
\resistor{$R_2$}.
\multidipole[parallel](A)(B)
\resistor{$R_3$}
\resistor{$R_4$}.
\end{pspicture}
\end{document}
答案1
它在(长长的)待办事项清单上... :-(
\documentclass[pstricks,border=12pt]{standalone}
\usepackage{pst-circ}
\begin{document}
\begin{pspicture}(0,1)(9,-3)
\pnodes(1,-2){A}(8,-2){B}(1.5,0){Aa}(7.5,0){Bb}
\multidipole(A)(B)\resistor{$R_1$}\resistor{$R_2$}.
\multidipole(Aa)(Bb)\resistor{$R_3$}\resistor{$R_4$}.
\pcline{*-}(Aa|A)(Aa)\pcline{*-}(Bb|B)(Bb)
\end{pspicture}
\end{document}