0

How would one go about drawing a logic gate like this one ?

not gate?

  • Welcome to SE! Can you show, what you try to do so far* Otherwise your question is type "do-it-for-me" ... For minimal working example see for examples of circuits in manual for package circuiTikZ. – Zarko Jan 5 '16 at 19:03
2

With circuitikz:

\documentclass{article}
\usepackage{circuitikz}
\begin{document}
\begin{circuitikz}
  \node[american not port] {};
\end{circuitikz}
\end{document}

enter image description here

With the TikZ circuits.logic library:

\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{
  circuits.logic,
  circuits.logic.US
}
\begin{document}
\begin{tikzpicture}[circuit logic US]
  \node[not gate] (n) {};
  \draw (n.input) -- +(-.1,0);
  \draw (n.output) -- +(.1,0);
\end{tikzpicture}
\end{document}

enter image description here

  • Although the logical result is equal, OP's figure is like \node[buffer gate, logic gate inputs=i] (n) {}; and not like a not gate – Ignasi Jan 7 '16 at 9:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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