Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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?

share|improve this question
    
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
add comment

1 Answer

up vote 4 down vote accepted

Just to summarize:

My answer:

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

Martin's answer:

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

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.