latexdiff: determine differences between two LaTeX files
latexdiff is a command-line program to determine differences between two LaTeX files.
Determine changes between different versions of a LaTeX file (the resulting LaTeX file can be compiled to show differences underlined):
latexdiff old.tex new.tex > diff.tex
Determine changes between different versions of a LaTeX file by highlighting differences in boldface:
latexdiff --type=BOLD old.tex new.tex > diff.tex
Determine changes between different versions of a LaTeX file, and display minor changes in equations with both added and deleted graphics:
latexdiff --math-markup=fine --graphics-markup=both old.tex new.tex > diff.tex
More information: https://ctan.org/pkg/latexdiff .
I hope you enjoyed reading this post as much as I enjoyed writing it. If you know a person who can benefit from this information, send them a link of this post. If you want to get notified about new posts, follow me on YouTube , Twitter (x) , LinkedIn , and GitHub .