有没有办法绘制某些路径,但只是将它们混合起来,这样它们就不会真正被绘制出来?
在以下来自 texample 的示例中(http://www.texample.net/tikz/examples/power-electronics-converter-inverter/) 我想将路径与 C1 混合,并将从 C1 到开关(直到“o”点)的连接混合。但是,我希望代码仍然有效,以防我需要在其他地方使用某些坐标!
谢谢。
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[siunitx,european,fetbodydiode,smartlabels]{circuitikz}
\usetikzlibrary{positioning}
\begin{document}
\begin{figure}
% Generalized diagram of different components inside an AC drive with voltage intermediate circuit
% Based on a template by
% Author: Erno Pentzin (2013), http://www.texample.net/tikz/examples/ac-drive-components/
\begin{circuitikz}
\draw
(0,0)
to[V, l=$V_s$] ++(0,2.5)
to[short] ++(1,0) coordinate (A)
to[short] ++(0.5,0)
to[L, l^=$L_1$, v=$v_{L_1}$] ++(1.5,0)
to[short] ++(1,0) coordinate (B)
to[short] ++(1,0) node[above] (C) {1}
to[open, o-o] ++(0.65,0) coordinate (D)
to[short] ++(0.5,0)
to[L, l^=$L_2$, v=$v_{L_2}$] ++(1.5,0)
to[short] ++(0.5,0) coordinate (E)
to[short] ++(1.5,0)
to[generic, v^=$~~V_o$] ++(0,-2.5)
--(0,0)
(A) % Left of L1, top of switch A
to[short] ++(0,-1.5) node[left] {2}
to[open, o-o] ++(0,-0.5) node[left] {1}
|- (0,0)
(B) % C1 connection starting from top
to[C, l=$C_1$] ++(0,-1.75) coordinate (Aaux)
-- ($(A |- Aaux) + (0.5,0)$)
to[short, o-] ++(-0.5,-0.15)
($(C)!0.5!(D)$) % Switch B low connector
++(0,-0.5) node[left] {2}
to[short, o-] ++(0,-0.1)
|- (0,0)
(D) % Switch B blade
to[short] ++(-0.65, -0.1)
(E) % C2 connection
to[C, l=$C_2$] ++(0,-2.5)
(B) % Vc1
to[open, v=$V_{C_1}~~$] (Aaux)
;
\end{circuitikz}
\caption[Ersatzschaltbild]{Ersatzschaltbild}
\label{fig:ersatzschaltbild}
\end{figure}
\end{document}