I'm using TikzEdt and I'm currently using the circuits.ee.IEC tikz library. As far as I'm aware, there is no variable capacitor component. However, there is a tex package called circuitikz that does but I get a compile error when I try to use it either via \usepackage{} or \usetikzlibrary{}.

Can I use circuitikz and if so, how do I include the package in TikzEdt?


Is there another circuits tikzlibrary I can use in TikzEdt?

  • I don't have circuittikz installed at the moment, but if I recall correctly it uses a precompiled preamble. Have you added the usepackage clause in the preamble part of the settings and recompiled the preamble?
    – ted
    Aug 25, 2013 at 22:17
  • There is a standalone option in tikzEdt. Here you can put usepackage{...}.
    – user11232
    Aug 25, 2013 at 22:19
  • 1
    Does it work, if you add \usepackage{circuitikz} under Settings → Compiler? (Well, it works for me.) Aug 25, 2013 at 22:27
  • Thanks Ted, Qrrbrbirlbel. Adding \usepackage{circuitikz} to the preamble/compiler settings worked.
    – E_L
    Aug 25, 2013 at 22:46

1 Answer 1


Add the line


to the preamble (or replace tikz with circuitikz) under Settings → Settings … → Compiler as in the following screenshot

enter image description here

  • Note: also need to select [Compilation → (Re-)generate precompiled headers].
    – user202729
    Nov 4, 2021 at 7:21

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .