summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibraryshapes.gates.logic.IEC.code.tex
blob: c34229b1376282b9a9f2a221795aca926859658b (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
% Copyright 2018 by Mark Wibrow
%
% This file may be distributed and/or modified
%
% 1. under the LaTeX Project Public License and/or
% 2. under the GNU Public License.
%
% See the file doc/generic/pgf/licenses/LICENSE for more details.

\ProvidesFileRCS{tikzlibraryshapes.gates.logic.IEC.code.tex}

\usepgflibrary{shapes.gates.logic.IEC}%

\tikzset{%
  use IEC style logic gates/.code={%
    \tikzset{%
            and gate/.style={shape=and gate IEC},
            nand gate/.style={shape=nand gate IEC},
            or gate/.style={shape=or gate IEC},
            nor gate/.style={shape=nor gate IEC},
            xor gate/.style={shape=xor gate IEC},
            xnor gate/.style={shape=xnor gate IEC},
            not gate/.style={shape=not gate IEC},
            buffer gate/.style={shape=buffer gate IEC},
            and gate symbol/.style={and gate IEC symbol={##1}},
            nand gate symbol/.style={nand gate IEC symbol={##1}},
            or gate symbol/.style={or gate IEC symbol={##1}},
            nor gate symbol/.style={nor gate IEC symbol={##1}},
            xor gate symbol/.style={xor gate IEC symbol={##1}},
            xnor gate symbol/.style={xnor gate IEC symbol={##1}},
            not gate symbol/.style={not gate IEC symbol={##1}},
            buffer gate symbol/.style={buffer gate IEC symbol={##1}},
            logic gate symbol align/.style={/pgf/logic gate IEC symbol align={##1}},
            logic gate symbol color/.style={/pgf/logic gate IEC symbol color={##1}}
        }%
    }%
}%
\endinput