The TeX Catalogue Online


M4 Macros for Electric circuit diagrams

A set of macros for drawing high-quality electric circuits containing fundamental elements, amplifiers, transistors, and basic logic gates to include in TeX, LaTeX, or similar documents. Some tools and examples for other types of diagrams are also included.

The macros can be evaluated to drawing commands in the pic language, which is very easy to understand and which has a good power/complexity ratio. Pic contains elements of a simple programming language, and is well-suited to line drawings requiring parametric or conditional components, fine tuning, significant geometric calculations or repetition, or that are naturally block structured or tree structured. (The m4 and pic processors are readily available for Unix and PC machines.)

Alternative output macros can create TeX output to be read by pstricks, TikZ commands for use by the pgf bundle, or SVG.

See also circ circuitikz.

The author is Dwight Aplevich. The package is Copyright © 2010-2016 J. D. Aplevich.

License: lppl Version: 8.4 Catalogued: 2016-05-04