Debian Codegraph @

texmf-dist/tex/generic/circuitikz/ctikzstyle-legacy.tex

raw
1 % legacy style for circuits --- useful as a base for designing your style
2 % Do not use LaTeX commands if you want it to be compatible with ConTeXt
3 % Do not add spurious spaces
4 %
5 \tikzset{legacy circuit style/.style={\circuitikzbasekey/.cd,%
6 % Resistors
7 resistors/scale=1.0,
8 resistors/width=0.8,
9 resistors/zigs=3,
10 resistors/fill=none,
11 resistors/thickness=none,
12 %
13 % Capacitors
14 capacitors/scale=1.0,
15 capacitors/fill=none,
16 capacitors/thickness=none,
17 %
18 % Inductors (and transformers)
19 inductors/scale=1.0,
20 inductors/fill=none,
21 inductors/thickness=none,
22 % these two are not set because the default is different in american and cute coils
23 % inductors/width=0.6, % it's 0.8 for american coils
24 % inductors/coils=5, % it's 4 for american coils
25 %
26 % Diodes
27 diodes/scale=1.0,
28 diodes/fill=none,
29 diodes/thickness=none,
30 thyristor style/.try=legacy,
31 %
32 % Batteries
33 batteries/scale=1.0,
34 batteries/fill=none,
35 batteries/thickness=none,
36 %
37 % Independent sources (the round ones)
38 sources/scale=1.0,
39 sources/fill=none,
40 sources/thickness=none,
41 % Dependent sources (the diamond-shaped ones)
42 csources/scale=1.0,
43 csources/fill=none,
44 csources/thickness=none,
45 %
46 % Instruments
47 instruments/scale=1.0,
48 instruments/fill=none,
49 instruments/thickness=none,
50 %
51 % Mechanical analogy
52 mechanicals/scale=1.0,
53 mechanicals/fill=none,
54 mechanicals/thickness=none,
55 %
56 % Misc component (look at the manual)
57 misc/scale=1.0,
58 misc/fill=none,
59 misc/thickness=none,
60 %
61 % Block diagrams
62 blocks/scale=1.0,
63 blocks/fill=none,
64 blocks/thickness=none,
65 %
66 % Ground symbols
67 grounds/scale=1.0,
68 grounds/fill=none,
69 grounds/thickness=none,
70 %
71 % Power supplies (but look at the manual, you can do more)
72 power supplies/scale=1.0,
73 power supplies/fill=none,
74 power supplies/thickness=none,
75 %
76 % Transistors
77 transistors/scale=1.0,
78 transistors/fill=none,
79 transistors/thickness=none,
80 tripoles/mos style=no arrows, % it can be "arrows"
81 tripoles/pmos style=fullcircle, % it can be "fullcircle", "nocircle"
82 transistors/arrow pos=legacy, % it can be "end"
83 %
84 % Vacuum tubes
85 tubes/scale=1.0,
86 tubes/fill=none,
87 tubes/thickness=none,
88 %
89 % RF components
90 RF/scale=1.0,
91 RF/fill=none,
92 RF/thickness=none,
93 %
94 % Electromechanical
95 electromechanicals/scale=1.0,
96 electromechanicals/fill=none,
97 electromechanicals/thickness=none,
98 %
99 % Amplifiers
100 amplifiers/scale=1.0,
101 amplifiers/fill=none,
102 amplifiers/thickness=none,
103 %
104 % Switches (they're a bit special, look the manual)
105 switches/scale=1.0,
106 switches/fill=none,
107 switches/thickness=none,
108 %
109 % Logic ports
110 logic ports/scale=1.0,
111 logic ports/fill=none,
112 logic ports/thickness=none,
113 logic ports origin=legacy, % it can be "center" (better)
114 american or shape/.try=roundy,% could be pointy
115 %
116 % flip-flops
117 flipflops/scale/.try=1.0,
118 flipflops/fill/.try=none,
119 flipflops/thickness/.try=none,
120 %
121 % Integrated circuits
122 chips/scale=1.0,
123 chips/fill=none,
124 chips/thickness=none,
125 %
126 % Displays
127 displays/scale=1.0,
128 displays/fill=none,
129 displays/thickness=none,
130 %
131 % Nodes width (connectors, etc
132 nodes width=.04,
133 %
134 % Arrows size
135 current arrow scale=16,
136 },% end .style
137 }% end \tikzset
138 % You can add more commands here
139 % Do not use LaTeX commands if you want it to be compatible with ConTeXt
140 % Do not add spurious spaces
141 %
142 \endinput
143