Tracking Changes in LaTeX

Tracking changes in Microsoft Word is easy – we just click the ‘Track Changes’ button. It requires a little more work in LaTeX but here is a quick guide to doing it as painlessly as possible!

First, we want our original document to be stored in a *.tex file in an Overleaf project (as shown below)

Then, we make our changes to the original text in a separate *.tex file, saved in the same project (in this example called amended.tex)

To obtain where these two files differ, we can use this online latexdiff tool. Simply paste the entire original *.tex file in the left field and the amended *.tex file in the right field and hit go!

The output will be some LaTeX code – simply create a new *.tex file, copy the output into it and compile and we’re done.

Easy peasy lemon squeezy!

Author