I would like to use circuitikz with TikZ. However, I find that circuitikz modifies or does not recognize TikZ labels. The author of circuitiz has commented that in the "released version of CircuiTikz (0.2.3) the problem has been fixed." But the problem still exists.
Does a workaround or solution exists for the label conflict of circuitikz and tikz?
Here is a simple example using TikZ v2.10 and circuitikz v0.23. Instead of getting a resistor labeled R1
below it, I get a resistor labeled info above it when circuitikz is active. It makes no difference which environment is used, tikzpicture or circuitikz.
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{circuits.ee.IEC}
\usepackage{circuitikz}
\usepackage{siunitx}
\begin{document}
\begin{tikzpicture}[circuit ee IEC,
set resistor graphic = var resistor IEC graphic]
\draw (0,0) to[resistor={info'={$R_1$}}] (2,0);
\end{tikzpicture}
\end{document}
info
style, but that it redefines theresistor
style, and arguments to it aren't processed as options anymore. Do you need a way to get a label below the resistor whencircuitikz
is active and you are in atikzpicture
, or could you switch to acircuitikz
environment and use thecircuitikz
syntax ofl_=<label>
for a label?circuitikz
makes withresistor
style. I thought thattikz
andcircuitikz
could be used interchangeably with ease. Not, so by my experience. However, I do appreciate some of the features of thecircuitikz
syntax likel_=<label>
.circuits
library ofTikZ
(version 2.10). I find it's much nicer thancircuitikz
. :)