habe mich seit ein paar Stunden mit circuitikz auseinandergesetzt. Alles klappt gut, solange ich keine OpAmps einfüge. Ansonsten erhalte ich eine Fehlermeldung: "Undefined control sequence \draw (7,0.5) node[op amp] (opamp1) {};"
Woran kann das liegen?
Danke für Vorschläge.
Grüße
\documentclass{minimal}
\usepackage{tikz}
\usepackage{circuitikz}
\begin{document}
\tikzset{component/.style={draw,thick,circle,fill=white,minimum size =0.5cm,inner sep=0pt}}
\begin{circuitikz}[european, scale =1.0]
\draw (0,1)node[left] {in} to[short,o-] (0.5,1)
to[R={R},-*] (3,1)
to[R={R},-*] (3,3.5) to[short] (5.5,3.5) to[short] (8.5,3.5) to (8.5,0.5) ;% opamp1.out;
\draw [C, l={C$_2$}] (3,-1) to (3,1) ;
\draw (3,-1)node[ground]{};
\draw (3,1) to [R={R},-*] (5.5,1) to [C, l={C$_1$},-*] (5.5,3.5) ;
\draw (7,0.5) node[op amp] (opamp1) {};
\draw (5.5,1) -- (opamp1.-);
\draw (5.5,-1)node[ground]{} to[short](5.5,0) --(opamp1.+);
%\draw (opamp1.out) to [short](8.5,0.5)
\end{circuitikz}
\end{document}


