Some time ago, I asked about Relationship between tikz circuit library and circuitikz?. wh1t3 wrote: "However, as far as I know there is nothing the circuitikz package does that the TikZ circuit library can't."

So if it is true that the tikz library is more powerful, how do I get all the symbols described in the circuitikz manual using the TikZ circuit library?

Especially I am missing the symbols for ammeters and voltmeters.

  • You'll probably have to build them. You van use as a starting point the symbol for voltage source and tinker around with it. – Count Zero Jan 30 '12 at 15:39
  • I have just found this discussion: sourceforge.net/mailarchive/… – student Apr 13 '12 at 19:16

This is like a short cut which saves from building symbols afresh from tikz circuit library. If you do not mind using circuitikz, there is a way you can use those symbols inside tikzpicture.

\usepackage[siunitx]{circuitikz} %<------------ 
\draw (0,0) to[voltmeter] (2,0);
\draw (0,1) to[ammeter] (2,1);
\draw (3,0) node [ground] {};
\draw (0,2) to[american voltage source] (2,2);
\draw (4.2,0.5) to[sI=$a_1$] (4.2,2.3);

You may notice that here \begin{circuitikz}....\end{circuitikz} is not used. But the circuitikz symbols are accessible through \usepackage{circuitikz}. Hope this helps.

enter image description here

  • 2
    There are some problems about mixing the two, Here is a sample of it. – percusse Feb 28 '12 at 9:13
  • @percusse, I accept. Thanks for noting it. But this is a short cut where both the libraries should not be mixed. I mean one should use only circuitikz libraries. – user11232 Feb 28 '12 at 10:02

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.