Debian Codegraph @

texmf-dist/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibraryshapes.gates.logic.IEC.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.IEC.code.tex}
11
12 \usepgflibrary{shapes.gates.logic.IEC}%
13
14 \tikzset{%
15 use IEC style logic gates/.code={%
16 \tikzset{%
17 and gate/.style={shape=and gate IEC},
18 nand gate/.style={shape=nand gate IEC},
19 or gate/.style={shape=or gate IEC},
20 nor gate/.style={shape=nor gate IEC},
21 xor gate/.style={shape=xor gate IEC},
22 xnor gate/.style={shape=xnor gate IEC},
23 not gate/.style={shape=not gate IEC},
24 buffer gate/.style={shape=buffer gate IEC},
25 and gate symbol/.style={and gate IEC symbol={##1}},
26 nand gate symbol/.style={nand gate IEC symbol={##1}},
27 or gate symbol/.style={or gate IEC symbol={##1}},
28 nor gate symbol/.style={nor gate IEC symbol={##1}},
29 xor gate symbol/.style={xor gate IEC symbol={##1}},
30 xnor gate symbol/.style={xnor gate IEC symbol={##1}},
31 not gate symbol/.style={not gate IEC symbol={##1}},
32 buffer gate symbol/.style={buffer gate IEC symbol={##1}},
33 logic gate symbol align/.style={/pgf/logic gate IEC symbol align={##1}},
34 logic gate symbol color/.style={/pgf/logic gate IEC symbol color={##1}}
35 }%
36 }%
37 }%
38 \endinput