├── sym32a ├── _shifted_transistor_style.txt ├── latex_preamble.aux ├── res2.asy2tex ├── circuiTikz │ ├── bi_t.asy2tex │ ├── bv_t.asy2tex │ ├── cap_t.asy2tex │ ├── res_eu.asy2tex │ ├── ground_thick.asy │ ├── antenna.asy │ ├── ground_signal.asy │ ├── ground.asy │ ├── match.asy │ ├── ground_chassis.asy │ ├── blockdiagram │ │ ├── oscillator.asy │ │ ├── oscillator_north.asy │ │ ├── adc.asy2tex │ │ ├── amp.asy2tex │ │ ├── dac.asy2tex │ │ ├── dsp.asy2tex │ │ ├── fft.asy2tex │ │ ├── vco.asy2tex │ │ ├── vga.asy2tex │ │ ├── lowpass.asy2tex │ │ ├── twoport.asy2tex │ │ ├── bandpass.asy2tex │ │ ├── bandstop.asy2tex │ │ ├── detector.asy2tex │ │ ├── highpass.asy2tex │ │ ├── phaseshifter.asy2tex │ │ ├── piattenuator.asy2tex │ │ ├── tattenuator.asy2tex │ │ ├── phaseshifter_var.asy2tex │ │ ├── piattenuator_var.asy2tex │ │ ├── tattenuator_var.asy2tex │ │ ├── adder.asy │ │ ├── mixer.asy │ │ ├── dsp.asy │ │ ├── fft.asy │ │ ├── phaseshifter.asy │ │ ├── twoport.asy │ │ ├── circulator.asy │ │ ├── tattenuator.asy │ │ ├── adc.asy │ │ ├── dac.asy │ │ ├── oscillator.asy2tex │ │ ├── oscillator_north.asy2tex │ │ ├── amp.asy │ │ ├── piattenuator.asy │ │ ├── vco.asy │ │ ├── buffer.asy │ │ ├── phaseshifter_var.asy │ │ ├── buffer.asy2tex │ │ ├── detector.asy │ │ ├── tattenuator_var.asy │ │ ├── schmitt_inv.asy2tex │ │ ├── schmitt_ni.asy2tex │ │ └── piattenuator_var.asy │ ├── tlinestub.asy │ ├── gnd.asy │ ├── ground_protective.asy │ ├── arrow_supply1.asy2tex │ ├── arrow_voltage_1.asy2tex │ ├── arrow_voltage_10.asy2tex │ ├── arrow_voltage_2.asy2tex │ ├── arrow_voltage_3.asy2tex │ ├── arrow_voltage_5.asy2tex │ ├── arrow_voltage_7.asy2tex │ ├── ground_noiseless.asy │ ├── squid.asy2tex │ ├── barrier.asy │ ├── barrier.asy2tex │ ├── ct_voltmeter.asy2tex │ ├── meter_ampere.asy2tex │ ├── meter_ohm.asy2tex │ ├── meter_volt.asy2tex │ ├── vco.asy2tex │ ├── dc_current_us.asy2tex │ ├── oo_current.asy2tex │ ├── oo_voltage.asy2tex │ ├── bv_signal.asy2tex │ ├── ct_voltage_oo.asy2tex │ ├── vee.asy │ ├── signal_square.asy2tex │ ├── vcc.asy │ ├── current_us.asy2tex │ ├── surgearrester_us.asy2tex │ ├── terminal_connector.asy2tex │ ├── us_voltage.asy2tex │ ├── ct_voltage_us.asy2tex │ ├── photodiode.asy2tex │ ├── zenerL.asy2tex │ ├── zenerZ.asy2tex │ ├── fuse.asy2tex │ ├── surgearrester_eu.asy │ ├── surgearrester_eu.asy2tex │ ├── terminal_connector.asy │ ├── tunneldiode.asy2tex │ ├── generic.asy2tex │ ├── fuse_asymmetric.asy2tex │ ├── ind3.asy2tex │ ├── res3.asy2tex │ ├── res_eu2.asy2tex │ ├── arrow_supply1.asy │ ├── vcc.asy2tex │ ├── vee.asy2tex │ ├── arrow_voltage_1.asy │ ├── arrow_voltage_2.asy │ ├── arrow_voltage_3.asy │ ├── arrow_voltage_5.asy │ ├── arrow_voltage_7.asy │ ├── arrow_voltage_10.asy │ ├── cap_variable.asy2tex │ ├── gnd.asy2tex │ ├── match.asy2tex │ ├── antenna.asy2tex │ ├── cap_electrolytic.asy2tex │ ├── ground.asy2tex │ ├── memristor.asy2tex │ ├── antenna_rx.asy2tex │ ├── antenna_tx.asy2tex │ ├── generic_asymmetric.asy2tex │ ├── generic_full.asy2tex │ ├── generic_tunable.asy2tex │ ├── ground_chassis.asy2tex │ ├── ground_signal.asy2tex │ ├── ground_thick.asy2tex │ ├── ind_coil.asy2tex │ ├── ind_eu.asy2tex │ ├── ind_us.asy2tex │ ├── res_us.asy2tex │ ├── tlinestub.asy2tex │ ├── ground_noiseless.asy2tex │ ├── ground_protective.asy2tex │ ├── switch_no.asy2tex │ ├── generic_full_tunable.asy2tex │ ├── ind_us_var.asy2tex │ ├── res_eu_var.asy2tex │ ├── res_photo.asy2tex │ ├── res_us_var.asy2tex │ ├── thermocouple.asy2tex │ ├── coupler.asy2tex │ ├── squid.asy │ ├── coupler2.asy2tex │ ├── antenna_rx.asy │ ├── antenna_tx.asy │ ├── noisevoltage.asy2tex │ ├── surgearrester_us.asy │ ├── cap_t.asy │ ├── zenerL.asy │ ├── coax.asy2tex │ ├── ind3.asy │ ├── res_us_pot.asy2tex │ ├── ind_coil.asy │ ├── res_eu_pot.asy2tex │ ├── us_voltage.asy │ ├── coupler.asy │ ├── ct_voltage_us.asy │ ├── npn_photo.asy2tex │ ├── zenerZ.asy │ ├── oo_voltage.asy │ ├── tunneldiode.asy │ ├── ct_voltage_oo.asy │ ├── ind_us.asy │ ├── current_us.asy │ ├── cap_variable.asy │ ├── coupler2.asy │ ├── logic │ │ ├── not.asy2tex │ │ └── not.asy │ ├── pnp_photo.asy2tex │ ├── oo_current.asy │ ├── isfet.asy2tex │ ├── switch_no.asy │ ├── res3.asy │ ├── bv_t.asy │ ├── nfet.asy2tex │ ├── npn_t.asy2tex │ ├── thermocouple.asy │ ├── nmos_gen.asy2tex │ ├── npn_t.asy │ ├── dc_current_us.asy │ ├── generic.asy │ ├── bi_t.asy │ ├── pnp_t.asy │ ├── vco.asy │ ├── nigbt.asy2tex │ ├── noisecurrent.asy2tex │ ├── pfet.asy2tex │ ├── pigbt.asy2tex │ ├── pnp_t.asy2tex │ ├── pmos_gen.asy2tex │ ├── transformer.asc │ ├── fuse.asy │ ├── transformer_core.asc │ ├── transformer_cu.asc │ ├── transformer_eu.asc │ ├── transformer_us.asc │ ├── nigbt.asy │ ├── transformer_cu_core.asc │ ├── transformer_eu_core.asc │ └── transformer_us_core.asc ├── latex_closing.tex ├── netlabel.asy ├── text.asy ├── sym.ini ├── SchLine.asy2tex ├── SchRect.asy2tex ├── diode.asy2tex ├── voltage.asy2tex ├── varactor.asy2tex ├── Misc │ ├── battery.asy2tex │ ├── cell.asy2tex │ ├── signal.asy2tex │ ├── xtal.asy2tex │ ├── SCR.asy2tex │ ├── TRIAC.asy2tex │ ├── cell.asy │ ├── battery.asy │ └── signal.asy ├── schottky.asy2tex ├── zener.asy2tex ├── LED.asy2tex ├── bi.asy2tex ├── bv.asy2tex ├── polcap.asy2tex ├── res.asy2tex ├── sw.asy2tex ├── ind2.asy2tex ├── cap.asy2tex ├── ind.asy2tex ├── tline.asy2tex ├── netlabel.asy2tex ├── text.asy2tex ├── ind2.asy ├── cap.asy ├── diode.asy ├── ind.asy ├── current.asy2tex ├── polcap.asy ├── varactor.asy ├── bv.asy ├── bi.asy ├── voltage.asy ├── zener.asy ├── current.asy ├── res2.asy ├── res.asy ├── npn.asy2tex ├── npn.asy ├── pnp.asy ├── schottky.asy ├── Opamps │ ├── en_amp.asy2tex │ ├── opamp.asy2tex │ ├── plainamp.asy │ └── plainamp.asy2tex ├── nmos.asy2tex └── pnp.asy2tex ├── sym32b ├── _scaled_transistor_style.txt ├── latex_closing.tex ├── netlabel.asy ├── text.asy ├── sym.ini ├── circuiTikz │ ├── ground.asy │ ├── gnd.asy │ ├── arrow_voltage_1.asy2tex │ ├── arrow_voltage_10.asy2tex │ ├── arrow_voltage_2.asy2tex │ ├── arrow_voltage_3.asy2tex │ ├── arrow_voltage_5.asy2tex │ ├── arrow_voltage_7.asy2tex │ ├── ind3.asy2tex │ ├── res3.asy2tex │ ├── res_eu2.asy2tex │ ├── ind_eu.asy2tex │ ├── res_eu.asy2tex │ ├── arrow_voltage_1.asy │ ├── arrow_voltage_2.asy │ ├── arrow_voltage_3.asy │ ├── arrow_voltage_5.asy │ ├── arrow_voltage_7.asy │ ├── arrow_voltage_10.asy │ ├── gnd.asy2tex │ ├── ground.asy2tex │ ├── ind3.asy │ ├── npn_t.asy2tex │ ├── pnp_t.asy2tex │ ├── res3.asy │ ├── res_eu2.asy │ ├── npn_t.asy │ ├── pnp_t.asy │ ├── nmos_t.asy2tex │ └── pmos_t.asy2tex ├── SchLine.asy2tex ├── SchRect.asy2tex ├── diode.asy2tex ├── schottky.asy2tex ├── zener.asy2tex ├── ind2.asy2tex ├── cap.asy2tex ├── ind.asy2tex ├── res.asy2tex ├── netlabel.asy2tex ├── text.asy2tex ├── ind2.asy ├── cap.asy ├── diode.asy ├── ind.asy ├── current.asy2tex ├── voltage.asy2tex ├── voltage.asy ├── zener.asy ├── current.asy ├── res2.asy ├── res.asy ├── npn.asy2tex ├── npn.asy ├── pnp.asy ├── schottky.asy ├── nmos.asy2tex └── pnp.asy2tex ├── sym48 ├── _legacy style with odd coordinates.txt ├── latex_closing.tex ├── sym.ini ├── text.asy ├── netlabel.asy ├── circuiTikz │ ├── ground.asy │ ├── gnd.asy │ ├── arrow_voltage_1.asy2tex │ ├── arrow_voltage_10.asy2tex │ ├── arrow_voltage_2.asy2tex │ ├── arrow_voltage_3.asy2tex │ ├── arrow_voltage_5.asy2tex │ ├── arrow_voltage_7.asy2tex │ ├── res_eu.asy2tex │ ├── ind3.asy2tex │ ├── res3.asy2tex │ ├── ind_eu.asy2tex │ ├── res_eu2.asy2tex │ ├── arrow_voltage_1.asy │ ├── arrow_voltage_10.asy │ ├── arrow_voltage_2.asy │ ├── arrow_voltage_3.asy │ ├── arrow_voltage_5.asy │ ├── arrow_voltage_7.asy │ ├── gnd.asy2tex │ ├── ground.asy2tex │ ├── ind3.asy │ ├── npn_t.asy2tex │ ├── pnp_t.asy2tex │ ├── res3.asy │ ├── res_eu2.asy │ ├── npn_t.asy │ ├── pnp_t.asy │ ├── nmos_t.asy2tex │ └── pmos_t.asy2tex ├── SchLine.asy2tex ├── SchRect.asy2tex ├── diode.asy2tex ├── schottky.asy2tex ├── zener.asy2tex ├── cap.asy2tex ├── ind.asy2tex ├── ind2.asy2tex ├── res.asy2tex ├── netlabel.asy2tex ├── text.asy2tex ├── cap.asy ├── ind.asy ├── ind2.asy ├── diode.asy ├── current.asy2tex ├── voltage.asy2tex ├── res.asy ├── voltage.asy ├── zener.asy ├── opamps │ └── UniversalOpamp2.asy2tex ├── current.asy ├── res2.asy ├── npn.asy2tex ├── nmos.asy2tex ├── npn.asy ├── pnp.asy ├── schottky.asy └── pmos.asy2tex ├── test_lt2ti.bat ├── compile.bat ├── examples ├── compile_catalog.bat ├── Test.asc.pdf ├── catalog.png ├── catalog.asc.pdf ├── compile_catalog.sh ├── Draft3.asc ├── Test.asc_sym48.pdf ├── Test.asc_sym32a.pdf ├── Test.asc_sym32b.pdf ├── TestTransistors.asc.pdf ├── catalog.asc.texlive.linux.pdf ├── compile_dev.bat └── translate.asy2tex ├── lt2ti.ini ├── dist ├── lt2ti.ini └── lt2ti_Test.bat ├── .gitignore ├── test_lt2ti.sh ├── increase_memory_size.txt ├── lt2ti_Prj.wpr ├── dev_lt2ti.py ├── test_lt2ti.py ├── sub └── circuiTikz │ ├── noisevoltagesource.sub │ ├── noisecurrentsource.sub │ └── noisevoltagesrc_test.asc ├── dev_lt2ti.bat └── texlive_packages.txt /sym32a/_shifted_transistor_style.txt: -------------------------------------------------------------------------------- 1 | . -------------------------------------------------------------------------------- /sym32a/latex_preamble.aux: -------------------------------------------------------------------------------- 1 | \relax 2 | -------------------------------------------------------------------------------- /sym32b/_scaled_transistor_style.txt: -------------------------------------------------------------------------------- 1 | . -------------------------------------------------------------------------------- /sym32a/res2.asy2tex: -------------------------------------------------------------------------------- 1 | ALIASFOR res.asy2tex -------------------------------------------------------------------------------- /sym48/_legacy style with odd coordinates.txt: -------------------------------------------------------------------------------- 1 | . -------------------------------------------------------------------------------- /sym32a/circuiTikz/bi_t.asy2tex: -------------------------------------------------------------------------------- 1 | ALIASFOR ..\bi.asy2tex -------------------------------------------------------------------------------- /test_lt2ti.bat: -------------------------------------------------------------------------------- 1 | python test_lt2ti.py>test_lt2ti.log -------------------------------------------------------------------------------- /compile.bat: -------------------------------------------------------------------------------- 1 | py -3.4 -m py2exe.build_exe lt2ti.py 2 | pause -------------------------------------------------------------------------------- /sym32a/circuiTikz/bv_t.asy2tex: -------------------------------------------------------------------------------- 1 | ALIASFOR ..\bv.asy2tex 2 | -------------------------------------------------------------------------------- /examples/compile_catalog.bat: -------------------------------------------------------------------------------- 1 | pdflatex catalog.asc.tex 2 | pause -------------------------------------------------------------------------------- /lt2ti.ini: -------------------------------------------------------------------------------- 1 | [general] 2 | symdir=sym32a 3 | includepreamble=true -------------------------------------------------------------------------------- /sym32a/circuiTikz/cap_t.asy2tex: -------------------------------------------------------------------------------- 1 | ALIASFOR ..\cap.asy2tex 2 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/res_eu.asy2tex: -------------------------------------------------------------------------------- 1 | ALIASFOR ..\res.asy2tex 2 | -------------------------------------------------------------------------------- /dist/lt2ti.ini: -------------------------------------------------------------------------------- 1 | [general] 2 | symdir=\..\sym32a 3 | includepreamble=true -------------------------------------------------------------------------------- /dist/lt2ti_Test.bat: -------------------------------------------------------------------------------- 1 | lt2ti.exe examples\catalog.asc > Test.log 2 | pause -------------------------------------------------------------------------------- /sym32a/latex_closing.tex: -------------------------------------------------------------------------------- 1 | 2 | \end{tikzpicture} 3 | \end{document} 4 | -------------------------------------------------------------------------------- /sym32b/latex_closing.tex: -------------------------------------------------------------------------------- 1 | 2 | \end{tikzpicture} 3 | \end{document} 4 | -------------------------------------------------------------------------------- /sym48/latex_closing.tex: -------------------------------------------------------------------------------- 1 | 2 | \end{tikzpicture} 3 | \end{document} 4 | -------------------------------------------------------------------------------- /sym48/sym.ini: -------------------------------------------------------------------------------- 1 | [general] 2 | lt2tscale_inverse=48 3 | bipoles_length=1.4cm -------------------------------------------------------------------------------- /sym48/text.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 3 0 -3 0 4 | -------------------------------------------------------------------------------- /sym32a/netlabel.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 3 0 -3 0 4 | -------------------------------------------------------------------------------- /sym32a/text.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 3 0 -3 0 4 | -------------------------------------------------------------------------------- /sym32b/netlabel.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 3 0 -3 0 4 | -------------------------------------------------------------------------------- /sym32b/text.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 3 0 -3 0 4 | -------------------------------------------------------------------------------- /sym48/netlabel.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 3 0 -3 0 4 | -------------------------------------------------------------------------------- /sym32b/sym.ini: -------------------------------------------------------------------------------- 1 | [general] 2 | lt2tscale_inverse=32 3 | default_gnd=circuiTikz\gnd -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /.git/ 2 | /__pycache__/ 3 | release/* 4 | /lt2ti_Prj.wpu 5 | /gone/ 6 | /test_lt2ti.log 7 | -------------------------------------------------------------------------------- /examples/Test.asc.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ckuhlmann/lt2circuitikz/HEAD/examples/Test.asc.pdf -------------------------------------------------------------------------------- /examples/catalog.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ckuhlmann/lt2circuitikz/HEAD/examples/catalog.png -------------------------------------------------------------------------------- /examples/catalog.asc.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ckuhlmann/lt2circuitikz/HEAD/examples/catalog.asc.pdf -------------------------------------------------------------------------------- /examples/compile_catalog.sh: -------------------------------------------------------------------------------- 1 | pdflatex catalog.asc.tex 2 | read -p "Press [Return] key to continue . . ." 3 | -------------------------------------------------------------------------------- /examples/Draft3.asc: -------------------------------------------------------------------------------- 1 | Version 4 2 | SHEET 1 880 680 3 | WIRE 160 144 144 144 4 | LINE Normal 160 144 144 144 1 5 | -------------------------------------------------------------------------------- /examples/Test.asc_sym48.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ckuhlmann/lt2circuitikz/HEAD/examples/Test.asc_sym48.pdf -------------------------------------------------------------------------------- /test_lt2ti.sh: -------------------------------------------------------------------------------- 1 | python3 test_lt2ti.py>test_lt2ti.log 2 | read -p "Press [Return] key to continue . . ." 3 | 4 | -------------------------------------------------------------------------------- /examples/Test.asc_sym32a.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ckuhlmann/lt2circuitikz/HEAD/examples/Test.asc_sym32a.pdf -------------------------------------------------------------------------------- /examples/Test.asc_sym32b.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ckuhlmann/lt2circuitikz/HEAD/examples/Test.asc_sym32b.pdf -------------------------------------------------------------------------------- /examples/TestTransistors.asc.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ckuhlmann/lt2circuitikz/HEAD/examples/TestTransistors.asc.pdf -------------------------------------------------------------------------------- /examples/catalog.asc.texlive.linux.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ckuhlmann/lt2circuitikz/HEAD/examples/catalog.asc.texlive.linux.pdf -------------------------------------------------------------------------------- /sym32a/sym.ini: -------------------------------------------------------------------------------- 1 | [general] 2 | lt2tscale_inverse=32 3 | latexincludes=latex_ext.tex 4 | default_gnd=circuiTikz\gnd 5 | [disabled] 6 | default_gnd=circuiTikz\ground -------------------------------------------------------------------------------- /examples/compile_dev.bat: -------------------------------------------------------------------------------- 1 | pdflatex dev.asc.tex 2 | 3 | 4 | choice /C YN /T 30 /D Y /M "Compile: CLose console window? (Yes in 30 sec)" 5 | if NOT errorlevel 2 goto EOF 6 | pause 7 | 8 | 9 | :EOF -------------------------------------------------------------------------------- /sym32a/circuiTikz/ground_thick.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 16 0 -16 0 4 | LINE Normal 16 4 16 0 5 | LINE Normal -16 4 16 4 6 | LINE Normal -16 0 -16 4 7 | PIN 0 0 NONE 8 8 | PINATTR PinName g 9 | PINATTR SpiceOrder 1 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/antenna.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 0 -99 0 0 4 | LINE Normal 16 -99 -16 -99 5 | LINE Normal 0 -71 16 -99 6 | LINE Normal -16 -99 0 -71 7 | PIN 0 0 NONE 8 8 | PINATTR PinName a 9 | PINATTR SpiceOrder 1 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/ground_signal.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 16 16 -16 16 4 | LINE Normal 0 32 16 16 5 | LINE Normal -16 16 0 32 6 | LINE Normal 0 0 0 16 7 | PIN 0 0 NONE 8 8 | PINATTR PinName g 9 | PINATTR SpiceOrder 1 10 | -------------------------------------------------------------------------------- /increase_memory_size.txt: -------------------------------------------------------------------------------- 1 | MikTex pdflatex, windows: 2 | on command (cmd) prompt: 3 | initexmf --edit-config-file pdflatex 4 | insert line: 5 | main_memory=9000000 6 | save and exit. 7 | 8 | on command prompt: 9 | initexmf --dump=pdflatex 10 | enjoy. -------------------------------------------------------------------------------- /sym32a/circuiTikz/ground.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 0 16 0 0 4 | LINE Normal 11 7 -11 7 5 | LINE Normal 7 10 -7 10 6 | LINE Normal 4 13 -4 13 7 | LINE Normal -2 16 2 16 8 | PIN 0 0 NONE 8 9 | PINATTR PinName g 10 | PINATTR SpiceOrder 1 11 | -------------------------------------------------------------------------------- /sym32b/circuiTikz/ground.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType BLOCK 3 | LINE Normal 0 16 0 0 4 | LINE Normal 11 7 -11 7 5 | LINE Normal 7 10 -7 10 6 | LINE Normal 4 13 -4 13 7 | LINE Normal -2 16 2 16 8 | PIN 0 0 NONE 8 9 | PINATTR PinName g 10 | PINATTR SpiceOrder 1 11 | -------------------------------------------------------------------------------- /sym48/circuiTikz/ground.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType BLOCK 3 | LINE Normal 0 16 0 0 4 | LINE Normal 11 7 -11 7 5 | LINE Normal 7 10 -7 10 6 | LINE Normal 4 13 -4 13 7 | LINE Normal -2 16 2 16 8 | PIN 0 0 NONE 8 9 | PINATTR PinName g 10 | PINATTR SpiceOrder 1 11 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/match.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 48 0 0 0 4 | LINE Normal 48 -10 48 0 5 | LINE Normal 24 0 48 -10 6 | SYMATTR Prefix X 7 | SYMATTR Description Voltage arrow 8 | PIN 0 0 NONE 8 9 | PINATTR PinName + 10 | PINATTR SpiceOrder 2 11 | -------------------------------------------------------------------------------- /sym32a/SchLine.asy2tex: -------------------------------------------------------------------------------- 1 | Type Graphical 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName None 7 | BeginTex 8 | \draw [#self.texlinestyle#] (#self.texx1#,#self.texy1#) -- (#self.texx2#,#self.texy2#); % sch Line 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/ground_chassis.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 0 11 0 0 4 | LINE Normal 10 11 -10 11 5 | LINE Normal -15 20 -10 11 6 | LINE Normal -5 20 0 11 7 | LINE Normal 5 20 10 11 8 | PIN 0 0 NONE 8 9 | PINATTR PinName g 10 | PINATTR SpiceOrder 1 11 | -------------------------------------------------------------------------------- /sym32b/SchLine.asy2tex: -------------------------------------------------------------------------------- 1 | Type Graphical 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName None 7 | BeginTex 8 | \draw [#self.texlinestyle#] (#self.texx1#,#self.texy1#) -- (#self.texx2#,#self.texy2#); % sch Line 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym48/SchLine.asy2tex: -------------------------------------------------------------------------------- 1 | Type Graphical 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName None 7 | BeginTex 8 | \draw [#self.texlinestyle#] (#self.texx1#,#self.texy1#) -- (#self.texx2#,#self.texy2#); % sch Line 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/SchRect.asy2tex: -------------------------------------------------------------------------------- 1 | Type Graphical 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName None 7 | BeginTex 8 | \draw [#self.texlinestyle#] (#self.texx1#,#self.texy1#) rectangle (#self.texx2#,#self.texy2#); % sch Rect 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/blockdiagram/oscillator.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal -2 0 0 0 4 | CIRCLE Normal -2 30 -62 -30 5 | ARC Normal -32 10 -21 -12 -34 0 -14 0 6 | ARC Normal -32 -10 -43 12 -30 0 -50 0 7 | PIN 0 0 NONE 8 8 | PINATTR PinName 1 9 | PINATTR SpiceOrder 1 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/tlinestub.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 0 0 19 0 4 | LINE Normal 76 -12 20 -12 5 | LINE Normal 75 12 19 12 6 | CIRCLE Normal 23 12 16 -12 7 | ARC Normal 72 -12 79 12 75 16 76 -16 8 | PIN 0 0 NONE 8 9 | PINATTR PinName a 10 | PINATTR SpiceOrder 1 11 | -------------------------------------------------------------------------------- /sym32b/SchRect.asy2tex: -------------------------------------------------------------------------------- 1 | Type Graphical 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName None 7 | BeginTex 8 | \draw [#self.texlinestyle#] (#self.texx1#,#self.texy1#) rectangle (#self.texx2#,#self.texy2#); % sch Rect 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym48/SchRect.asy2tex: -------------------------------------------------------------------------------- 1 | Type Graphical 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName None 7 | BeginTex 8 | \draw [#self.texlinestyle#] (#self.texx1#,#self.texy1#) rectangle (#self.texx2#,#self.texy2#); % sch Rect 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/gnd.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 0 16 0 0 4 | LINE Normal -11 16 0 16 5 | LINE Normal 12 16 0 16 6 | LINE Normal -11 17 12 17 7 | LINE Normal -11 16 -11 17 8 | LINE Normal 12 16 12 17 9 | PIN 0 0 NONE 8 10 | PINATTR PinName g 11 | PINATTR SpiceOrder 1 12 | -------------------------------------------------------------------------------- /sym32b/circuiTikz/gnd.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType BLOCK 3 | LINE Normal 0 16 0 0 4 | LINE Normal -11 16 0 16 5 | LINE Normal 12 16 0 16 6 | LINE Normal -11 17 12 17 7 | LINE Normal -11 16 -11 17 8 | LINE Normal 12 16 12 17 9 | PIN 0 0 NONE 8 10 | PINATTR PinName g 11 | PINATTR SpiceOrder 1 12 | -------------------------------------------------------------------------------- /sym48/circuiTikz/gnd.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType BLOCK 3 | LINE Normal 0 16 0 0 4 | LINE Normal -11 16 0 16 5 | LINE Normal 12 16 0 16 6 | LINE Normal -11 17 12 17 7 | LINE Normal -11 16 -11 17 8 | LINE Normal 12 16 12 17 9 | PIN 0 0 NONE 8 10 | PINATTR PinName g 11 | PINATTR SpiceOrder 1 12 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/blockdiagram/oscillator_north.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal -32 -30 -32 -32 4 | CIRCLE Normal -2 30 -62 -30 5 | ARC Normal -32 10 -21 -12 -34 0 -14 0 6 | ARC Normal -32 -10 -43 12 -30 0 -50 0 7 | PIN -32 -32 NONE 8 8 | PINATTR PinName 1 9 | PINATTR SpiceOrder 1 10 | -------------------------------------------------------------------------------- /sym32a/diode.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *diode 7 | BeginTex 8 | \draw (#+:x1#, #+:y1#) to[#self.symbol.latexElementName#, l^=#self.name#, a_=#self.value#, ##options##] (#-:x1#,#-:y1#){}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32b/diode.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *diode 7 | BeginTex 8 | \draw (#+:x1#, #+:y1#) to[#self.symbol.latexElementName#, l^=#self.name#, a_=#self.value#, ##options##] (#-:x1#,#-:y1#){}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/ground_protective.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 0 12 0 0 4 | LINE Normal 11 12 -11 12 5 | LINE Normal 7 15 -7 15 6 | LINE Normal 4 18 -4 18 7 | LINE Normal -2 21 2 21 8 | CIRCLE Normal 17 29 -17 -2 9 | PIN 0 0 NONE 8 10 | PINATTR PinName g 11 | PINATTR SpiceOrder 1 12 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/arrow_supply1.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName VArrow 7 | BeginTex 8 | \draw [/lt2ti/SArrow] (#+:x1#, #+:y1#) -- (#-:x1#,#-:y1#) node [midway, right] {#self.name# #self.value#}; % volt.arrow 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/arrow_voltage_1.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName VArrow 7 | BeginTex 8 | \draw [/lt2ti/VArrow] (#+:x1#, #+:y1#) -- (#-:x1#,#-:y1#) node [midway, right] {#self.name# #self.value#}; % volt.arrow 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/arrow_voltage_10.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName VArrow 7 | BeginTex 8 | \draw [/lt2ti/VArrow] (#+:x1#, #+:y1#) -- (#-:x1#,#-:y1#) node [midway, right] {#self.name# #self.value#}; % volt.arrow 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/arrow_voltage_2.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName VArrow 7 | BeginTex 8 | \draw [/lt2ti/VArrow] (#+:x1#, #+:y1#) -- (#-:x1#,#-:y1#) node [midway, right] {#self.name# #self.value#}; % volt.arrow 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/arrow_voltage_3.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName VArrow 7 | BeginTex 8 | \draw [/lt2ti/VArrow] (#+:x1#, #+:y1#) -- (#-:x1#,#-:y1#) node [midway, right] {#self.name# #self.value#}; % volt.arrow 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/arrow_voltage_5.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName VArrow 7 | BeginTex 8 | \draw [/lt2ti/VArrow] (#+:x1#, #+:y1#) -- (#-:x1#,#-:y1#) node [midway, right] {#self.name# #self.value#}; % volt.arrow 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/arrow_voltage_7.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName VArrow 7 | BeginTex 8 | \draw [/lt2ti/VArrow] (#+:x1#, #+:y1#) -- (#-:x1#,#-:y1#) node [midway, right] {#self.name# #self.value#}; % volt.arrow 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/ground_noiseless.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 0 14 0 0 4 | LINE Normal 11 14 -11 14 5 | LINE Normal 7 17 -7 17 6 | LINE Normal 4 20 -4 20 7 | LINE Normal -2 23 2 23 8 | ARC Normal -19 4 19 40 29 22 -22 23 9 | PIN 0 0 NONE 8 10 | PINATTR PinName g 11 | PINATTR SpiceOrder 1 12 | -------------------------------------------------------------------------------- /sym32b/circuiTikz/arrow_voltage_1.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName VArrow 7 | BeginTex 8 | \draw [/lt2ti/VArrow] (#+:x1#, #+:y1#) -- (#-:x1#,#-:y1#) node [midway, right] {#self.name# #self.value#}; % volt.arrow 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32b/circuiTikz/arrow_voltage_10.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName VArrow 7 | BeginTex 8 | \draw [/lt2ti/VArrow] (#+:x1#, #+:y1#) -- (#-:x1#,#-:y1#) node [midway, right] {#self.name# #self.value#}; % volt.arrow 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32b/circuiTikz/arrow_voltage_2.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName VArrow 7 | BeginTex 8 | \draw [/lt2ti/VArrow] (#+:x1#, #+:y1#) -- (#-:x1#,#-:y1#) node [midway, right] {#self.name# #self.value#}; % volt.arrow 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32b/circuiTikz/arrow_voltage_3.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName VArrow 7 | BeginTex 8 | \draw [/lt2ti/VArrow] (#+:x1#, #+:y1#) -- (#-:x1#,#-:y1#) node [midway, right] {#self.name# #self.value#}; % volt.arrow 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32b/circuiTikz/arrow_voltage_5.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName VArrow 7 | BeginTex 8 | \draw [/lt2ti/VArrow] (#+:x1#, #+:y1#) -- (#-:x1#,#-:y1#) node [midway, right] {#self.name# #self.value#}; % volt.arrow 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32b/circuiTikz/arrow_voltage_7.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName VArrow 7 | BeginTex 8 | \draw [/lt2ti/VArrow] (#+:x1#, #+:y1#) -- (#-:x1#,#-:y1#) node [midway, right] {#self.name# #self.value#}; % volt.arrow 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym48/circuiTikz/arrow_voltage_1.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName VArrow 7 | BeginTex 8 | \draw [/lt2ti/VArrow] (#+:x1#, #+:y1#) -- (#-:x1#,#-:y1#) node [midway, right] {#self.name# #self.value#}; % volt.arrow 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym48/circuiTikz/arrow_voltage_10.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName VArrow 7 | BeginTex 8 | \draw [/lt2ti/VArrow] (#+:x1#, #+:y1#) -- (#-:x1#,#-:y1#) node [midway, right] {#self.name# #self.value#}; % volt.arrow 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym48/circuiTikz/arrow_voltage_2.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName VArrow 7 | BeginTex 8 | \draw [/lt2ti/VArrow] (#+:x1#, #+:y1#) -- (#-:x1#,#-:y1#) node [midway, right] {#self.name# #self.value#}; % volt.arrow 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym48/circuiTikz/arrow_voltage_3.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName VArrow 7 | BeginTex 8 | \draw [/lt2ti/VArrow] (#+:x1#, #+:y1#) -- (#-:x1#,#-:y1#) node [midway, right] {#self.name# #self.value#}; % volt.arrow 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym48/circuiTikz/arrow_voltage_5.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName VArrow 7 | BeginTex 8 | \draw [/lt2ti/VArrow] (#+:x1#, #+:y1#) -- (#-:x1#,#-:y1#) node [midway, right] {#self.name# #self.value#}; % volt.arrow 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym48/circuiTikz/arrow_voltage_7.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName VArrow 7 | BeginTex 8 | \draw [/lt2ti/VArrow] (#+:x1#, #+:y1#) -- (#-:x1#,#-:y1#) node [midway, right] {#self.name# #self.value#}; % volt.arrow 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/squid.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *squid 7 | BeginTex 8 | \draw (#+:x1#, #+:y1#) to[#self.symbol.latexElementName#, a_=#self.value#,##mirror##, #+:junction#-#-:junction#, ##options##] (#-:x1#,#-:y1#){}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/barrier.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType BLOCK 3 | LINE Normal 0 0 0 -32 4 | LINE Normal 0 32 0 0 5 | LINE Normal 3 3 -3 -3 6 | LINE Normal -3 3 3 -3 7 | CIRCLE Normal -7 25 -10 22 8 | PIN 0 -32 NONE 8 9 | PINATTR PinName + 10 | PINATTR SpiceOrder 1 11 | PIN 0 32 NONE 8 12 | PINATTR PinName - 13 | PINATTR SpiceOrder 2 14 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/barrier.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *barrier 7 | BeginTex 8 | \draw (#+:x1#, #+:y1#) to[#self.symbol.latexElementName#, a_=#self.value#,##mirror##, #+:junction#-#-:junction#, ##options##] (#-:x1#,#-:y1#){}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/voltage.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *V 7 | BeginTex 8 | \draw (#+:x1#, #+:y1#) to[#self.symbol.latexElementName#, l_=#self.name#, a^=#self.value#,##mirror##, #+:junction#-#-:junction#, ##options##] (#-:x1#,#-:y1#){}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/ct_voltmeter.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *voltmeter 7 | BeginTex 8 | \draw (#+:x1#, #+:y1#) to[#self.symbol.latexElementName#, a_=#self.value#,##mirror##, #+:junction#-#-:junction#, ##options##] (#-:x1#,#-:y1#){}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/meter_ampere.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *ammeter 7 | BeginTex 8 | \draw (#+:x1#, #+:y1#) to[#self.symbol.latexElementName#, a_=#self.value#,##mirror##, #+:junction#-#-:junction#, ##options##] (#-:x1#,#-:y1#){}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/meter_ohm.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *ohmmeter 7 | BeginTex 8 | \draw (#+:x1#, #+:y1#) to[#self.symbol.latexElementName#, a_=#self.value#,##mirror##, #+:junction#-#-:junction#, ##options##] (#-:x1#,#-:y1#){}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/meter_volt.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *voltmeter 7 | BeginTex 8 | \draw (#+:x1#, #+:y1#) to[#self.symbol.latexElementName#, a_=#self.value#,##mirror##, #+:junction#-#-:junction#, ##options##] (#-:x1#,#-:y1#){}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/varactor.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *VCo 7 | BeginTex 8 | \draw (#+:x1#, #+:y1#) to[#self.symbol.latexElementName#, l^=#self.name#, a_=#self.value#, ##options##] (#-:x1#,#-:y1#){}; %\node [] at (#self.texx1#,#self.texy1#) {x}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/Misc/battery.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *battery 7 | BeginTex 8 | \draw (#+:x1#, #+:y1#) to[#self.symbol.latexElementName#, l_=#self.name#, a^=#self.value#,##mirror_mirror##, #+:junction#-#-:junction#, ##options##] (#-:x1#,#-:y1#){}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/Misc/cell.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *battery1 7 | BeginTex 8 | \draw (#+:x1#, #+:y1#) to[#self.symbol.latexElementName#, l_=#self.name#, a^=#self.value#,##mirror_mirror##, #+:junction#-#-:junction#, ##options##] (#-:x1#,#-:y1#){}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/vco.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *vco 7 | BeginTex 8 | \draw (#+:x1#, #+:y1#) to[#self.symbol.latexElementName#, l_=#self.name#, a^=#self.value#,##mirror_mirror##, #+:junction#-#-:junction#, ##options##] (#-:x1#,#-:y1#){}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/schottky.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *sDo 7 | BeginTex 8 | \draw (#+:x1#, #+:y1#) to[#self.symbol.latexElementName#, l^=#self.name#, a_=#self.value#, ##options##] (#-:x1#,#-:y1#){}; 9 | %\node [] at (#self.texx1#,#self.texy1#) {x}; 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym32a/zener.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *zzDo 7 | BeginTex 8 | \draw (#+:x1#, #+:y1#) to[#self.symbol.latexElementName#, l^=#self.name#, a_=#self.value#, ##options##] (#-:x1#,#-:y1#){}; 9 | %\node [] at (#self.texx1#,#self.texy1#) {x}; 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym32b/schottky.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *sDo 7 | BeginTex 8 | \draw (#+:x1#, #+:y1#) to[#self.symbol.latexElementName#, l^=#self.name#, a_=#self.value#, ##options##] (#-:x1#,#-:y1#){}; 9 | %\node [] at (#self.texx1#,#self.texy1#) {x}; 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym32b/zener.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *zzDo 7 | BeginTex 8 | \draw (#+:x1#, #+:y1#) to[#self.symbol.latexElementName#, l^=#self.name#, a_=#self.value#, ##options##] (#-:x1#,#-:y1#){}; 9 | %\node [] at (#self.texx1#,#self.texy1#) {x}; 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym48/diode.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *diode 7 | BeginTex 8 | \draw (#+:x1#, #+:y1#) to[#self.symbol.latexElementName#, l^=#self.name#, a_=#self.value#, ##options##] (#-:x1#,#-:y1#){}; 9 | %\node [] at (#self.texx1#,#self.texy1#) {x}; 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym48/schottky.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *sDo 7 | BeginTex 8 | \draw (#+:x1#, #+:y1#) to[#self.symbol.latexElementName#, l^=#self.name#, a_=#self.value#, ##options##] (#-:x1#,#-:y1#){}; 9 | %\node [] at (#self.texx1#,#self.texy1#) {x}; 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym48/zener.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *zzDo 7 | BeginTex 8 | \draw (#+:x1#, #+:y1#) to[#self.symbol.latexElementName#, l^=#self.name#, a_=#self.value#, ##options##] (#-:x1#,#-:y1#){}; 9 | %\node [] at (#self.texx1#,#self.texy1#) {x}; 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym32a/Misc/signal.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *vsourcesin 7 | BeginTex 8 | \draw (#+:x1#, #+:y1#) to[#self.symbol.latexElementName#, l_=#self.name#, a^=#self.value#,##mirror_mirror##, #+:junction#-#-:junction#, ##options##] (#-:x1#,#-:y1#){}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/dc_current_us.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *dcisource 7 | BeginTex 8 | \draw (#+:x1#, #+:y1#) to[#self.symbol.latexElementName#, l=#self.name#, a=#self.value#,##mirror##, #+:junction#-#-:junction#, ##options##] (#-:x1#,#-:y1#){}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/oo_current.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *ioosource 7 | BeginTex 8 | \draw (#+:x1#, #+:y1#) to[#self.symbol.latexElementName#, l=#self.name#, a=#self.value#,##mirror##, #+:junction#-#-:junction#, ##options##] (#-:x1#,#-:y1#){}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/oo_voltage.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *voosource 7 | BeginTex 8 | \draw (#+:x1#, #+:y1#) to[#self.symbol.latexElementName#, l_=#self.name#, a^=#self.value#,##mirror##, #+:junction#-#-:junction#, ##options##] (#-:x1#,#-:y1#){}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/LED.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *leDo 7 | BeginTex 8 | \draw (#+:x1#, #+:y1#) to[#self.symbol.latexElementName#, l^=#self.name#, a_=#self.value#, ##mirror_mirror##, ##options##] (#-:x1#,#-:y1#){}; %\node [] at (#self.texx1#,#self.texy1#) {x}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/bv_signal.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *cvsourcesin 7 | BeginTex 8 | \draw (#+:x1#, #+:y1#) to[#self.symbol.latexElementName#, l_=#self.name#, a^=#self.value#,##mirror_mirror##, #+:junction#-#-:junction#, ##options##] (#-:x1#,#-:y1#){}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/ct_voltage_oo.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *voosource 7 | BeginTex 8 | \draw (#+:x1#, #+:y1#) to[#self.symbol.latexElementName#, l_=#self.name#, a^=#self.value#,##mirror##, #+:junction#-#-:junction#, ##options##] (#-:x1#,#-:y1#){}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/vee.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 0 16 0 0 4 | LINE Normal -4 10 0 16 5 | LINE Normal 4 10 0 16 6 | WINDOW 3 16 16 Left 2 7 | SYMATTR Prefix X 8 | SYMATTR Description Voltage arrow 9 | PIN 0 16 NONE 8 10 | PINATTR PinName - 11 | PINATTR SpiceOrder 1 12 | PIN 0 0 NONE 8 13 | PINATTR PinName + 14 | PINATTR SpiceOrder 2 15 | -------------------------------------------------------------------------------- /sym32a/bi.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *american controlled current source 7 | BeginTex 8 | \draw (#+:x1#, #+:y1#) to[#self.symbol.latexElementName#, l_=#self.name#, a^={#self.value#},##mirror##, #+:junction#-#-:junction#, ##options##] (#-:x1#,#-:y1#){}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/signal_square.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *vsourcesin 7 | BeginTex 8 | \draw (#+:x1#, #+:y1#) to[#self.symbol.latexElementName#, l_=#self.name#, a^=#self.value#,##mirror_mirror##, #+:junction#-#-:junction#, ##options##] (#-:x1#,#-:y1#){}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/vcc.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 0 -16 0 0 4 | LINE Normal -4 -10 0 -16 5 | LINE Normal 4 -10 0 -16 6 | WINDOW 3 16 -16 Left 2 7 | SYMATTR Prefix X 8 | SYMATTR Description Voltage arrow 9 | PIN 0 -16 NONE 8 10 | PINATTR PinName - 11 | PINATTR SpiceOrder 1 12 | PIN 0 0 NONE 8 13 | PINATTR PinName + 14 | PINATTR SpiceOrder 2 15 | -------------------------------------------------------------------------------- /sym48/circuiTikz/res_eu.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *resistor 7 | BeginTex 8 | \draw (#A:x1#, #A:y1#) to[#self.symbol.latexElementName#, l_=#self.name#, a^=#self.value#, ##options##] (#B:x1#,#B:y1#){}; 9 | %\node [] at (#self.texx1#,#self.texy1#) {x}; 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym32a/bv.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *american controlled voltage source 7 | BeginTex 8 | \draw (#+:x1#, #+:y1#) to[#self.symbol.latexElementName#, l_=#self.name#, a^={#self.value#},##mirror_mirror##, #+:junction#-#-:junction#, ##options##] (#-:x1#,#-:y1#){}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/current_us.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *american current source 7 | BeginTex 8 | \draw (#+:x1#, #+:y1#) to[#self.symbol.latexElementName#, l=#self.name#, a=#self.value#,##mirror##, #+:junction#-#-:junction#, ##options##] (#-:x1#,#-:y1#){}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/surgearrester_us.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *american gas filled surge arrester 7 | BeginTex 8 | \draw (#+:x1#, #+:y1#) to[#self.symbol.latexElementName#, a_=#self.value#,##mirror##, #+:junction#-#-:junction#, ##options##] (#-:x1#,#-:y1#){}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/terminal_connector.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName VArrow 7 | BeginTex 8 | \draw (#+:x1#, #+:y1#) to [*short, o-, ##options##] (#-:x1#,#-:y1#); \node [netlabelcolor] at (#+:x1#, #+:y1#+0.4) {{\pgfkeysvalueof{/lt2ti/netlabel/font}#self.value#}}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/us_voltage.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *american voltage source 7 | BeginTex 8 | \draw (#+:x1#, #+:y1#) to[#self.symbol.latexElementName#, l_=#self.name#, a^=#self.value#,##mirror##, #+:junction#-#-:junction#, ##options##] (#-:x1#,#-:y1#){}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/polcap.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *pC 7 | BeginTex 8 | \draw (#B:x1#, #B:y1#) to[#self.symbol.latexElementName#, l^=#self.name#, a_=#self.value#, #B:junction#-#A:junction#, ##options##] (#A:x1#,#A:y1#){}; %\node [] at (#self.texx1#,#self.texy1#) {x}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/res.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *resistor 7 | BeginTex 8 | \draw (#A:x1#, #A:y1#) to[#self.symbol.latexElementName#, l^=#self.name#, a_=#self.value#, #A:junction#-#B:junction#, ##options##] (#B:x1#,#B:y1#){}; %\node [] at (#self.texx1#,#self.texy1#) {x}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/sw.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *switch 7 | BeginTex 8 | \draw (#A:x1#, #A:y1#) to[#self.symbol.latexElementName#, l^=#self.name#, a_=#self.value#, #A:junction#-#B:junction#, ##options##] (#B:x1#,#B:y1#){}; %\node [] at (#self.texx1#,#self.texy1#) {x}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/ct_voltage_us.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *american voltage source 7 | BeginTex 8 | \draw (#+:x1#, #+:y1#) to[#self.symbol.latexElementName#, l_=#self.name#, a^=#self.value#,##mirror##, #+:junction#-#-:junction#, ##options##] (#-:x1#,#-:y1#){}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/photodiode.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *pDo 7 | BeginTex 8 | \draw (#+:x1#, #+:y1#) to[#self.symbol.latexElementName#, l^=#self.name#, a_=#self.value#, ##mirror_mirror##, ##options##] (#-:x1#,#-:y1#){}; %\node [] at (#self.texx1#,#self.texy1#) {x}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/zenerL.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *zDo 7 | BeginTex 8 | \draw (#+:x1#, #+:y1#) to[#self.symbol.latexElementName#, l^=#self.name#, a_=#self.value#, ##mirror_mirror##, ##options##] (#-:x1#,#-:y1#){}; %\node [] at (#self.texx1#,#self.texy1#) {x}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/zenerZ.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *zzDo 7 | BeginTex 8 | \draw (#+:x1#, #+:y1#) to[#self.symbol.latexElementName#, l^=#self.name#, a_=#self.value#, ##mirror_mirror##, ##options##] (#-:x1#,#-:y1#){}; %\node [] at (#self.texx1#,#self.texy1#) {x}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/ind2.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *inductor 7 | BeginTex 8 | \draw (#A:x1#, #A:y1#) to[#self.symbol.latexElementName#, l=#self.name#, a=#self.value#, #A:junction#-#B:junction# ##options##] (#B:x1#,#B:y1#){}; 9 | %\node [] at (#self.texx1#,#self.texy1#) {x}; 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym32b/ind2.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *inductor 7 | BeginTex 8 | \draw (#A:x1#, #A:y1#) to[#self.symbol.latexElementName#, l=#self.name#, a=#self.value#, #A:junction#-#B:junction# ##options##] (#B:x1#,#B:y1#){}; 9 | %\node [] at (#self.texx1#,#self.texy1#) {x}; 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym48/cap.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *capacitor 7 | BeginTex 8 | \draw (#A:x1#, #A:y1#) to[#self.symbol.latexElementName#, a=#self.name#, l=#self.value#, #A:junction#-#B:junction#, ##options##] (#B:x1#,#B:y1#){}; 9 | %\node [] at (#self.texx1#,#self.texy1#) {x}; 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym48/ind.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *inductor 7 | BeginTex 8 | \draw (#A:x1#, #A:y1#) to[#self.symbol.latexElementName#, l_=#self.name#, a^=#self.value#, #A:junction#-#B:junction# ##options##] (#B:x1#,#B:y1#){}; 9 | %\node [] at (#self.texx1#,#self.texy1#) {x}; 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym48/ind2.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *inductor 7 | BeginTex 8 | \draw (#A:x1#, #A:y1#) to[#self.symbol.latexElementName#, l=#self.name#, a=#self.value#, #A:junction#-#B:junction# ##options##] (#B:x1#,#B:y1#){}; 9 | %\node [] at (#self.texx1#,#self.texy1#) {x}; 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym32a/cap.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *capacitor 7 | BeginTex 8 | \draw (#A:x1#, #A:y1#) to[#self.symbol.latexElementName#, l^=#self.name#, a_=#self.value#, #A:junction#-#B:junction#, ##options##] (#B:x1#,#B:y1#){}; 9 | %\node [] at (#self.texx1#,#self.texy1#) {x}; 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/blockdiagram/adc.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *adc 7 | BeginTex 8 | \draw (#-:x1#, #-:y1#) to[#self.symbol.latexElementName#, t=#self.value#, l_=#self.name#, a^=#self.value#,##mirror_mirror##, #-:junction#-#+:junction#, ##options##] (#+:x1#,#+:y1#){}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/blockdiagram/amp.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *amp 7 | BeginTex 8 | \draw (#-:x1#, #-:y1#) to[#self.symbol.latexElementName#, t=#self.value#, l_=#self.name#, a^=#self.value#,##mirror_mirror##, #-:junction#-#+:junction#, ##options##] (#+:x1#,#+:y1#){}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/blockdiagram/dac.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *dac 7 | BeginTex 8 | \draw (#-:x1#, #-:y1#) to[#self.symbol.latexElementName#, t=#self.value#, l_=#self.name#, a^=#self.value#,##mirror_mirror##, #-:junction#-#+:junction#, ##options##] (#+:x1#,#+:y1#){}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/blockdiagram/dsp.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *dsp 7 | BeginTex 8 | \draw (#-:x1#, #-:y1#) to[#self.symbol.latexElementName#, t=#self.value#, l_=#self.name#, a^=#self.value#,##mirror_mirror##, #-:junction#-#+:junction#, ##options##] (#+:x1#,#+:y1#){}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/blockdiagram/fft.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *fft 7 | BeginTex 8 | \draw (#-:x1#, #-:y1#) to[#self.symbol.latexElementName#, t=#self.value#, l_=#self.name#, a^=#self.value#,##mirror_mirror##, #-:junction#-#+:junction#, ##options##] (#+:x1#,#+:y1#){}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/blockdiagram/vco.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *vco 7 | BeginTex 8 | \draw (#-:x1#, #-:y1#) to[#self.symbol.latexElementName#, t=#self.value#, l_=#self.name#, a^=#self.value#,##mirror_mirror##, #-:junction#-#+:junction#, ##options##] (#+:x1#,#+:y1#){}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/blockdiagram/vga.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *vamp 7 | BeginTex 8 | \draw (#-:x1#, #-:y1#) to[#self.symbol.latexElementName#, t=#self.value#, l_=#self.name#, a^=#self.value#,##mirror_mirror##, #-:junction#-#+:junction#, ##options##] (#+:x1#,#+:y1#){}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/fuse.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *fuse 7 | BeginTex 8 | \draw (#A:x1#, #A:y1#) to[#self.symbol.latexElementName#, l^=#self.name#, a_=#self.value#, #A:junction#-#B:junction#, ##options##] (#B:x1#,#B:y1#){}; %\node [] at (#self.texx1#,#self.texy1#) {x}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/surgearrester_eu.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType BLOCK 3 | LINE Normal 0 -32 0 -18 4 | LINE Normal 0 32 0 18 5 | LINE Normal 0 -5 0 -18 6 | LINE Normal 2 -8 0 -5 7 | LINE Normal -2 -8 0 -5 8 | RECTANGLE Normal 7 18 -7 -18 9 | PIN 0 -32 NONE 8 10 | PINATTR PinName + 11 | PINATTR SpiceOrder 1 12 | PIN 0 32 NONE 8 13 | PINATTR PinName - 14 | PINATTR SpiceOrder 2 15 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/surgearrester_eu.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *european gas filled surge arrester 7 | BeginTex 8 | \draw (#+:x1#, #+:y1#) to[#self.symbol.latexElementName#, a_=#self.value#, ##mirror_mirror##, #+:junction#-#-:junction#, ##options##] (#-:x1#,#-:y1#){}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/terminal_connector.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 0 0 0 -16 4 | CIRCLE Normal 7 -9 -7 -23 5 | WINDOW 0 16 -16 Left 2 6 | WINDOW 3 16 0 Left 2 7 | SYMATTR Prefix X 8 | SYMATTR Description Voltage arrow 9 | PIN 0 0 NONE 8 10 | PINATTR PinName - 11 | PINATTR SpiceOrder 1 12 | PIN 0 -16 NONE 8 13 | PINATTR PinName + 14 | PINATTR SpiceOrder 2 15 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/tunneldiode.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *tDo 7 | BeginTex 8 | \draw (#+:x1#, #+:y1#) to[#self.symbol.latexElementName#, l^=#self.name#, a_=#self.value#, ##mirror_mirror##, ##options##] (#-:x1#,#-:y1#){}; %\node [] at (#self.texx1#,#self.texy1#) {x}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/ind.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *inductor 7 | BeginTex 8 | \draw (#A:x1#, #A:y1#) to[#self.symbol.latexElementName#, l^=#self.name#, a_=#self.value#, #A:junction#-#B:junction# ##options##] (#B:x1#,#B:y1#){}; 9 | %\node [] at (#self.texx1#,#self.texy1#) {x}; 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym32b/cap.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *capacitor 7 | BeginTex 8 | \draw (#A:x1#, #A:y1#) to[#self.symbol.latexElementName#, a=#self.name#, l=#self.value#, #A:junction#-#B:junction#, ##options##] (#B:x1#,#B:y1#){}; 9 | %\node [] at (#self.texx1#,#self.texy1#) {x}; 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym32b/ind.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *inductor 7 | BeginTex 8 | \draw (#A:x1#, #A:y1#) to[#self.symbol.latexElementName#, l_=#self.name#, a^=#self.value#, #A:junction#-#B:junction# ##options##] (#B:x1#,#B:y1#){}; 9 | %\node [] at (#self.texx1#,#self.texy1#) {x}; 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym32b/res.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *resistor 7 | BeginTex 8 | \draw (#A:x1#, #A:y1#) to[#self.symbol.latexElementName#, l_=#self.name#, a^=#self.value#, #A:junction#-#B:junction#, ##options##] (#B:x1#,#B:y1#){}; 9 | %\node [] at (#self.texx1#,#self.texy1#) {x}; 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym48/res.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *resistor 7 | BeginTex 8 | \draw (#A:x1#, #A:y1#) to[#self.symbol.latexElementName#, l_=#self.name#, a^=#self.value#, #A:junction#-#B:junction#, ##options##] (#B:x1#,#B:y1#){}; 9 | %\node [] at (#self.texx1#,#self.texy1#) {x}; 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/blockdiagram/lowpass.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *lowpass 7 | BeginTex 8 | \draw (#-:x1#, #-:y1#) to[#self.symbol.latexElementName#, t=#self.value#, l_=#self.name#, a^=#self.value#,##mirror_mirror##, #-:junction#-#+:junction#, ##options##] (#+:x1#,#+:y1#){}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/blockdiagram/twoport.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *twoport 7 | BeginTex 8 | \draw (#-:x1#, #-:y1#) to[#self.symbol.latexElementName#, t=#self.value#, l_=#self.name#, a^=#self.value#,##mirror_mirror##, #-:junction#-#+:junction#, ##options##] (#+:x1#,#+:y1#){}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/generic.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *generic 7 | BeginTex 8 | \draw (#A:x1#, #A:y1#) to[#self.symbol.latexElementName#, l^=#self.name#, a_=#self.value#, #A:junction#-#B:junction#, ##options##] (#B:x1#,#B:y1#){}; %\node [] at (#self.texx1#,#self.texy1#) {x}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym48/circuiTikz/ind3.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *inductor 7 | BeginTex 8 | \draw (#A:x1#, #A:y1#) to[#self.symbol.latexElementName#, l=#self.name#, a=#self.value#, #A:junction#-#B:junction# ##options##] (#B:x1#,#B:y1#){}; 9 | %\node [] at (#self.texx1#,#self.texy1#) {x}; 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym48/circuiTikz/res3.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *resistor 7 | BeginTex 8 | \draw (#A:x1#, #A:y1#) to[#self.symbol.latexElementName#, l=#self.name#, a=#self.value#, #A:junction#-#B:junction#, ##options##] (#B:x1#,#B:y1#){}; 9 | \node [] at (#self.texx1#,#self.texy1#) {x}; 10 | EndTex 11 | -------------------------------------------------------------------------------- /lt2ti_Prj.wpr: -------------------------------------------------------------------------------- 1 | #!wing 2 | #!version=6.0 3 | ################################################################## 4 | # Wing IDE project file # 5 | ################################################################## 6 | [project attributes] 7 | proj.file-list = [loc('lt2ti.py'), 8 | loc('test_lt2ti.py')] 9 | proj.file-type = 'shared' 10 | -------------------------------------------------------------------------------- /sym32a/Misc/xtal.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *PZ 7 | BeginTex 8 | \draw (#A:x1#, #A:y1#) to[#self.symbol.latexElementName#, l^=#self.name#, a_=#self.value#, #A:junction#-#B:junction#, ##mirror_mirror##, ##options##] (#B:x1#,#B:y1#){}; %\node [] at (#self.texx1#,#self.texy1#) {x}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/blockdiagram/bandpass.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *bandpass 7 | BeginTex 8 | \draw (#-:x1#, #-:y1#) to[#self.symbol.latexElementName#, t=#self.value#, l_=#self.name#, a^=#self.value#,##mirror_mirror##, #-:junction#-#+:junction#, ##options##] (#+:x1#,#+:y1#){}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/blockdiagram/bandstop.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *bandstop 7 | BeginTex 8 | \draw (#-:x1#, #-:y1#) to[#self.symbol.latexElementName#, t=#self.value#, l_=#self.name#, a^=#self.value#,##mirror_mirror##, #-:junction#-#+:junction#, ##options##] (#+:x1#,#+:y1#){}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/blockdiagram/detector.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *detector 7 | BeginTex 8 | \draw (#-:x1#, #-:y1#) to[#self.symbol.latexElementName#, t=#self.value#, l_=#self.name#, a^=#self.value#,##mirror_mirror##, #-:junction#-#+:junction#, ##options##] (#+:x1#,#+:y1#){}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/blockdiagram/highpass.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *highpass 7 | BeginTex 8 | \draw (#-:x1#, #-:y1#) to[#self.symbol.latexElementName#, t=#self.value#, l_=#self.name#, a^=#self.value#,##mirror_mirror##, #-:junction#-#+:junction#, ##options##] (#+:x1#,#+:y1#){}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/fuse_asymmetric.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *afuse 7 | BeginTex 8 | \draw (#A:x1#, #A:y1#) to[#self.symbol.latexElementName#, l^=#self.name#, a_=#self.value#, #A:junction#-#B:junction#, ##options##] (#B:x1#,#B:y1#){}; %\node [] at (#self.texx1#,#self.texy1#) {x}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/ind3.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *inductor 7 | BeginTex 8 | \draw (#A:x1#, #A:y1#) to[#self.symbol.latexElementName#, l=#self.name#, a=#self.value#, #A:junction#-#B:junction# ##options##] (#B:x1#,#B:y1#){}; 9 | %\node [] at (#self.texx1#,#self.texy1#) {x}; 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/res3.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *resistor 7 | BeginTex 8 | \draw (#A:x1#, #A:y1#) to[#self.symbol.latexElementName#, l=#self.name#, a=#self.value#, #A:junction#-#B:junction#, ##options##] (#B:x1#,#B:y1#){}; 9 | \node [] at (#self.texx1#,#self.texy1#) {x}; 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/res_eu2.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *resistor 7 | BeginTex 8 | \draw (#A:x1#, #A:y1#) to[#self.symbol.latexElementName#, a=#self.name#, l=#self.value#, #A:junction#-#B:junction#, ##options##] (#B:x1#,#B:y1#){}; 9 | %\node [] at (#self.texx1#,#self.texy1#) {x}; 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym32b/circuiTikz/ind3.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *inductor 7 | BeginTex 8 | \draw (#A:x1#, #A:y1#) to[#self.symbol.latexElementName#, l=#self.name#, a=#self.value#, #A:junction#-#B:junction# ##options##] (#B:x1#,#B:y1#){}; 9 | %\node [] at (#self.texx1#,#self.texy1#) {x}; 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym32b/circuiTikz/res3.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *resistor 7 | BeginTex 8 | \draw (#A:x1#, #A:y1#) to[#self.symbol.latexElementName#, l=#self.name#, a=#self.value#, #A:junction#-#B:junction#, ##options##] (#B:x1#,#B:y1#){}; 9 | \node [] at (#self.texx1#,#self.texy1#) {x}; 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym32b/circuiTikz/res_eu2.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *resistor 7 | BeginTex 8 | \draw (#A:x1#, #A:y1#) to[#self.symbol.latexElementName#, a=#self.name#, l=#self.value#, #A:junction#-#B:junction#, ##options##] (#B:x1#,#B:y1#){}; 9 | %\node [] at (#self.texx1#,#self.texy1#) {x}; 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym48/circuiTikz/ind_eu.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *inductor 7 | BeginTex 8 | \draw (#A:x1#, #A:y1#) to[#self.symbol.latexElementName#, l_=#self.name#, a^=#self.value#, #A:junction#-#B:junction# ##options##] (#B:x1#,#B:y1#){}; 9 | %\node [] at (#self.texx1#,#self.texy1#) {x}; 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym48/circuiTikz/res_eu2.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *resistor 7 | BeginTex 8 | \draw (#A:x1#, #A:y1#) to[#self.symbol.latexElementName#, a=#self.name#, l=#self.value#, #A:junction#-#B:junction#, ##options##] (#B:x1#,#B:y1#){}; 9 | %\node [] at (#self.texx1#,#self.texy1#) {x}; 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/arrow_supply1.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 0 0 0 -16 4 | LINE Normal 5 -6 0 0 5 | LINE Normal -4 -6 0 0 6 | WINDOW 0 16 -16 Left 2 7 | WINDOW 3 16 0 Left 2 8 | SYMATTR Prefix X 9 | SYMATTR Description Voltage arrow 10 | PIN 0 0 NONE 8 11 | PINATTR PinName - 12 | PINATTR SpiceOrder 1 13 | PIN 0 -16 NONE 8 14 | PINATTR PinName + 15 | PINATTR SpiceOrder 2 16 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/blockdiagram/phaseshifter.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *phaseshifter 7 | BeginTex 8 | \draw (#-:x1#, #-:y1#) to[#self.symbol.latexElementName#, t=#self.value#, l_=#self.name#, a^=#self.value#,##mirror_mirror##, #-:junction#-#+:junction#, ##options##] (#+:x1#,#+:y1#){}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/blockdiagram/piattenuator.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *piattenuator 7 | BeginTex 8 | \draw (#-:x1#, #-:y1#) to[#self.symbol.latexElementName#, t=#self.value#, l_=#self.name#, a^=#self.value#,##mirror_mirror##, #-:junction#-#+:junction#, ##options##] (#+:x1#,#+:y1#){}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/blockdiagram/tattenuator.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *tattenuator 7 | BeginTex 8 | \draw (#-:x1#, #-:y1#) to[#self.symbol.latexElementName#, t=#self.value#, l_=#self.name#, a^=#self.value#,##mirror_mirror##, #-:junction#-#+:junction#, ##options##] (#+:x1#,#+:y1#){}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/vcc.asy2tex: -------------------------------------------------------------------------------- 1 | Type Node 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName vcc 7 | BeginTex 8 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, xscale=##mirror_xscale_value##, yscale=1, rotate=##rotate##, ##options##] (#self.name#) {}; \draw (#self.name#)++(0.75,0.5) node {#self.value#}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/vee.asy2tex: -------------------------------------------------------------------------------- 1 | Type Node 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName vee 7 | BeginTex 8 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, xscale=##mirror_xscale_value##, yscale=1, rotate=##rotate##, ##options##] (#self.name#) {}; \draw (#self.name#)++(0.75,-0.5) node {#self.value#}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/tline.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *tline 7 | BeginTex 8 | \draw (#I1:x1#, #I1:y1#) to[#self.symbol.latexElementName#, l^=#self.name#, a_=#self.value#, #I1:junction#-#I2:junction#, ##mirror_mirror##, ##options##] (#I2:x1#,#I2:y1#){}; %\node [] at (#self.texx1#,#self.texy1#) {x}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32b/circuiTikz/ind_eu.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *inductor 7 | BeginTex 8 | \draw (#A:x1#, #A:y1#) to[#self.symbol.latexElementName#, l^=#self.name#, a_=#self.value#, #A:junction#-#B:junction#, ##options##] (#B:x1#,#B:y1#){}; 9 | %\node [] at (#self.texx1#,#self.texy1#) {x}; 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym32b/circuiTikz/res_eu.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *resistor 7 | BeginTex 8 | \draw (#A:x1#, #A:y1#) to[#self.symbol.latexElementName#, l^=#self.name#, a_=#self.value#, #A:junction#-#B:junction#, ##options##] (#B:x1#,#B:y1#){}; 9 | %\node [] at (#self.texx1#,#self.texy1#) {x}; 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym48/circuiTikz/arrow_voltage_1.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 0 0 0 -16 4 | LINE Normal 5 -6 0 0 5 | LINE Normal -4 -6 0 0 6 | WINDOW 0 16 -16 Left 2 7 | WINDOW 3 16 0 Left 2 8 | SYMATTR Prefix X 9 | SYMATTR Description Voltage arrow 10 | PIN 0 0 NONE 8 11 | PINATTR PinName - 12 | PINATTR SpiceOrder 1 13 | PIN 0 -16 NONE 8 14 | PINATTR PinName + 15 | PINATTR SpiceOrder 2 16 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/arrow_voltage_1.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 0 0 0 -16 4 | LINE Normal 5 -6 0 0 5 | LINE Normal -4 -6 0 0 6 | WINDOW 0 16 -16 Left 2 7 | WINDOW 3 16 0 Left 2 8 | SYMATTR Prefix X 9 | SYMATTR Description Voltage arrow 10 | PIN 0 0 NONE 8 11 | PINATTR PinName - 12 | PINATTR SpiceOrder 1 13 | PIN 0 -16 NONE 8 14 | PINATTR PinName + 15 | PINATTR SpiceOrder 2 16 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/arrow_voltage_2.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 0 0 0 -32 4 | LINE Normal 5 -6 0 0 5 | LINE Normal -4 -6 0 0 6 | WINDOW 0 16 -27 Left 2 7 | WINDOW 3 16 -8 Left 2 8 | SYMATTR Prefix X 9 | SYMATTR Description Voltage arrow 10 | PIN 0 0 NONE 8 11 | PINATTR PinName - 12 | PINATTR SpiceOrder 1 13 | PIN 0 -32 NONE 8 14 | PINATTR PinName + 15 | PINATTR SpiceOrder 2 16 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/arrow_voltage_3.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 0 0 0 -48 4 | LINE Normal 5 -6 0 0 5 | LINE Normal -4 -6 0 0 6 | WINDOW 0 16 -27 Left 2 7 | WINDOW 3 16 -9 Left 2 8 | SYMATTR Prefix X 9 | SYMATTR Description Voltage arrow 10 | PIN 0 0 NONE 8 11 | PINATTR PinName - 12 | PINATTR SpiceOrder 1 13 | PIN 0 -48 NONE 8 14 | PINATTR PinName + 15 | PINATTR SpiceOrder 2 16 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/arrow_voltage_5.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 0 0 0 -80 4 | LINE Normal 5 -6 0 0 5 | LINE Normal -4 -6 0 0 6 | WINDOW 0 16 -48 Left 2 7 | WINDOW 3 16 -32 Left 2 8 | SYMATTR Prefix X 9 | SYMATTR Description Voltage arrow 10 | PIN 0 0 NONE 8 11 | PINATTR PinName - 12 | PINATTR SpiceOrder 1 13 | PIN 0 -80 NONE 8 14 | PINATTR PinName + 15 | PINATTR SpiceOrder 2 16 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/arrow_voltage_7.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 0 0 0 -112 4 | LINE Normal 5 -6 0 0 5 | LINE Normal -4 -6 0 0 6 | WINDOW 0 16 -80 Left 2 7 | WINDOW 3 16 -48 Left 2 8 | SYMATTR Prefix X 9 | SYMATTR Description Voltage arrow 10 | PIN 0 0 NONE 8 11 | PINATTR PinName - 12 | PINATTR SpiceOrder 1 13 | PIN 0 -112 NONE 8 14 | PINATTR PinName + 15 | PINATTR SpiceOrder 2 16 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/blockdiagram/phaseshifter_var.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *vphaseshifter 7 | BeginTex 8 | \draw (#-:x1#, #-:y1#) to[#self.symbol.latexElementName#, t=#self.value#, l_=#self.name#, a^=#self.value#,##mirror_mirror##, #-:junction#-#+:junction#, ##options##] (#+:x1#,#+:y1#){}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/blockdiagram/piattenuator_var.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *vpiattenuator 7 | BeginTex 8 | \draw (#-:x1#, #-:y1#) to[#self.symbol.latexElementName#, t=#self.value#, l_=#self.name#, a^=#self.value#,##mirror_mirror##, #-:junction#-#+:junction#, ##options##] (#+:x1#,#+:y1#){}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/blockdiagram/tattenuator_var.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *vtattenuator 7 | BeginTex 8 | \draw (#-:x1#, #-:y1#) to[#self.symbol.latexElementName#, t=#self.value#, l_=#self.name#, a^=#self.value#,##mirror_mirror##, #-:junction#-#+:junction#, ##options##] (#+:x1#,#+:y1#){}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/netlabel.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *netlabel 7 | BeginTex 8 | \node (#self.label#) [] at (#self.texx1#,#self.texy1#) {};% label mark 9 | \node (#self.label#txt) [##options## netlabelcolor, above= -0.24cm of #self.label#] {{\pgfkeysvalueof{/lt2ti/netlabel/font}#self.labelstr#}}; 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym32b/circuiTikz/arrow_voltage_1.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 0 0 0 -16 4 | LINE Normal 5 -6 0 0 5 | LINE Normal -4 -6 0 0 6 | WINDOW 0 16 -16 Left 2 7 | WINDOW 3 16 0 Left 2 8 | SYMATTR Prefix X 9 | SYMATTR Description Voltage arrow 10 | PIN 0 0 NONE 8 11 | PINATTR PinName - 12 | PINATTR SpiceOrder 1 13 | PIN 0 -16 NONE 8 14 | PINATTR PinName + 15 | PINATTR SpiceOrder 2 16 | -------------------------------------------------------------------------------- /sym32b/circuiTikz/arrow_voltage_2.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 0 0 0 -32 4 | LINE Normal 5 -6 0 0 5 | LINE Normal -4 -6 0 0 6 | WINDOW 0 16 -27 Left 2 7 | WINDOW 3 16 -8 Left 2 8 | SYMATTR Prefix X 9 | SYMATTR Description Voltage arrow 10 | PIN 0 0 NONE 8 11 | PINATTR PinName - 12 | PINATTR SpiceOrder 1 13 | PIN 0 -32 NONE 8 14 | PINATTR PinName + 15 | PINATTR SpiceOrder 2 16 | -------------------------------------------------------------------------------- /sym32b/circuiTikz/arrow_voltage_3.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 0 0 0 -48 4 | LINE Normal 5 -6 0 0 5 | LINE Normal -4 -6 0 0 6 | WINDOW 0 16 -27 Left 2 7 | WINDOW 3 16 -9 Left 2 8 | SYMATTR Prefix X 9 | SYMATTR Description Voltage arrow 10 | PIN 0 0 NONE 8 11 | PINATTR PinName - 12 | PINATTR SpiceOrder 1 13 | PIN 0 -48 NONE 8 14 | PINATTR PinName + 15 | PINATTR SpiceOrder 2 16 | -------------------------------------------------------------------------------- /sym32b/circuiTikz/arrow_voltage_5.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 0 0 0 -80 4 | LINE Normal 5 -6 0 0 5 | LINE Normal -4 -6 0 0 6 | WINDOW 0 16 -48 Left 2 7 | WINDOW 3 16 -32 Left 2 8 | SYMATTR Prefix X 9 | SYMATTR Description Voltage arrow 10 | PIN 0 0 NONE 8 11 | PINATTR PinName - 12 | PINATTR SpiceOrder 1 13 | PIN 0 -80 NONE 8 14 | PINATTR PinName + 15 | PINATTR SpiceOrder 2 16 | -------------------------------------------------------------------------------- /sym32b/circuiTikz/arrow_voltage_7.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 0 0 0 -112 4 | LINE Normal 5 -6 0 0 5 | LINE Normal -4 -6 0 0 6 | WINDOW 0 16 -80 Left 2 7 | WINDOW 3 16 -48 Left 2 8 | SYMATTR Prefix X 9 | SYMATTR Description Voltage arrow 10 | PIN 0 0 NONE 8 11 | PINATTR PinName - 12 | PINATTR SpiceOrder 1 13 | PIN 0 -112 NONE 8 14 | PINATTR PinName + 15 | PINATTR SpiceOrder 2 16 | -------------------------------------------------------------------------------- /sym32b/netlabel.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *netlabel 7 | BeginTex 8 | \node (#self.label#) [] at (#self.texx1#,#self.texy1#) {};% label mark 9 | \node (#self.label#txt) [##options## netlabelcolor, above= -0.25cm of #self.label#] {{\pgfkeysvalueof{/lt2ti/netlabel/font}#self.labelstr#}}; 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym48/circuiTikz/arrow_voltage_10.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 0 0 0 -160 4 | LINE Normal 5 -6 0 0 5 | LINE Normal -4 -6 0 0 6 | WINDOW 0 16 -96 Left 2 7 | WINDOW 3 16 -64 Left 2 8 | SYMATTR Prefix X 9 | SYMATTR Description Voltage arrow 10 | PIN 0 0 NONE 8 11 | PINATTR PinName - 12 | PINATTR SpiceOrder 1 13 | PIN 0 -160 NONE 8 14 | PINATTR PinName + 15 | PINATTR SpiceOrder 2 16 | -------------------------------------------------------------------------------- /sym48/circuiTikz/arrow_voltage_2.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 0 0 0 -32 4 | LINE Normal 5 -6 0 0 5 | LINE Normal -4 -6 0 0 6 | WINDOW 0 16 -27 Left 2 7 | WINDOW 3 16 -8 Left 2 8 | SYMATTR Prefix X 9 | SYMATTR Description Voltage arrow 10 | PIN 0 0 NONE 8 11 | PINATTR PinName - 12 | PINATTR SpiceOrder 1 13 | PIN 0 -32 NONE 8 14 | PINATTR PinName + 15 | PINATTR SpiceOrder 2 16 | -------------------------------------------------------------------------------- /sym48/circuiTikz/arrow_voltage_3.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 0 0 0 -48 4 | LINE Normal 5 -6 0 0 5 | LINE Normal -4 -6 0 0 6 | WINDOW 0 16 -27 Left 2 7 | WINDOW 3 16 -9 Left 2 8 | SYMATTR Prefix X 9 | SYMATTR Description Voltage arrow 10 | PIN 0 0 NONE 8 11 | PINATTR PinName - 12 | PINATTR SpiceOrder 1 13 | PIN 0 -48 NONE 8 14 | PINATTR PinName + 15 | PINATTR SpiceOrder 2 16 | -------------------------------------------------------------------------------- /sym48/circuiTikz/arrow_voltage_5.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 0 0 0 -80 4 | LINE Normal 5 -6 0 0 5 | LINE Normal -4 -6 0 0 6 | WINDOW 0 16 -48 Left 2 7 | WINDOW 3 16 -32 Left 2 8 | SYMATTR Prefix X 9 | SYMATTR Description Voltage arrow 10 | PIN 0 0 NONE 8 11 | PINATTR PinName - 12 | PINATTR SpiceOrder 1 13 | PIN 0 -80 NONE 8 14 | PINATTR PinName + 15 | PINATTR SpiceOrder 2 16 | -------------------------------------------------------------------------------- /sym48/circuiTikz/arrow_voltage_7.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 0 0 0 -112 4 | LINE Normal 5 -6 0 0 5 | LINE Normal -4 -6 0 0 6 | WINDOW 0 16 -80 Left 2 7 | WINDOW 3 16 -48 Left 2 8 | SYMATTR Prefix X 9 | SYMATTR Description Voltage arrow 10 | PIN 0 0 NONE 8 11 | PINATTR PinName - 12 | PINATTR SpiceOrder 1 13 | PIN 0 -112 NONE 8 14 | PINATTR PinName + 15 | PINATTR SpiceOrder 2 16 | -------------------------------------------------------------------------------- /sym48/netlabel.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *netlabel 7 | BeginTex 8 | \node (#self.label#) [] at (#self.texx1#,#self.texy1#) {};% label mark 9 | \node (#self.label#txt) [##options## netlabelcolor, above= -0.25cm of #self.label#] {{\pgfkeysvalueof{/lt2ti/netlabel/font}#self.labelstr#}}; 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/arrow_voltage_10.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 0 0 0 -160 4 | LINE Normal 5 -6 0 0 5 | LINE Normal -4 -6 0 0 6 | WINDOW 0 16 -96 Left 2 7 | WINDOW 3 16 -64 Left 2 8 | SYMATTR Prefix X 9 | SYMATTR Description Voltage arrow 10 | PIN 0 0 NONE 8 11 | PINATTR PinName - 12 | PINATTR SpiceOrder 1 13 | PIN 0 -160 NONE 8 14 | PINATTR PinName + 15 | PINATTR SpiceOrder 2 16 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/cap_variable.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *vC 7 | BeginTex 8 | \draw (#A:x1#, #A:y1#) to[#self.symbol.latexElementName#, l^=#self.name#, a_=#self.value#, #A:junction#-#B:junction#, ##mirror_mirror##, ##options##] (#B:x1#,#B:y1#){}; %\node [] at (#self.texx1#,#self.texy1#) {x}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/gnd.asy2tex: -------------------------------------------------------------------------------- 1 | Type Node 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName rground 7 | BeginTex 8 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, xscale=##mirror_xscale_value##, yscale=1, rotate=##rotate##, ##options##] (#self.name#) {};% (#self.name#)++(0.0,0.0) node {#self.name# #self.value#}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/match.asy2tex: -------------------------------------------------------------------------------- 1 | Type Node 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName match 7 | BeginTex 8 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, xscale=##mirror_xscale_value##, yscale=1, rotate=##rotate##, ##options##] (#self.name#) {};% (#self.name#)++(0.0,0.0) node {#self.name# #self.value#}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32b/circuiTikz/arrow_voltage_10.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 0 0 0 -160 4 | LINE Normal 5 -6 0 0 5 | LINE Normal -4 -6 0 0 6 | WINDOW 0 16 -96 Left 2 7 | WINDOW 3 16 -64 Left 2 8 | SYMATTR Prefix X 9 | SYMATTR Description Voltage arrow 10 | PIN 0 0 NONE 8 11 | PINATTR PinName - 12 | PINATTR SpiceOrder 1 13 | PIN 0 -160 NONE 8 14 | PINATTR PinName + 15 | PINATTR SpiceOrder 2 16 | -------------------------------------------------------------------------------- /sym32b/circuiTikz/gnd.asy2tex: -------------------------------------------------------------------------------- 1 | Type Node 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName rground 7 | BeginTex 8 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, xscale=##mirror_xscale_value##, yscale=1, rotate=##rotate##, ##options##] (#self.name#) {};% (#self.name#)++(0.0,0.0) node {#self.name# #self.value#}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym48/circuiTikz/gnd.asy2tex: -------------------------------------------------------------------------------- 1 | Type Node 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName rground 7 | BeginTex 8 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, xscale=##mirror_xscale_value##, yscale=1, rotate=##rotate##, ##options##] (#self.name#) {};% (#self.name#)++(0.0,0.0) node {#self.name# #self.value#}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/antenna.asy2tex: -------------------------------------------------------------------------------- 1 | Type Node 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName antenna 7 | BeginTex 8 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, xscale=##mirror_xscale_value##, yscale=1, rotate=##rotate##, ##options##] (#self.name#) {};% (#self.name#)++(0.0,0.0) node {#self.name# #self.value#}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/cap_electrolytic.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 True 4 | BeginPinList 5 | EndPinList 6 | TexElementName *eC 7 | BeginTex 8 | \draw (#A:x1#, #A:y1#) to[#self.symbol.latexElementName#, l^=#self.name#, a_=#self.value#, #A:junction#-#B:junction#, ##mirror_mirror##, ##options##] (#B:x1#,#B:y1#){}; %\node [] at (#self.texx1#,#self.texy1#) {x}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/ground.asy2tex: -------------------------------------------------------------------------------- 1 | Type Node 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName ground 7 | BeginTex 8 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, xscale=##mirror_xscale_value##, yscale=1, rotate=##rotate##-90, ##options##] (#self.name#) {};% (#self.name#)++(0.0,0.0) node {#self.name# #self.value#}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/memristor.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *memristor 7 | BeginTex 8 | \draw (#A:x1#, #A:y1#) to[#self.symbol.latexElementName#, l^=#self.name#, a_=#self.value#, #A:junction#-#B:junction#, ##mirror_mirror##, ##options##] (#B:x1#,#B:y1#){}; %\node [] at (#self.texx1#,#self.texy1#) {x}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32b/circuiTikz/ground.asy2tex: -------------------------------------------------------------------------------- 1 | Type Node 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName ground 7 | BeginTex 8 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, xscale=##mirror_xscale_value##, yscale=1, rotate=##rotate##-90, ##options##] (#self.name#) {};% (#self.name#)++(0.0,0.0) node {#self.name# #self.value#}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym48/circuiTikz/ground.asy2tex: -------------------------------------------------------------------------------- 1 | Type Node 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName ground 7 | BeginTex 8 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, xscale=##mirror_xscale_value##, yscale=1, rotate=##rotate##-90, ##options##] (#self.name#) {};% (#self.name#)++(0.0,0.0) node {#self.name# #self.value#}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/antenna_rx.asy2tex: -------------------------------------------------------------------------------- 1 | Type Node 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName rxantenna 7 | BeginTex 8 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, xscale=##mirror_xscale_value##, yscale=1, rotate=##rotate##, ##options##] (#self.name#) {};% (#self.name#)++(0.0,0.0) node {#self.name# #self.value#}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/antenna_tx.asy2tex: -------------------------------------------------------------------------------- 1 | Type Node 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName txantenna 7 | BeginTex 8 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, xscale=##mirror_xscale_value##, yscale=1, rotate=##rotate##, ##options##] (#self.name#) {};% (#self.name#)++(0.0,0.0) node {#self.name# #self.value#}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/generic_asymmetric.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *ageneric 7 | BeginTex 8 | \draw (#A:x1#, #A:y1#) to[#self.symbol.latexElementName#, l^=#self.name#, a_=#self.value#, #A:junction#-#B:junction#, ##mirror_mirror##, ##options##] (#B:x1#,#B:y1#){}; %\node [] at (#self.texx1#,#self.texy1#) {x}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/generic_full.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *fullgeneric 7 | BeginTex 8 | \draw (#A:x1#, #A:y1#) to[#self.symbol.latexElementName#, l^=#self.name#, a_=#self.value#, #A:junction#-#B:junction#, ##mirror_mirror##, ##options##] (#B:x1#,#B:y1#){}; %\node [] at (#self.texx1#,#self.texy1#) {x}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/generic_tunable.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *tgeneric 7 | BeginTex 8 | \draw (#A:x1#, #A:y1#) to[#self.symbol.latexElementName#, l^=#self.name#, a_=#self.value#, #A:junction#-#B:junction#, ##mirror_mirror##, ##options##] (#B:x1#,#B:y1#){}; %\node [] at (#self.texx1#,#self.texy1#) {x}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/ground_chassis.asy2tex: -------------------------------------------------------------------------------- 1 | Type Node 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName cground 7 | BeginTex 8 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, xscale=##mirror_xscale_value##, yscale=1, rotate=##rotate##, ##options##] (#self.name#) {};% (#self.name#)++(0.0,0.0) node {#self.name# #self.value#}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/ground_signal.asy2tex: -------------------------------------------------------------------------------- 1 | Type Node 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName sground 7 | BeginTex 8 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, xscale=##mirror_xscale_value##, yscale=1, rotate=##rotate##, ##options##] (#self.name#) {};% (#self.name#)++(0.0,0.0) node {#self.name# #self.value#}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/ground_thick.asy2tex: -------------------------------------------------------------------------------- 1 | Type Node 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName tground 7 | BeginTex 8 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, xscale=##mirror_xscale_value##, yscale=1, rotate=##rotate##, ##options##] (#self.name#) {};% (#self.name#)++(0.0,0.0) node {#self.name# #self.value#}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/ind_coil.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *cute inductor 7 | BeginTex 8 | \draw (#A:x1#, #A:y1#) to[#self.symbol.latexElementName#, l^=#self.name#, a_=#self.value#, #A:junction#-#B:junction#, ##mirror_mirror##, ##options##] (#B:x1#,#B:y1#){}; %\node [] at (#self.texx1#,#self.texy1#) {x}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/ind_eu.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *european inductor 7 | BeginTex 8 | \draw (#A:x1#, #A:y1#) to[#self.symbol.latexElementName#, l^=#self.name#, a_=#self.value#, #A:junction#-#B:junction#, ##mirror_mirror##, ##options##] (#B:x1#,#B:y1#){}; %\node [] at (#self.texx1#,#self.texy1#) {x}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/ind_us.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *american inductor 7 | BeginTex 8 | \draw (#A:x1#, #A:y1#) to[#self.symbol.latexElementName#, l^=#self.name#, a_=#self.value#, #A:junction#-#B:junction#, ##mirror_mirror##, ##options##] (#B:x1#,#B:y1#){}; %\node [] at (#self.texx1#,#self.texy1#) {x}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/res_us.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *american resistor 7 | BeginTex 8 | \draw (#A:x1#, #A:y1#) to[#self.symbol.latexElementName#, l^=#self.name#, a_=#self.value#, #A:junction#-#B:junction#, ##mirror_mirror##, ##options##] (#B:x1#,#B:y1#){}; %\node [] at (#self.texx1#,#self.texy1#) {x}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/tlinestub.asy2tex: -------------------------------------------------------------------------------- 1 | Type Node 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName tlinestub 7 | BeginTex 8 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, xscale=##mirror_xscale_value##, yscale=1, rotate=##rotate##, ##options##] (#self.name#) {};% (#self.name#)++(0.0,0.0) node {#self.name# #self.value#}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/text.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *netlabel 7 | BeginTex 8 | \node (#self.value#) [] at (#self.texx1#,#self.texy1#) {};% text mark 9 | \node (#self.value#txt) [##options## lttotitextcolor, right= -0.25cm of #self.value#, scale=0.5*#self.size#] {{\pgfkeysvalueof{/lt2ti/text/font}#self.textstr#}}; 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym32b/text.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *netlabel 7 | BeginTex 8 | \node (#self.value#) [] at (#self.texx1#,#self.texy1#) {};% text mark 9 | \node (#self.value#txt) [##options## lttotitextcolor, right= -0.25cm of #self.value#, scale=0.5*#self.size#] {{\pgfkeysvalueof{/lt2ti/text/font}#self.textstr#}}; 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym48/text.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *netlabel 7 | BeginTex 8 | \node (#self.value#) [] at (#self.texx1#,#self.texy1#) {};% text mark 9 | \node (#self.value#txt) [##options## lttotitextcolor, right= -0.25cm of #self.value#, scale=0.5*#self.size#] {{\pgfkeysvalueof{/lt2ti/text/font}#self.textstr#}}; 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/ground_noiseless.asy2tex: -------------------------------------------------------------------------------- 1 | Type Node 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName nground 7 | BeginTex 8 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, xscale=##mirror_xscale_value##, yscale=1, rotate=##rotate##, ##options##] (#self.name#) {};% (#self.name#)++(0.0,0.0) node {#self.name# #self.value#}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/ground_protective.asy2tex: -------------------------------------------------------------------------------- 1 | Type Node 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName pground 7 | BeginTex 8 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, xscale=##mirror_xscale_value##, yscale=1, rotate=##rotate##, ##options##] (#self.name#) {};% (#self.name#)++(0.0,0.0) node {#self.name# #self.value#}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/switch_no.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *normal open switch 7 | BeginTex 8 | \draw (#A:x1#, #A:y1#) to[#self.symbol.latexElementName#, l^=#self.name#, a_=#self.value#, ##mirror_mirror##, #A:junction#-#B:junction#, ##options##] (#B:x1#,#B:y1#){}; %\node [] at (#self.texx1#,#self.texy1#) {x}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /dev_lt2ti.py: -------------------------------------------------------------------------------- 1 | import lt2ti; 2 | import os; 3 | 4 | #fn = r'examples\TestTransistors.asc'; 5 | #fn = r'examples\Test.asc'; 6 | fn = r'examples'+os.sep+'dev.asc'; 7 | #fn = r'examples\Draft2.asc'; # lines and rects 8 | #fn = r'examples\Draft3.asc'; # lines and rects 9 | #fn = r'examples\InductorEC.asc'; # lines and rects 10 | l2tobj = lt2ti.lt2circuiTikz(); 11 | l2tobj.readASCFile(fn); 12 | l2tobj.writeCircuiTikz(fn+r'.tex'); -------------------------------------------------------------------------------- /sym32a/circuiTikz/generic_full_tunable.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *tfullgeneric 7 | BeginTex 8 | \draw (#A:x1#, #A:y1#) to[#self.symbol.latexElementName#, l^=#self.name#, a_=#self.value#, #A:junction#-#B:junction#, ##mirror_mirror##, ##options##] (#B:x1#,#B:y1#){}; %\node [] at (#self.texx1#,#self.texy1#) {x}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym48/cap.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 16 36 16 64 4 | LINE Normal 16 28 16 0 5 | LINE Normal 0 28 32 28 6 | LINE Normal 0 36 32 36 7 | WINDOW 0 24 8 Left 2 8 | WINDOW 3 24 56 Left 2 9 | SYMATTR Value C 10 | SYMATTR Prefix C 11 | SYMATTR Description Capacitor 12 | PIN 16 0 NONE 0 13 | PINATTR PinName A 14 | PINATTR SpiceOrder 1 15 | PIN 16 64 NONE 0 16 | PINATTR PinName B 17 | PINATTR SpiceOrder 2 18 | -------------------------------------------------------------------------------- /sym48/ind.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | ARC Normal 0 40 32 72 4 68 4 44 4 | ARC Normal 0 64 32 96 16 96 4 68 5 | ARC Normal 0 16 32 48 4 44 16 16 6 | WINDOW 0 36 40 Left 0 7 | WINDOW 3 36 80 Left 0 8 | SYMATTR Value L 9 | SYMATTR Prefix L 10 | SYMATTR Description Inductor 11 | PIN 16 16 NONE 0 12 | PINATTR PinName A 13 | PINATTR SpiceOrder 1 14 | PIN 16 96 NONE 0 15 | PINATTR PinName B 16 | PINATTR SpiceOrder 2 17 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/ind_us_var.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *variable american inductor 7 | BeginTex 8 | \draw (#A:x1#, #A:y1#) to[#self.symbol.latexElementName#, l^=#self.name#, a_=#self.value#, #A:junction#-#B:junction#, ##mirror_mirror##, ##options##] (#B:x1#,#B:y1#){}; %\node [] at (#self.texx1#,#self.texy1#) {x}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/res_eu_var.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *variable european resistor 7 | BeginTex 8 | \draw (#A:x1#, #A:y1#) to[#self.symbol.latexElementName#, l^=#self.name#, a_=#self.value#, #A:junction#-#B:junction#, ##mirror_mirror##, ##options##] (#B:x1#,#B:y1#){}; %\node [] at (#self.texx1#,#self.texy1#) {x}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/res_photo.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *photoresistor 7 | BeginTex 8 | \draw (#A:x1#, #A:y1#) to[#self.symbol.latexElementName#, l^=#self.name#, a_=#self.value#, #A:junction#-#B:junction#, ##mirror_mirror##, n=#self.name#, ##options##] (#B:x1#,#B:y1#){}; %\node [] at (#self.texx1#,#self.texy1#) {x}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/res_us_var.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *variable american resistor 7 | BeginTex 8 | \draw (#A:x1#, #A:y1#) to[#self.symbol.latexElementName#, l^=#self.name#, a_=#self.value#, #A:junction#-#B:junction#, ##mirror_mirror##, ##options##] (#B:x1#,#B:y1#){}; %\node [] at (#self.texx1#,#self.texy1#) {x}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/thermocouple.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *thermocouple 7 | BeginTex 8 | \draw (#+:x1#, #+:y1#) to[#self.symbol.latexElementName#, l^=#self.name#, a_=#self.value#, #+:junction#-#-:junction#, ##mirror_mirror##, n=#self.name#, ##options##] (#-:x1#,#-:y1#){}; %\node [] at (#self.texx1#,#self.texy1#) {x}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /test_lt2ti.py: -------------------------------------------------------------------------------- 1 | import lt2ti; 2 | import os; 3 | 4 | #fn = r'examples\TestTransistors.asc'; 5 | #fn = r'examples\Test.asc'; 6 | fn = r'examples'+os.sep+'catalog.asc'; 7 | #fn = r'examples\Draft2.asc'; # lines and rects 8 | #fn = r'examples\Draft3.asc'; # lines and rects 9 | #fn = r'examples\InductorEC.asc'; # lines and rects 10 | l2tobj = lt2ti.lt2circuiTikz(); 11 | l2tobj.readASCFile(fn); 12 | l2tobj.writeCircuiTikz(fn+r'.tex'); -------------------------------------------------------------------------------- /sym32a/circuiTikz/coupler.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName coupler 7 | BeginTex 8 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, xscale=##mirror_xscale_value##, rotate=##rotate##, ##options##] (#self.name#) {} (#self.name#)++(##labelmirrorx##*0.75, ##labelmirrory##*1.75) node {#self.name# #self.value#}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/squid.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType BLOCK 3 | LINE Normal 19 3 13 -3 4 | LINE Normal 13 3 19 -3 5 | LINE Normal 0 -16 0 -32 6 | LINE Normal 0 32 0 16 7 | LINE Normal -13 3 -19 -3 8 | LINE Normal -19 3 -13 -3 9 | CIRCLE Normal 16 16 -16 -16 10 | CIRCLE Normal -11 25 -14 22 11 | PIN 0 -32 NONE 8 12 | PINATTR PinName + 13 | PINATTR SpiceOrder 1 14 | PIN 0 32 NONE 8 15 | PINATTR PinName - 16 | PINATTR SpiceOrder 2 17 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/coupler2.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName coupler2 7 | BeginTex 8 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, xscale=##mirror_xscale_value##, rotate=##rotate##, ##options##] (#self.name#) {} (#self.name#)++(##labelmirrorx##*0.75, ##labelmirrory##*1.75) node {#self.name# #self.value#}; 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/Misc/SCR.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 True 4 | BeginPinList 5 | EndPinList 6 | TexElementName *Ty 7 | BeginTex 8 | \draw (#A:x1#, #A:y1#) to[#self.symbol.latexElementName#, n=#self.name#, l^=#self.name#, a_=#self.value#, ##mirror_mirror##, ##options##] (#K:x1#,#K:y1#){}; %\node [] at (#self.texx1#,#self.texy1#) {x}; 9 | \draw [/lt2ti/Net](#G:x1#, #G:y1#) to [*short, -] (#self.name#.G); 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/blockdiagram/adder.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal -30 0 -32 0 4 | LINE Normal 0 30 0 32 5 | LINE Normal 30 0 32 0 6 | LINE Normal 0 16 0 -16 7 | LINE Normal 16 0 -16 0 8 | CIRCLE Normal 30 30 -30 -30 9 | PIN -32 0 NONE 8 10 | PINATTR PinName in1 11 | PINATTR SpiceOrder 1 12 | PIN 0 32 NONE 8 13 | PINATTR PinName in2 14 | PINATTR SpiceOrder 2 15 | PIN 32 0 NONE 8 16 | PINATTR PinName out 17 | PINATTR SpiceOrder 3 18 | -------------------------------------------------------------------------------- /sym32a/ind2.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | CIRCLE Normal 4 80 12 88 4 | ARC Normal 0 40 32 72 4 68 4 44 5 | ARC Normal 0 64 32 96 16 96 4 68 6 | ARC Normal 0 16 32 48 4 44 16 16 7 | WINDOW 0 36 40 Left 0 8 | WINDOW 3 36 80 Left 0 9 | SYMATTR Value L 10 | SYMATTR Prefix L 11 | SYMATTR Description Inductor 12 | PIN 16 16 NONE 0 13 | PINATTR PinName A 14 | PINATTR SpiceOrder 1 15 | PIN 16 96 NONE 0 16 | PINATTR PinName B 17 | PINATTR SpiceOrder 2 18 | -------------------------------------------------------------------------------- /sym32b/ind2.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | CIRCLE Normal 4 80 12 88 4 | ARC Normal 0 40 32 72 4 68 4 44 5 | ARC Normal 0 64 32 96 16 96 4 68 6 | ARC Normal 0 16 32 48 4 44 16 16 7 | WINDOW 0 36 40 Left 0 8 | WINDOW 3 36 80 Left 0 9 | SYMATTR Value L 10 | SYMATTR Prefix L 11 | SYMATTR Description Inductor 12 | PIN 16 16 NONE 0 13 | PINATTR PinName A 14 | PINATTR SpiceOrder 1 15 | PIN 16 96 NONE 0 16 | PINATTR PinName B 17 | PINATTR SpiceOrder 2 18 | -------------------------------------------------------------------------------- /sym48/ind2.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | CIRCLE Normal 4 80 12 88 4 | ARC Normal 0 40 32 72 4 68 4 44 5 | ARC Normal 0 64 32 96 16 96 4 68 6 | ARC Normal 0 16 32 48 4 44 16 16 7 | WINDOW 0 36 40 Left 0 8 | WINDOW 3 36 80 Left 0 9 | SYMATTR Value L 10 | SYMATTR Prefix L 11 | SYMATTR Description Inductor 12 | PIN 16 16 NONE 0 13 | PINATTR PinName A 14 | PINATTR SpiceOrder 1 15 | PIN 16 96 NONE 0 16 | PINATTR PinName B 17 | PINATTR SpiceOrder 2 18 | -------------------------------------------------------------------------------- /sym32a/Misc/TRIAC.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 True 4 | BeginPinList 5 | EndPinList 6 | TexElementName *Tr 7 | BeginTex 8 | \draw (#MT2:x1#, #MT2:y1#) to[#self.symbol.latexElementName#, n=#self.name#, l^=#self.name#, a_=#self.value#, ##mirror_mirror##, ##options##] (#MT1:x1#,#MT1:y1#){}; %\node [] at (#self.texx1#,#self.texy1#) {x}; 9 | \draw [/lt2ti/Net](#G:x1#, #G:y1#) to [*short, -] (#self.name#.G); 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/blockdiagram/mixer.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal -21 -21 21 21 4 | LINE Normal 21 -21 -21 21 5 | LINE Normal -30 0 -32 0 6 | LINE Normal 0 30 0 32 7 | LINE Normal 30 0 32 0 8 | CIRCLE Normal 30 30 -30 -30 9 | PIN -32 0 NONE 8 10 | PINATTR PinName in1 11 | PINATTR SpiceOrder 1 12 | PIN 0 32 NONE 8 13 | PINATTR PinName in2 14 | PINATTR SpiceOrder 2 15 | PIN 32 0 NONE 8 16 | PINATTR PinName out 17 | PINATTR SpiceOrder 3 18 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/antenna_rx.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 80 -98 48 -98 4 | LINE Normal 64 -75 80 -98 5 | LINE Normal 48 -98 64 -75 6 | LINE Normal 64 0 64 -98 7 | LINE Normal 0 0 64 0 8 | ARC Normal 96 -103 116 -68 95 -99 97 -70 9 | ARC Normal 85 -103 105 -68 87 -101 89 -69 10 | ARC Normal 107 -103 127 -68 103 -95 103 -74 11 | ARC Normal 117 -102 137 -67 113 -91 112 -78 12 | PIN 0 0 NONE 8 13 | PINATTR PinName a 14 | PINATTR SpiceOrder 1 15 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/antenna_tx.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 80 -98 48 -98 4 | LINE Normal 64 -75 80 -98 5 | LINE Normal 48 -98 64 -75 6 | LINE Normal 64 0 64 -98 7 | LINE Normal 0 0 64 0 8 | ARC Normal 108 -104 88 -69 107 -71 109 -100 9 | ARC Normal 119 -104 99 -69 115 -70 117 -102 10 | ARC Normal 97 -104 77 -69 101 -75 101 -96 11 | ARC Normal 87 -103 67 -68 92 -79 91 -92 12 | PIN 0 0 NONE 8 13 | PINATTR PinName a 14 | PINATTR SpiceOrder 1 15 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/blockdiagram/dsp.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal -32 0 -24 0 4 | LINE Normal 32 0 24 0 5 | LINE Normal 26 -11 30 -11 6 | LINE Normal 29 -13 30 -11 7 | RECTANGLE Normal 24 24 -24 -25 8 | TEXT 0 0 Center 2 DSP 9 | WINDOW 0 -46 -55 Left 2 10 | WINDOW 3 0 40 Center 2 11 | SYMATTR Value V 12 | PIN 32 0 NONE 0 13 | PINATTR PinName + 14 | PINATTR SpiceOrder 1 15 | PIN -32 0 NONE 0 16 | PINATTR PinName - 17 | PINATTR SpiceOrder 2 18 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/blockdiagram/fft.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal -32 0 -24 0 4 | LINE Normal 32 0 24 0 5 | LINE Normal 26 -11 30 -11 6 | LINE Normal 29 -13 30 -11 7 | RECTANGLE Normal 24 25 -24 -25 8 | TEXT 0 0 Center 2 FFT 9 | WINDOW 0 -30 -40 Left 2 10 | WINDOW 3 0 41 Center 2 11 | SYMATTR Value V 12 | PIN 32 0 NONE 0 13 | PINATTR PinName + 14 | PINATTR SpiceOrder 1 15 | PIN -32 0 NONE 0 16 | PINATTR PinName - 17 | PINATTR SpiceOrder 2 18 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/noisevoltage.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *nV 7 | BeginTex 8 | \begin{scope}[circuitikz/bipoles/noise sources/fillcolor=dashed] 9 | \draw (#+:x1#, #+:y1#) to[#self.symbol.latexElementName#, l_=#self.name#, a^={#self.mergedattrib.spiceline#}, ##mirror##, #+:junction#-#-:junction#, ##options##] (#-:x1#,#-:y1#){}; 10 | \end{scope} 11 | EndTex 12 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/blockdiagram/phaseshifter.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal -32 0 -24 0 4 | LINE Normal 32 0 24 0 5 | LINE Normal 26 -11 30 -11 6 | LINE Normal 29 -13 30 -11 7 | RECTANGLE Normal 24 24 -24 -24 8 | TEXT 0 0 Center 2 phi 9 | WINDOW 0 -24 -38 Left 2 10 | WINDOW 3 0 40 Center 2 11 | SYMATTR Value V 12 | PIN 32 0 NONE 0 13 | PINATTR PinName + 14 | PINATTR SpiceOrder 1 15 | PIN -32 0 NONE 0 16 | PINATTR PinName - 17 | PINATTR SpiceOrder 2 18 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/blockdiagram/twoport.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal -32 0 -24 0 4 | LINE Normal 32 0 24 0 5 | LINE Normal 26 -11 30 -11 6 | LINE Normal 29 -13 30 -11 7 | RECTANGLE Normal 24 25 -24 -25 8 | WINDOW 0 -30 -40 Left 2 9 | WINDOW 3 0 0 Center 2 10 | SYMATTR Value V 11 | SYMATTR Description Twoport 12 | PIN 32 0 NONE 0 13 | PINATTR PinName + 14 | PINATTR SpiceOrder 1 15 | PIN -32 0 NONE 0 16 | PINATTR PinName - 17 | PINATTR SpiceOrder 2 18 | -------------------------------------------------------------------------------- /sym32a/cap.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 16 36 16 64 4 | LINE Normal 16 28 16 0 5 | LINE Normal 0 28 32 28 6 | LINE Normal 0 36 32 36 7 | LINE Normal 7 64 7 58 8 | LINE Normal 5 62 7 64 9 | WINDOW 0 24 8 Left 2 10 | WINDOW 3 24 56 Left 2 11 | SYMATTR Value C 12 | SYMATTR Prefix C 13 | SYMATTR Description Capacitor 14 | PIN 16 0 NONE 0 15 | PINATTR PinName A 16 | PINATTR SpiceOrder 1 17 | PIN 16 64 NONE 0 18 | PINATTR PinName B 19 | PINATTR SpiceOrder 2 20 | -------------------------------------------------------------------------------- /sym32a/diode.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 0 44 32 44 4 | LINE Normal 0 20 32 20 5 | LINE Normal 32 20 16 44 6 | LINE Normal 0 20 16 44 7 | LINE Normal 16 0 16 20 8 | LINE Normal 16 44 16 64 9 | WINDOW 0 24 0 Left 2 10 | WINDOW 3 24 64 Left 2 11 | SYMATTR Value D 12 | SYMATTR Prefix D 13 | SYMATTR Description Diode 14 | PIN 16 0 NONE 0 15 | PINATTR PinName + 16 | PINATTR SpiceOrder 1 17 | PIN 16 64 NONE 0 18 | PINATTR PinName - 19 | PINATTR SpiceOrder 2 20 | -------------------------------------------------------------------------------- /sym32a/ind.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 8 96 8 88 4 | LINE Normal 6 93 8 96 5 | ARC Normal 0 40 32 72 4 68 4 44 6 | ARC Normal 0 64 32 96 16 96 4 68 7 | ARC Normal 0 16 32 48 4 44 16 16 8 | WINDOW 0 36 40 Left 2 9 | WINDOW 3 36 80 Left 2 10 | SYMATTR Value L 11 | SYMATTR Prefix L 12 | SYMATTR Description Inductor 13 | PIN 16 16 NONE 0 14 | PINATTR PinName A 15 | PINATTR SpiceOrder 1 16 | PIN 16 96 NONE 0 17 | PINATTR PinName B 18 | PINATTR SpiceOrder 2 19 | -------------------------------------------------------------------------------- /sym32b/cap.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 16 36 16 64 4 | LINE Normal 16 28 16 0 5 | LINE Normal 0 28 32 28 6 | LINE Normal 0 36 32 36 7 | LINE Normal 7 64 7 58 8 | LINE Normal 5 62 7 64 9 | WINDOW 0 24 8 Left 2 10 | WINDOW 3 24 56 Left 2 11 | SYMATTR Value C 12 | SYMATTR Prefix C 13 | SYMATTR Description Capacitor 14 | PIN 16 0 NONE 0 15 | PINATTR PinName A 16 | PINATTR SpiceOrder 1 17 | PIN 16 64 NONE 0 18 | PINATTR PinName B 19 | PINATTR SpiceOrder 2 20 | -------------------------------------------------------------------------------- /sym32b/diode.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 0 44 32 44 4 | LINE Normal 0 20 32 20 5 | LINE Normal 32 20 16 44 6 | LINE Normal 0 20 16 44 7 | LINE Normal 16 0 16 20 8 | LINE Normal 16 44 16 64 9 | WINDOW 0 24 0 Left 2 10 | WINDOW 3 24 64 Left 2 11 | SYMATTR Value D 12 | SYMATTR Prefix D 13 | SYMATTR Description Diode 14 | PIN 16 0 NONE 0 15 | PINATTR PinName + 16 | PINATTR SpiceOrder 1 17 | PIN 16 64 NONE 0 18 | PINATTR PinName - 19 | PINATTR SpiceOrder 2 20 | -------------------------------------------------------------------------------- /sym32b/ind.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 8 96 8 88 4 | LINE Normal 6 93 8 96 5 | ARC Normal 0 40 32 72 4 68 4 44 6 | ARC Normal 0 64 32 96 16 96 4 68 7 | ARC Normal 0 16 32 48 4 44 16 16 8 | WINDOW 0 36 40 Left 2 9 | WINDOW 3 36 80 Left 2 10 | SYMATTR Value L 11 | SYMATTR Prefix L 12 | SYMATTR Description Inductor 13 | PIN 16 16 NONE 0 14 | PINATTR PinName A 15 | PINATTR SpiceOrder 1 16 | PIN 16 96 NONE 0 17 | PINATTR PinName B 18 | PINATTR SpiceOrder 2 19 | -------------------------------------------------------------------------------- /sym48/diode.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 0 44 32 44 4 | LINE Normal 0 20 32 20 5 | LINE Normal 32 20 16 44 6 | LINE Normal 0 20 16 44 7 | LINE Normal 16 0 16 20 8 | LINE Normal 16 44 16 64 9 | WINDOW 0 24 0 Left 2 10 | WINDOW 3 24 64 Left 2 11 | SYMATTR Value D 12 | SYMATTR Prefix D 13 | SYMATTR Description Diode 14 | PIN 16 0 NONE 0 15 | PINATTR PinName + 16 | PINATTR SpiceOrder 1 17 | PIN 16 64 NONE 0 18 | PINATTR PinName - 19 | PINATTR SpiceOrder 2 20 | -------------------------------------------------------------------------------- /sub/circuiTikz/noisevoltagesource.sub: -------------------------------------------------------------------------------- 1 | * voltage noise model 2 | .SUBCKT noisevoltagesource Vnn Vnp 3 | .param En 1E-9 4 | .param En1f {En} 5 | .param fc 1e3 6 | .param trel 0 7 | .param kB 1.380649E-23 8 | *.param T 293.15 9 | .param T {273.15+{temp}-{trel}} 10 | B1 Vnp Vnm V=V(VRn1)*En 11 | R1 VRn1 0 {1/(4*kB*T)} 12 | B2 Vnm Vnn V=V(VRn1)*En1f Laplace=sqrt(fc*(2*pi)/s) 13 | .measure NOISE t1 AVG {temp} 14 | *.measure NOISE t2 PARAM T 15 | *.backanno 16 | .ENDS 17 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/surgearrester_us.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType BLOCK 3 | LINE Normal 0 -32 0 -18 4 | LINE Normal 0 32 0 18 5 | LINE Normal 0 -5 0 -18 6 | LINE Normal 2 -8 0 -5 7 | LINE Normal -2 -8 0 -5 8 | LINE Normal 0 5 0 18 9 | LINE Normal 2 8 0 5 10 | LINE Normal -2 8 0 5 11 | CIRCLE Normal 16 15 -16 -15 12 | CIRCLE Normal -6 -5 -9 -8 13 | PIN 0 -32 NONE 8 14 | PINATTR PinName + 15 | PINATTR SpiceOrder 1 16 | PIN 0 32 NONE 8 17 | PINATTR PinName - 18 | PINATTR SpiceOrder 2 19 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/cap_t.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 16 36 16 64 4 | LINE Normal 16 28 16 0 5 | LINE Normal 0 28 32 28 6 | LINE Normal 0 36 32 36 7 | LINE Normal 7 62 7 56 8 | LINE Normal 5 60 7 62 9 | WINDOW 0 24 8 Left 2 10 | WINDOW 3 24 56 Left 2 11 | SYMATTR Value C 12 | SYMATTR Prefix C 13 | SYMATTR Description Capacitor 14 | PIN 16 0 NONE 0 15 | PINATTR PinName A 16 | PINATTR SpiceOrder 1 17 | PIN 16 64 NONE 0 18 | PINATTR PinName B 19 | PINATTR SpiceOrder 2 20 | -------------------------------------------------------------------------------- /sym32a/current.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *I 7 | BeginTex 8 | %\draw (#+:x1#, #+:y1#) to[#self.symbol.latexElementName#, l=#self.name#, a=#self.value#, ##mirror##, rotate=##rotate##,##options##] (#-:x1#,#-:y1#){}; 9 | \draw (#+:x1#, #+:y1#) to[#self.symbol.latexElementName#, l=#self.name#, a=#self.value#,##mirror##, #+:junction#-#-:junction#, ##options##] (#-:x1#,#-:y1#){}; 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym32b/current.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *I 7 | BeginTex 8 | %\draw (#+:x1#, #+:y1#) to[#self.symbol.latexElementName#, l=#self.name#, a=#self.value#, ##mirror##, rotate=##rotate##,##options##] (#-:x1#,#-:y1#){}; 9 | \draw (#+:x1#, #+:y1#) to[#self.symbol.latexElementName#, l=#self.name#, a=#self.value#,##mirror##, #+:junction#-#-:junction#, ##options##] (#-:x1#,#-:y1#){}; 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym32b/voltage.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *V 7 | BeginTex 8 | %\draw (#+:x1#, #+:y1#) to[#self.symbol.latexElementName#, l=#self.name#, a=#self.value#, ##mirror##, rotate=##rotate##,##options##] (#-:x1#,#-:y1#){}; 9 | \draw (#+:x1#, #+:y1#) to[#self.symbol.latexElementName#, l=#self.name#, a=#self.value#,##mirror##, #+:junction#-#-:junction#, ##options##] (#-:x1#,#-:y1#){}; 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym48/current.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *I 7 | BeginTex 8 | %\draw (#+:x1#, #+:y1#) to[#self.symbol.latexElementName#, l=#self.name#, a=#self.value#, ##mirror##, rotate=##rotate##,##options##] (#-:x1#,#-:y1#){}; 9 | \draw (#+:x1#, #+:y1#) to[#self.symbol.latexElementName#, l=#self.name#, a=#self.value#,##mirror##, #+:junction#-#-:junction#, ##options##] (#-:x1#,#-:y1#){}; 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym48/voltage.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *V 7 | BeginTex 8 | %\draw (#+:x1#, #+:y1#) to[#self.symbol.latexElementName#, l=#self.name#, a=#self.value#, ##mirror##, rotate=##rotate##,##options##] (#-:x1#,#-:y1#){}; 9 | \draw (#+:x1#, #+:y1#) to[#self.symbol.latexElementName#, l=#self.name#, a=#self.value#,##mirror##, #+:junction#-#-:junction#, ##options##] (#-:x1#,#-:y1#){}; 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym32a/polcap.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 16 36 16 64 4 | LINE Normal 16 0 16 28 5 | LINE Normal 8 12 8 20 6 | LINE Normal 4 16 12 16 7 | LINE Normal 0 28 32 28 8 | ARC Normal -16 36 48 100 32 40 0 40 9 | WINDOW 0 24 8 Left 0 10 | WINDOW 3 24 57 Left 0 11 | SYMATTR Value C 12 | SYMATTR Prefix C 13 | SYMATTR Description Polarized Capacitor 14 | PIN 16 0 NONE 0 15 | PINATTR PinName A 16 | PINATTR SpiceOrder 1 17 | PIN 16 64 NONE 0 18 | PINATTR PinName B 19 | PINATTR SpiceOrder 2 20 | -------------------------------------------------------------------------------- /sub/circuiTikz/noisecurrentsource.sub: -------------------------------------------------------------------------------- 1 | * current noise model 2 | .SUBCKT noisecurrentsource Inn Inp 3 | .param In 1E-9 4 | .param In1f {In} 5 | .param fc 1e3 6 | .param trel 0 7 | .param kB 1.380649E-23 8 | *.param T 293.15 9 | .param T {273.15+{temp}-{trel}} 10 | R1 VRn1 0 {1/(4*kB*T)} 11 | 12 | B3 Inp Inn I=V(VRn1)*In 13 | B4 Inp Inn I=V(VRn1)*In1f Laplace=sqrt(fc*(2*pi)/s) 14 | 15 | .measure NOISE t1 AVG {temp} 16 | *.measure NOISE t2 PARAM T 17 | *.backanno 18 | .ENDS 19 | 20 | 21 | -------------------------------------------------------------------------------- /sym32a/varactor.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 0 36 32 36 4 | LINE Normal 0 44 32 44 5 | LINE Normal 0 16 32 16 6 | LINE Normal 32 16 16 36 7 | LINE Normal 0 16 16 36 8 | LINE Normal 16 0 16 16 9 | LINE Normal 16 44 16 64 10 | WINDOW 0 24 0 Left 2 11 | WINDOW 3 24 64 Left 2 12 | SYMATTR Value D 13 | SYMATTR Prefix D 14 | SYMATTR Description Diode 15 | PIN 16 0 NONE 0 16 | PINATTR PinName + 17 | PINATTR SpiceOrder 1 18 | PIN 16 64 NONE 0 19 | PINATTR PinName - 20 | PINATTR SpiceOrder 2 21 | -------------------------------------------------------------------------------- /sym32a/bv.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal -8 36 8 36 4 | LINE Normal -8 76 8 76 5 | LINE Normal 0 28 0 44 6 | LINE Normal 0 96 0 88 7 | LINE Normal 0 16 0 24 8 | CIRCLE Normal -32 24 32 88 9 | WINDOW 0 24 16 Left 2 10 | WINDOW 3 24 96 Left 2 11 | SYMATTR Value V=F(...) 12 | SYMATTR Prefix B 13 | SYMATTR Description Arbitrary behavioral voltage source 14 | PIN 0 16 NONE 0 15 | PINATTR PinName + 16 | PINATTR SpiceOrder 1 17 | PIN 0 96 NONE 0 18 | PINATTR PinName - 19 | PINATTR SpiceOrder 2 20 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/blockdiagram/circulator.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal -30 0 -32 0 4 | LINE Normal 0 30 0 32 5 | LINE Normal 30 0 32 0 6 | LINE Normal 0 14 -6 15 7 | LINE Normal -2 19 -6 15 8 | CIRCLE Normal 30 30 -30 -30 9 | ARC Normal -16 -16 16 16 -6 21 -19 -2 10 | PIN -32 0 NONE 8 11 | PINATTR PinName 1 12 | PINATTR SpiceOrder 1 13 | PIN 32 0 NONE 8 14 | PINATTR PinName 3 15 | PINATTR SpiceOrder 3 16 | PIN 0 32 NONE 8 17 | PINATTR PinName 2 18 | PINATTR SpiceOrder 2 19 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/blockdiagram/tattenuator.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal -32 0 -24 0 4 | LINE Normal 32 0 24 0 5 | LINE Normal 26 -11 30 -11 6 | LINE Normal 29 -13 30 -11 7 | RECTANGLE Normal 24 24 -24 -25 8 | RECTANGLE Normal 12 -11 -12 -14 9 | RECTANGLE Normal 1 14 -2 -11 10 | WINDOW 0 -30 -40 Left 2 11 | WINDOW 3 0 40 Center 2 12 | SYMATTR Value V 13 | PIN 32 0 NONE 0 14 | PINATTR PinName + 15 | PINATTR SpiceOrder 1 16 | PIN -32 0 NONE 0 17 | PINATTR PinName - 18 | PINATTR SpiceOrder 2 19 | -------------------------------------------------------------------------------- /sym48/res.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 16 88 16 96 4 | LINE Normal 0 80 16 88 5 | LINE Normal 32 64 0 80 6 | LINE Normal 0 48 32 64 7 | LINE Normal 32 32 0 48 8 | LINE Normal 16 16 16 24 9 | LINE Normal 16 24 32 32 10 | WINDOW 0 36 40 Left 0 11 | WINDOW 3 36 76 Left 0 12 | SYMATTR Value R 13 | SYMATTR Prefix R 14 | SYMATTR Description A resistor 15 | PIN 16 16 NONE 0 16 | PINATTR PinName A 17 | PINATTR SpiceOrder 1 18 | PIN 16 96 NONE 0 19 | PINATTR PinName B 20 | PINATTR SpiceOrder 2 21 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/blockdiagram/adc.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal -32 0 -24 0 4 | LINE Normal 32 0 24 0 5 | LINE Normal 26 -11 30 -11 6 | LINE Normal 29 -13 30 -11 7 | LINE Normal 23 -25 -24 25 8 | RECTANGLE Normal 24 25 -25 -25 9 | TEXT -22 -14 Left 2 A 10 | TEXT 8 15 Left 2 D 11 | WINDOW 0 -26 -38 Left 2 12 | WINDOW 3 0 41 Center 2 13 | SYMATTR Value V 14 | PIN 32 0 NONE 0 15 | PINATTR PinName + 16 | PINATTR SpiceOrder 1 17 | PIN -32 0 NONE 0 18 | PINATTR PinName - 19 | PINATTR SpiceOrder 2 20 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/blockdiagram/dac.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal -32 0 -24 0 4 | LINE Normal 32 0 24 0 5 | LINE Normal 26 -11 30 -11 6 | LINE Normal 29 -13 30 -11 7 | LINE Normal 24 -25 -24 24 8 | RECTANGLE Normal 24 24 -24 -25 9 | TEXT 3 12 Left 2 A 10 | TEXT -16 -12 Left 2 D 11 | WINDOW 0 -25 -37 Left 2 12 | WINDOW 3 0 40 Center 2 13 | SYMATTR Value V 14 | PIN 32 0 NONE 0 15 | PINATTR PinName + 16 | PINATTR SpiceOrder 1 17 | PIN -32 0 NONE 0 18 | PINATTR PinName - 19 | PINATTR SpiceOrder 2 20 | -------------------------------------------------------------------------------- /dev_lt2ti.bat: -------------------------------------------------------------------------------- 1 | python dev_lt2ti.py>dev_lt2ti.log 2 | 3 | powershell -command "Get-Content dev_lt2ti.log -Tail 2" 4 | 5 | choice /C YN /T 5 /D Y /M "Continue with latex compile? (Yes in 5 sec)" 6 | if errorlevel 2 goto CloseCMD 7 | 8 | cd .\examples\ 9 | call .\compile_dev.bat 10 | cd .. 11 | goto CloseCMD 12 | 13 | 14 | :CloseCMD 15 | rem pause 16 | 17 | choice /C YN /T 30 /D Y /M "Translate: CLose console window? (Yes in 30 sec)" 18 | if NOT errorlevel 2 goto EOF 19 | pause 20 | 21 | 22 | :EOF -------------------------------------------------------------------------------- /sym32a/circuiTikz/zenerL.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 32 44 32 39 4 | LINE Normal 0 44 32 44 5 | LINE Normal 0 20 32 20 6 | LINE Normal 32 20 16 44 7 | LINE Normal 0 20 16 44 8 | LINE Normal 16 0 16 20 9 | LINE Normal 16 44 16 64 10 | WINDOW 0 24 0 Left 2 11 | WINDOW 3 24 64 Left 2 12 | SYMATTR Value D 13 | SYMATTR Prefix D 14 | SYMATTR Description Zener Diode 15 | PIN 16 0 NONE 0 16 | PINATTR PinName + 17 | PINATTR SpiceOrder 1 18 | PIN 16 64 NONE 0 19 | PINATTR PinName - 20 | PINATTR SpiceOrder 2 21 | -------------------------------------------------------------------------------- /sym32a/bi.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 0 56 4 44 4 | LINE Normal 0 56 -4 44 5 | LINE Normal -4 44 4 44 6 | LINE Normal 0 24 0 44 7 | LINE Normal 0 80 0 72 8 | LINE Normal 0 0 0 8 9 | CIRCLE Normal -32 8 32 72 10 | WINDOW 0 24 0 Left 2 11 | WINDOW 3 24 80 Left 2 12 | SYMATTR Value I=F(...) 13 | SYMATTR Prefix B 14 | SYMATTR Description Arbitrary behavioral current source 15 | PIN 0 0 NONE 0 16 | PINATTR PinName + 17 | PINATTR SpiceOrder 1 18 | PIN 0 80 NONE 0 19 | PINATTR PinName - 20 | PINATTR SpiceOrder 2 21 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/blockdiagram/oscillator.asy2tex: -------------------------------------------------------------------------------- 1 | Type Node 2 | TexOrigin 0 0 0 False 3 | SymOrigin -8.5 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName oscillator 7 | BeginTex 8 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, ##mirror_xscale##, yscale=1, rotate=##rotate##, ##options##] (#self.name#) {} (#self.name#)++(0.4,1) node {#self.name# #self.value#}; 9 | \draw [/lt2ti/Net](#1:x1#, #1:y1#) to [*short, -] (#self.name#.east); % extend wires to the connection points 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/coax.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *tline 7 | BeginTex 8 | \draw (#I1:x1#, #I1:y1#) to[#self.symbol.latexElementName#, l^=#self.name#, a_=#self.value#, #I1:junction#-#I2:junction#, ##mirror_mirror##, ##options##] (#I2:x1#,#I2:y1#){}; %\node [] at (#self.texx1#,#self.texy1#) {x}; 9 | \draw [] (#I2:x1#, #I2:y1#) to ({#I2:x1#+(#I1:x1#-#I2:x1#)*0.33}, {#I2:y1#+(#I1:y1#-#I2:y1#)*0.33}); % fix entry point 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym32a/voltage.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal -8 36 8 36 4 | LINE Normal -8 76 8 76 5 | LINE Normal 0 28 0 44 6 | LINE Normal 0 96 0 88 7 | LINE Normal 0 16 0 24 8 | CIRCLE Normal -32 24 32 88 9 | WINDOW 0 24 16 Left 2 10 | WINDOW 3 24 96 Left 2 11 | SYMATTR Value V 12 | SYMATTR Prefix V 13 | SYMATTR Description Voltage Source, either DC, AC, PULSE, SINE, PWL, EXP, or SFFM 14 | PIN 0 16 NONE 0 15 | PINATTR PinName + 16 | PINATTR SpiceOrder 1 17 | PIN 0 96 NONE 0 18 | PINATTR PinName - 19 | PINATTR SpiceOrder 2 20 | -------------------------------------------------------------------------------- /sym32b/voltage.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal -8 36 8 36 4 | LINE Normal -8 76 8 76 5 | LINE Normal 0 28 0 44 6 | LINE Normal 0 96 0 88 7 | LINE Normal 0 16 0 24 8 | CIRCLE Normal -32 24 32 88 9 | WINDOW 0 24 16 Left 2 10 | WINDOW 3 24 96 Left 2 11 | SYMATTR Value V 12 | SYMATTR Prefix V 13 | SYMATTR Description Voltage Source, either DC, AC, PULSE, SINE, PWL, EXP, or SFFM 14 | PIN 0 16 NONE 0 15 | PINATTR PinName + 16 | PINATTR SpiceOrder 1 17 | PIN 0 96 NONE 0 18 | PINATTR PinName - 19 | PINATTR SpiceOrder 2 20 | -------------------------------------------------------------------------------- /sym48/voltage.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal -8 36 8 36 4 | LINE Normal -8 76 8 76 5 | LINE Normal 0 28 0 44 6 | LINE Normal 0 96 0 88 7 | LINE Normal 0 16 0 24 8 | CIRCLE Normal -32 24 32 88 9 | WINDOW 0 24 16 Left 2 10 | WINDOW 3 24 96 Left 2 11 | SYMATTR Value V 12 | SYMATTR Prefix V 13 | SYMATTR Description Voltage Source, either DC, AC, PULSE, SINE, PWL, EXP, or SFFM 14 | PIN 0 16 NONE 0 15 | PINATTR PinName + 16 | PINATTR SpiceOrder 1 17 | PIN 0 96 NONE 0 18 | PINATTR PinName - 19 | PINATTR SpiceOrder 2 20 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/blockdiagram/oscillator_north.asy2tex: -------------------------------------------------------------------------------- 1 | Type Node 2 | TexOrigin 0 0 0 False 3 | SymOrigin -8.5 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName oscillator 7 | BeginTex 8 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, ##mirror_xscale##, yscale=1, rotate=##rotate##, ##options##] (#self.name#) {} (#self.name#)++(0.4,1) node {#self.name# #self.value#}; 9 | \draw [/lt2ti/Net](#1:x1#, #1:y1#) to [*short, -] (#self.name#.north); % extend wires to the connection points 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym48/zener.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 0 44 -4 48 4 | LINE Normal 32 44 36 40 5 | LINE Normal 0 44 32 44 6 | LINE Normal 0 20 32 20 7 | LINE Normal 32 20 16 44 8 | LINE Normal 0 20 16 44 9 | LINE Normal 16 0 16 20 10 | LINE Normal 16 44 16 64 11 | WINDOW 0 24 0 Left 2 12 | WINDOW 3 24 64 Left 2 13 | SYMATTR Value D 14 | SYMATTR Prefix D 15 | SYMATTR Description Zener Diode 16 | PIN 16 0 NONE 0 17 | PINATTR PinName + 18 | PINATTR SpiceOrder 1 19 | PIN 16 64 NONE 0 20 | PINATTR PinName - 21 | PINATTR SpiceOrder 2 22 | -------------------------------------------------------------------------------- /sym32a/Misc/cell.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 0 40 0 64 4 | LINE Normal -32 24 32 24 5 | LINE Normal 0 0 0 24 6 | LINE Normal -20 12 -12 12 7 | LINE Normal -16 8 -16 16 8 | RECTANGLE Normal -16 32 16 40 9 | WINDOW 0 24 8 Left 0 10 | WINDOW 3 24 56 Left 0 11 | SYMATTR Value V 12 | SYMATTR Prefix V 13 | SYMATTR Description Voltage Source, either DC, AC, PULSE, SINE, PWL, EXP, or SFFM 14 | PIN 0 0 NONE 0 15 | PINATTR PinName + 16 | PINATTR SpiceOrder 1 17 | PIN 0 64 NONE 0 18 | PINATTR PinName - 19 | PINATTR SpiceOrder 2 20 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/ind3.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | CIRCLE Normal -2 76 6 84 4 | ARC Normal 0 16 32 32 4 28 16 16 5 | ARC Normal -1 59 31 80 16 81 5 63 6 | ARC Normal -1 22 31 45 3 41 3 26 7 | ARC Normal -1 34 31 57 3 53 3 38 8 | ARC Normal -1 46 31 70 3 65 3 50 9 | WINDOW 0 36 24 Left 2 10 | WINDOW 3 36 64 Left 2 11 | SYMATTR Value L 12 | SYMATTR Prefix L 13 | SYMATTR Description Inductor 14 | PIN 16 16 NONE 0 15 | PINATTR PinName A 16 | PINATTR SpiceOrder 1 17 | PIN 16 80 NONE 0 18 | PINATTR PinName B 19 | PINATTR SpiceOrder 2 20 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/res_us_pot.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *american potentiometer 7 | BeginTex 8 | \draw (#A:x1#, #A:y1#) to[#self.symbol.latexElementName#, l^=#self.name#, a_=#self.value#, #A:junction#-#B:junction#, ##mirror_mirror##, n=#self.name#, ##options##] (#B:x1#,#B:y1#){}; %\node [] at (#self.texx1#,#self.texy1#) {x}; 9 | \draw [/lt2ti/Net](#C:x1#,#C:y1#) to [*short, -, color=netcolor] (#self.name#.W); % wiper connection 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym32a/zener.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 0 44 -4 48 4 | LINE Normal 32 44 36 40 5 | LINE Normal 0 44 32 44 6 | LINE Normal 0 20 32 20 7 | LINE Normal 32 20 16 44 8 | LINE Normal 0 20 16 44 9 | LINE Normal 16 0 16 20 10 | LINE Normal 16 44 16 64 11 | WINDOW 0 24 0 Left 2 12 | WINDOW 3 24 64 Left 2 13 | SYMATTR Value D 14 | SYMATTR Prefix D 15 | SYMATTR Description Zener Diode 16 | PIN 16 0 NONE 0 17 | PINATTR PinName + 18 | PINATTR SpiceOrder 1 19 | PIN 16 64 NONE 0 20 | PINATTR PinName - 21 | PINATTR SpiceOrder 2 22 | -------------------------------------------------------------------------------- /sym32b/circuiTikz/ind3.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | CIRCLE Normal -2 76 6 84 4 | ARC Normal 0 16 32 32 4 28 16 16 5 | ARC Normal -1 59 31 80 16 81 5 63 6 | ARC Normal -1 22 31 45 3 41 3 26 7 | ARC Normal -1 34 31 57 3 53 3 38 8 | ARC Normal -1 46 31 70 3 65 3 50 9 | WINDOW 0 36 24 Left 2 10 | WINDOW 3 36 64 Left 2 11 | SYMATTR Value L 12 | SYMATTR Prefix L 13 | SYMATTR Description Inductor 14 | PIN 16 16 NONE 0 15 | PINATTR PinName A 16 | PINATTR SpiceOrder 1 17 | PIN 16 80 NONE 0 18 | PINATTR PinName B 19 | PINATTR SpiceOrder 2 20 | -------------------------------------------------------------------------------- /sym32b/zener.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 0 44 -4 48 4 | LINE Normal 32 44 36 40 5 | LINE Normal 0 44 32 44 6 | LINE Normal 0 20 32 20 7 | LINE Normal 32 20 16 44 8 | LINE Normal 0 20 16 44 9 | LINE Normal 16 0 16 20 10 | LINE Normal 16 44 16 64 11 | WINDOW 0 24 0 Left 2 12 | WINDOW 3 24 64 Left 2 13 | SYMATTR Value D 14 | SYMATTR Prefix D 15 | SYMATTR Description Zener Diode 16 | PIN 16 0 NONE 0 17 | PINATTR PinName + 18 | PINATTR SpiceOrder 1 19 | PIN 16 64 NONE 0 20 | PINATTR PinName - 21 | PINATTR SpiceOrder 2 22 | -------------------------------------------------------------------------------- /sym48/circuiTikz/ind3.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | CIRCLE Normal -2 76 6 84 4 | ARC Normal 0 16 32 32 4 28 16 16 5 | ARC Normal -1 59 31 80 16 81 5 63 6 | ARC Normal -1 22 31 45 3 41 3 26 7 | ARC Normal -1 34 31 57 3 53 3 38 8 | ARC Normal -1 46 31 70 3 65 3 50 9 | WINDOW 0 36 24 Left 2 10 | WINDOW 3 36 64 Left 2 11 | SYMATTR Value L 12 | SYMATTR Prefix L 13 | SYMATTR Description Inductor 14 | PIN 16 16 NONE 0 15 | PINATTR PinName A 16 | PINATTR SpiceOrder 1 17 | PIN 16 80 NONE 0 18 | PINATTR PinName B 19 | PINATTR SpiceOrder 2 20 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/blockdiagram/amp.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal -48 0 -40 0 4 | LINE Normal 48 0 40 0 5 | LINE Normal 42 -11 46 -11 6 | LINE Normal 45 -13 46 -11 7 | LINE Normal 25 0 -24 -31 8 | LINE Normal -24 31 25 0 9 | LINE Normal -24 -31 -24 31 10 | LINE Normal 40 0 25 0 11 | LINE Normal -40 0 -24 0 12 | WINDOW 0 -46 -55 Left 2 13 | WINDOW 3 0 56 Center 2 14 | SYMATTR Value V 15 | PIN 48 0 NONE 0 16 | PINATTR PinName + 17 | PINATTR SpiceOrder 1 18 | PIN -48 0 NONE 0 19 | PINATTR PinName - 20 | PINATTR SpiceOrder 2 21 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/blockdiagram/piattenuator.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal -32 0 -24 0 4 | LINE Normal 32 0 24 0 5 | LINE Normal 26 -11 30 -11 6 | LINE Normal 29 -13 30 -11 7 | RECTANGLE Normal 24 25 -24 -25 8 | RECTANGLE Normal -5 13 -8 -7 9 | RECTANGLE Normal 14 -7 -14 -10 10 | RECTANGLE Normal 8 13 5 -7 11 | WINDOW 0 -23 -40 Left 2 12 | WINDOW 3 0 41 Center 2 13 | SYMATTR Value V 14 | PIN 32 0 NONE 0 15 | PINATTR PinName + 16 | PINATTR SpiceOrder 1 17 | PIN -32 0 NONE 0 18 | PINATTR PinName - 19 | PINATTR SpiceOrder 2 20 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/blockdiagram/vco.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal -48 0 -40 0 4 | LINE Normal 48 0 40 0 5 | LINE Normal 42 -11 46 -11 6 | LINE Normal 45 -13 46 -11 7 | CIRCLE Normal 40 40 -40 -40 8 | ARC Normal 0 -19 -21 18 3 0 -25 0 9 | ARC Normal 0 18 21 -19 -3 -1 25 -1 10 | WINDOW 0 -46 -55 Left 2 11 | WINDOW 3 0 54 Center 2 12 | SYMATTR Value VCO 13 | SYMATTR Description Twoport 14 | PIN 48 0 NONE 0 15 | PINATTR PinName + 16 | PINATTR SpiceOrder 1 17 | PIN -48 0 NONE 0 18 | PINATTR PinName - 19 | PINATTR SpiceOrder 2 20 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/ind_coil.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | CIRCLE Normal -2 76 6 84 4 | ARC Normal 0 16 32 32 4 28 16 16 5 | ARC Normal -1 59 31 80 16 81 5 63 6 | ARC Normal -1 22 31 45 3 41 3 26 7 | ARC Normal -1 34 31 57 3 53 3 38 8 | ARC Normal -1 46 31 70 3 65 3 50 9 | WINDOW 0 36 24 Left 2 10 | WINDOW 3 36 64 Left 2 11 | SYMATTR Value L 12 | SYMATTR Prefix L 13 | SYMATTR Description Inductor 14 | PIN 16 16 NONE 0 15 | PINATTR PinName A 16 | PINATTR SpiceOrder 1 17 | PIN 16 80 NONE 0 18 | PINATTR PinName B 19 | PINATTR SpiceOrder 2 20 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/res_eu_pot.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *european potentiometer 7 | BeginTex 8 | \draw (#A:x1#, #A:y1#) to[#self.symbol.latexElementName#, l^=#self.name#, a_=#self.value#, #A:junction#-#B:junction#, ##mirror_mirror##, n=#self.name#, ##options##] (#B:x1#,#B:y1#){}; %\node [] at (#self.texx1#,#self.texy1#) {x}; 9 | \draw [/lt2ti/Net](#C:x1#,#C:y1#) to [*short, -, color=netcolor] (#self.name#.wiper); % wiper connection 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/us_voltage.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal -8 36 8 36 4 | LINE Normal -8 76 8 76 5 | LINE Normal 0 28 0 44 6 | LINE Normal 0 96 0 88 7 | LINE Normal 0 16 0 24 8 | CIRCLE Normal -32 24 32 88 9 | WINDOW 0 24 16 Left 2 10 | WINDOW 3 24 96 Left 2 11 | SYMATTR Value V 12 | SYMATTR Prefix V 13 | SYMATTR Description Voltage Source, either DC, AC, PULSE, SINE, PWL, EXP, or SFFM 14 | PIN 0 16 NONE 0 15 | PINATTR PinName + 16 | PINATTR SpiceOrder 1 17 | PIN 0 96 NONE 0 18 | PINATTR PinName - 19 | PINATTR SpiceOrder 2 20 | -------------------------------------------------------------------------------- /sym48/opamps/UniversalOpamp2.asy2tex: -------------------------------------------------------------------------------- 1 | Type Node 2 | TexOrigin 0 0 0 False 3 | SymOrigin 2.75 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName op amp 7 | BeginTex 8 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, xscale=##mirror_xscale_value##*0.68, yscale=0.68, rotate=##rotate##, ##options##] (#self.name#) {} (#self.name#)++(0.0,0.0) node {#self.name# #self.value#}; 9 | \draw (#V+:x1#,#V+:y1#) to [*short, -] (#self.name#.up); \draw (#V-:x1#,#V-:y1#) to [*short, -] (#self.name#.down); % supply 10 | EndTex 11 | -------------------------------------------------------------------------------- /sub/circuiTikz/noisevoltagesrc_test.asc: -------------------------------------------------------------------------------- 1 | Version 4 2 | SHEET 1 880 680 3 | WIRE 64 -48 -64 -48 4 | WIRE 80 -48 64 -48 5 | WIRE -64 -32 -64 -48 6 | WIRE -64 64 -64 48 7 | WIRE -64 160 -64 144 8 | FLAG -64 160 0 9 | FLAG 64 -48 vn 10 | SYMBOL voltage -64 48 R0 11 | SYMATTR InstName U0 12 | SYMATTR Value 0 13 | SYMBOL circuiTikz\\noisevoltage -64 -48 R0 14 | WINDOW 39 52 54 Left 2 15 | SYMATTR InstName U1 16 | SYMATTR SpiceLine En=0n En1f=10n fc=10k 17 | TEXT -26 200 Left 2 !.noise V(vn) U0 dec 100 1 100Meg 18 | TEXT 32 -144 Left 2 ;.OPTIONS temp = 100 19 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/blockdiagram/buffer.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal -32 0 -24 0 4 | LINE Normal 32 0 24 0 5 | LINE Normal 26 -11 30 -11 6 | LINE Normal 29 -13 30 -11 7 | LINE Normal 25 0 -24 -31 8 | LINE Normal -24 31 25 0 9 | LINE Normal -24 -31 -24 31 10 | LINE Normal 24 0 25 0 11 | LINE Normal -24 0 -24 0 12 | WINDOW 0 -46 -55 Left 2 13 | WINDOW 3 0 56 Center 2 14 | SYMATTR Value V 15 | PIN 32 0 NONE 0 16 | PINATTR PinName out 17 | PINATTR SpiceOrder 1 18 | PIN -32 0 NONE 0 19 | PINATTR PinName in 20 | PINATTR SpiceOrder 2 21 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/coupler.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 28 -11 -28 11 4 | LINE Normal 25 -7 28 -11 5 | LINE Normal -28 11 -25 7 6 | LINE Normal 23 -13 25 -7 7 | LINE Normal 28 -11 23 -13 8 | LINE Normal -23 13 -28 11 9 | LINE Normal -25 7 -23 13 10 | LINE Normal -28 -12 28 12 11 | LINE Normal -25 -8 -28 -12 12 | LINE Normal 28 12 25 8 13 | LINE Normal -23 -14 -25 -8 14 | LINE Normal -28 -12 -23 -14 15 | LINE Normal 23 14 28 12 16 | LINE Normal 25 8 23 14 17 | RECTANGLE Normal 32 32 -32 -32 18 | RECTANGLE Normal 32 16 -32 -16 19 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/ct_voltage_us.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal -8 36 8 36 4 | LINE Normal -8 76 8 76 5 | LINE Normal 0 28 0 44 6 | LINE Normal 0 96 0 88 7 | LINE Normal 0 16 0 24 8 | CIRCLE Normal -32 24 32 88 9 | WINDOW 0 24 16 Left 2 10 | WINDOW 3 24 96 Left 2 11 | SYMATTR Value V 12 | SYMATTR Prefix V 13 | SYMATTR Description Voltage Source, either DC, AC, PULSE, SINE, PWL, EXP, or SFFM 14 | PIN 0 16 NONE 0 15 | PINATTR PinName + 16 | PINATTR SpiceOrder 1 17 | PIN 0 96 NONE 0 18 | PINATTR PinName - 19 | PINATTR SpiceOrder 2 20 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/npn_photo.asy2tex: -------------------------------------------------------------------------------- 1 | Type Node 2 | Origin 0 0 0 False 3 | BeginPinList 4 | EndPinList 5 | TexElementName npn,photo 6 | BeginTex 7 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, nobodydiode, ##mirror_xscale##, rotate=##rotate##, ##options##] (#self.name#) {} (#self.name#)++(1.0,1) node {#self.name# #self.value#}; 8 | \draw [/lt2ti/Net](#E:x1#, #E:y1#) to [*short, -] (#self.name#.E); \draw [/lt2ti/Net](#C:x1#, #C:y1#) to [*short, -] (#self.name#.C);% extend wires to the connection points 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/zenerZ.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 0 44 -4 48 4 | LINE Normal 32 44 36 40 5 | LINE Normal 0 44 32 44 6 | LINE Normal 0 20 32 20 7 | LINE Normal 32 20 16 44 8 | LINE Normal 0 20 16 44 9 | LINE Normal 16 0 16 20 10 | LINE Normal 16 44 16 64 11 | WINDOW 0 24 0 Left 2 12 | WINDOW 3 24 64 Left 2 13 | SYMATTR Value D 14 | SYMATTR Prefix D 15 | SYMATTR Description Zener Diode 16 | PIN 16 0 NONE 0 17 | PINATTR PinName + 18 | PINATTR SpiceOrder 1 19 | PIN 16 64 NONE 0 20 | PINATTR PinName - 21 | PINATTR SpiceOrder 2 22 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/oo_voltage.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 0 96 0 88 4 | LINE Normal 0 16 0 24 5 | LINE Normal -11 25 -11 19 6 | LINE Normal -8 22 -14 22 7 | CIRCLE Normal 20 64 -20 24 8 | CIRCLE Normal 20 88 -20 48 9 | WINDOW 0 24 16 Left 2 10 | WINDOW 3 24 96 Left 2 11 | SYMATTR Value V 12 | SYMATTR Prefix V 13 | SYMATTR Description Voltage Source, either DC, AC, PULSE, SINE, PWL, EXP, or SFFM 14 | PIN 0 16 NONE 0 15 | PINATTR PinName + 16 | PINATTR SpiceOrder 1 17 | PIN 0 96 NONE 0 18 | PINATTR PinName - 19 | PINATTR SpiceOrder 2 20 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/tunneldiode.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 32 44 32 39 4 | LINE Normal 0 44 32 44 5 | LINE Normal 0 20 32 20 6 | LINE Normal 32 20 16 44 7 | LINE Normal 0 20 16 44 8 | LINE Normal 16 0 16 20 9 | LINE Normal 16 44 16 64 10 | LINE Normal 0 44 0 39 11 | WINDOW 0 24 0 Left 2 12 | WINDOW 3 24 64 Left 2 13 | SYMATTR Value D 14 | SYMATTR Prefix D 15 | SYMATTR Description Zener Diode 16 | PIN 16 0 NONE 0 17 | PINATTR PinName + 18 | PINATTR SpiceOrder 1 19 | PIN 16 64 NONE 0 20 | PINATTR PinName - 21 | PINATTR SpiceOrder 2 22 | -------------------------------------------------------------------------------- /sym32a/current.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 0 56 4 44 4 | LINE Normal 0 56 -4 44 5 | LINE Normal -4 44 4 44 6 | LINE Normal 0 24 0 44 7 | LINE Normal 0 80 0 72 8 | LINE Normal 0 0 0 8 9 | CIRCLE Normal -32 8 32 72 10 | WINDOW 0 24 0 Left 2 11 | WINDOW 3 24 80 Left 2 12 | SYMATTR Value I 13 | SYMATTR Prefix I 14 | SYMATTR Description Current source, either DC, AC, PULSE, SINE, PWL, EXP, or SFFM 15 | PIN 0 0 NONE 0 16 | PINATTR PinName + 17 | PINATTR SpiceOrder 1 18 | PIN 0 80 NONE 0 19 | PINATTR PinName - 20 | PINATTR SpiceOrder 2 21 | -------------------------------------------------------------------------------- /sym32b/current.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 0 56 4 44 4 | LINE Normal 0 56 -4 44 5 | LINE Normal -4 44 4 44 6 | LINE Normal 0 24 0 44 7 | LINE Normal 0 80 0 72 8 | LINE Normal 0 0 0 8 9 | CIRCLE Normal -32 8 32 72 10 | WINDOW 0 24 0 Left 2 11 | WINDOW 3 24 80 Left 2 12 | SYMATTR Value I 13 | SYMATTR Prefix I 14 | SYMATTR Description Current source, either DC, AC, PULSE, SINE, PWL, EXP, or SFFM 15 | PIN 0 0 NONE 0 16 | PINATTR PinName + 17 | PINATTR SpiceOrder 1 18 | PIN 0 80 NONE 0 19 | PINATTR PinName - 20 | PINATTR SpiceOrder 2 21 | -------------------------------------------------------------------------------- /sym48/current.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 0 56 4 44 4 | LINE Normal 0 56 -4 44 5 | LINE Normal -4 44 4 44 6 | LINE Normal 0 24 0 44 7 | LINE Normal 0 80 0 72 8 | LINE Normal 0 0 0 8 9 | CIRCLE Normal -32 8 32 72 10 | WINDOW 0 24 0 Left 2 11 | WINDOW 3 24 80 Left 2 12 | SYMATTR Value I 13 | SYMATTR Prefix I 14 | SYMATTR Description Current source, either DC, AC, PULSE, SINE, PWL, EXP, or SFFM 15 | PIN 0 0 NONE 0 16 | PINATTR PinName + 17 | PINATTR SpiceOrder 1 18 | PIN 0 80 NONE 0 19 | PINATTR PinName - 20 | PINATTR SpiceOrder 2 21 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/ct_voltage_oo.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 0 96 0 88 4 | LINE Normal 0 16 0 24 5 | LINE Normal -11 25 -11 19 6 | LINE Normal -8 22 -14 22 7 | CIRCLE Normal 20 64 -20 24 8 | CIRCLE Normal 20 88 -20 48 9 | WINDOW 0 24 16 Left 2 10 | WINDOW 3 24 96 Left 2 11 | SYMATTR Value V 12 | SYMATTR Prefix V 13 | SYMATTR Description Voltage Source, either DC, AC, PULSE, SINE, PWL, EXP, or SFFM 14 | PIN 0 16 NONE 0 15 | PINATTR PinName + 16 | PINATTR SpiceOrder 1 17 | PIN 0 96 NONE 0 18 | PINATTR PinName - 19 | PINATTR SpiceOrder 2 20 | -------------------------------------------------------------------------------- /sym32a/res2.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 16 0 32 4 4 | LINE Normal 0 12 32 4 5 | LINE Normal 0 12 32 20 6 | LINE Normal 0 28 32 20 7 | LINE Normal 0 28 32 36 8 | LINE Normal 0 44 32 36 9 | LINE Normal 0 44 32 52 10 | LINE Normal 0 60 32 52 11 | LINE Normal 0 60 16 64 12 | WINDOW 0 36 16 Left 0 13 | WINDOW 3 36 56 Left 0 14 | SYMATTR Value R 15 | SYMATTR Prefix R 16 | SYMATTR Description A resistor 17 | PIN 16 0 NONE 0 18 | PINATTR PinName A 19 | PINATTR SpiceOrder 1 20 | PIN 16 64 NONE 0 21 | PINATTR PinName B 22 | PINATTR SpiceOrder 2 23 | -------------------------------------------------------------------------------- /sym32b/res2.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 16 0 32 4 4 | LINE Normal 0 12 32 4 5 | LINE Normal 0 12 32 20 6 | LINE Normal 0 28 32 20 7 | LINE Normal 0 28 32 36 8 | LINE Normal 0 44 32 36 9 | LINE Normal 0 44 32 52 10 | LINE Normal 0 60 32 52 11 | LINE Normal 0 60 16 64 12 | WINDOW 0 36 16 Left 0 13 | WINDOW 3 36 56 Left 0 14 | SYMATTR Value R 15 | SYMATTR Prefix R 16 | SYMATTR Description A resistor 17 | PIN 16 0 NONE 0 18 | PINATTR PinName A 19 | PINATTR SpiceOrder 1 20 | PIN 16 64 NONE 0 21 | PINATTR PinName B 22 | PINATTR SpiceOrder 2 23 | -------------------------------------------------------------------------------- /sym48/res2.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 16 0 32 4 4 | LINE Normal 0 12 32 4 5 | LINE Normal 0 12 32 20 6 | LINE Normal 0 28 32 20 7 | LINE Normal 0 28 32 36 8 | LINE Normal 0 44 32 36 9 | LINE Normal 0 44 32 52 10 | LINE Normal 0 60 32 52 11 | LINE Normal 0 60 16 64 12 | WINDOW 0 36 16 Left 0 13 | WINDOW 3 36 56 Left 0 14 | SYMATTR Value R 15 | SYMATTR Prefix R 16 | SYMATTR Description A resistor 17 | PIN 16 0 NONE 0 18 | PINATTR PinName A 19 | PINATTR SpiceOrder 1 20 | PIN 16 64 NONE 0 21 | PINATTR PinName B 22 | PINATTR SpiceOrder 2 23 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/blockdiagram/phaseshifter_var.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal -32 0 -24 0 4 | LINE Normal 32 0 24 0 5 | LINE Normal 26 -11 30 -11 6 | LINE Normal 29 -13 30 -11 7 | LINE Normal 14 -16 -14 14 8 | LINE Normal 7 -15 14 -16 9 | LINE Normal 15 -10 14 -16 10 | RECTANGLE Normal 24 25 -24 -25 11 | TEXT 0 0 Center 2 phi 12 | WINDOW 0 -24 -38 Left 2 13 | WINDOW 3 0 41 Center 2 14 | SYMATTR Value V 15 | PIN 32 0 NONE 0 16 | PINATTR PinName + 17 | PINATTR SpiceOrder 1 18 | PIN -32 0 NONE 0 19 | PINATTR PinName - 20 | PINATTR SpiceOrder 2 21 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/ind_us.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 16 16 16 22 4 | LINE Normal 16 74 16 80 5 | CIRCLE Normal 12 73 8 69 6 | ARC Normal 30 35 2 22 16 40 16 19 7 | ARC Normal 30 48 2 35 16 53 16 32 8 | ARC Normal 30 61 2 48 16 66 16 45 9 | ARC Normal 30 74 2 61 16 73 16 58 10 | WINDOW 0 36 44 Left 2 11 | WINDOW 3 36 80 Left 2 12 | SYMATTR Value L 13 | SYMATTR Prefix L 14 | SYMATTR Description Inductor 15 | PIN 16 16 NONE 0 16 | PINATTR PinName A 17 | PINATTR SpiceOrder 1 18 | PIN 16 80 NONE 0 19 | PINATTR PinName B 20 | PINATTR SpiceOrder 2 21 | -------------------------------------------------------------------------------- /sym32a/res.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 16 88 16 96 4 | LINE Normal 0 80 16 88 5 | LINE Normal 32 64 0 80 6 | LINE Normal 0 48 32 64 7 | LINE Normal 32 32 0 48 8 | LINE Normal 16 16 16 24 9 | LINE Normal 16 24 32 32 10 | LINE Normal 26 96 26 86 11 | LINE Normal 28 92 26 96 12 | WINDOW 0 36 40 Left 2 13 | WINDOW 3 36 76 Left 2 14 | SYMATTR Value R 15 | SYMATTR Prefix R 16 | SYMATTR Description A resistor 17 | PIN 16 16 NONE 0 18 | PINATTR PinName A 19 | PINATTR SpiceOrder 1 20 | PIN 16 96 NONE 0 21 | PINATTR PinName B 22 | PINATTR SpiceOrder 2 23 | -------------------------------------------------------------------------------- /sym32b/res.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 16 88 16 96 4 | LINE Normal 0 80 16 88 5 | LINE Normal 32 64 0 80 6 | LINE Normal 0 48 32 64 7 | LINE Normal 32 32 0 48 8 | LINE Normal 16 16 16 24 9 | LINE Normal 16 24 32 32 10 | LINE Normal 26 96 26 86 11 | LINE Normal 28 92 26 96 12 | WINDOW 0 36 40 Left 2 13 | WINDOW 3 36 76 Left 2 14 | SYMATTR Value R 15 | SYMATTR Prefix R 16 | SYMATTR Description A resistor 17 | PIN 16 16 NONE 0 18 | PINATTR PinName A 19 | PINATTR SpiceOrder 1 20 | PIN 16 96 NONE 0 21 | PINATTR PinName B 22 | PINATTR SpiceOrder 2 23 | -------------------------------------------------------------------------------- /sym48/circuiTikz/npn_t.asy2tex: -------------------------------------------------------------------------------- 1 | Type Node 2 | Origin 0 0 0 False 3 | BeginPinList 4 | EndPinList 5 | TexElementName npn 6 | BeginTex 7 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, nobodydiode, ##mirror_xscale##, rotate=##rotate##, ##options##] (#self.name#) {} (#self.name#)++(1.0,1) node {#self.name# #self.value#}; 8 | \draw (#B:x1#, #B:y1#) to [*short, -] (#self.name#.B); \draw (#E:x1#, #E:y1#) to [*short, -] (#self.name#.E); \draw (#C:x1#, #C:y1#) to [*short, -] (#self.name#.C);% extend wires to the connection points 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/current_us.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 0 56 4 44 4 | LINE Normal 0 56 -4 44 5 | LINE Normal -4 44 4 44 6 | LINE Normal 0 24 0 44 7 | LINE Normal 0 80 0 72 8 | LINE Normal 0 0 0 8 9 | CIRCLE Normal -32 8 32 72 10 | WINDOW 0 24 0 Left 2 11 | WINDOW 3 24 80 Left 2 12 | SYMATTR Value I 13 | SYMATTR Prefix I 14 | SYMATTR Description Current source, either DC, AC, PULSE, SINE, PWL, EXP, or SFFM 15 | PIN 0 0 NONE 0 16 | PINATTR PinName + 17 | PINATTR SpiceOrder 1 18 | PIN 0 80 NONE 0 19 | PINATTR PinName - 20 | PINATTR SpiceOrder 2 21 | -------------------------------------------------------------------------------- /sym32b/circuiTikz/npn_t.asy2tex: -------------------------------------------------------------------------------- 1 | Type Node 2 | Origin 0 0 0 False 3 | BeginPinList 4 | EndPinList 5 | TexElementName npn 6 | BeginTex 7 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, nobodydiode, ##mirror_xscale##, rotate=##rotate##, ##options##] (#self.name#) {} (#self.name#)++(1.0,1) node {#self.name# #self.value#}; 8 | \draw (#B:x1#, #B:y1#) to [*short, -] (#self.name#.B); \draw (#E:x1#, #E:y1#) to [*short, -] (#self.name#.E); \draw (#C:x1#, #C:y1#) to [*short, -] (#self.name#.C);% extend wires to the connection points 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/cap_variable.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 16 36 16 64 4 | LINE Normal 16 28 16 0 5 | LINE Normal 0 28 32 28 6 | LINE Normal 0 36 32 36 7 | LINE Normal 7 62 7 56 8 | LINE Normal 5 60 7 62 9 | LINE Normal 2 49 27 18 10 | LINE Normal 1 44 2 49 11 | LINE Normal 7 48 2 49 12 | WINDOW 0 24 8 Left 2 13 | WINDOW 3 24 56 Left 2 14 | SYMATTR Value C 15 | SYMATTR Prefix C 16 | SYMATTR Description Capacitor 17 | PIN 16 0 NONE 0 18 | PINATTR PinName A 19 | PINATTR SpiceOrder 1 20 | PIN 16 64 NONE 0 21 | PINATTR PinName B 22 | PINATTR SpiceOrder 2 23 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/coupler2.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal -16 -8 -21 -12 4 | LINE Normal -15 -14 -16 -8 5 | LINE Normal -21 -12 -15 -14 6 | LINE Normal 17 -8 22 -12 7 | LINE Normal 16 -14 17 -8 8 | LINE Normal 22 -12 16 -14 9 | LINE Normal 17 8 22 12 10 | LINE Normal 16 14 17 8 11 | LINE Normal 22 12 16 14 12 | LINE Normal -16 8 -21 12 13 | LINE Normal -15 14 -16 8 14 | LINE Normal -21 12 -15 14 15 | RECTANGLE Normal 32 32 -32 -32 16 | RECTANGLE Normal 32 16 -32 -16 17 | ARC Normal 6 -12 37 12 12 -23 12 23 18 | ARC Normal -5 -12 -36 12 -11 23 -11 -23 19 | -------------------------------------------------------------------------------- /sym48/npn.asy2tex: -------------------------------------------------------------------------------- 1 | Type Node 2 | TexOrigin 0 0 0 False 3 | SymOrigin 64 48 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName npn 7 | BeginTex 8 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, ##mirror_xscale##, rotate=##rotate##, ##options##] (#self.name#) {} (#self.name#)++(0.6,0.5) node {#self.name# #self.value#}; 9 | \draw (#B:x1#, #B:y1#) to [*short, -] (#self.name#.B); \draw (#E:x1#, #E:y1#) to [*short, -] (#self.name#.E); \draw (#C:x1#, #C:y1#) to [*short, -] (#self.name#.C);% extend wires to the connection points 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/blockdiagram/buffer.asy2tex: -------------------------------------------------------------------------------- 1 | Type Node 2 | TexOrigin 0 0 0 False 3 | SymOrigin 2.836 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName buffer 7 | BeginTex 8 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, xscale=##mirror_xscale_value##, rotate=##rotate##, ##options##] (#self.name#) {} (#self.name#)++(##labelmirrorx##*0.75, ##labelmirrory##*1.25) node {#self.name# #self.value#}; 9 | \draw (#in:x1#,#in:y1#) to [*short, -] (#self.name#.in); \draw (#out:x1#,#out:y1#) to [*short, -] (#self.name#.out); % in/out 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/logic/not.asy2tex: -------------------------------------------------------------------------------- 1 | Type Node 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName american not port 7 | BeginTex 8 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, xscale=##mirror_xscale_value##, rotate=##rotate##, ##options##] (#self.name#) {} (#self.name#)++(##labelmirrorx##*0.75, ##labelmirrory##*1.25) node {#self.name# #self.value#}; 9 | \draw (#invin:x1#,#invin:y1#) to [*short, -] (#self.name#.in); \draw (#out:x1#,#out:y1#) to [*short, -] (#self.name#.out); % in/out 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/pnp_photo.asy2tex: -------------------------------------------------------------------------------- 1 | Type Node 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName pnp,photo 7 | BeginTex 8 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, nobodydiode, ##mirror_xscale##, rotate=##rotate##, ##options##] (#self.name#) {} (#self.name#)++(1.0,1) node {#self.name# #self.value#}; 9 | \draw [/lt2ti/Net](#E:x1#, #E:y1#) to [*short, -] (#self.name#.E); \draw [/lt2ti/Net](#C:x1#, #C:y1#) to [*short, -] (#self.name#.C);% extend wires to the connection points 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym48/nmos.asy2tex: -------------------------------------------------------------------------------- 1 | Type Node 2 | TexOrigin 0 0 0 False 3 | SymOrigin 48 67 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName nigfete 7 | BeginTex 8 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, ##mirror_xscale##, rotate=##rotate##, ##options##] (#self.name#) {} (#self.name#)++(0.7,0.7) node {#self.name# #self.value#}; 9 | \draw (#G:x1#, #G:y1#) to [*short, -] (#self.name#.G); \draw (#D:x1#, #D:y1#) to [*short, -] (#self.name#.D); \draw (#S:x1#, #S:y1#) to [*short, -] (#self.name#.S);% extend wires to the connection points 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/oo_current.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 0 80 0 72 4 | LINE Normal 0 0 0 8 5 | LINE Normal -18 72 -18 66 6 | LINE Normal -16 70 -18 72 7 | LINE Normal -20 70 -18 72 8 | CIRCLE Normal 20 48 -20 8 9 | CIRCLE Normal 20 72 -20 32 10 | WINDOW 0 24 0 Left 2 11 | WINDOW 3 24 80 Left 2 12 | SYMATTR Value I 13 | SYMATTR Prefix I 14 | SYMATTR Description Current source, either DC, AC, PULSE, SINE, PWL, EXP, or SFFM 15 | PIN 0 0 NONE 0 16 | PINATTR PinName + 17 | PINATTR SpiceOrder 1 18 | PIN 0 80 NONE 0 19 | PINATTR PinName - 20 | PINATTR SpiceOrder 2 21 | -------------------------------------------------------------------------------- /sym32a/npn.asy2tex: -------------------------------------------------------------------------------- 1 | Type Node 2 | TexOrigin 0 0 0 False 3 | SymOrigin 64 48 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName npn 7 | BeginTex 8 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, nobodydiode, ##mirror_xscale##, rotate=##rotate##, ##options##] (#self.name#) {} (#self.name#)++(1.0,1) node {#self.name# #self.value#}; 9 | \draw (#B:x1#, #B:y1#) to [*short, -] (#self.name#.B); \draw (#E:x1#, #E:y1#) to [*short, -] (#self.name#.E); \draw (#C:x1#, #C:y1#) to [*short, -] (#self.name#.C);% extend wires to the connection points 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym32b/npn.asy2tex: -------------------------------------------------------------------------------- 1 | Type Node 2 | TexOrigin 0 0 0 False 3 | SymOrigin 64 48 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName npn 7 | BeginTex 8 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, nobodydiode, ##mirror_xscale##, rotate=##rotate##, ##options##] (#self.name#) {} (#self.name#)++(1.0,1) node {#self.name# #self.value#}; 9 | \draw (#B:x1#, #B:y1#) to [*short, -] (#self.name#.B); \draw (#E:x1#, #E:y1#) to [*short, -] (#self.name#.E); \draw (#C:x1#, #C:y1#) to [*short, -] (#self.name#.C);% extend wires to the connection points 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/isfet.asy2tex: -------------------------------------------------------------------------------- 1 | Type Node 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | SymOrigin2 0 3.1 0 False 5 | BeginPinList 6 | EndPinList 7 | TexElementName isfet 8 | BeginTex 9 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, ##mirror_xscale##, yscale=1, rotate=##rotate##, ##options##] (#self.name#) {} (#self.name#)++(1.2,1) node {#self.name# #self.value#}; 10 | \draw [/lt2ti/Net](#D:x1#, #D:y1#) to [*short, -] (#self.name#.D); \draw [/lt2ti/Net](#S:x1#, #S:y1#) to [*short, -] (#self.name#.S);% extend wires to the connection points 11 | EndTex 12 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/switch_no.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 0 24 0 32 4 | LINE Normal 0 -32 0 -24 5 | LINE Normal 0 1 0 -1 6 | LINE Normal 1 0 -1 0 7 | LINE Normal 10 14 0 -19 8 | LINE Normal 0 13 0 24 9 | LINE Normal 0 -19 0 -24 10 | CIRCLE Normal -11 30 -14 27 11 | CIRCLE Normal 1 14 -1 12 12 | WINDOW 0 20 -8 Left 2 13 | WINDOW 3 20 28 Left 2 14 | SYMATTR Value S1 15 | SYMATTR Prefix SW 16 | SYMATTR Description A normal open switch 17 | PIN 0 -32 NONE 0 18 | PINATTR PinName A 19 | PINATTR SpiceOrder 1 20 | PIN 0 32 NONE 0 21 | PINATTR PinName B 22 | PINATTR SpiceOrder 2 23 | -------------------------------------------------------------------------------- /sym32a/npn.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 44 76 36 84 4 | LINE Normal 64 96 44 76 5 | LINE Normal 64 96 36 84 6 | LINE Normal 40 80 16 64 7 | LINE Normal 16 80 16 16 8 | LINE Normal 16 32 64 0 9 | LINE Normal 16 48 0 48 10 | WINDOW 0 56 32 Left 0 11 | WINDOW 3 56 68 Left 0 12 | SYMATTR Value NPN 13 | SYMATTR Prefix QN 14 | SYMATTR Description Bipolar NPN transistor 15 | PIN 64 0 NONE 0 16 | PINATTR PinName C 17 | PINATTR SpiceOrder 1 18 | PIN 0 48 NONE 0 19 | PINATTR PinName B 20 | PINATTR SpiceOrder 2 21 | PIN 64 96 NONE 0 22 | PINATTR PinName E 23 | PINATTR SpiceOrder 3 24 | -------------------------------------------------------------------------------- /sym32a/pnp.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 16 64 44 76 4 | LINE Normal 44 76 36 84 5 | LINE Normal 16 64 36 84 6 | LINE Normal 40 80 64 96 7 | LINE Normal 16 80 16 16 8 | LINE Normal 16 32 64 0 9 | LINE Normal 16 48 0 48 10 | WINDOW 0 84 32 Left 0 11 | WINDOW 3 84 68 Left 0 12 | SYMATTR Value PNP 13 | SYMATTR Prefix QP 14 | SYMATTR Description Bipolar PNP transistor 15 | PIN 64 0 NONE 0 16 | PINATTR PinName C 17 | PINATTR SpiceOrder 1 18 | PIN 0 48 NONE 0 19 | PINATTR PinName B 20 | PINATTR SpiceOrder 2 21 | PIN 64 96 NONE 0 22 | PINATTR PinName E 23 | PINATTR SpiceOrder 3 24 | -------------------------------------------------------------------------------- /sym32b/npn.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 44 76 36 84 4 | LINE Normal 64 96 44 76 5 | LINE Normal 64 96 36 84 6 | LINE Normal 40 80 16 64 7 | LINE Normal 16 80 16 16 8 | LINE Normal 16 32 64 0 9 | LINE Normal 16 48 0 48 10 | WINDOW 0 56 32 Left 0 11 | WINDOW 3 56 68 Left 0 12 | SYMATTR Value NPN 13 | SYMATTR Prefix QN 14 | SYMATTR Description Bipolar NPN transistor 15 | PIN 64 0 NONE 0 16 | PINATTR PinName C 17 | PINATTR SpiceOrder 1 18 | PIN 0 48 NONE 0 19 | PINATTR PinName B 20 | PINATTR SpiceOrder 2 21 | PIN 64 96 NONE 0 22 | PINATTR PinName E 23 | PINATTR SpiceOrder 3 24 | -------------------------------------------------------------------------------- /sym32b/pnp.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 16 64 44 76 4 | LINE Normal 44 76 36 84 5 | LINE Normal 16 64 36 84 6 | LINE Normal 40 80 64 96 7 | LINE Normal 16 80 16 16 8 | LINE Normal 16 32 64 0 9 | LINE Normal 16 48 0 48 10 | WINDOW 0 84 32 Left 0 11 | WINDOW 3 84 68 Left 0 12 | SYMATTR Value PNP 13 | SYMATTR Prefix QP 14 | SYMATTR Description Bipolar PNP transistor 15 | PIN 64 0 NONE 0 16 | PINATTR PinName C 17 | PINATTR SpiceOrder 1 18 | PIN 0 48 NONE 0 19 | PINATTR PinName B 20 | PINATTR SpiceOrder 2 21 | PIN 64 96 NONE 0 22 | PINATTR PinName E 23 | PINATTR SpiceOrder 3 24 | -------------------------------------------------------------------------------- /sym48/circuiTikz/pnp_t.asy2tex: -------------------------------------------------------------------------------- 1 | Type Node 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName pnp 7 | BeginTex 8 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, nobodydiode, ##mirror_xscale##, rotate=##rotate##, ##options##] (#self.name#) {} (#self.name#)++(1.0,1) node {#self.name# #self.value#}; 9 | \draw (#B:x1#, #B:y1#) to [*short, -] (#self.name#.B); \draw (#E:x1#, #E:y1#) to [*short, -] (#self.name#.E); \draw (#C:x1#, #C:y1#) to [*short, -] (#self.name#.C);% extend wires to the connection points 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym48/npn.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 44 76 36 84 4 | LINE Normal 64 96 44 76 5 | LINE Normal 64 96 36 84 6 | LINE Normal 40 80 16 64 7 | LINE Normal 16 80 16 16 8 | LINE Normal 16 32 64 0 9 | LINE Normal 16 48 0 48 10 | WINDOW 0 56 32 Left 0 11 | WINDOW 3 56 68 Left 0 12 | SYMATTR Value NPN 13 | SYMATTR Prefix QN 14 | SYMATTR Description Bipolar NPN transistor 15 | PIN 64 0 NONE 0 16 | PINATTR PinName C 17 | PINATTR SpiceOrder 1 18 | PIN 0 48 NONE 0 19 | PINATTR PinName B 20 | PINATTR SpiceOrder 2 21 | PIN 64 96 NONE 0 22 | PINATTR PinName E 23 | PINATTR SpiceOrder 3 24 | -------------------------------------------------------------------------------- /sym48/pnp.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 16 64 44 76 4 | LINE Normal 44 76 36 84 5 | LINE Normal 16 64 36 84 6 | LINE Normal 40 80 64 96 7 | LINE Normal 16 80 16 16 8 | LINE Normal 16 32 64 0 9 | LINE Normal 16 48 0 48 10 | WINDOW 0 84 32 Left 0 11 | WINDOW 3 84 68 Left 0 12 | SYMATTR Value PNP 13 | SYMATTR Prefix QP 14 | SYMATTR Description Bipolar PNP transistor 15 | PIN 64 0 NONE 0 16 | PINATTR PinName C 17 | PINATTR SpiceOrder 1 18 | PIN 0 48 NONE 0 19 | PINATTR PinName B 20 | PINATTR SpiceOrder 2 21 | PIN 64 96 NONE 0 22 | PINATTR PinName E 23 | PINATTR SpiceOrder 3 24 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/blockdiagram/detector.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal -32 0 -24 0 4 | LINE Normal 32 0 24 0 5 | LINE Normal 26 -11 30 -11 6 | LINE Normal 29 -13 30 -11 7 | LINE Normal 9 0 -8 -15 8 | LINE Normal -8 15 9 0 9 | LINE Normal -8 -15 -8 15 10 | LINE Normal -8 0 9 0 11 | LINE Normal 16 0 9 0 12 | LINE Normal -16 0 -8 0 13 | RECTANGLE Normal 24 24 -24 -24 14 | WINDOW 0 -46 -55 Left 2 15 | WINDOW 3 0 40 Center 2 16 | SYMATTR Value V 17 | PIN 32 0 NONE 0 18 | PINATTR PinName + 19 | PINATTR SpiceOrder 1 20 | PIN -32 0 NONE 0 21 | PINATTR PinName - 22 | PINATTR SpiceOrder 2 23 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/res3.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 16 88 16 96 4 | LINE Normal 0 80 16 88 5 | LINE Normal 32 64 0 80 6 | LINE Normal 0 48 32 64 7 | LINE Normal 32 32 0 48 8 | LINE Normal 16 16 16 24 9 | LINE Normal 16 24 32 32 10 | LINE Normal 0 4 0 -4 11 | LINE Normal 4 0 -4 0 12 | CIRCLE Normal 9 14 3 8 13 | WINDOW 0 36 40 Left 2 14 | WINDOW 3 36 76 Left 2 15 | SYMATTR Value R 16 | SYMATTR Prefix R 17 | SYMATTR Description A resistor 18 | PIN 16 16 NONE 0 19 | PINATTR PinName A 20 | PINATTR SpiceOrder 1 21 | PIN 16 96 NONE 0 22 | PINATTR PinName B 23 | PINATTR SpiceOrder 2 24 | -------------------------------------------------------------------------------- /sym32a/schottky.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 0 36 4 36 4 | LINE Normal 0 44 0 36 5 | LINE Normal 0 44 32 44 6 | LINE Normal 32 44 32 52 7 | LINE Normal 32 52 28 52 8 | LINE Normal 0 20 32 20 9 | LINE Normal 32 20 16 44 10 | LINE Normal 0 20 16 44 11 | LINE Normal 16 0 16 20 12 | LINE Normal 16 44 16 64 13 | WINDOW 0 24 0 Left 2 14 | WINDOW 3 24 64 Left 2 15 | SYMATTR Value D 16 | SYMATTR Prefix D 17 | SYMATTR Description Schottky diode 18 | PIN 16 0 NONE 0 19 | PINATTR PinName + 20 | PINATTR SpiceOrder 1 21 | PIN 16 64 NONE 0 22 | PINATTR PinName - 23 | PINATTR SpiceOrder 2 24 | -------------------------------------------------------------------------------- /sym32b/circuiTikz/pnp_t.asy2tex: -------------------------------------------------------------------------------- 1 | Type Node 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName pnp 7 | BeginTex 8 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, nobodydiode, ##mirror_xscale##, rotate=##rotate##, ##options##] (#self.name#) {} (#self.name#)++(1.0,1) node {#self.name# #self.value#}; 9 | \draw (#B:x1#, #B:y1#) to [*short, -] (#self.name#.B); \draw (#E:x1#, #E:y1#) to [*short, -] (#self.name#.E); \draw (#C:x1#, #C:y1#) to [*short, -] (#self.name#.C);% extend wires to the connection points 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym32b/circuiTikz/res3.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 16 88 16 96 4 | LINE Normal 0 80 16 88 5 | LINE Normal 32 64 0 80 6 | LINE Normal 0 48 32 64 7 | LINE Normal 32 32 0 48 8 | LINE Normal 16 16 16 24 9 | LINE Normal 16 24 32 32 10 | LINE Normal 0 4 0 -4 11 | LINE Normal 4 0 -4 0 12 | CIRCLE Normal 9 14 3 8 13 | WINDOW 0 36 40 Left 2 14 | WINDOW 3 36 76 Left 2 15 | SYMATTR Value R 16 | SYMATTR Prefix R 17 | SYMATTR Description A resistor 18 | PIN 16 16 NONE 0 19 | PINATTR PinName A 20 | PINATTR SpiceOrder 1 21 | PIN 16 96 NONE 0 22 | PINATTR PinName B 23 | PINATTR SpiceOrder 2 24 | -------------------------------------------------------------------------------- /sym32b/circuiTikz/res_eu2.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 0 56 0 64 4 | LINE Normal 0 0 0 8 5 | LINE Normal -10 8 0 8 6 | LINE Normal -10 56 -10 8 7 | LINE Normal 10 56 -10 56 8 | LINE Normal 10 8 10 56 9 | LINE Normal 0 8 10 8 10 | LINE Normal 16 0 -16 0 11 | LINE Normal 0 16 0 -16 12 | CIRCLE Normal 19 4 12 -3 13 | WINDOW 0 20 24 Left 2 14 | WINDOW 3 20 60 Left 2 15 | SYMATTR Value R 16 | SYMATTR Prefix R 17 | SYMATTR Description A resistor 18 | PIN 0 0 NONE 0 19 | PINATTR PinName A 20 | PINATTR SpiceOrder 1 21 | PIN 0 64 NONE 0 22 | PINATTR PinName B 23 | PINATTR SpiceOrder 2 24 | -------------------------------------------------------------------------------- /sym32b/schottky.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 0 36 4 36 4 | LINE Normal 0 44 0 36 5 | LINE Normal 0 44 32 44 6 | LINE Normal 32 44 32 52 7 | LINE Normal 32 52 28 52 8 | LINE Normal 0 20 32 20 9 | LINE Normal 32 20 16 44 10 | LINE Normal 0 20 16 44 11 | LINE Normal 16 0 16 20 12 | LINE Normal 16 44 16 64 13 | WINDOW 0 24 0 Left 2 14 | WINDOW 3 24 64 Left 2 15 | SYMATTR Value D 16 | SYMATTR Prefix D 17 | SYMATTR Description Schottky diode 18 | PIN 16 0 NONE 0 19 | PINATTR PinName + 20 | PINATTR SpiceOrder 1 21 | PIN 16 64 NONE 0 22 | PINATTR PinName - 23 | PINATTR SpiceOrder 2 24 | -------------------------------------------------------------------------------- /sym48/circuiTikz/res3.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 16 88 16 96 4 | LINE Normal 0 80 16 88 5 | LINE Normal 32 64 0 80 6 | LINE Normal 0 48 32 64 7 | LINE Normal 32 32 0 48 8 | LINE Normal 16 16 16 24 9 | LINE Normal 16 24 32 32 10 | LINE Normal 0 4 0 -4 11 | LINE Normal 4 0 -4 0 12 | CIRCLE Normal 9 14 3 8 13 | WINDOW 0 36 40 Left 2 14 | WINDOW 3 36 76 Left 2 15 | SYMATTR Value R 16 | SYMATTR Prefix R 17 | SYMATTR Description A resistor 18 | PIN 16 16 NONE 0 19 | PINATTR PinName A 20 | PINATTR SpiceOrder 1 21 | PIN 16 96 NONE 0 22 | PINATTR PinName B 23 | PINATTR SpiceOrder 2 24 | -------------------------------------------------------------------------------- /sym48/circuiTikz/res_eu2.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 0 56 0 64 4 | LINE Normal 0 0 0 8 5 | LINE Normal -10 8 0 8 6 | LINE Normal -10 56 -10 8 7 | LINE Normal 10 56 -10 56 8 | LINE Normal 10 8 10 56 9 | LINE Normal 0 8 10 8 10 | LINE Normal 16 0 -16 0 11 | LINE Normal 0 16 0 -16 12 | CIRCLE Normal 19 4 12 -3 13 | WINDOW 0 20 24 Left 2 14 | WINDOW 3 20 60 Left 2 15 | SYMATTR Value R 16 | SYMATTR Prefix R 17 | SYMATTR Description A resistor 18 | PIN 0 0 NONE 0 19 | PINATTR PinName A 20 | PINATTR SpiceOrder 1 21 | PIN 0 64 NONE 0 22 | PINATTR PinName B 23 | PINATTR SpiceOrder 2 24 | -------------------------------------------------------------------------------- /sym48/schottky.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 0 36 4 36 4 | LINE Normal 0 44 0 36 5 | LINE Normal 0 44 32 44 6 | LINE Normal 32 44 32 52 7 | LINE Normal 32 52 28 52 8 | LINE Normal 0 20 32 20 9 | LINE Normal 32 20 16 44 10 | LINE Normal 0 20 16 44 11 | LINE Normal 16 0 16 20 12 | LINE Normal 16 44 16 64 13 | WINDOW 0 24 0 Left 2 14 | WINDOW 3 24 64 Left 2 15 | SYMATTR Value D 16 | SYMATTR Prefix D 17 | SYMATTR Description Schottky diode 18 | PIN 16 0 NONE 0 19 | PINATTR PinName + 20 | PINATTR SpiceOrder 1 21 | PIN 16 64 NONE 0 22 | PINATTR PinName - 23 | PINATTR SpiceOrder 2 24 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/bv_t.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal -8 36 8 36 4 | LINE Normal -8 76 8 76 5 | LINE Normal 0 28 0 44 6 | LINE Normal 0 96 0 88 7 | LINE Normal 0 16 0 24 8 | LINE Normal -32 56 0 24 9 | LINE Normal 0 88 -32 56 10 | LINE Normal 32 56 0 88 11 | LINE Normal 0 24 32 56 12 | WINDOW 0 24 16 Left 2 13 | WINDOW 3 24 96 Left 2 14 | SYMATTR Value V=F(...) 15 | SYMATTR Prefix B 16 | SYMATTR Description Arbitrary behavioral voltage source 17 | PIN 0 16 NONE 0 18 | PINATTR PinName + 19 | PINATTR SpiceOrder 1 20 | PIN 0 96 NONE 0 21 | PINATTR PinName - 22 | PINATTR SpiceOrder 2 23 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/logic/not.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal -32 -32 -32 32 4 | LINE Normal -28 0 -25 0 5 | LINE Normal 25 0 32 0 6 | LINE Normal 17 0 -32 -32 7 | LINE Normal -32 32 17 0 8 | CIRCLE Normal 25 4 17 -4 9 | WINDOW 0 11 -32 Left 2 10 | SYMATTR Prefix X 11 | SYMATTR Description Ideal single-pole operational amplifier. You must .lib opamp.sub 12 | SYMATTR Value opamp 13 | SYMATTR SpiceLine Aol=100K 14 | SYMATTR SpiceLine2 GBW=10Meg 15 | PIN -32 0 NONE 0 16 | PINATTR PinName invin 17 | PINATTR SpiceOrder 1 18 | PIN 32 0 NONE 0 19 | PINATTR PinName out 20 | PINATTR SpiceOrder 3 21 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/nfet.asy2tex: -------------------------------------------------------------------------------- 1 | Type Node 2 | Origin 0 0 0 False 3 | BeginPinList 4 | EndPinList 5 | TexElementName nfet 6 | BeginTex 7 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, nobodydiode, ##mirror_xscale##, rotate=##rotate##, ##options##] (#self.name#) {} (#self.name#)++(1.0,1) node {#self.name# #self.value#}; 8 | \draw [/lt2ti/Net](#G:x1#, #G:y1#) to [*short, -] (#self.name#.G); \draw [/lt2ti/Net](#S:x1#, #S:y1#) to [*short, -] (#self.name#.S); \draw [/lt2ti/Net](#D:x1#, #D:y1#) to [*short, -] (#self.name#.D);% extend wires to the connection points 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/npn_t.asy2tex: -------------------------------------------------------------------------------- 1 | Type Node 2 | Origin 0 0 0 False 3 | BeginPinList 4 | EndPinList 5 | TexElementName npn 6 | BeginTex 7 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, nobodydiode, ##mirror_xscale##, rotate=##rotate##, ##options##] (#self.name#) {} (#self.name#)++(1.0,1) node {#self.name# #self.value#}; 8 | \draw [/lt2ti/Net](#B:x1#, #B:y1#) to [*short, -] (#self.name#.B); \draw [/lt2ti/Net](#E:x1#, #E:y1#) to [*short, -] (#self.name#.E); \draw [/lt2ti/Net](#C:x1#, #C:y1#) to [*short, -] (#self.name#.C);% extend wires to the connection points 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/thermocouple.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 0 96 0 88 4 | LINE Normal 0 16 0 24 5 | LINE Normal 0 52 0 24 6 | LINE Normal -9 52 0 52 7 | LINE Normal -17 56 -9 52 8 | LINE Normal 0 60 0 88 9 | LINE Normal -9 60 0 60 10 | LINE Normal -17 56 -9 60 11 | WINDOW 0 24 16 Left 2 12 | WINDOW 3 24 96 Left 2 13 | SYMATTR Value V 14 | SYMATTR Prefix V 15 | SYMATTR Description Voltage Source, either DC, AC, PULSE, SINE, PWL, EXP, or SFFM 16 | PIN 0 16 NONE 0 17 | PINATTR PinName + 18 | PINATTR SpiceOrder 1 19 | PIN 0 96 NONE 0 20 | PINATTR PinName - 21 | PINATTR SpiceOrder 2 22 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/blockdiagram/tattenuator_var.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal -32 0 -24 0 4 | LINE Normal 32 0 24 0 5 | LINE Normal 26 -11 30 -11 6 | LINE Normal 29 -13 30 -11 7 | LINE Normal 15 -18 -16 16 8 | LINE Normal 10 -17 15 -18 9 | LINE Normal 15 -13 15 -18 10 | RECTANGLE Normal 24 24 -24 -25 11 | RECTANGLE Normal 12 -11 -12 -14 12 | RECTANGLE Normal 1 14 -2 -11 13 | WINDOW 0 -30 -40 Left 2 14 | WINDOW 3 0 40 Center 2 15 | SYMATTR Value V 16 | PIN 32 0 NONE 0 17 | PINATTR PinName + 18 | PINATTR SpiceOrder 1 19 | PIN -32 0 NONE 0 20 | PINATTR PinName - 21 | PINATTR SpiceOrder 2 22 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/nmos_gen.asy2tex: -------------------------------------------------------------------------------- 1 | Type Node 2 | Origin 0 0 0 False 3 | BeginPinList 4 | EndPinList 5 | TexElementName nmos 6 | BeginTex 7 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, nobodydiode, ##mirror_xscale##, rotate=##rotate##, ##options##] (#self.name#) {} (#self.name#)++(1.0,1) node {#self.name# #self.value#}; 8 | \draw [/lt2ti/Net](#G:x1#, #G:y1#) to [*short, -] (#self.name#.G); \draw [/lt2ti/Net](#S:x1#, #S:y1#) to [*short, -] (#self.name#.S); \draw [/lt2ti/Net](#D:x1#, #D:y1#) to [*short, -] (#self.name#.D);% extend wires to the connection points 9 | EndTex 10 | -------------------------------------------------------------------------------- /sym32b/nmos.asy2tex: -------------------------------------------------------------------------------- 1 | Type Node 2 | TexOrigin 0 0 0 False 3 | SymOrigin 48 64 0 False 4 | SymOrigin2 48 67 0 False 5 | BeginPinList 6 | EndPinList 7 | TexElementName nigfete 8 | BeginTex 9 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, ##mirror_xscale##, rotate=##rotate##, ##options##] (#self.name#) {} (#self.name#)++(1.2,1) node {#self.name# #self.value#}; 10 | \draw (#G:x1#, #G:y1#) to [*short, -] (#self.name#.G); \draw (#D:x1#, #D:y1#) to [*short, -] (#self.name#.D); \draw (#S:x1#, #S:y1#) to [*short, -] (#self.name#.S);% extend wires to the connection points 11 | EndTex 12 | -------------------------------------------------------------------------------- /sym32a/Misc/battery.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal -32 36 32 36 4 | LINE Normal -32 60 32 60 5 | LINE Normal 0 96 0 76 6 | LINE Normal 0 16 0 36 7 | LINE Normal -20 24 -12 24 8 | LINE Normal -16 20 -16 28 9 | RECTANGLE Normal -16 44 16 52 10 | RECTANGLE Normal -16 68 16 76 11 | WINDOW 0 24 16 Left 0 12 | WINDOW 3 24 104 Left 0 13 | SYMATTR Value V 14 | SYMATTR Prefix V 15 | SYMATTR Description Voltage Source, either DC, AC, PULSE, SINE, PWL, EXP, or SFFM 16 | PIN 0 16 NONE 0 17 | PINATTR PinName + 18 | PINATTR SpiceOrder 1 19 | PIN 0 96 NONE 0 20 | PINATTR PinName - 21 | PINATTR SpiceOrder 2 22 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/blockdiagram/schmitt_inv.asy2tex: -------------------------------------------------------------------------------- 1 | Type Node 2 | TexOrigin 0 0 0 False 3 | SymOrigin2 2.836 0 0 False 4 | SymOrigin 0 0 0 False 5 | BeginPinList 6 | EndPinList 7 | TexElementName invschmitt 8 | BeginTex 9 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, xscale=##mirror_xscale_value##, rotate=##rotate##, ##options##] (#self.name#) {} (#self.name#)++(##labelmirrorx##*0.75, ##labelmirrory##*1.25) node {#self.name# #self.value#}; 10 | \draw (#in:x1#,#in:y1#) to [*short, -] (#self.name#.in); \draw (#out:x1#,#out:y1#) to [*short, -] (#self.name#.out); % in/out 11 | EndTex 12 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/blockdiagram/schmitt_ni.asy2tex: -------------------------------------------------------------------------------- 1 | Type Node 2 | TexOrigin 0 0 0 False 3 | SymOrigin2 2.836 0 0 False 4 | SymOrigin 0 0 0 False 5 | BeginPinList 6 | EndPinList 7 | TexElementName schmitt 8 | BeginTex 9 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, xscale=##mirror_xscale_value##, rotate=##rotate##, ##options##] (#self.name#) {} (#self.name#)++(##labelmirrorx##*0.75, ##labelmirrory##*1.25) node {#self.name# #self.value#}; 10 | \draw (#in:x1#,#in:y1#) to [*short, -] (#self.name#.in); \draw (#out:x1#,#out:y1#) to [*short, -] (#self.name#.out); % in/out 11 | EndTex 12 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/npn_t.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal -10 17 -16 25 4 | LINE Normal 0 32 -10 17 5 | LINE Normal 0 32 -16 25 6 | LINE Normal -13 21 -27 9 7 | LINE Normal -27 24 -27 -25 8 | LINE Normal -27 -9 0 -32 9 | LINE Normal -27 0 -48 0 10 | WINDOW 0 5 -16 Left 2 11 | WINDOW 3 4 20 Left 2 12 | SYMATTR Value NPN 13 | SYMATTR Prefix QN 14 | SYMATTR Description Bipolar NPN transistor 15 | PIN 0 -32 NONE 0 16 | PINATTR PinName C 17 | PINATTR SpiceOrder 1 18 | PIN -48 0 NONE 0 19 | PINATTR PinName B 20 | PINATTR SpiceOrder 2 21 | PIN 0 32 NONE 0 22 | PINATTR PinName E 23 | PINATTR SpiceOrder 3 24 | -------------------------------------------------------------------------------- /sym32b/circuiTikz/npn_t.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal -10 17 -16 25 4 | LINE Normal 0 32 -10 17 5 | LINE Normal 0 32 -16 25 6 | LINE Normal -13 21 -27 9 7 | LINE Normal -27 24 -27 -25 8 | LINE Normal -27 -9 0 -32 9 | LINE Normal -27 0 -48 0 10 | WINDOW 0 5 -16 Left 2 11 | WINDOW 3 4 20 Left 2 12 | SYMATTR Value NPN 13 | SYMATTR Prefix QN 14 | SYMATTR Description Bipolar NPN transistor 15 | PIN 0 -32 NONE 0 16 | PINATTR PinName C 17 | PINATTR SpiceOrder 1 18 | PIN -48 0 NONE 0 19 | PINATTR PinName B 20 | PINATTR SpiceOrder 2 21 | PIN 0 32 NONE 0 22 | PINATTR PinName E 23 | PINATTR SpiceOrder 3 24 | -------------------------------------------------------------------------------- /sym48/circuiTikz/npn_t.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal -10 17 -16 25 4 | LINE Normal 0 32 -10 17 5 | LINE Normal 0 32 -16 25 6 | LINE Normal -13 21 -27 9 7 | LINE Normal -27 24 -27 -25 8 | LINE Normal -27 -9 0 -32 9 | LINE Normal -27 0 -48 0 10 | WINDOW 0 5 -16 Left 2 11 | WINDOW 3 4 20 Left 2 12 | SYMATTR Value NPN 13 | SYMATTR Prefix QN 14 | SYMATTR Description Bipolar NPN transistor 15 | PIN 0 -32 NONE 0 16 | PINATTR PinName C 17 | PINATTR SpiceOrder 1 18 | PIN -48 0 NONE 0 19 | PINATTR PinName B 20 | PINATTR SpiceOrder 2 21 | PIN 0 32 NONE 0 22 | PINATTR PinName E 23 | PINATTR SpiceOrder 3 24 | -------------------------------------------------------------------------------- /sym32a/Opamps/en_amp.asy2tex: -------------------------------------------------------------------------------- 1 | Type Node 2 | TexOrigin 0 0 0 False 3 | SymOrigin 2.836 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName en amp 7 | BeginTex 8 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, xscale=##mirror_xscale_value##, rotate=##rotate##, ##options##] (#self.name#) {} (#self.name#)++(##labelmirrorx##*0.75, ##labelmirrory##*2.0) node {#self.name# #self.value#}; 9 | \draw (#In+:x1#,#In+:y1#) to [*short, -] (#self.name#.+); \draw (#In-:x1#,#In-:y1#) to [*short, -] (#self.name#.-); \draw (#OUT:x1#,#OUT:y1#) to [*short, -] (#self.name#.out); % in/out 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/dc_current_us.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 0 56 4 44 4 | LINE Normal 0 56 -4 44 5 | LINE Normal -4 44 4 44 6 | LINE Normal 0 24 0 44 7 | LINE Normal 0 80 0 72 8 | LINE Normal 0 0 0 8 9 | ARC Normal -32 8 32 72 37 37 -37 36 10 | ARC Normal 32 72 -32 8 -37 43 37 44 11 | WINDOW 0 24 0 Left 2 12 | WINDOW 3 24 80 Left 2 13 | SYMATTR Value I 14 | SYMATTR Prefix I 15 | SYMATTR Description Current source, either DC, AC, PULSE, SINE, PWL, EXP, or SFFM 16 | PIN 0 0 NONE 0 17 | PINATTR PinName + 18 | PINATTR SpiceOrder 1 19 | PIN 0 80 NONE 0 20 | PINATTR PinName - 21 | PINATTR SpiceOrder 2 22 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/generic.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 0 24 0 32 4 | LINE Normal 0 -32 0 -24 5 | LINE Normal -10 -24 0 -24 6 | LINE Normal -10 24 -10 -24 7 | LINE Normal 10 24 -10 24 8 | LINE Normal 10 -24 10 24 9 | LINE Normal 0 -24 10 -24 10 | LINE Normal 0 1 0 -1 11 | LINE Normal 1 0 -1 0 12 | CIRCLE Normal -11 30 -14 27 13 | WINDOW 0 20 -8 Left 2 14 | WINDOW 3 20 28 Left 2 15 | SYMATTR Value R 16 | SYMATTR Prefix R 17 | SYMATTR Description A resistor 18 | PIN 0 -32 NONE 0 19 | PINATTR PinName A 20 | PINATTR SpiceOrder 1 21 | PIN 0 32 NONE 0 22 | PINATTR PinName B 23 | PINATTR SpiceOrder 2 24 | -------------------------------------------------------------------------------- /sym32a/Misc/signal.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal -4 32 4 32 4 | LINE Normal -4 80 4 80 5 | LINE Normal 0 28 0 36 6 | LINE Normal 0 96 0 88 7 | LINE Normal 0 16 0 24 8 | CIRCLE Normal -32 24 32 88 9 | ARC Normal 0 44 24 68 0 56 24 56 10 | ARC Normal -24 44 0 68 0 56 -24 56 11 | WINDOW 0 24 16 Left 0 12 | WINDOW 3 24 104 Left 0 13 | SYMATTR Value SINE(0 1 1K) 14 | SYMATTR Prefix V 15 | SYMATTR Description Voltage Source, either DC, AC, PULSE, SINE, PWL, EXP, or SFFM 16 | PIN 0 16 NONE 0 17 | PINATTR PinName + 18 | PINATTR SpiceOrder 1 19 | PIN 0 96 NONE 0 20 | PINATTR PinName - 21 | PINATTR SpiceOrder 2 22 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/bi_t.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 0 56 4 44 4 | LINE Normal 0 56 -4 44 5 | LINE Normal -4 44 4 44 6 | LINE Normal 0 24 0 44 7 | LINE Normal 0 80 0 72 8 | LINE Normal 0 0 0 8 9 | LINE Normal -32 40 0 8 10 | LINE Normal 0 72 -32 40 11 | LINE Normal 32 40 0 72 12 | LINE Normal 0 8 32 40 13 | WINDOW 0 24 0 Left 2 14 | WINDOW 3 24 80 Left 2 15 | SYMATTR Value I=F(...) 16 | SYMATTR Prefix B 17 | SYMATTR Description Arbitrary behavioral current source 18 | PIN 0 0 NONE 0 19 | PINATTR PinName + 20 | PINATTR SpiceOrder 1 21 | PIN 0 80 NONE 0 22 | PINATTR PinName - 23 | PINATTR SpiceOrder 2 24 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/pnp_t.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal -17 -24 -11 -16 4 | LINE Normal -27 -9 -17 -24 5 | LINE Normal -27 -9 -11 -16 6 | LINE Normal 0 -32 -14 -20 7 | LINE Normal -27 -24 -27 25 8 | LINE Normal -27 9 0 32 9 | LINE Normal -27 0 -48 0 10 | WINDOW 0 3 -18 Left 2 11 | WINDOW 3 3 18 Left 2 12 | SYMATTR Value PNP 13 | SYMATTR Prefix QP 14 | SYMATTR Description Bipolar PNP transistor 15 | PIN 0 32 NONE 0 16 | PINATTR PinName C 17 | PINATTR SpiceOrder 1 18 | PIN -48 0 NONE 0 19 | PINATTR PinName B 20 | PINATTR SpiceOrder 2 21 | PIN 0 -32 NONE 0 22 | PINATTR PinName E 23 | PINATTR SpiceOrder 3 24 | -------------------------------------------------------------------------------- /sym32b/circuiTikz/pnp_t.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal -17 -24 -11 -16 4 | LINE Normal -27 -9 -17 -24 5 | LINE Normal -27 -9 -11 -16 6 | LINE Normal 0 -32 -14 -20 7 | LINE Normal -27 -24 -27 25 8 | LINE Normal -27 9 0 32 9 | LINE Normal -27 0 -48 0 10 | WINDOW 0 3 -18 Left 2 11 | WINDOW 3 3 18 Left 2 12 | SYMATTR Value PNP 13 | SYMATTR Prefix QP 14 | SYMATTR Description Bipolar PNP transistor 15 | PIN 0 32 NONE 0 16 | PINATTR PinName C 17 | PINATTR SpiceOrder 1 18 | PIN -48 0 NONE 0 19 | PINATTR PinName B 20 | PINATTR SpiceOrder 2 21 | PIN 0 -32 NONE 0 22 | PINATTR PinName E 23 | PINATTR SpiceOrder 3 24 | -------------------------------------------------------------------------------- /sym48/circuiTikz/pnp_t.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal -17 -24 -11 -16 4 | LINE Normal -27 -9 -17 -24 5 | LINE Normal -27 -9 -11 -16 6 | LINE Normal 0 -32 -14 -20 7 | LINE Normal -27 -24 -27 25 8 | LINE Normal -27 9 0 32 9 | LINE Normal -27 0 -48 0 10 | WINDOW 0 3 -18 Left 2 11 | WINDOW 3 3 18 Left 2 12 | SYMATTR Value PNP 13 | SYMATTR Prefix QP 14 | SYMATTR Description Bipolar PNP transistor 15 | PIN 0 32 NONE 0 16 | PINATTR PinName C 17 | PINATTR SpiceOrder 1 18 | PIN -48 0 NONE 0 19 | PINATTR PinName B 20 | PINATTR SpiceOrder 2 21 | PIN 0 -32 NONE 0 22 | PINATTR PinName E 23 | PINATTR SpiceOrder 3 24 | -------------------------------------------------------------------------------- /sym32a/Opamps/opamp.asy2tex: -------------------------------------------------------------------------------- 1 | Type Node 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 64 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName op amp 7 | BeginTex 8 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, xscale=##mirror_xscale_value##, rotate=##rotate##, ##options##] (#self.name#) {} (#self.name#)++(##labelmirrorx##*0.75, ##labelmirrory##*1.25) node {#self.name# #self.value#}; 9 | \draw (#noninvin:x1#,#noninvin:y1#) to [*short, -] (#self.name#.+); \draw (#invin:x1#,#invin:y1#) to [*short, -] (#self.name#.-); \draw (#out:x1#,#out:y1#) to [*short, -] (#self.name#.out); % in/out 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym32a/Opamps/plainamp.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal -32 -32 32 0 4 | LINE Normal -32 32 32 0 5 | LINE Normal -32 -32 -32 32 6 | LINE Normal -28 -16 -25 -16 7 | WINDOW 0 0 -32 Left 2 8 | SYMATTR Prefix X 9 | SYMATTR Description Ideal single-pole operational amplifier. You must .lib opamp.sub 10 | SYMATTR Value opamp 11 | SYMATTR SpiceLine Aol=100K 12 | SYMATTR SpiceLine2 GBW=10Meg 13 | PIN -32 -16 NONE 0 14 | PINATTR PinName invin 15 | PINATTR SpiceOrder 1 16 | PIN -32 16 NONE 0 17 | PINATTR PinName noninvin 18 | PINATTR SpiceOrder 2 19 | PIN 32 0 NONE 0 20 | PINATTR PinName out 21 | PINATTR SpiceOrder 3 22 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/vco.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal -4 29 4 29 4 | LINE Normal 0 76 0 84 5 | LINE Normal 0 25 0 33 6 | LINE Normal 0 96 0 88 7 | LINE Normal 0 16 0 24 8 | CIRCLE Normal -32 24 32 88 9 | ARC Normal 12 54 -12 74 0 54 0 74 10 | ARC Normal 12 34 -12 54 0 54 0 34 11 | WINDOW 0 24 16 Left 2 12 | WINDOW 3 24 104 Left 2 13 | SYMATTR Value SINE(0 1 1K) 14 | SYMATTR Prefix V 15 | SYMATTR Description Voltage Source, either DC, AC, PULSE, SINE, PWL, EXP, or SFFM 16 | PIN 0 16 NONE 0 17 | PINATTR PinName + 18 | PINATTR SpiceOrder 1 19 | PIN 0 96 NONE 0 20 | PINATTR PinName - 21 | PINATTR SpiceOrder 2 22 | -------------------------------------------------------------------------------- /sym32b/circuiTikz/nmos_t.asy2tex: -------------------------------------------------------------------------------- 1 | Type Node 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | SymOrigin2 0 3.1 0 False 5 | BeginPinList 6 | EndPinList 7 | TexElementName nigfete 8 | BeginTex 9 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, ##mirror_xscale##, yscale=1, rotate=##rotate##, ##options##] (#self.name#) {} (#self.name#)++(1.2,1) node {#self.name# #self.value#}; 10 | \draw (#G:x1#, #G:y1#) to [*short, -] (#self.name#.G); \draw (#D:x1#, #D:y1#) to [*short, -] (#self.name#.D); \draw (#S:x1#, #S:y1#) to [*short, -] (#self.name#.S);% extend wires to the connection points 11 | EndTex 12 | -------------------------------------------------------------------------------- /sym32b/circuiTikz/pmos_t.asy2tex: -------------------------------------------------------------------------------- 1 | Type Node 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | SymOrigin2 0 -3.1 0 False 5 | BeginPinList 6 | EndPinList 7 | TexElementName pigfete 8 | BeginTex 9 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, ##mirror_xscale##, yscale=1, rotate=##rotate##, ##options##] (#self.name#) {} (#self.name#)++(1.2,1) node {#self.name# #self.value#}; 10 | \draw (#G:x1#, #G:y1#) to [*short, -] (#self.name#.G); \draw (#D:x1#, #D:y1#) to [*short, -] (#self.name#.D); \draw (#S:x1#, #S:y1#) to [*short, -] (#self.name#.S);% extend wires to the connection points 11 | EndTex 12 | -------------------------------------------------------------------------------- /sym48/circuiTikz/nmos_t.asy2tex: -------------------------------------------------------------------------------- 1 | Type Node 2 | TexOrigin 0 0 0 False 3 | SymOrigin2 0 0 0 False 4 | SymOrigin 0 3.1 0 False 5 | BeginPinList 6 | EndPinList 7 | TexElementName nigfete 8 | BeginTex 9 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, ##mirror_xscale##, yscale=1, rotate=##rotate##, ##options##] (#self.name#) {} (#self.name#)++(1.2,1) node {#self.name# #self.value#}; 10 | \draw (#G:x1#, #G:y1#) to [*short, -] (#self.name#.G); \draw (#D:x1#, #D:y1#) to [*short, -] (#self.name#.D); \draw (#S:x1#, #S:y1#) to [*short, -] (#self.name#.S);% extend wires to the connection points 11 | EndTex 12 | -------------------------------------------------------------------------------- /sym48/circuiTikz/pmos_t.asy2tex: -------------------------------------------------------------------------------- 1 | Type Node 2 | TexOrigin 0 0 0 False 3 | SymOrigin2 0 0 0 False 4 | SymOrigin 0 -3.1 0 False 5 | BeginPinList 6 | EndPinList 7 | TexElementName pigfete 8 | BeginTex 9 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, ##mirror_xscale##, yscale=1, rotate=##rotate##, ##options##] (#self.name#) {} (#self.name#)++(1.2,1) node {#self.name# #self.value#}; 10 | \draw (#G:x1#, #G:y1#) to [*short, -] (#self.name#.G); \draw (#D:x1#, #D:y1#) to [*short, -] (#self.name#.D); \draw (#S:x1#, #S:y1#) to [*short, -] (#self.name#.S);% extend wires to the connection points 11 | EndTex 12 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/nigbt.asy2tex: -------------------------------------------------------------------------------- 1 | Type Node 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName nigbt 7 | BeginTex 8 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, nobodydiode, ##mirror_xscale##, rotate=##rotate##, ##options##] (#self.name#) {} (#self.name#)++(1.0,1) node {#self.name# #self.value#}; 9 | \draw [/lt2ti/Net](#B:x1#, #B:y1#) to [*short, -] (#self.name#.B); \draw [/lt2ti/Net](#E:x1#, #E:y1#) to [*short, -] (#self.name#.E); \draw [/lt2ti/Net](#C:x1#, #C:y1#) to [*short, -] (#self.name#.C);% extend wires to the connection points 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/noisecurrent.asy2tex: -------------------------------------------------------------------------------- 1 | Type Bipole 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName *nI 7 | BeginTex 8 | \begin{scope}[circuitikz/bipoles/noise sources/fillcolor=dashed] 9 | %\draw (#+:x1#, #+:y1#) to[#self.symbol.latexElementName#, l=#self.name#, a={#self.mergedattrib.SpiceLine#}, ##mirror##, rotate=##rotate##,##options##] (#-:x1#,#-:y1#){}; 10 | \draw (#+:x1#, #+:y1#) to[#self.symbol.latexElementName#, l=#self.name#, a={#self.mergedattrib.spiceline#}, ##mirror##, #+:junction#-#-:junction#, ##options##] (#-:x1#,#-:y1#){}; 11 | \end{scope} 12 | EndTex 13 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/pfet.asy2tex: -------------------------------------------------------------------------------- 1 | Type Node 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName pfet 7 | BeginTex 8 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, nobodydiode, ##mirror_xscale##, rotate=##rotate##, ##options##] (#self.name#) {} (#self.name#)++(1.0,1) node {#self.name# #self.value#}; 9 | \draw [/lt2ti/Net](#G:x1#, #G:y1#) to [*short, -] (#self.name#.G); \draw [/lt2ti/Net](#S:x1#, #S:y1#) to [*short, -] (#self.name#.S); \draw [/lt2ti/Net](#D:x1#, #D:y1#) to [*short, -] (#self.name#.D);% extend wires to the connection points 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/pigbt.asy2tex: -------------------------------------------------------------------------------- 1 | Type Node 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName pigbt 7 | BeginTex 8 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, nobodydiode, ##mirror_xscale##, rotate=##rotate##, ##options##] (#self.name#) {} (#self.name#)++(1.0,1) node {#self.name# #self.value#}; 9 | \draw [/lt2ti/Net](#B:x1#, #B:y1#) to [*short, -] (#self.name#.B); \draw [/lt2ti/Net](#E:x1#, #E:y1#) to [*short, -] (#self.name#.E); \draw [/lt2ti/Net](#C:x1#, #C:y1#) to [*short, -] (#self.name#.C);% extend wires to the connection points 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/pnp_t.asy2tex: -------------------------------------------------------------------------------- 1 | Type Node 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName pnp 7 | BeginTex 8 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, nobodydiode, ##mirror_xscale##, rotate=##rotate##, ##options##] (#self.name#) {} (#self.name#)++(1.0,1) node {#self.name# #self.value#}; 9 | \draw [/lt2ti/Net](#B:x1#, #B:y1#) to [*short, -] (#self.name#.B); \draw [/lt2ti/Net](#E:x1#, #E:y1#) to [*short, -] (#self.name#.E); \draw [/lt2ti/Net](#C:x1#, #C:y1#) to [*short, -] (#self.name#.C);% extend wires to the connection points 10 | EndTex 11 | -------------------------------------------------------------------------------- /examples/translate.asy2tex: -------------------------------------------------------------------------------- 1 | Type {Node|Bipole|Tripole|pole|Graphical} 2 | Origin 3 | BeginPinList (optional: otherwise created from ASC pin locations 4 | PinNum x1 y1 rot length PinName 5 | EndPinList 6 | TexElementName op amp 7 | BeginTex 8 | \draw (#PinName:x1#, #PinName:x2#) node[#self.symbol.latexElementName#, l=#self.name#, a=#self.value#,##mirror_xscale##, rotate=##rotate##, ##options##] (#self.name#) {#self.value#}; 9 | \draw (#PinName:x1#, #PinName:x2#) to[#self.symbol.latexElementName#, l=#self.name#, a=#self.value#,##mirror##,rotate=##rotate##,##options##] (#PinName2:x1#,#PinName2:y1#){}; 10 | EndTex -------------------------------------------------------------------------------- /sym32a/Opamps/plainamp.asy2tex: -------------------------------------------------------------------------------- 1 | Type Node 2 | TexOrigin 0 0 0 False 3 | SymOrigin 2.836 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName plain amp 7 | BeginTex 8 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, xscale=##mirror_xscale_value##, rotate=##rotate##, ##options##] (#self.name#) {} (#self.name#)++(##labelmirrorx##*0.75, ##labelmirrory##*1.25) node {#self.name# #self.value#}; 9 | \draw (#noninvin:x1#,#noninvin:y1#) to [*short, -] (#self.name#.+); \draw (#invin:x1#,#invin:y1#) to [*short, -] (#self.name#.-); \draw (#out:x1#,#out:y1#) to [*short, -] (#self.name#.out); % in/out 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/blockdiagram/piattenuator_var.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal -32 0 -24 0 4 | LINE Normal 32 0 24 0 5 | LINE Normal 26 -11 30 -11 6 | LINE Normal 29 -13 30 -11 7 | LINE Normal 18 -19 -17 19 8 | LINE Normal 13 -18 18 -19 9 | LINE Normal 18 -14 18 -19 10 | RECTANGLE Normal 24 25 -24 -25 11 | RECTANGLE Normal -5 13 -8 -7 12 | RECTANGLE Normal 14 -7 -14 -10 13 | RECTANGLE Normal 8 13 5 -7 14 | WINDOW 0 -23 -40 Left 2 15 | WINDOW 3 0 41 Center 2 16 | SYMATTR Value V 17 | PIN 32 0 NONE 0 18 | PINATTR PinName + 19 | PINATTR SpiceOrder 1 20 | PIN -32 0 NONE 0 21 | PINATTR PinName - 22 | PINATTR SpiceOrder 2 23 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/pmos_gen.asy2tex: -------------------------------------------------------------------------------- 1 | Type Node 2 | TexOrigin 0 0 0 False 3 | SymOrigin 0 0 0 False 4 | BeginPinList 5 | EndPinList 6 | TexElementName pmos 7 | BeginTex 8 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, nobodydiode, ##mirror_xscale##, rotate=##rotate##, ##options##] (#self.name#) {} (#self.name#)++(1.0,1) node {#self.name# #self.value#}; 9 | \draw [/lt2ti/Net](#G:x1#, #G:y1#) to [*short, -] (#self.name#.G); \draw [/lt2ti/Net](#S:x1#, #S:y1#) to [*short, -] (#self.name#.S); \draw [/lt2ti/Net](#D:x1#, #D:y1#) to [*short, -] (#self.name#.D);% extend wires to the connection points 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/transformer.asc: -------------------------------------------------------------------------------- 1 | Version 4 2 | SHEET 1 880 680 3 | WIRE 160 80 112 80 4 | WIRE 272 80 224 80 5 | WIRE 160 96 160 80 6 | WIRE 224 96 224 80 7 | WIRE 160 176 112 176 8 | WIRE 272 176 224 176 9 | FLAG 112 80 p1 10 | FLAG 112 176 p2 11 | FLAG 272 80 s1 12 | FLAG 272 176 s2 13 | SYMBOL ind2 144 80 R0 14 | SYMATTR InstName Lp 15 | SYMATTR Value {Lp} 16 | SYMATTR Type ind 17 | SYMBOL ind2 208 80 R0 18 | SYMATTR InstName Ls 19 | SYMATTR Value {Ls} 20 | SYMATTR Type ind 21 | TEXT 104 224 Left 2 !.param kps 1 22 | TEXT 104 264 Left 2 !.param Lp 100u 23 | TEXT 104 296 Left 2 !.param Ls 10u 24 | TEXT 136 48 Left 2 !K1 Lp Ls {kps} 25 | -------------------------------------------------------------------------------- /sym48/pmos.asy2tex: -------------------------------------------------------------------------------- 1 | Type Node 2 | TexOrigin 0 0 0 False 3 | SymOrigin 48 67 180 True 4 | BeginPinList 5 | EndPinList 6 | TexElementName pigfete 7 | BeginTex 8 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, xscale=##mirror_rot_xscale_value##, yscale=##mirror_rot_yscale_value##, rotate=##rotate_mirror##, ##options##] (#self.name#) {} (#self.name#)++(0.7,0.7) node {#self.name# #self.value#}; 9 | \draw (#G:x1#, #G:y1#) to [*short, -] (#self.name#.G); \draw (#D:x1#, #D:y1#) to [*short, -] (#self.name#.D); \draw (#S:x1#, #S:y1#) to [*short, -] (#self.name#.S);% extend wires to the connection points 10 | EndTex 11 | -------------------------------------------------------------------------------- /texlive_packages.txt: -------------------------------------------------------------------------------- 1 | tlmgr install standalone 2 | tlmgr install tikz 3 | tlmgr install pgf 4 | tlmgr install amsmath 5 | tlmgr install siunitx 6 | tlmgr install bm 7 | tlmgr install amsfonts 8 | tlmgr install tools 9 | tlmgr install color 10 | tlmgr install graphics 11 | tlmgr install pgfkeys 12 | tlmgr install latex 13 | tlmgr install ulem 14 | tlmgr install xkeyval 15 | tlmgr install ms 16 | tlmgr install xcolor 17 | tlmgr install xstring 18 | tlmgr install expl3 19 | tlmgr install l3kernel 20 | tlmgr install l3backend 21 | tlmgr install xparse 22 | tlmgr install l3packages 23 | tlmgr install pgfplots 24 | tlmgr install circuitikz 25 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/fuse.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal 0 24 0 32 4 | LINE Normal 0 -32 0 -24 5 | LINE Normal -10 -24 0 -24 6 | LINE Normal -10 24 -10 -24 7 | LINE Normal 10 24 -10 24 8 | LINE Normal 10 -24 10 24 9 | LINE Normal 0 -24 10 -24 10 | LINE Normal 0 1 0 -1 11 | LINE Normal 1 0 -1 0 12 | LINE Normal 0 24 0 -24 13 | CIRCLE Normal -11 30 -14 27 14 | WINDOW 0 20 -8 Left 2 15 | WINDOW 3 20 28 Left 2 16 | SYMATTR Value R 17 | SYMATTR Prefix R 18 | SYMATTR Description A resistor 19 | PIN 0 -32 NONE 0 20 | PINATTR PinName A 21 | PINATTR SpiceOrder 1 22 | PIN 0 32 NONE 0 23 | PINATTR PinName B 24 | PINATTR SpiceOrder 2 25 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/transformer_core.asc: -------------------------------------------------------------------------------- 1 | Version 4 2 | SHEET 1 880 680 3 | WIRE 160 80 112 80 4 | WIRE 272 80 224 80 5 | WIRE 160 96 160 80 6 | WIRE 224 96 224 80 7 | WIRE 160 176 112 176 8 | WIRE 272 176 224 176 9 | FLAG 112 80 p1 10 | FLAG 112 176 p2 11 | FLAG 272 80 s1 12 | FLAG 272 176 s2 13 | SYMBOL ind2 144 80 R0 14 | SYMATTR InstName Lp 15 | SYMATTR Value {Lp} 16 | SYMATTR Type ind 17 | SYMBOL ind2 208 80 R0 18 | SYMATTR InstName Ls 19 | SYMATTR Value {Ls} 20 | SYMATTR Type ind 21 | TEXT 104 224 Left 2 !.param kps 1 22 | TEXT 104 264 Left 2 !.param Lp 100u 23 | TEXT 104 296 Left 2 !.param Ls 10u 24 | TEXT 136 48 Left 2 !K1 Lp Ls {kps} 25 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/transformer_cu.asc: -------------------------------------------------------------------------------- 1 | Version 4 2 | SHEET 1 880 680 3 | WIRE 160 80 112 80 4 | WIRE 272 80 224 80 5 | WIRE 160 96 160 80 6 | WIRE 224 96 224 80 7 | WIRE 160 176 112 176 8 | WIRE 272 176 224 176 9 | FLAG 112 80 p1 10 | FLAG 112 176 p2 11 | FLAG 272 80 s1 12 | FLAG 272 176 s2 13 | SYMBOL ind2 144 80 R0 14 | SYMATTR InstName Lp 15 | SYMATTR Value {Lp} 16 | SYMATTR Type ind 17 | SYMBOL ind2 208 80 R0 18 | SYMATTR InstName Ls 19 | SYMATTR Value {Ls} 20 | SYMATTR Type ind 21 | TEXT 104 224 Left 2 !.param kps 1 22 | TEXT 104 264 Left 2 !.param Lp 100u 23 | TEXT 104 296 Left 2 !.param Ls 10u 24 | TEXT 136 48 Left 2 !K1 Lp Ls {kps} 25 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/transformer_eu.asc: -------------------------------------------------------------------------------- 1 | Version 4 2 | SHEET 1 880 680 3 | WIRE 160 80 112 80 4 | WIRE 272 80 224 80 5 | WIRE 160 96 160 80 6 | WIRE 224 96 224 80 7 | WIRE 160 176 112 176 8 | WIRE 272 176 224 176 9 | FLAG 112 80 p1 10 | FLAG 112 176 p2 11 | FLAG 272 80 s1 12 | FLAG 272 176 s2 13 | SYMBOL ind2 144 80 R0 14 | SYMATTR InstName Lp 15 | SYMATTR Value {Lp} 16 | SYMATTR Type ind 17 | SYMBOL ind2 208 80 R0 18 | SYMATTR InstName Ls 19 | SYMATTR Value {Ls} 20 | SYMATTR Type ind 21 | TEXT 104 224 Left 2 !.param kps 1 22 | TEXT 104 264 Left 2 !.param Lp 100u 23 | TEXT 104 296 Left 2 !.param Ls 10u 24 | TEXT 136 48 Left 2 !K1 Lp Ls {kps} 25 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/transformer_us.asc: -------------------------------------------------------------------------------- 1 | Version 4 2 | SHEET 1 880 680 3 | WIRE 160 80 112 80 4 | WIRE 272 80 224 80 5 | WIRE 160 96 160 80 6 | WIRE 224 96 224 80 7 | WIRE 160 176 112 176 8 | WIRE 272 176 224 176 9 | FLAG 112 80 p1 10 | FLAG 112 176 p2 11 | FLAG 272 80 s1 12 | FLAG 272 176 s2 13 | SYMBOL ind2 144 80 R0 14 | SYMATTR InstName Lp 15 | SYMATTR Value {Lp} 16 | SYMATTR Type ind 17 | SYMBOL ind2 208 80 R0 18 | SYMATTR InstName Ls 19 | SYMATTR Value {Ls} 20 | SYMATTR Type ind 21 | TEXT 104 224 Left 2 !.param kps 1 22 | TEXT 104 264 Left 2 !.param Lp 100u 23 | TEXT 104 296 Left 2 !.param Ls 10u 24 | TEXT 136 48 Left 2 !K1 Lp Ls {kps} 25 | -------------------------------------------------------------------------------- /sym32a/nmos.asy2tex: -------------------------------------------------------------------------------- 1 | Type Node 2 | TexOrigin 0 0 0 False 3 | SymOrigin2 48 64 0 False 4 | SymOrigin 48 67.1 0 False 5 | BeginPinList 6 | EndPinList 7 | TexElementName nigfete 8 | BeginTex 9 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, ##mirror_xscale##, rotate=##rotate##, ##options##] (#self.name#) {} (#self.name#)++(1.2,1) node {#self.name# #self.value#}; 10 | \draw [/lt2ti/Net](#G:x1#, #G:y1#) to [*short, -] (#self.name#.G); \draw [/lt2ti/Net](#D:x1#, #D:y1#) to [*short, -] (#self.name#.D); \draw [/lt2ti/Net](#S:x1#, #S:y1#) to [*short, -] (#self.name#.S);% extend wires to the connection points 11 | EndTex 12 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/nigbt.asy: -------------------------------------------------------------------------------- 1 | Version 4 2 | SymbolType CELL 3 | LINE Normal -10 17 -16 25 4 | LINE Normal 0 32 -10 17 5 | LINE Normal 0 32 -16 25 6 | LINE Normal -13 21 -27 9 7 | LINE Normal -27 24 -27 -25 8 | LINE Normal -27 -9 0 -32 9 | LINE Normal -32 0 -48 0 10 | LINE Normal -32 24 -32 -25 11 | WINDOW 0 5 -16 Left 2 12 | WINDOW 3 4 20 Left 2 13 | SYMATTR Value NIGBT 14 | SYMATTR Prefix QN 15 | SYMATTR Description Bipolar NPN transistor 16 | PIN 0 -32 NONE 0 17 | PINATTR PinName C 18 | PINATTR SpiceOrder 1 19 | PIN -48 0 NONE 0 20 | PINATTR PinName B 21 | PINATTR SpiceOrder 2 22 | PIN 0 32 NONE 0 23 | PINATTR PinName E 24 | PINATTR SpiceOrder 3 25 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/transformer_cu_core.asc: -------------------------------------------------------------------------------- 1 | Version 4 2 | SHEET 1 880 680 3 | WIRE 160 80 112 80 4 | WIRE 272 80 224 80 5 | WIRE 160 96 160 80 6 | WIRE 224 96 224 80 7 | WIRE 160 176 112 176 8 | WIRE 272 176 224 176 9 | FLAG 112 80 p1 10 | FLAG 112 176 p2 11 | FLAG 272 80 s1 12 | FLAG 272 176 s2 13 | SYMBOL ind2 144 80 R0 14 | SYMATTR InstName Lp 15 | SYMATTR Value {Lp} 16 | SYMATTR Type ind 17 | SYMBOL ind2 208 80 R0 18 | SYMATTR InstName Ls 19 | SYMATTR Value {Ls} 20 | SYMATTR Type ind 21 | TEXT 104 224 Left 2 !.param kps 1 22 | TEXT 104 264 Left 2 !.param Lp 100u 23 | TEXT 104 296 Left 2 !.param Ls 10u 24 | TEXT 136 48 Left 2 !K1 Lp Ls {kps} 25 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/transformer_eu_core.asc: -------------------------------------------------------------------------------- 1 | Version 4 2 | SHEET 1 880 680 3 | WIRE 160 80 112 80 4 | WIRE 272 80 224 80 5 | WIRE 160 96 160 80 6 | WIRE 224 96 224 80 7 | WIRE 160 176 112 176 8 | WIRE 272 176 224 176 9 | FLAG 112 80 p1 10 | FLAG 112 176 p2 11 | FLAG 272 80 s1 12 | FLAG 272 176 s2 13 | SYMBOL ind2 144 80 R0 14 | SYMATTR InstName Lp 15 | SYMATTR Value {Lp} 16 | SYMATTR Type ind 17 | SYMBOL ind2 208 80 R0 18 | SYMATTR InstName Ls 19 | SYMATTR Value {Ls} 20 | SYMATTR Type ind 21 | TEXT 104 224 Left 2 !.param kps 1 22 | TEXT 104 264 Left 2 !.param Lp 100u 23 | TEXT 104 296 Left 2 !.param Ls 10u 24 | TEXT 136 48 Left 2 !K1 Lp Ls {kps} 25 | -------------------------------------------------------------------------------- /sym32a/circuiTikz/transformer_us_core.asc: -------------------------------------------------------------------------------- 1 | Version 4 2 | SHEET 1 880 680 3 | WIRE 160 80 112 80 4 | WIRE 272 80 224 80 5 | WIRE 160 96 160 80 6 | WIRE 224 96 224 80 7 | WIRE 160 176 112 176 8 | WIRE 272 176 224 176 9 | FLAG 112 80 p1 10 | FLAG 112 176 p2 11 | FLAG 272 80 s1 12 | FLAG 272 176 s2 13 | SYMBOL ind2 144 80 R0 14 | SYMATTR InstName Lp 15 | SYMATTR Value {Lp} 16 | SYMATTR Type ind 17 | SYMBOL ind2 208 80 R0 18 | SYMATTR InstName Ls 19 | SYMATTR Value {Ls} 20 | SYMATTR Type ind 21 | TEXT 104 224 Left 2 !.param kps 1 22 | TEXT 104 264 Left 2 !.param Lp 100u 23 | TEXT 104 296 Left 2 !.param Ls 10u 24 | TEXT 136 48 Left 2 !K1 Lp Ls {kps} 25 | -------------------------------------------------------------------------------- /sym32a/pnp.asy2tex: -------------------------------------------------------------------------------- 1 | Type Node 2 | TexOrigin 0 0 0 False 3 | SymOrigin 64 48 180 True 4 | BeginPinList 5 | EndPinList 6 | TexElementName pnp 7 | BeginTex 8 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, nobodydiode, xscale=##mirror_rot_xscale_value##, yscale=##mirror_rot_yscale_value##, rotate=##rotate_mirror##, ##options##] (#self.name#) {} (#self.name#)++(1.0,1) node {#self.name# #self.value#}; 9 | \draw (#B:x1#, #B:y1#) to [*short, -] (#self.name#.B); \draw (#E:x1#, #E:y1#) to [*short, -] (#self.name#.E); \draw (#C:x1#, #C:y1#) to [*short, -] (#self.name#.C);% extend wires to the connection points 10 | EndTex 11 | -------------------------------------------------------------------------------- /sym32b/pnp.asy2tex: -------------------------------------------------------------------------------- 1 | Type Node 2 | TexOrigin 0 0 0 False 3 | SymOrigin 64 48 180 True 4 | BeginPinList 5 | EndPinList 6 | TexElementName pnp 7 | BeginTex 8 | \draw (#self.texx1#, #self.texy1#) node[#self.symbol.latexElementName#, nobodydiode, xscale=##mirror_rot_xscale_value##, yscale=##mirror_rot_yscale_value##, rotate=##rotate_mirror##, ##options##] (#self.name#) {} (#self.name#)++(1.0,1) node {#self.name# #self.value#}; 9 | \draw (#B:x1#, #B:y1#) to [*short, -] (#self.name#.B); \draw (#E:x1#, #E:y1#) to [*short, -] (#self.name#.E); \draw (#C:x1#, #C:y1#) to [*short, -] (#self.name#.C);% extend wires to the connection points 10 | EndTex 11 | --------------------------------------------------------------------------------