[Tex/LaTex] Ignoring arguments of label, ref etc. for spell checking in TeXnicCenter

spellingtexniccenter

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?

Best Answer

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.