1
vote
0answers
389 views

Auto-indentation of LaTeX Source code in TeXShop [duplicate]

Sometimes, I find it a bit hard to manually indent my code so that all the \begin{...}'s and \end{...}'s align vertically in my .tex source code. In some code development environments, I know that ...
5
votes
1answer
505 views

Is there a default / official / standard Vim indentation file for TeX, or just best practices for TeX source indentation?

If you see here, the author mentions an "official version" of an indentation script from Johannes Zellner. The link is broken and while there are traces of Zellner all over the interwebs, I can't find ...
5
votes
5answers
7k views

Verbatim environment with correct tab handling and special characters

I'm looking for an environment similar to Verbatim which will allow me to say something like the following code (which uses indentation instead of spaces): \documentclass{article} ...
10
votes
1answer
1k views

Source Code Indentation

I was wondering if it is possible to indent the code like in most programming languages as shown below: \part \chapter \section \subsection etc. This would make the ...
2
votes
1answer
366 views

Re-Indent in TeXShop

Is there something as Re-Indent (in Xcode) or Smart Indent (in Matlab) for TeXShop?