This is documentation for Mathematica 7, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

LanguageCategory

LanguageCategory
is an option for Cell which determines in what category of language the contents of the cell should be assumed to be for purposes of spell checking and hyphenation.
"Formula"mathematical formula
"Mathematica"Mathematica input
"NaturalLanguage"human natural language
Nonedo no spell checking or hyphenation
  • LanguageCategory is normally set to "NaturalLanguage" for text cells, "Mathematica" for input cells, and None for output cells.
  • LanguageCategory is more often set at the level of styles than at the level of individual cells.
Create a document with cells that have different LanguageCategory settings:
Syntax coloring is displayed only in cells with LanguageCategory->"Mathematica":
The menu command EditCheck Spelling finds misspellings only in "NaturalLanguage" cells:
Create a document with cells that have different LanguageCategory settings:
In[1]:=
Click for copyable input
Syntax coloring is displayed only in cells with LanguageCategory->"Mathematica":
The menu command EditCheck Spelling finds misspellings only in "NaturalLanguage" cells:
New in 4