% 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, thyristor style/.try=legacy, % % 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