diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /graphics/pgf/contrib/circuitikz/doc/compatibility.tex |
Initial commit
Diffstat (limited to 'graphics/pgf/contrib/circuitikz/doc/compatibility.tex')
-rw-r--r-- | graphics/pgf/contrib/circuitikz/doc/compatibility.tex | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/graphics/pgf/contrib/circuitikz/doc/compatibility.tex b/graphics/pgf/contrib/circuitikz/doc/compatibility.tex new file mode 100644 index 0000000000..0f789cb1c6 --- /dev/null +++ b/graphics/pgf/contrib/circuitikz/doc/compatibility.tex @@ -0,0 +1,17 @@ +\documentclass{standalone} + +\usepackage{tikz} +\usetikzlibrary{circuits.ee.IEC} +\usetikzlibrary{positioning} + +\usepackage[compatibility, RPvoltages]{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} |