summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibraryshapes.gates.logic.US.code.tex
blob: 0b8a744126b3a6815c8b75b0ec4c12aef43077ac (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
% Copyright 2008 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[v\pgfversion] $Header: /cvsroot/pgf/pgf/generic/pgf/frontendlayer/tikz/libraries/tikzlibraryshapes.gates.logic.US.code.tex,v 1.1 2008/01/25 08:26:00 vibrovski Exp $

\usepgflibrary{shapes.gates.logic.US}

\tikzset{%
   use US style logic gates/.code={%
  	\tikzset{%
			and gate/.style={shape=and gate US},
			nand gate/.style={shape=nand gate US},
			or gate/.style={shape=or gate US},
			nor gate/.style={shape=nor gate US},
			xor gate/.style={shape=xor gate US},
			xnor gate/.style={shape=xnor gate US},
			not gate/.style={shape=not gate US},
			buffer gate/.style={shape=buffer gate US}
		}%
	},
	use CDH style logic gates/.code={%
  	\tikzset{%
			and gate/.style={shape=and gate CDH},
			nand gate/.style={shape=nand gate CDH},
			or gate/.style={shape=or gate US},
			nor gate/.style={shape=nor gate US},
			xor gate/.style={shape=xor gate US},
			xnor gate/.style={shape=xnor gate US},
			not gate/.style={shape=not gate US},
			buffer gate/.style={shape=buffer gate US}
		}
	}
}
\endinput