AptLynx

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

Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents