summaryrefslogtreecommitdiff
path: root/graphics/pgf/contrib/circuitikz/tex/ctikzstyle-legacy.tex
blob: b35cb69166e4dad73ff556c07c51acd124d55a71 (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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
% legacy style for circuits --- useful as a base for designing your style
% Do not use LaTeX commands if you want it to be compatible with ConTeXt
% Do not add spurious spaces
%
\tikzset{legacy circuit style/.style={\circuitikzbasekey/.cd,%
% Resistors
resistors/scale=1.0,
resistors/width=0.8,
resistors/zigs=3,
resistors/fill=none,
resistors/thickness=none,
%
% Capacitors
capacitors/scale=1.0,
capacitors/fill=none,
capacitors/thickness=none,
%
% Inductors (and transformers)
inductors/scale=1.0,
inductors/fill=none,
inductors/thickness=none,
% these two are not set because the default is different in american and cute coils
% inductors/width=0.6, % it's 0.8 for american coils
% inductors/coils=5, % it's 4 for american coils
%
% Diodes
diodes/scale=1.0,
diodes/fill=none,
diodes/thickness=none,
%
% Batteries
batteries/scale=1.0,
batteries/fill=none,
batteries/thickness=none,
%
% Independent sources (the round ones)
sources/scale=1.0,
sources/fill=none,
sources/thickness=none,
% Dependent sources (the diamond-shaped ones)
csources/scale=1.0,
csources/fill=none,
csources/thickness=none,
%
% Instruments
instruments/scale=1.0,
instruments/fill=none,
instruments/thickness=none,
%
% Mechanical analogy
mechanicals/scale=1.0,
mechanicals/fill=none,
mechanicals/thickness=none,
%
% Misc component (look at the manual)
misc/scale=1.0,
misc/fill=none,
misc/thickness=none,
%
% Block diagrams
blocks/scale=1.0,
blocks/fill=none,
blocks/thickness=none,
%
% Ground symbols
grounds/scale=1.0,
grounds/fill=none,
grounds/thickness=none,
%
% Power supplies (but look at the manual, you can do more)
power supplies/scale=1.0,
power supplies/fill=none,
power supplies/thickness=none,
%
% Transistors
transistors/scale=1.0,
transistors/fill=none,
transistors/thickness=none,
tripoles/mos style=no arrows,  % it can be "arrows"
tripoles/pmos style=fullcircle, % it can be "fullcircle", "nocircle"
transistors/arrow pos=legacy, % it can be "end"
%
% Vacuum tubes
tubes/scale=1.0,
tubes/fill=none,
tubes/thickness=none,
%
% RF components
RF/scale=1.0,
RF/fill=none,
RF/thickness=none,
%
% Electromechanical
electromechanicals/scale=1.0,
electromechanicals/fill=none,
electromechanicals/thickness=none,
%
% Amplifiers
amplifiers/scale=1.0,
amplifiers/fill=none,
amplifiers/thickness=none,
%
% Switches (they're a bit special, look the manual)
switches/scale=1.0,
switches/fill=none,
switches/thickness=none,
%
% Logic ports
logic ports/scale=1.0,
logic ports/fill=none,
logic ports/thickness=none,
logic ports origin=legacy, % it can be "center" (better)
american or shape=roundy,% could be pointy
%
% flip-flops
flipflops/scale=1.0,
flipflops/fill=none,
flipflops/thickness=none,
%
% Integrated circuits
chips/scale=1.0,
chips/fill=none,
chips/thickness=none,
%
% Displays
displays/scale=1.0,
displays/fill=none,
displays/thickness=none,
%
% Nodes width (connectors, etc
nodes width=.04,
%
% Arrows size
current arrow scale=16,
},% end .style
}% end \tikzset
% You can add more commands here
% Do not use LaTeX commands if you want it to be compatible with ConTeXt
% Do not add spurious spaces
%
\endinput