Some Common Circuit Component Diagrams Provided by the LaTeX CircuiTikZ Package
Jun. 14, 2025 • Updated Jun. 14, 2025
The Overleaf article1 provides some very efficient code to show various circuit component diagrams provided by the LaTeX CircuiTikZ package. I would collect them together and make a record in this post.
From this example we can see that the circuitikz
environment is very flexible, even can be used in the tabular
environment. Besides, \kern
is a TeX primitive2, used to “get a specified amount of horizontal space”3.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
\documentclass[landscape,12pt]{article}
\usepackage[margin=1in]{geometry}
\usepackage{circuitikz}
\renewcommand{\arraystretch}{3}
\pagestyle{empty}
\newcommand{\thiscirc}[1]{%
\texttt{#1}\kern5pt\hfill
\begin{circuitikz}%
\draw (0,0) node [#1] {};
\end{circuitikz}%
{\hspace{5mm}}%
}
\newcommand{\bipole}[1]{%
\texttt{#1}\kern5pt \hfill
\begin{circuitikz}%
\draw (0,0) to [#1] (2,0);
\end{circuitikz}%
\hspace{5mm}%
}
\begin{document}
\newpage
\vspace*{\fill}
\begin{center}
\begin{tabular}{lll}
\thiscirc{ground} & \thiscirc{sground} & \thiscirc{nground}\\
\thiscirc{rground} & \thiscirc{pground} & \thiscirc{cground}\\
\thiscirc{tlinestub} & \thiscirc{antenna} & \thiscirc{rxantenna}\\
\end{tabular}
\end{center}
\vspace*{\fill}
\newpage
\vspace*{\fill}
\begin{center}
\begin{tabular}{lll}
\bipole{ammeter} & \bipole{voltmeter} & \bipole{short}\\
\bipole{open} & \bipole{lamp} & \bipole{generic}\\
\bipole{tgeneric} & \bipole{ageneric} & \bipole{fullgeneric}\\
\bipole{tfullgeneric} & \bipole{memristor} & \bipole{american resistor}\\
\bipole{vR} & \bipole{american potentiometer} & \bipole{european resistor}\\
\bipole{european resistor} & \bipole{european potentiometer} & \bipole{varistor}\\
\bipole{photoresistor} & \bipole{thermocouple} & \bipole{thermistor}\\
\bipole{thermistor ntc} & \bipole{fuse} & \bipole{afuse}\\
\bipole{battery} & \bipole{battery1} & \bipole{european voltage source}\\
\bipole{american voltage source} & \bipole{european current source} & \bipole{american current source}\\
\end{tabular}
\end{center}
\vspace*{\fill}
\newpage
\vspace*{\fill}
\begin{center}
\begin{tabular}{lll}
\bipole{empty diode} & \bipole{empty Schottky diode} & \bipole{empty Zener diode}\\
\bipole{empty tunnel diode} & \bipole{photodiode} & \bipole{empty diode}\\
\bipole{empty varcap} & \bipole{full diode} & \bipole{full Schottky diode}\\
\bipole{full Zener diode} & \bipole{full tunnel diode} & \bipole{full photodiode}\\
\bipole{full led} & \bipole{full varcap} & \bipole{squid}\\
\bipole{barrier} & & \\
\end{tabular}
\end{center}
\vspace*{\fill}
\newpage
\vspace*{\fill}
\begin{center}
\begin{tabular}{lll}
\bipole{capacitor} & \bipole{polar capacitor} & \bipole{variable capacitor}\\
\bipole{cute inductor} & \bipole{variable cute inductor} & \bipole{american inductor}\\
\bipole{variable american inductor} & \bipole{european inductor} & \bipole{variable european inductor}\\
\bipole{transmission line} & \bipole{vsourcesin} & \bipole{isourcesin}\\
\bipole{closing switch} & \bipole{opening switch} & \bipole{push button}\\
\end{tabular}
\end{center}
\vspace*{\fill}
\end{document}
References