summaryrefslogtreecommitdiff
path: root/graphics/pgf/contrib/circuitikz/tex/ctikzstyle-romano.tex
blob: 865f7c846fffc65d85e2030d040eef940dde2dc4 (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
% romano style for circuitikz
% Do not use LaTeX commands if you want it to be compatible with ConTeXt
% Do not add spurious spaces
\tikzset{romano circuit style/.style={%
% generic tikz-level settings
american,%
cute inductors,%
%circutikz-level settings
\circuitikzbasekey/.cd,%
% Resistors
resistors/scale=0.8,
resistors/thickness=1.0,
%
% Capacitors
capacitors/scale=0.7,
capacitors/thickness=1.0,
capacitors/width/.try=0.15, % from 1.4.1
capacitors/height/.try=0.6, % from 1.4.1
%
% Inductors (and transformers)
inductors/scale=0.8,
inductors/thickness=1.0,
%
% Diodes
diodes/scale=0.6,
diodes/thickness=1.0,
thyristor style/.try=compact,
%
% Batteries
batteries/scale=1.0,
batteries/thickness=2.0,
%
% Sources (the round and diamond-shaped ones!)
sources/scale=0.9,
sources/thickness=1.0,
csources/scale=0.9,
csources/thickness=1.0,
bipoles/noise sources/fillcolor=dashed,
sources/symbol/sign rotation/.try=auto,%since 1.6.7
%
% Instruments
instruments/scale=1.0,
%
% Ground symbols
grounds/scale=1.0,
grounds/thickness=1.0,
%
% Transistors
transistors/scale=1.3,
transistors/thickness=3.0,
tripoles/mos style=arrows,  % it can be "arrows"
tripoles/pmos style=emptycircle, % it can be "fullcircle", "nocircle"
transistors/arrow pos=end, % it can be "end"
%
% Amplifiers
amplifiers/scale=1.0,
amplifiers/thickness=3.0,
%
% Logic ports
logic ports/ieee/.try,
% this way of setting the key does nothing if ieee option
% does not exist; logic ports/.try=ieee does not work
% if the key exists but the value is not defined
logic ports/scale=1.0,
logic ports/thickness=2.0,
logic ports origin=center,
american or shape/.try=pointy,
%
% flip-flops
flipflops/scale/.try=1.0,
flipflops/thickness/.try=2.0,
%
% Switches
bipoles/cuteswitch/thickness=0.5,
%
% Integrated circuits
chips/scale=1.0,
chips/thickness=3.0,
%
% other options for romano style
bipoles/crossing/size=0.4,
% I am not sure I like them...
% monopoles/vcc/arrow={Triangle[width=0.8*\scaledwidth, length=\scaledwidth]},
% monopoles/vee/arrow={Triangle[width=0.8*\scaledwidth, length=\scaledwidth]},
},% 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