Use word-by-word diff when using version control for LaTeX

I found this a bit late, but it’s ridiculously useful to use a word-by-word diff rather than a standard line-by-line diff when writing papers.

Here’s how you can enable it in Mercurial:
Mercurial Word Diff

Turns out this feature is already part of git though! Just run:
git diff --color-words

Leave a Reply

Your email address will not be published. Required fields are marked *