latexdiff
Determine differences between two LaTeX files. More information: <https://ctan.org/pkg/latexdiff>.
Install
- All systems
-
curl cmd.cat/latexdiff.sh
- Debian
-
apt-get install latexdiff
- Ubuntu
-
apt-get install latexdiff
- Arch Linux
-
pacman -S latexdiff
- Kali Linux
-
apt-get install latexdiff
- Fedora
-
dnf install latexdiff
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install latexdiff
- OS X
-
brew install latexdiff
- Raspbian
-
apt-get install latexdiff
- Dockerfile
- dockerfile.run/latexdiff
Determine differences between two LaTeX files. More information: <https://ctan.org/pkg/latexdiff>.
-
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
© tl;dr; authors and contributors