0

I'm having a problem trying to make my cute inductors larger. I found a way of making them bigger with the /tikz/circuitikz/bipoles/length but that scales the entire inductor. I just want it to be larger, not thicker. What can I use?

New contributor
Kirtpole is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
  • 2
    Every component has its own size specification (relative to bipoles length). So for "cute inductor" you can adjust, \ctikzset{bipoles/cuteinductor/height/.initial=.3} \ctikzset{bipoles/cuteinductor/lower coil height/.initial=.15} \ctikzset{bipoles/cuteinductor/width/.initial=.6} \ctikzset{bipoles/cuteinductor/coils/.initial=5} – John Kormylo Apr 14 at 23:54
  • Thanks! That solved it – Kirtpole Apr 15 at 1:59
2

The default definitions for the "cute inductor" are

\ctikzset{bipoles/cuteinductor/height/.initial=.3}
\ctikzset{bipoles/cuteinductor/lower coil height/.initial=.15}  
\ctikzset{bipoles/cuteinductor/width/.initial=.6}
\ctikzset{bipoles/cuteinductor/coils/.initial=5}
\ctikzset{bipoles/cuteinductor/coil aspect/.initial=.5}%percentage of inductor width, which is covered by lower coil

not all of which deal with size. The following will create a inductor twice as large as the default.

\documentclass{standalone}
\usepackage{circuitikz}
\begin{document}
\begin{circuitikz}
\draw (0,0) to[cute inductor] (2,0);
\ctikzset{bipoles/cuteinductor/height=.6}
\ctikzset{bipoles/cuteinductor/lower coil height=.3}    
\ctikzset{bipoles/cuteinductor/width=1.2}
\draw (0,1) to[cute inductor] (2,1);
\end{circuitikz}
\end{document}

demo

Your Answer

Kirtpole is a new contributor. Be nice, and check out our Code of Conduct.

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.