<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">%% 
%%  The LaTeX Graphics Companion, 2ed (first printing May 2007)
%% 
%%  Example 8-6-2 on page 578.
%% 
%%  Copyright (C) 2007 Michel Goossens, Frank Mittelbach, Denis Roegel, Sebastian Rahtz, Herbert Vo\ss 
%% 
%%  It may be distributed and/or modified under the conditions
%%  of the LaTeX Project Public License, either version 1.3
%%  of this license or (at your option) any later version.
%% 
%%  See http://www.latex-project.org/lppl.txt for details.
%% 

\documentclass{ttctexa}
\pagestyle{empty}
\setcounter{page}{6}
\setlength\textwidth{427.6677pt}

\StartShownPreambleCommands
\usepackage[gate]{circ}
\usepackage{array}
\StopShownPreambleCommands
\begin{document}
\providecommand{\Lcs}[1]{\mbox{\normalfont\ttfamily\char'134#1}}
\setlength{\extrarowheight}{3mm}
\begin{tabular}{llclclcc}
gates &amp;
\Lcs{NAND}\quad &amp;
   \raisebox{0.8\depth}%
     {\begin{circuit}0 \NAND{n} {\,} : a b c \end{circuit}} &amp;
% \NgateIIO     NAND  {NAND-gate}
\qquad\Lcs{AND} &amp;
   \raisebox{0.8\depth}%
     {\begin{circuit}0 \AND{n} {\,} : a b c \end{circuit}} &amp;
%\NgateIIO     AND   {AND-gate}
\qquad\Lcs{OR} &amp;
   \raisebox{0.8\depth}%
     {\begin{circuit}0 \OR{n} {\,} : a b c \end{circuit}}
%\NgateIIO     OR    {OR-gate}
\\
more gates &amp;
\Lcs{NOR} &amp;
   \raisebox{0.8\depth}%
     {\begin{circuit}0 \NOR{n} {\,} : a b c \end{circuit}} &amp;
%\NgateIIO     NOR   {NOR-gate}
\qquad\Lcs{XOR} &amp;
   \raisebox{0.8\depth}%
     {\begin{circuit}0 \XOR{n} {\,} : a b c \end{circuit}} &amp;
%\NgateIIO     XOR   {XOR-gate}
\qquad\Lcs{XNOR} &amp;
   \raisebox{0.8\depth}%
     {\begin{circuit}0 \XNOR{n} {\,} : a b c \end{circuit}} &amp;
%\NgateIIO     XNOR  {XNOR-gate}
\\
triggers and buffer &amp;
\Lcs{ST} &amp;
   \qquad\raisebox{0.8\depth}%
     {\begin{circuit}0 \ST{n} {\,} : a b c \end{circuit}} &amp;
%\NgateIIO      ST    {Schmitt trigger}
\qquad\Lcs{STINV} &amp;
   \qquad\raisebox{0.8\depth}%
     {\begin{circuit}0 \STINV{n} {\,} : a b c \end{circuit}} &amp;
%\NgateIIO      STINV {inverted Schmitt trigger}
\qquad\Lcs{BUF} &amp;
   \qquad\raisebox{0.8\depth}%
     {\begin{circuit}0 \BUF{n} {\,} : a b c \end{circuit}} &amp;
%\NgateIIO      BUF   {buffer}
\end{tabular}
\end{document}
</pre></body></html>