summaryrefslogtreecommitdiff
path: root/info/examples/lgc2/8-6-2.ltx
blob: fd0e957152fbef1deab99188707bcb8301117481 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
%% 
%%  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}