This question already has an answer here:
- LaTeX code sniffer and/or beautifier? 4 answers
I am looking for a tool that reformats my LaTeX source code so that it becomes nice and readable. For programming languages like C, C++, etc. such pretty printers exist.
Are there any pretty printers for LaTeX source?