Logic gates symbol In LaTeX
In this tutorial, I will show you how to get all the logic gates symbols in LaTeX with the milstd package. The following table gives the commands and outputs of all logic gates.
| Command | Output |
|---|---|
\ANDd | |
\ANDl | |
\ANDr | |
\ANDu | |
\BUFd | |
\BUFl | |
\BUFr | |
\BUFu | |
\BusWidth | |
\INVd | |
\INVl | |
\INVr | |
\INVu | |
\NANDd | |
\NANDl | |
\NANDr | |
\NANDu | |
\NORd | |
\NORl | |
\NORr | |
\NORu | |
\ORd | |
\ORl | |
\ORr | |
\ORu |
\documentclass{article}
\usepackage{milstd}
\begin{document}
\ANDr\;\;\; \BUFr\;\;\; \ORr
\INVr\;\;\; \NANDr\;\;\; \NORr
\end{document}Output:

Leave a Reply