latex-formatter README
November 23, 2025 ยท View on GitHub
Since the plugin is outdated and I do not work with LaTex anymore I archived this repository. Feel free to fork.
latex-formatter README
LaTex-Formatter is a simple VSCode tool for the LaTex - Language

Requirements
- Ubuntu or Windows
- latex-formatter requires a latexindent.pl installation
Installation guide
TexDistro - Package manager
For MiKTeX and TeXLive is a package available.
Reference for the following guides: latexindent.pl - Documentation
Windows
- go to latexindent.pl and download latexindent.exe, defaultSettings.yaml, add-to-path.bat to the directory where you want to have latexindent.
- right click on add-to-path.bat and click Run as administrator.
- log out and lock back in
- open a command prompt type the following and hit enter
to check if latexindent is now in your PATHecho %path%
Linux
- go to latexindent.pl and download latexindent.pl, defaultSettings.yaml the directory where you want to have latexindent.
- within your directory create a directory called path-helper-files and download CMakeLists.txt and cmake_uninstall.cmake.in from the folder path-helper-files to this directory
- run the following commands
sudo apt-get install cmake sudo apt-get update && sudo apt-get install build-essential mkdir build && cd build cmake ../path-helper-files sudo make install - run
to check if latexindent was correctly installedwhich latexindent.pl
Release Notes
1.0.5
filenames with spaces are now supported
1.0.4
added mac support
1.0.3
Fixed typos
1.0.2
Added windows support
1.0.1
Updated readme
1.0.0
Initial release
Roadmap
- Style options