我想在 circuitikz 中画一个放大器(不是运算放大器,只是放大器)。我设法做的是以下图片/代码
\begin{circuitikz}[american voltages]
\draw
(0,0) node[fd op amp] (opamp) {}
(opamp.+) to [short, -o] ++(-2,0)
(opamp.-) to [short, -o] ++(-2,0)
(opamp.out +) to [short, -o] ++(2,0)
(opamp.out -) to [short, -o] ++ (2,0);
\end{circuitikz}
但我想把杆子藏在里面。可以吗?提前谢谢您。
答案1
解决方法:将符号的颜色设置为白色。
\documentclass{article}
\usepackage{circuitikz}
\begin{document}
\ctikzset{tripoles/op amp/font= \fontsize{10}{0}\selectfont\boldmath\color{white}}
\begin{circuitikz}[american voltages]
\draw
(0,0) node[fd op amp] (opamp) {}
(opamp.+) to [short, -o] ++(-2,0)
(opamp.-) to [short, -o] ++(-2,0)
(opamp.out +) to [short, -o] ++(2,0)
(opamp.out -) to [short, -o] ++ (2,0);
\end{circuitikz}
\end{document}
结果: