Automatically indent LaTeX source code for improved readability
Add indentation to LaTeX files
latexindent
$ latexindent myfile.tex
$ latexindent -w -b myfile.tex
$ latexindent -l myconfig.yaml myfile.tex