Track changes is a popular tool in Word. If you are looking for something similar for LaTeX latexdiff is the answer. For example if you are an academic researcher submitting papers to journals, you will most likely have to go through stages of revisions. Each time you will probably have to submit a marked-up document with all the changes. latexdiff will do that for you with minimal effort.
Using latexdiff is very simple. My two
tex documents are called
new.tex. I am interested in how the document changed from the old to the new version. All you need to do is put the following two lines of code to created and compile the diff-file.
latexdiff old.tex new.tex > diff.tex pdflatex diff.tex
The marked-up document diff.pdf will look like this:
A number of different mark-up styles are available. To change the type of the mark-up style use the following code.
latexdiff -t TYPEOPTION old.tex new.tex > diff.tex pdflatex diff.tex
TYPEOPTION can be any of the following:
Be aware: if you change an image, but not its name
latexdiff will not highlight this as a change. However it will highlight it if you change the name of the image, but not the image itself.