Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm using PCTex (WinXP) and looking for the best way to make circuit diagrams for LaTeX. Something that will allow me to include many arrows, comments and equations around the schematic. The objective is to give step by step instructions on how to solve a problem (like a textbook). I don't mind a learning curve as long as it will look professional at the end.

Circuit_macros looked appealing but I was not sure how to install it for PCTex.

share|improve this question
3  
I think circuitikz might be what you are looking for. –  someonr Dec 30 '11 at 14:27
1  
TikZ also has a library for drawing circuits, which I believe is based on circuitikz. –  Torbjørn T. Dec 30 '11 at 15:04
1  
For circuitikz examples, try searching on this site. There's also a neat diagram on TeXample. –  qubyte Dec 30 '11 at 15:21
    
Echoing @TorbjørnT., you can find it an interesting read of the pgf manual starting from page 290. –  percusse Jan 1 '12 at 14:21
add comment

2 Answers 2

I was in the same search several weeks earlier, only on the Mac platform. I finally settled down with the circtuitikz, and found it intuitive to work with.

I abandoned previous choice Circuit_Macro simply because CircuitTiKz suit my workflow, that means I don't want to have too much compile work.

My current workflow look likes this, although on Mac system, but I would like to see alternatives on other systems, and just share with you my personal experience on drawing circuit diagrams, yes, for illustrating students how to solve them.

  1. Write codes in LaTexit and see previews (no compile like Circuit Macro), can see the result and modify quick! That saves time a lot!

  2. Drag the preview as PDF to OmniGraffle (A paid program like Visio, The OmniGraffle file is like a library for my circuits 4)

  3. When Ineed to put it to Latex, I double click the circuit in OmniGraffle and copy the codes. (The equation are linked with OmniGraffle, such that the codes generating the circuits are preserved). That's very handy!

  4. When I need to put it to slides, I copy it as PDF to keynotes or powerpoints.

For me, I think it works well. The screen capture shows an example of double clicking the linked file to bring back the codes and the preview (the embedded image itself is a pdf generated by LatexIt and dragged to the OmniGraffle canvas)

An screen capture of the linked CircuiTiKz in work

share|improve this answer
2  
Welcome to TeX.sx! Tip: As new user without image posting privileges simply include the image as normal and remove the ! in front of it to turn it into a link. A moderator or another user with edit privileges can then reinsert the ! to turn it into an image again. –  Torbjørn T. Jan 1 '12 at 14:07
    
Thanks for the tip. I just modified the post and hopefully it can get through! –  Dr8 Phi Jan 1 '12 at 16:09
add comment

PStricks library pst-circ is a very powerful package. You may want to consider it.

share|improve this answer
    
PCTeX 5 (which I'm using) has pst-circ as one of the optional packages to install. I installed it today and have started doing some basic work. Thank you Boris. I'm still interested on how to install the circuitikz package on PCTeX 5... –  ori333 Dec 31 '11 at 5:09
    
You should be able to adapt the methods in this post for installing TikZ on PCTeX, but you won't find a great deal of support for PCTeX outside of their own forums. Once TikZ is installed, installing circitikz should be straightforward. –  Mike Renfro Dec 31 '11 at 15:17
    
In pst-circ, does anyone know how to rotate the op-amp by 90 degrees? –  ori333 Jan 24 '12 at 19:15
    
Just place the nodes vertically - see page 40 of the manual for an example. –  Boris Jan 24 '12 at 20:14
    
I'm referring to the 3 terminal op-amps. –  ori333 Jan 25 '12 at 0:19
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.