如何降低电容器板的高度tikz
?
我调查了circuits.ee.IEC
文档,但我不太明白。
\documentclass{article}
\usepackage{graphicx}
\usepackage{amssymb,amsfonts,dsfont}
\usepackage{tikz}
\usetikzlibrary{circuits.ee.IEC}
\begin{document}
\begin{tikzpicture}[circuit ee IEC]
\draw (0,0) to [capacitor] (1,0);
\end{tikzpicture}
\end{document}
(我只想坚持tikz
并且不想使用circuitikz
)
答案1
嗯,像这样:
编辑:
您可以将中的符号circuit ee IEC
作为节点来处理,tikz
只需定义它们的大小:
\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{circuits.ee.IEC}
\begin{document}
\begin{tikzpicture}[circuit ee IEC,
every capacitor/.style={minimum height=12mm}
]
\draw (0,0) to [capacitor] (1,0);
\end{tikzpicture}
\begin{tikzpicture}[circuit ee IEC,
]
\draw (0,0) to [capacitor] (1,0);
\end{tikzpicture}
\begin{tikzpicture}[circuit ee IEC,
every capacitor/.style={minimum height=3mm}
]
\draw (0,0) to [capacitor] (1,0);
\end{tikzpicture}
\end{document}