I have copied an example from the tikz manual, but it fails to compile





                circuit ee IEC,
                every info/.style={font=\footnotesize},
                small circuit symbols,
                set resistor graphic=var resistor IEC graphic,
                set diode graphic=var diode IEC graphic,
                set make contact graphic= var make contact IEC graphic]
% Let us start with some contacts:
\foreach \contact/\y in {1/1,2/2,3/3.5,4/4.5,5/5.5}
  \node [contact] (left contact \contact) at (0,\y) {};
  \node [contact] (right contact \contact) at (1,\y) {};

Some samples of the errors messages:

Package pgfkeys Error: I do not know the key '/tikz/circuit ee IEC'

Package pgfkeys Error: I do not know the key '/tikz/set resistor graphic'

  • Try adding the circuits.ee.IEC library (hope I remember correctly I don't have the manual right now). – cjorssen Mar 18 '12 at 9:21

It's a small error in the documentation. The documentation says


but you need


(missing s)

Than the example works

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.