This question already has an answer here:

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 \begin{equation}...\end{equation} 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).

marked as duplicate by Ian Thompson, Sean Allred, user31729, R. Schumacher, Paul Gessler May 4 '15 at 19:35

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • note exactly, I`m not looking for editor but for program which just do things I wrote above. – Adam Glos May 4 '15 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. – Sean Allred May 4 '15 at 18:47
  • @AdamGlos: Some of the listed editors have regular expression search-and-replace. – Werner May 4 '15 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. – Sean Allred May 4 '15 at 18:48
  • 4
    @SeanAllred: For that there's latexindent. – Werner May 4 '15 at 18:49

Browse other questions tagged or ask your own question.