# Scaling in CircuiTikZ

When scaling a circuit with the scale option:
\begin{circuitikz}[scale = 'some_scale_factor']
all the coordinates are well scaled but not the components.

How to correctly scale the whole scheme?

-
It could be done with the "transform shape" option. =) – Leonardo Sep 23 '11 at 11:54
Or wrap the whole thing in a \scalebox{<factor>}{..} (graphicx package) or \begin{adjustbox}{scale=<factor>} .. \end{adjustbox} (adjustbox pacakge). There should be a similar question about TikZ itself around. – Martin Scharrer Sep 23 '11 at 11:56
Related question (as @MartinScharrer hinted): How to scale Tikz drawings and text together? – diabonas Sep 23 '11 at 13:28
@Martin: this will affect the font size. Is there a way to scale everything but the font? – pluton Sep 23 '11 at 13:34
@pluton: I don't know if there's a way to do not scale the font, but you can rescale it with \scalefont: {\scalefont{scale_factor} text_or_tikz_code} – Leonardo Sep 23 '11 at 14:04

Just to summarize:

It could be done with the "transform shape" option: \begin{circuitikz}[scale = 'some_scale_factor', transform shape]

Wrap the whole thing in a \scalebox{<factor>}{..} (graphicx package) or \begin{adjustbox}{scale=<factor>} .. \end{adjustbox} (adjustbox pacakge).

-

Just Providing an example of Leonardos example (The diagram is scaled):

            \documentclass[11 pt]{article}

\usepackage[american]{circuitikz}

\begin{document}
\begin{center}
\textbf{Induction Motor}
\\
\begin{circuitikz}[scale=1.4]
\def\topy{2.5}
\def\boty{0}
\def\midx{3}
\def\halfmidx{1.5}
\def\farx{6}
\def\halffarx{4.5}

\draw(0,\topy)
to[open,v_=$V_\phi$,o-o] (0,\boty)
to[short] (\midx,\boty)
to[L=$j X_m$] (\midx,\topy)
;
\draw (0,\topy)
to[R=$R_1$] (\halfmidx,\topy)
to[L=$j X_1$] (\midx,\topy)
;

\draw(\midx,\topy)
to[R=$R_2$] (\halffarx , \topy)
to[L=$j X_2$] (\farx , \topy)
to[R=$R_2\frac{1-s}{s}$] (\farx,\boty)
to[short] (\midx , \boty)
;

\end{circuitikz}