Format LaTeX source code. More information: https://github.com/WGUNDERWOOD/tex-fmt.
tex-fmt {{path/to/file.tex}}
tex-fmt --check {{path/to/file.tex}}
stdin
stdout
cat {{path/to/file.tex}} | tex-fmt --stdin