Skip to content

Instantly share code, notes, and snippets.

@js51
Last active May 17, 2023 02:16
Show Gist options
  • Select an option

  • Save js51/228a0b2efc99192f6832aa01b0c83016 to your computer and use it in GitHub Desktop.

Select an option

Save js51/228a0b2efc99192f6832aa01b0c83016 to your computer and use it in GitHub Desktop.
A basic BOLD type latex diff. The old project is called old and the new project is called new. Tex files are named main.tex
cp -R new diff
latexdiff -t BOLD old/main.tex new/main.tex > diff/main.tex
cd diff
latex -interaction nonstopmode main
bibtex main
latex -interaction nonstopmode main
pdflatex main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment