![在 circuitikz 环境中在曲线上插入元件](https://linux22.com/image/401589/%E5%9C%A8%20circuitikz%20%E7%8E%AF%E5%A2%83%E4%B8%AD%E5%9C%A8%E6%9B%B2%E7%BA%BF%E4%B8%8A%E6%8F%92%E5%85%A5%E5%85%83%E4%BB%B6.png)
请考虑以下 MWE:
\documentclass[border={1mm},multi=circuitikz]{standalone}
\usepackage[europeanresistors,siunitx]{circuitikz}
\begin{document}
\begin{circuitikz}
\coordinate (N1) at (0,0);
\coordinate (N2) at (0,-4);
\coordinate (N3) at (-4,-4);
\coordinate (N4) at (0,-8);
\draw (N1)to [R,o-o](N2);
\draw (N2)to [R,o-o](N4);
\draw (N4)to [R,o-o](N3);
\draw (N3)to [R,o-o](N1);
\draw (N2)to [R,o-o](N3);
\draw (N1)to [R,o-o,bend left=60](N4);
\end{circuitikz}
\end{document}
这是输出:
但是曲线上没有任何元件!?
答案1
可能是这样的
\documentclass[border={1mm},multi=circuitikz]{standalone}
\usepackage[europeanresistors,siunitx]{circuitikz}
\begin{document}
\begin{circuitikz}
\coordinate (N1) at (0,0);
\coordinate (N2) at (0,-4);
\coordinate (N3) at (-4,-4);
\coordinate (N4) at (0,-8);
\draw (N1)to [R,o-o](N2);
\draw (N2)to [R,o-o](N4);
\draw (N4)to [R,o-o](N3);
\draw (N3)to [R,o-o](N1);
\draw (N2)to [R,o-o](N3);
\draw (N1)to [bend left] (2,-3) to[R] (2,-5) to [bend left] (N4);
\end{circuitikz}
\end{document}