Command-line tool
latexdiff
brew/latexdiff
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Compare and mark up LaTeX file differences
At a glance
- Type
- Command-line tool
- Install on
- macOS
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
macOS
brew install 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
Related command-line tools
- texres
Fast TeX engine written in Rust - nmh
New version of the MH mail handler - diffutils
File comparison utilities vue tauri diff - diff-pdf
Visually compare two PDF files pdf - wdiff
Display word differences between text files - winmerge
Differencing and merging tool, that compares both folders and files, presenting differences in a visual text format… - pkgdiff
Tool for analyzing changes in software packages (e.g. RPM, DEB, TAR.GZ) - git-delta
Syntax-highlighting pager for git and diff output rust git diff pager delta git-delta
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents