Are the "standard" tikz
circuit library and circuitikz
incompatible?
Consider the following MWE:
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usepackage{pgfplots}\pgfplotsset{compat=1.9}
\usepackage[siunitx]{circuitikz}
\usetikzlibrary{positioning, shapes, fadings, calc,
% circuits, circuits.ee.IEC
}
\begin{document}
%Standard libraries battery:
%
%\begin{tikzpicture}[baseline, huge circuit symbols, circuit ee IEC,
% elec/.style={circle, inner sep=2pt, draw=blue, fill=blue},
% ]
% \node (E) [battery, info=135:$E$] at (0,3.4) {};
% \end{tikzpicture}
tikz circuit:
\begin{circuitikz}[
american,
]
\draw (0,0) to[R] (0,2);
\end{circuitikz}
\end{document}
The output is as expected:
but if I uncomment the commented parts, I have:
...and if I add a labels for example I often have errors in one of the two environments. Is there a way to use both of the circuit facilities in the same document of I have simply to choose one?
Thanks!