Drawing electrical circuits
Electrical documents, especially for learners, can contain a lot of formulas. So LaTeX, with its strengths in math typesetting, is a very good choice for writers. Electrical units are easily written complying with standards using the siunitx package, as we saw in a previous recipe in this chapter.
It seems natural to also draw circuits directly within LaTeX. In contrast to including external drawings, native LaTeX drawings can have annotations that perfectly match the text with font and styles.
So, this recipe will deal with drawing circuits. Our goal is to create a circuit with common electrical components such as a resistor, a diode, a capacitor, a bulb, and more.
Note
This is just a sample illustration, so don't try ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access