Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Is there any indentation tool for (la)tex?
I currently use TexShop under Mac OSX, so I can either use a TexShop plugin or a command line tool.
Just have a look to latexindent.pl. In my opinion an interesting tool. Have a look at LaTeX code sniffer and/or beautifier? for details.