1

I'm learning Circuitikz to draw schematics in my reports. I'd like to use the symbol for common; however, it doesn't seem to be there. What are my options?

Common symbol

Thanks.

Example of use:

\documentclass[10pt,a4paper,final]{report}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage[american,siunitx]{circuitikz}
\usepackage{siunitx}


\begin{document}

Test TikZ image:
\begin{figure}[htbp]
\begin{center}
\begin{circuitikz}[scale=2] \draw
(0,0)   to[V, l=\SI{10}{\milli\volt}, -*]                   (0,2)
        to[R, l=\SI{1}{\kilo\ohm}, i=$i_{in}$, -*, n=r1]        (2,2)
        to[C, l=\SI{10}{\micro\farad}]                      (2,0)
(2,2)   to[R, l=\SI{10}{\kilo\ohm}, v_=$U(x)$]              (4,2)
        to[Tnpn, n=npn]                                     (4,0)
(2,3)   node[op amp] (opamp) {}
(opamp.+) -|                                                (0,2)

(0,0)   node[ground] {}
(2,0)   node[ground] {}
(4,0)   node[ground] {}
(r1) node[below=2mm] {A resistor!}
;
\end{circuitikz}
\caption{Some circuit.}
\end{center}
\end{figure}

\end{document}

Changing ground to sground causes a compilation error.

closed as too localized by Jake, Thorsten, mafp, Mensch, Heiko Oberdiek Jun 15 '13 at 12:07

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    Are you perhaps looking for the sground symbol (p. 7 in the circuitikz v 0.3.0 manual)? – Jake Jun 15 '13 at 4:01
  • 1
    Maybe you're using an outdated version of circuitikz? Could you edit your question to include a small example document (starting from \documentclass) to show how you're trying to use the symbol? – Jake Jun 15 '13 at 4:35
  • 1
    Thanks for the example. It works fine for me with sground. Could you check in your .log file what version of circuitikz you're using? – Jake Jun 15 '13 at 4:40
  • 1
    Okay, so you'll need to update the package, the signal ground (sground) was only added in version 0.3.0 – Jake Jun 15 '13 at 4:47
  • 1
    Yep! Thanks! I'm doing that now. Installing the latest version of texlive. It's annoying the default one is old (in Ubuntu). – user968243 Jun 15 '13 at 4:52

Browse other questions tagged or ask your own question.