我如何将文本设置为位于 MOSFET 的右侧?
\documentclass{standalone}
\usepackage{tikz}
\usepackage{siunitx}
\usepackage[european]{circuitikz}
\begin{document}
\begin{tikzpicture}%[circuit ee IEC]
\draw (3.5,14.5) to [Tnigfete=T] (3.5,16);
\end{tikzpicture}
\end{document}
答案1
目前定义为节点,当您不想命名每个引脚时,使用旧定义。通常标签位置由l_=
或定义l^=
,但对于该组件它不起作用,作为节点的定义允许缩放组件。检查第 45 页 circuiTikZ 手册版本 0.8.3。
梅威瑟:
\documentclass{standalone}
\usepackage{tikz}
\usepackage{siunitx}
\usepackage[european]{circuitikz}
\begin{document}
\begin{tikzpicture}
% New version uses a node component definition.:
\draw(0,-0.5) node[nigfete,scale=2] (T1) {}
(T1.bulk) node[anchor=west] {T1}
(T1.G) node[anchor=east] {G}
(T1.D) node[anchor=west] {D}
(T1.S) node[anchor=north] {S};
% You can conect using the node pins labels.
\draw(0,3.5) to [R,l_=R] (T1.D);
\end{tikzpicture}
\end{document}