CircuiTikZ: Drawing electrical and electronics schematics with TikZ
To use LaTeX package CircuiTikZ first you need to load it:
| LaTeX | ConTeXt | Plain TeX |
|---|---|---|
\usepackage{circuitikz} |
\usemodule[circuitikz] |
(no support) |
TikZ will be automatically loaded; additionally, the TikZ libraries calc, arrows.meta, bending, and fpu are loaded (the last one is used only on demand).
CircuiTikZ commands are just TikZ commands, so a minimum usage example would be:
\tikz \draw (0,0) to[R=$R_1$] (2,0);
LaTex Requirements
latex(if using it), version from 2019-10-01 (better from 2020-10-01);tikz, version ≥ 3.1.5b (it should work with any version from 3.1.4b and up, but better use a newer one);xstring, not older than 2009/03/13;siunitx, if using siunitx option (better v2 or newer).