Monday, January 21, 2019

QuickTip: Spell Check in LaTeX

On a previous blog, I wrote about how to set up "hunspell" as the default spell-checker in TeXMaker (my LaTeX editor of choice).

One can also spell check non-interactively from the command line. Get the linux utility hunspell using for example,

sudo apt-get install hunspell

Then, to get a list of flagged words that ignore latex tags:

hunspell -l -t myTexDoc.tex | sort

Drop the sort and "-l" flag check spellings interactively.

No comments:

Post a Comment