It is well-known that the argument of certain commands (label, ref, cite are typical examples) almost never make any sense in LaTeX, and should be hence avoided when spell checking is performed.

I have found examples for environments where it is not working (TeXMaker), and instances where it seems to work (kile, TeXlipse).

However, I simply wasn't able to get any information about this problem in TeXnicCenter!

So the question is: is it somehow possible to perform spell checking in TeXnicCenter with the arguments of these commands ignored?


You can set your preferences by going to Tools/options/spelling and then you'll find some checkboxes and select the ones you want to ignore.

The menu looks like this:

enter image description here

For more information on these options and others, please visit the TeXnic Center's options documentation

However, please bear in mind that ---as stated in the documentation---, the argument of the command is always spell-checked, and not the command itself.

Furthermore, if you wish to include this feature for specific commands (such as \label and \ref) in future TeXnicCenter versions, please add your recommendation in the TeXnicCenter Feature Request Page

Nevertheless, there is kind of a workaround: as you can see in the picture attached, you can ignore things with numbers and/or uppercase... so you can always use numbers and/or uppercase for the arguments of \label and \ref and \cite.

| improve this answer | |
  • Would you add a screen shot? – egreg Apr 14 '13 at 9:07
  • This doesn't work in all cases. The values in \begin{} and \end{}, for example, are still marked as a spelling error. Or self defined node names in TikZ pictures. Or \label{}. But I think this can only be fixed by the author of the program in a new release. – Foo Bar Apr 14 '13 at 9:09
  • Well, I did exactly this, but it didn't help at all (not even for label, ref etc.!): i.imgur.com/dATPqwb.jpg – Tamas Ferenci Apr 14 '13 at 9:12
  • As stated in the documentation (see link in answer), the argument of the command is always spell-checked, it is the command itself that is not – Mario S. E. Apr 14 '13 at 9:13
  • 2
    I agrre with you @FooBar, but I think that'll have to be something to feature request for the next version. I'm updating my answer to include what we just talked – Mario S. E. Apr 14 '13 at 9:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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