I'm using standalone to create PDF output of a tikzpicture. But I run into a problem when I use the circuit library. Here's a mwe that shows that simply adding the line \usetikzlibrary{circuits.ee.IEC} throws off the boundary of the resulting PDF file.


  \draw [help lines] (0,0) grid (10,10);


Which (on my machine) produces the following PDF (note the huge amount of whitespace to the left of (0,0), the bottom left corner of the grid).

Any help appreciated! enter image description here

  • 1
    You should load the TikZ libraries in the preamble, i.e. place \usetikzlibrary{circuits.ee.IEC} before \begin{document}.
    – Jake
    Oct 14 '13 at 20:26



Your Answer

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.