Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Spell check for latex file in Atom

I am trying to add .tex file in the Setting->Grammar of atom/spell-check so that it will check spellings in my document because .tex file is going to be a PDF document, but its not working.

enter image description here

like image 312
Arpit Avatar asked Dec 07 '17 22:12

Arpit


People also ask

How do I spell check in LaTeX?

If you want to spell-check your document, you can use the command-line aspell, hunspell (preferably), or ispell programs. All three understand LaTeX and will skip LaTeX commands. You can also use a LaTeX editor with built-in spell checking, such as LyX, Kile, or Emacs.

Can I use LaTeX on Atom?

Installing Atom-LaTeX is simple. You can find it in the atom.io package registry, or simply run apm install atom-latex from the command line.

How do I turn off spell check in Atom?

Disable the spell-check pluginGo to Settings > Packages > Spell Check. Click the Disable button.

How do I add spell check to Texworks?

Texworks windows config to add spell check. File>Edit>Preferences>Editor>Spell-check language.


1 Answers

Found out that I was using wrong syntax. Correct scope is text.tex.latex. It was already mentioned in the README file on how to get it. Follow below procedure in Atom Editor.

To enable Spell Check for your current file type: put your cursor in the file, open the Command Palette (cmd-shift-p), and run the Editor: Log Cursor Scope command. This will trigger a notification which will contain a list of scopes. The first scope that's listed is the one you should add to the list of scopes in the settings for the Spell Check package. Here are some examples: source.coffee,text.plain, text.html.basic.

enter image description here

It should pop up as below enter image description here

like image 132
Arpit Avatar answered Sep 18 '22 15:09

Arpit