I am writing a scientific paper with my collaborator. We have submitted a version to a journal and now we got a review from them, so we need to fix a few things. In Microsoft Word there is the option to "track changes", which displays the deleted text as crossed out and the new text bolded (if I remember the details correctly). Is there a way to achieve a similar result in LaTeX?
I was thinking to create a new file for the revised version and then write a script which would basically compare the two files and make the differences either bold or crossed out before sending it to latex. Is there a tool that already does it?



.texsource files)? You could simply create a mercurial or git repo and commit your files - and get the history on source level for free. A solution which highlights changes in the PDF is much more difficult. What are your requirements? – Christian Feuersänger Aug 01 '12 at 12:26\begin{changebar}...\end{changebar}as well as a cross environment version\cbstart...\cbend. Also the framed latex package has\begin{leftbar}...\end{leftbar}. – user1189687 Aug 01 '12 at 13:16% deleted: foo \n % added: \n baz % end of changes– Fran Oct 14 '19 at 10:04