latexdiff
« Back to VersTracker
Description:
Compare and mark up LaTeX file differences
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: latex diff version-control documents scientific-writing
Install: brew install latexdiff
About:
latexdiff is a Perl script that compares two LaTeX files and generates a third file with markup highlighting the differences. It intelligently handles LaTeX commands and environments to produce a visually distinct document showing additions, deletions, and formatting changes. This tool is essential for tracking revisions in collaborative scientific and academic writing.
Key Features:
  • Intelligent LaTeX command parsing
  • Support for multiple output formats (LaTeX, PDF, markup)
  • Configurable markup styles and colors
  • Handles moved and restructured text blocks
Use Cases:
  • Tracking changes between manuscript versions
  • Collaborative document review and editing
  • Generating revision history for academic papers
Alternatives:
  • Git – Git provides general version control but lacks LaTeX-aware diff visualization
  • Microsoft Word Track Changes – Word's feature is proprietary and less precise for LaTeX source files
Version History
Detected Version Rev Change Commit
Sep 14, 2024 1:06pm 0 VERSION_BUMP b73cc369