TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've drawn a circuit path using CircuiTikZ library. Now I want to rotate the circuit as a whole. The nodes of circuit are transform correctly. However the circuit elements do not get rotated at all.

By using a scope environment with the rotate parameter

    \draw (0,2) to[L] (4,2)
        to[short] (4,-2)
        to[C] (0,-2)
        to[short] (0,2);

I end up with this:

Failed rotation of CircuiTikZ path.

If it matters, I'm drawing this inside a tikzpicture environment.

share|improve this question
Oh, and welcome to TeX.SX! – Torbjørn T. Mar 20 '14 at 10:03
up vote 7 down vote accepted

The circuit elements are probably defined as nodes, and node shapes are by default not influenced by rotate. To enable rotating for those as well, add transform shape to the scope settings:

enter image description here

\begin{scope}[rotate=30,transform shape]
    \draw (0,2) to[L] (4,2)
        to[short] (4,-2)
        to[C] (0,-2)
        to[short] (0,2);
share|improve this answer
Despite avoiding 'thanks' comments: Thank you, for the fast and correct answer. – Yasumi Mar 20 '14 at 12:44

Your Answer


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.