我只知道如何做一条线,而且是一条独特的线。如何才能像我展示的图片一样把四条线放在一起,并且间隔均匀?
我到目前为止所做的事情:
\usepackage{circuitikz}
\begin{document}
\begin{center}
\begin{circuitikz}
\draw (0,0) node[ nmos ] {};
\end{circuitikz}
\end{center}
\end{document}
答案1
你的意思是:
代码:
\documentclass{article}
\usepackage{circuitikz}
\begin{document}
These are the symbols for mosfets:
\medskip
\begin{circuitikz}
\draw (0,0) node[ nmos ] {};
\draw (4,0) node[ pmos ] {};
\ctikzset{tripoles/mos style/arrows}
\draw (2,0) node[ pmos ] {};
\draw (6,0) node[ pmos ] {};
\node [align=center] at (1,-1) {nmos};
\node [align=center] at (5,-1) {pmos};
\end{circuitikz}
\end{document}