Purplelink
← All guides

How to show changes between two LaTeX versions

Reviewers and co-authors often want a "track changes" PDF. LaTeX doesn't have it built in, but latexdiff produces exactly that. Here's how it works.

When you submit a revision, editors usually ask for a version that highlights what changed. In Word that's Track Changes; in LaTeX the equivalent is latexdiff, which compares two .tex files and produces a marked-up PDF. Our free LaTeX diff tool runs it for you - upload the old and new versions and get the annotated PDF back.

What latexdiff marks

How to use it

  1. Keep your old (submitted) version and your new (revised) version as separate .tex files.
  2. Upload both to the diff tool, old first, new second.
  3. Download the marked-up PDF and include it alongside your revision.

Common pitfalls

For most revisions, latexdiff gives editors exactly the change-tracked PDF they expect, with no manual highlighting.

Frequently asked questions

What is latexdiff?
latexdiff is a tool that compares two LaTeX source files and produces a marked-up version showing additions (underlined) and deletions (struck through) as a compilable PDF.
Why do my tables break in the diff?
latexdiff can corrupt tabular environments. Our diff tool treats tables as opaque blocks to avoid "Missing \cr" errors and table corruption.
Do I need to install anything?
No. The free diff tool runs latexdiff in the cloud - upload your two .tex files and download the marked-up PDF. Your files are never stored.
How are additions and deletions shown?
Added text is underlined and typically blue; deleted text is struck through and typically red. The result is a normal PDF a reviewer can read.

From the team behind these tools

Writing LaTeX on a Mac?

We're building ModernTex - a native macOS LaTeX studio. Join the waitlist for one email at launch.

We'll only use your email to notify you at launch. Privacy Policy · Learn more about ModernTex →