The TeX Catalogue Online

circuit-macros

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-2013 J. D. Aplevich.

License: lppl Version: 7.8 Catalogued: 2014-01-30