[Tex/LaTex] Are there any editors or packages with auto-correct for LaTeX commands

editors

When a LaTeX command is written incorrectly, the document does not compile and the workflow is interrupted. In most cases, this is due to a typo, such as writing \foornote{} instead of footnote{}.

Are there any editors that use an auto-correct for situations like this?

The algorithm for doing the auto-correct, I guess, would be similar to the auto-correct for spelling as found in MS Word, which changes things like neccessary to necessary on-the-fly without users even noticing.

Best Answer

TeXstudio (Sourceforge / tex.sx) doesn’t have autocorrect (built in, cf. Qrrbrbirlbel’s comment), but it marks unrecognized macros with a red background:

unrecognized macro highlighting
\foornote vs. \footnote

In order for this to make sense, TeXstudio notices which packages you are using and automatically tries to determine which macros are defined by them, mostly sucessfully so (if it should fail, you could complement macros manually):

with lipsum loaded without lipsum loaded
lipsum loaded vs. lipsum not loaded

However, when you’re using TeXstudio (or just about any editor with decent autocompletion, you’re not going to need this too often because \footnote will be suggested to you as an autocomplete option:

autocomplete autocomplete suggestions for \foo