15 lines
812 B
Plaintext
15 lines
812 B
Plaintext
%https://www.overleaf.com/learn/latex/LaTeX_Graphics_using_TikZ%3A_A_Tutorial_for_Beginners_(Part_4)%E2%80%94Circuit_Diagrams_Using_Circuitikz
|
|
|
|
\begin{circuitikz}[scale=1.2]
|
|
%\ctikzset{misc/lampshape/height=0.75, misc/lampshape/width=0.75}
|
|
\draw (0,0) node[] (UL) {} to[short, o-*] (1,0) to
|
|
(1,1) to (1.5,1 )to [normal open switch,l=\scriptsize{$p_1$}, o-, n=s1](2.0,1)
|
|
to (2.5,1) to[short, -*] (2.5,0)
|
|
to [lamp,l_=\scriptsize{$G$},n=lm](4.5,0) to [short,-o](4.5,0);
|
|
\draw (1,0) to (1,-1) to (1.5,-1) to [normal open switch, l=\scriptsize{$p_2$}, o-,n=s2] (2.0,-1) to (2.5,-1) to (2.5,0)
|
|
(s1.s) node[below,yshift=1.5mm, xshift=-2mm]{\scriptsize $1$}
|
|
(s2.s) node[below,yshift=1.5mm, xshift=-2mm]{\scriptsize $2$}
|
|
(lm.ne) node[below,yshift=2.5mm, xshift=7mm]{\scriptsize $p=p_1 \vee p_2$}
|
|
;
|
|
|
|
\end{circuitikz} |