please consider the following code:
Code: Select all
Code, edit and compile here:
\documentclass{article}\usepackage{tikz}\usetikzlibrary{circuits.logic.US}\begin{document}\begin{tikzpicture}[circuit logic US]\matrix[column sep=7mm] {\node (i0) {a}; & \node [not gate] (not1) {}; & \\\node (i1) {b}; & & \node [and gate] (and1) {}; \\& \node [nor gate] (nor1) {}; & \\\node (i2) {c}; & & \\};\draw (i0.east) -- (not1.input);\draw (i1.east) -- ++ (right: 3mm) |- (nor1.input 1);\draw (i2.east) -- ++ (right: 3mm) |- (nor1.input 2);\draw (not1.output) -- ++ (right: 3mm) |- (and1.input 1);\draw (nor1.output) -- ++ (right: 3mm) |- (and1.input 2);\draw (and1.output) -- ++ (right: 3mm);\node at (0.7, 1.05) {a'};\node at (0.8,-0.8) {(b+c)'};\node at (2.9, 0.15) {a(b+c)'};\end{tikzpicture}\end{document}
Is it possible? If 'yes', how?
Regards