# Good looking LaTeX code [duplicate]

I'm looking for some script (program) which would help in editing LaTeX code. Usually I have a mess in my .tex code, so it would be good if the script could align tabulars and so on. It would also be nice, if it allows editing code (for example replace every  with $$...$$ and vice versa).

Is there any program which is doing such a thing? It can be program, or a plugin of texstudio or a bash (python) script as well. However I don want to change my editor (if it is of course possible).

• note exactly, Im not looking for editor but for program which just do things I wrote above. May 4, 2015 at 18:46
• You should tell us what platform you're working on. Solutions that work with *nix-based platforms may not work on Windows, for example. May 4, 2015 at 18:47
• @AdamGlos: Some of the listed editors have regular expression search-and-replace.
– Werner
May 4, 2015 at 18:48
• @Werner I would be hard-pressed to come up with a regex to align tabulars... It's not a well-formed question right now -- too broad -- but regex alone wouldn't help. May 4, 2015 at 18:48
• @SeanAllred: For that there's latexindent.
– Werner
May 4, 2015 at 18:49