Spelling and Grammar Checking for Latex


One of the hurdles of starting to use Latex for document creation after getting used to Word is "is there spelling AND grammar checking?" I am happy to say there is a solution to this problem.

There are a few Latex editors already that have support for spell checking but grammar checking is another issue all together. In this post I am going to give a quick guide on a great Latex editor and how you can add grammar checking as well.

TexStudio is becoming a very popular latex editor. It works across many platforms including Windows, Linux and Mac. TexStudio also has built in support for being able to compile and display the document being worked on.

LangaugeTool is a very interesting tool that can be used as stand alone grammar checker. It works as a server on your computer and any system can send HTTP requests to it to ask if there are any grammar issues.

Here are the steps to get everything setup:

  1. Download the version of TexStudio that will work for your operating system.
  2. Install TexStudio
  3. Download LangaugeTool. It uses java so you will need Java available on you computer already.
  4. Unpack Language tool into some directory
  5. In TexStudio Configure TXS first, by using Options > Configure TexStudio… > Grammar like this:
    http://languagetool.wdfiles.com/local--files/checking-la-tex-with-languagetool/texstudio262.png
  6. If TexStudio is configured to use inline grammar checking (which is the default, see Options > Configure TexStudio… > Editor > Inline Checking > Grammar), you should see grammar checks immediately:
  7. After setting this up you should automatically start seeing grammer highlighting in your documents.



As a side note you can easily grab more spelling dictionaries for TexStudio.

Best of Luck.

References
  1. http://wiki.languagetool.org/checking-la-tex-with-languagetool#toc4