Debian Codegraph @

texmf-dist/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibraryshapes.gates.logic.US.code.tex

raw
1 % Copyright 2018 by Mark Wibrow
2 %
3 % This file may be distributed and/or modified
4 %
5 % 1. under the LaTeX Project Public License and/or
6 % 2. under the GNU Public License.
7 %
8 % See the file doc/generic/pgf/licenses/LICENSE for more details.
9
10 \ProvidesFileRCS{tikzlibraryshapes.gates.logic.US.code.tex}
11
12 \usepgflibrary{shapes.gates.logic.US}%
13
14 \tikzset{%
15 use US style logic gates/.code={%
16 \tikzset{%
17 and gate/.style={shape=and gate US},
18 nand gate/.style={shape=nand gate US},
19 or gate/.style={shape=or gate US},
20 nor gate/.style={shape=nor gate US},
21 xor gate/.style={shape=xor gate US},
22 xnor gate/.style={shape=xnor gate US},
23 not gate/.style={shape=not gate US},
24 buffer gate/.style={shape=buffer gate US}
25 }%
26 },
27 use CDH style logic gates/.code={%
28 \tikzset{%
29 and gate/.style={shape=and gate CDH},
30 nand gate/.style={shape=nand gate CDH},
31 or gate/.style={shape=or gate US},
32 nor gate/.style={shape=nor gate US},
33 xor gate/.style={shape=xor gate US},
34 xnor gate/.style={shape=xnor gate US},
35 not gate/.style={shape=not gate US},
36 buffer gate/.style={shape=buffer gate US}
37 }
38 }
39 }%
40 \endinput