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.

How can I use circuitikz (or similar library for small code) to generate logic circuit diagrams with full variable life.

x ---[and1]--- z

y ---[and1]--- z

So f(x,y)=z

An image of the kind of thing I'd like to generate:

http://adamwsonu.files.wordpress.com/2010/03/quizcircuit.png

share|improve this question

closed as too localized by Marco Daniel, Stefan Kottwitz Jan 7 '12 at 21:42

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

2  
Welcome to TeX.sx! It's not necessary to sign your questions (as there is already a box with your username below it) or to begin them with a greeting. –  Werner Oct 28 '11 at 3:33
    
How is this question different from: tex.stackexchange.com/questions/32839/…? –  Werner Oct 28 '11 at 3:35
    
@Jake: Ah, I see. –  Werner Oct 28 '11 at 3:40
    
Just to clarify: You only want to label the inputs/outputs and generate a blank logic table, not automatically calculate the output, right? –  Jake Oct 28 '11 at 3:58
    
Right. Although it would be interesting to see the other... –  A T Oct 28 '11 at 4:25