Graphics, Figures & Tablestikz circuit problem

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
tolyaua
Posts: 5
Joined: Sun Sep 27, 2009 12:43 pm

tikz circuit problem

Post by tolyaua »

Hi!
To test curcuit library in the pgf package I draw a simple curcuit, containing resistor which is connected to inductor (p. 289, pgfmanual.pdf, current version).

Code: Select all

\documentclass[12pt]{report}
\usepackage{tikz}
\usetikzlibrary{circuits.ee.IEC}
\begin{document}
\begin{tikzpicture}[circuit ee IEC]
\draw (0,1) to [resistor] (2,1) to[inductor] (4,1);
\end{tikzpicture}
\end{document}
I have 2 identical errors and the absence of connecting wires in the picture (resistor and inductance are pictured). Error-log:

Code: Select all

!Package pgfkeys Error: i do not know the key 'pgf/decoration/mark connection node'
What's wrong with this?

Thank you.

P.S. I use MIKTex (Windows) and the latest version of tikz.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Post Reply