I have troubles obtaining the right shape of an inductor using circuitikz. I am getting a black filled rectangle instead :
Here is my MWE :
\documentclass{article}
\usepackage{circuitikz}
\usepackage[french]{babel}
\begin{document}
\begin{circuitikz}
\draw (0,0)to[european inductor](2,0);
\draw(0,0)to(0,-.25)to[ground](0,-.5);
\end{circuitikz}
\end{document}
I am using Windows 7 and MiKTeX 2.9, which I just updated. Thank you.
I missed the fact that the european inductor is indeed correct. It seems like the true issue is with cute inductor, or simply L : I get the following error message :
! Undefined control sequence.
\pgf@sh@bg@cuteinductorshape ...mationadjustments
\par \pgfmathsetlength {\p...
l.8 \draw (0,0) to [L] (2,0)
;
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
I suspect there is a connection with this question : Miktex 2.9 pgfplots, circuitikz...



\usetikzlibrary{babel}to make it work. – Phelype Oleinik May 17 '18 at 16:27circuitikz, theeuropean inductorlooks correct. – Phelype Oleinik May 17 '18 at 16:29european inductor). You can trycute inductororamerican inductorto see the other styles. Also check out the options listed in the manual to set the styles globally so you don't need to type out the style for each and every inductor in your diagrams. – Paul Gessler May 17 '18 at 16:39