Skip to content

Spell Check

Mathcha includes a built-in spell checker powered by Hunspell. It highlights misspelled words with a red underline and offers correction suggestions through the right-click context menu.

Spell check is disabled by default (language set to None). To enable it, open Document Settings from the Menu:

Open Document Settings from Menu

In the Document Settings dialog, find the Spell check language dropdown and select your language:

Spell check language selector in Document Settings

The following languages are available out of the box:

CodeLanguage
deGerman
de-atGerman (Austria)
de-chGerman (Switzerland)
en-auEnglish (Australia)
en-caEnglish (Canada)
en-gbEnglish (United Kingdom)
en-usEnglish (United States)

You can also add custom dictionaries for additional languages (see Adding Custom Dictionaries).

Once a spell check language is selected, misspelled words are underlined in red:

Misspelled words with red underline

Right-click on a misspelled word to see the Spell Check submenu with:

  • Ignore (current doc) — add the word to the ignore list for this document only
  • Ignore (globally) — add the word to the global ignore list across all documents
  • Suggestions — click a suggestion to replace the misspelled word

Spell Check right-click context menu

The status bar at the bottom of the editor shows the current spell check language, word count, and math count:

Status bar showing language and word count

Click More to open a detailed view with word and character statistics, plus a [Change] link to quickly switch the spell check language:

Detailed document info with spell check language

When you ignore a misspelled word, it is added to an ignore list so it will no longer be underlined. There are two levels:

  • Per-document — the word is ignored only in the current document
  • Global — the word is ignored across all your documents

You can manage the per-document ignore list by clicking the More button next to the spell check language in Document Settings. The ignore dialog lets you add or remove words:

Spell check ignore list for current document

Click Configure Ignore Globally to manage the global ignore list.

To add support for a language not in the built-in list, click the More button next to the spell check language dropdown in Document Settings. This opens the dictionary manager where you can add a custom Hunspell dictionary.

Add Spellcheck/Dictionary dialog

The dialog has two types:

  • Preset — select from a built-in language and Mathcha provides the dictionary files automatically
  • Define — specify a custom language with your own Hunspell dictionary files

For a custom dictionary, provide:

FieldDescription
Language CodeA short identifier (e.g., vi, fr)
Language NameDisplay name (e.g., Vietnamese, French)
Unicode RangesCharacter range filter (default: All)
Hunspell .dic UrlURL to the Hunspell .dic dictionary file
Hunspell .aff UrlURL to the Hunspell .aff affix/rules file