summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/circuitikz/compatibility.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/circuitikz/compatibility.tex')
-rw-r--r--Master/texmf-dist/doc/latex/circuitikz/compatibility.tex17
1 files changed, 17 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/circuitikz/compatibility.tex b/Master/texmf-dist/doc/latex/circuitikz/compatibility.tex
new file mode 100644
index 00000000000..7259479e78b
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/circuitikz/compatibility.tex
@@ -0,0 +1,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}