Skip to content

iancraz/LTSpice-to-LaTeX-Creator

Repository files navigation

Convert LTspice to Latex

Creative Commons License

Convert LTspice to LaTeX (TikZ)

Table of contents

Setup

Table of contents

  1. Install Python 3
  2. Install LTspice
  3. Latex packages: tikz, circuitikz, (amsmath)
  4. Install PyQt5
pip install PyQt5
  1. Change path in main.pyw to your LTSpice path

Process

Table of contents

Once you have installed the packages above, double click the “main.pyw” file. A prompt as shown on the following figure should appear.

Once you oppened the main window, to choose your LTSpice file, you will need to type the path of your file, or select it in the file manager. To do this, you will click on the '...' button and select a '.asc' file (as shown in the following figure), a test file has been provided in this repository.

Once you’ve selected your file, click the 'Go!' button, and the LaTeX code should appear. You can copy the code generated, or you can save it as a '.tex' file by clicking in File/Save or simply Ctrl+S

License

Table of contents

Creative Commons License

LTSpice to LaTeX Converter by Ian C. Diaz is licensed under Creative Commons Attribution-ShareAlike 4.0 International