TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there around a TeX editor with a spellchecker that recognizes and handles properly TeX commands? For instance, I'd like it to underline with a red wavy line if I write "ntheorem" in my text, but not \usepackage{ntheorem}, figuring out automatically that the argument of usepackage is not meant to be a word but a "special command". Similarly, it should ignore most mathematical content (but not that inside \[ \text{} \]).

share|improve this question
up vote 5 down vote accepted

As usual, emacs in combination with auctex and any flyspell is quite good in this. It recognizes many TeX-like constructs and even finds out which babel-options you have in your source file. So if you specify babel or the documentclass with a language option, emacs tries to make the spell checking accordingly. For me, this does not leave open any wishes :)

share|improve this answer
You might also want to customize the ispell-tex-skip-alists variable. – mbork Mar 12 '13 at 14:47

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.