A set of m4 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.