summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/circuitikz/compatibility.tex
blob: 7259479e78bfdf8a5c90a9ba3556e1c3eb8e085e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
\documentclass{standalone}

\usepackage{tikz}
\usetikzlibrary{circuits.ee.IEC}
\usetikzlibrary{positioning}

\usepackage[compatibility]{circuitikz}
\ctikzset{bipoles/length=.9cm}

\begin{document}
 \begin{tikzpicture}[circuit ee IEC]
  \draw (0,0) to [resistor={name=R}] (0,2)
	to[diode={name=D}] (3,2);
  \draw (0,0) to[*R=$R_1$] (1.5,0) to[*Tnpn] (3,0)
    to[*D](3,2);
 \end{tikzpicture}
\end{document}