[Tex/LaTex] A good tool to make electronic schematics and export them vectorially

diagramsgraphicstikz-pgf

I have to make a relative simple diagram and import it to latex vectorially. What would you recommend me to do this?

This question might not be best asked here, but I suspect a lot of you have created LaTeX documents that contain electronic diagrams.

I know about circuitikz, and xcircuit. But the first option is very slow and the second is very weird. I want something faster yet with high quality.

Best Answer

Wow, I find it unusual that nobody mentioned the best tool around (my opinion) to do high quality Latex schematics (not too hard to learn, best circuits guaranteed) - it's Circuit_macros which are created and maintained by professor J. D. Aplevich.

Examples can be found here, and helpful installation tips are here. You can find manual in every Circuit_macros distribution. Commands for drawing are those of pic drawing language, and macros for electrical elements are written in m4 macro language. After writing down schematic in this combination of languages (pic, m4), file should be preprocessed with m4 macro processor leaving pure pic drawing behind. .pic. file is after that easily transfered in PSTricks or TiKZ/PGF (first couple pages of manual).

  • One thing that makes Circuit_macros so much more usable and faster is Cirkuit program (written by Matteo Agostinelli), in which you have the ability to preview the schematic while you are drawing it. There are always binaries around for Linux (although probably not for newest version), so the installation is straightforward. Here's how it looks like when you're using Cirkuit to draw schematics.
  • Problem with processing every following schematic with m4 and dpic manually, can easily be avoided using special LaTeX command \mtopgf defined on the 5th page of the manual.

alt text