is an option for Cell that determines in what category of language the contents of the cell should be assumed to be for purposes of spell checking and hyphenation.


  • Possible settings for LanguageCategory are:
  • "Formula"mathematical formula
    "Mathematica"Mathematica input
    "NaturalLanguage"human natural language
    Nonedo no spell checking or hyphenation
  • LanguageCategory is normally set to for text cells, 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.

ExamplesExamplesopen allclose all

Basic Examples (1)Basic Examples (1)

Create a document with cells that have different LanguageCategory settings:

Click for copyable input

Syntax coloring is displayed only in cells with LanguageCategory->"Mathematica":

The menu command Edit ► Check Spelling finds misspellings only in cells:

New in 4
New to Mathematica? Find your learning path »
Have a question? Ask support »