%% 
%%  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 &
\Lcs{NAND}\quad &
   \raisebox{0.8\depth}%
     {\begin{circuit}0 \NAND{n} {\,} : a b c \end{circuit}} &
% \NgateIIO     NAND  {NAND-gate}
\qquad\Lcs{AND} &
   \raisebox{0.8\depth}%
     {\begin{circuit}0 \AND{n} {\,} : a b c \end{circuit}} &
%\NgateIIO     AND   {AND-gate}
\qquad\Lcs{OR} &
   \raisebox{0.8\depth}%
     {\begin{circuit}0 \OR{n} {\,} : a b c \end{circuit}}
%\NgateIIO     OR    {OR-gate}
\\
more gates &
\Lcs{NOR} &
   \raisebox{0.8\depth}%
     {\begin{circuit}0 \NOR{n} {\,} : a b c \end{circuit}} &
%\NgateIIO     NOR   {NOR-gate}
\qquad\Lcs{XOR} &
   \raisebox{0.8\depth}%
     {\begin{circuit}0 \XOR{n} {\,} : a b c \end{circuit}} &
%\NgateIIO     XOR   {XOR-gate}
\qquad\Lcs{XNOR} &
   \raisebox{0.8\depth}%
     {\begin{circuit}0 \XNOR{n} {\,} : a b c \end{circuit}} &
%\NgateIIO     XNOR  {XNOR-gate}
\\
triggers and buffer &
\Lcs{ST} &
   \qquad\raisebox{0.8\depth}%
     {\begin{circuit}0 \ST{n} {\,} : a b c \end{circuit}} &
%\NgateIIO      ST    {Schmitt trigger}
\qquad\Lcs{STINV} &
   \qquad\raisebox{0.8\depth}%
     {\begin{circuit}0 \STINV{n} {\,} : a b c \end{circuit}} &
%\NgateIIO      STINV {inverted Schmitt trigger}
\qquad\Lcs{BUF} &
   \qquad\raisebox{0.8\depth}%
     {\begin{circuit}0 \BUF{n} {\,} : a b c \end{circuit}} &
%\NgateIIO      BUF   {buffer}
\end{tabular}
\end{document}