| 1 |
% romano style for circuitikz |
| 2 |
% Do not use LaTeX commands if you want it to be compatible with ConTeXt |
| 3 |
% Do not add spurious spaces |
| 4 |
\tikzset{romano circuit style/.style={% |
| 5 |
% generic tikz-level settings |
| 6 |
american,% |
| 7 |
cute inductors,% |
| 8 |
%circutikz-level settings |
| 9 |
\circuitikzbasekey/.cd,% |
| 10 |
% Resistors |
| 11 |
resistors/scale=0.8, |
| 12 |
resistors/thickness=1.0, |
| 13 |
% |
| 14 |
% Capacitors |
| 15 |
capacitors/scale=0.7, |
| 16 |
capacitors/thickness=1.0, |
| 17 |
capacitors/width/.try=0.15, % from 1.4.1 |
| 18 |
capacitors/height/.try=0.6, % from 1.4.1 |
| 19 |
% |
| 20 |
% Inductors (and transformers) |
| 21 |
inductors/scale=0.8, |
| 22 |
inductors/thickness=1.0, |
| 23 |
% |
| 24 |
% Diodes |
| 25 |
diodes/scale=0.6, |
| 26 |
diodes/thickness=1.0, |
| 27 |
thyristor style/.try=compact, |
| 28 |
% |
| 29 |
% Batteries |
| 30 |
batteries/scale=1.0, |
| 31 |
batteries/thickness=2.0, |
| 32 |
% |
| 33 |
% Sources (the round and diamond-shaped ones!) |
| 34 |
sources/scale=0.9, |
| 35 |
sources/thickness=1.0, |
| 36 |
csources/scale=0.9, |
| 37 |
csources/thickness=1.0, |
| 38 |
bipoles/noise sources/fillcolor=dashed, |
| 39 |
sources/symbol/sign rotation/.try=auto,%since 1.6.7 |
| 40 |
% |
| 41 |
% Instruments |
| 42 |
instruments/scale=1.0, |
| 43 |
% |
| 44 |
% Ground symbols |
| 45 |
grounds/scale=1.0, |
| 46 |
grounds/thickness=1.0, |
| 47 |
% |
| 48 |
% Transistors |
| 49 |
transistors/scale=1.3, |
| 50 |
transistors/thickness=3.0, |
| 51 |
tripoles/mos style=arrows, % it can be "arrows" |
| 52 |
tripoles/pmos style=emptycircle, % it can be "fullcircle", "nocircle" |
| 53 |
transistors/arrow pos=end, % it can be "end" |
| 54 |
% |
| 55 |
% Amplifiers |
| 56 |
amplifiers/scale=1.0, |
| 57 |
amplifiers/thickness=3.0, |
| 58 |
% |
| 59 |
% Logic ports |
| 60 |
logic ports/ieee/.try, |
| 61 |
% this way of setting the key does nothing if ieee option |
| 62 |
% does not exist; logic ports/.try=ieee does not work |
| 63 |
% if the key exists but the value is not defined |
| 64 |
logic ports/scale=1.0, |
| 65 |
logic ports/thickness=2.0, |
| 66 |
logic ports origin=center, |
| 67 |
american or shape/.try=pointy, |
| 68 |
% |
| 69 |
% flip-flops |
| 70 |
flipflops/scale/.try=1.0, |
| 71 |
flipflops/thickness/.try=2.0, |
| 72 |
% |
| 73 |
% Switches |
| 74 |
bipoles/cuteswitch/thickness=0.5, |
| 75 |
% |
| 76 |
% Integrated circuits |
| 77 |
chips/scale=1.0, |
| 78 |
chips/thickness=3.0, |
| 79 |
% |
| 80 |
% other options for romano style |
| 81 |
bipoles/crossing/size=0.4, |
| 82 |
% I am not sure I like them... |
| 83 |
% monopoles/vcc/arrow={Triangle[width=0.8*\scaledwidth, length=\scaledwidth]}, |
| 84 |
% monopoles/vee/arrow={Triangle[width=0.8*\scaledwidth, length=\scaledwidth]}, |
| 85 |
},% end .style |
| 86 |
}% end \tikzset |
| 87 |
% You can add more commands here |
| 88 |
% Do not use LaTeX commands if you want it to be compatible with ConTeXt |
| 89 |
% Do not add spurious spaces |
| 90 |
\endinput |
| 91 |
|