{"id":7758,"date":"2022-02-03T12:09:03","date_gmt":"2022-02-03T12:09:03","guid":{"rendered":"https:\/\/www.blopig.com\/blog\/?p=7758"},"modified":"2022-02-08T16:22:50","modified_gmt":"2022-02-08T16:22:50","slug":"tracking-changes-in-latex","status":"publish","type":"post","link":"https:\/\/www.blopig.com\/blog\/2022\/02\/tracking-changes-in-latex\/","title":{"rendered":"Tracking Changes in LaTeX"},"content":{"rendered":"\n<p>Tracking changes in Microsoft Word is easy &#8211; we just click the &#8216;Track Changes&#8217; button. It requires a little more work in LaTeX but here is a quick guide to doing it as painlessly as possible!<\/p>\n\n\n\n<p>First, we want our original document to be stored in a *.tex file in an Overleaf project (as shown below) <\/p>\n\n\n\n<!--more-->\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/i0.wp.com\/www.blopig.com\/blog\/wp-content\/uploads\/2022\/02\/image.png?ssl=1\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"625\" height=\"329\" loading=\"lazy\" src=\"https:\/\/i0.wp.com\/www.blopig.com\/blog\/wp-content\/uploads\/2022\/02\/image.png?resize=625%2C329&#038;ssl=1\" alt=\"\" class=\"wp-image-7759\" srcset=\"https:\/\/i0.wp.com\/www.blopig.com\/blog\/wp-content\/uploads\/2022\/02\/image.png?resize=1024%2C539&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.blopig.com\/blog\/wp-content\/uploads\/2022\/02\/image.png?resize=300%2C158&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.blopig.com\/blog\/wp-content\/uploads\/2022\/02\/image.png?resize=768%2C404&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.blopig.com\/blog\/wp-content\/uploads\/2022\/02\/image.png?resize=1536%2C809&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.blopig.com\/blog\/wp-content\/uploads\/2022\/02\/image.png?resize=624%2C329&amp;ssl=1 624w, https:\/\/i0.wp.com\/www.blopig.com\/blog\/wp-content\/uploads\/2022\/02\/image.png?w=1912&amp;ssl=1 1912w, https:\/\/i0.wp.com\/www.blopig.com\/blog\/wp-content\/uploads\/2022\/02\/image.png?w=1250&amp;ssl=1 1250w\" sizes=\"auto, (max-width: 625px) 100vw, 625px\" \/><\/a><\/figure>\n\n\n\n<p>Then, we make our changes to the original text in a separate *.tex file, saved in the same project (in this example called amended.tex)<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/i0.wp.com\/www.blopig.com\/blog\/wp-content\/uploads\/2022\/02\/image-1.png?ssl=1\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"625\" height=\"339\" loading=\"lazy\" src=\"https:\/\/i0.wp.com\/www.blopig.com\/blog\/wp-content\/uploads\/2022\/02\/image-1.png?resize=625%2C339&#038;ssl=1\" alt=\"\" class=\"wp-image-7760\" srcset=\"https:\/\/i0.wp.com\/www.blopig.com\/blog\/wp-content\/uploads\/2022\/02\/image-1.png?resize=1024%2C556&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.blopig.com\/blog\/wp-content\/uploads\/2022\/02\/image-1.png?resize=300%2C163&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.blopig.com\/blog\/wp-content\/uploads\/2022\/02\/image-1.png?resize=768%2C417&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.blopig.com\/blog\/wp-content\/uploads\/2022\/02\/image-1.png?resize=1536%2C833&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.blopig.com\/blog\/wp-content\/uploads\/2022\/02\/image-1.png?resize=624%2C339&amp;ssl=1 624w, https:\/\/i0.wp.com\/www.blopig.com\/blog\/wp-content\/uploads\/2022\/02\/image-1.png?w=1917&amp;ssl=1 1917w, https:\/\/i0.wp.com\/www.blopig.com\/blog\/wp-content\/uploads\/2022\/02\/image-1.png?w=1250&amp;ssl=1 1250w\" sizes=\"auto, (max-width: 625px) 100vw, 625px\" \/><\/a><\/figure>\n\n\n\n<p>To obtain where these two files differ, we can use <a href=\"https:\/\/3142.nl\/latex-diff\/\">this online latexdiff tool<\/a>. Simply paste the entire original *.tex file in the left field and the amended *.tex file in the right field and hit go!<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/i0.wp.com\/www.blopig.com\/blog\/wp-content\/uploads\/2022\/02\/image-2.png?ssl=1\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"625\" height=\"302\" loading=\"lazy\" src=\"https:\/\/i0.wp.com\/www.blopig.com\/blog\/wp-content\/uploads\/2022\/02\/image-2.png?resize=625%2C302&#038;ssl=1\" alt=\"\" class=\"wp-image-7761\" srcset=\"https:\/\/i0.wp.com\/www.blopig.com\/blog\/wp-content\/uploads\/2022\/02\/image-2.png?resize=1024%2C494&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.blopig.com\/blog\/wp-content\/uploads\/2022\/02\/image-2.png?resize=300%2C145&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.blopig.com\/blog\/wp-content\/uploads\/2022\/02\/image-2.png?resize=768%2C371&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.blopig.com\/blog\/wp-content\/uploads\/2022\/02\/image-2.png?resize=1536%2C741&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.blopig.com\/blog\/wp-content\/uploads\/2022\/02\/image-2.png?resize=624%2C301&amp;ssl=1 624w, https:\/\/i0.wp.com\/www.blopig.com\/blog\/wp-content\/uploads\/2022\/02\/image-2.png?w=1805&amp;ssl=1 1805w, https:\/\/i0.wp.com\/www.blopig.com\/blog\/wp-content\/uploads\/2022\/02\/image-2.png?w=1250&amp;ssl=1 1250w\" sizes=\"auto, (max-width: 625px) 100vw, 625px\" \/><\/a><\/figure>\n\n\n\n<p>The output will be some LaTeX code &#8211; simply create a new *.tex file, copy the output into it and compile and we&#8217;re done.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/i0.wp.com\/www.blopig.com\/blog\/wp-content\/uploads\/2022\/02\/image-3.png?ssl=1\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"625\" height=\"334\" loading=\"lazy\" src=\"https:\/\/i0.wp.com\/www.blopig.com\/blog\/wp-content\/uploads\/2022\/02\/image-3.png?resize=625%2C334&#038;ssl=1\" alt=\"\" class=\"wp-image-7762\" srcset=\"https:\/\/i0.wp.com\/www.blopig.com\/blog\/wp-content\/uploads\/2022\/02\/image-3.png?resize=1024%2C547&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.blopig.com\/blog\/wp-content\/uploads\/2022\/02\/image-3.png?resize=300%2C160&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.blopig.com\/blog\/wp-content\/uploads\/2022\/02\/image-3.png?resize=768%2C410&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.blopig.com\/blog\/wp-content\/uploads\/2022\/02\/image-3.png?resize=1536%2C821&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.blopig.com\/blog\/wp-content\/uploads\/2022\/02\/image-3.png?resize=624%2C333&amp;ssl=1 624w, https:\/\/i0.wp.com\/www.blopig.com\/blog\/wp-content\/uploads\/2022\/02\/image-3.png?w=1918&amp;ssl=1 1918w, https:\/\/i0.wp.com\/www.blopig.com\/blog\/wp-content\/uploads\/2022\/02\/image-3.png?w=1250&amp;ssl=1 1250w\" sizes=\"auto, (max-width: 625px) 100vw, 625px\" \/><\/a><\/figure>\n\n\n\n<p>Easy peasy lemon squeezy!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Tracking changes in Microsoft Word is easy &#8211; we just click the &#8216;Track Changes&#8217; button. It requires a little more work in LaTeX but here is a quick guide to doing it as painlessly as possible! First, we want our original document to be stored in a *.tex file in an Overleaf project (as shown [&hellip;]<\/p>\n","protected":false},"author":65,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"nf_dc_page":"","wikipediapreview_detectlinks":true,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"ngg_post_thumbnail":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[29,296,14,463],"tags":[465,464],"ppma_author":[545],"class_list":["post-7758","post","type-post","status-publish","format-standard","hentry","category-code","category-hints-and-tips","category-howto","category-latex","tag-overleaf","tag-version-control"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"authors":[{"term_id":545,"user_id":65,"is_guest":0,"slug":"tom","display_name":"Thomas Hadfield","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/c77f10ae0d9e0e114df272f52ae30c232859886b12e9c0fcf3987102ee11d81c?s=96&d=mm&r=g","0":null,"1":"","2":"","3":"","4":"","5":"","6":"","7":"","8":""}],"_links":{"self":[{"href":"https:\/\/www.blopig.com\/blog\/wp-json\/wp\/v2\/posts\/7758","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.blopig.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.blopig.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.blopig.com\/blog\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/www.blopig.com\/blog\/wp-json\/wp\/v2\/comments?post=7758"}],"version-history":[{"count":3,"href":"https:\/\/www.blopig.com\/blog\/wp-json\/wp\/v2\/posts\/7758\/revisions"}],"predecessor-version":[{"id":7781,"href":"https:\/\/www.blopig.com\/blog\/wp-json\/wp\/v2\/posts\/7758\/revisions\/7781"}],"wp:attachment":[{"href":"https:\/\/www.blopig.com\/blog\/wp-json\/wp\/v2\/media?parent=7758"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.blopig.com\/blog\/wp-json\/wp\/v2\/categories?post=7758"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.blopig.com\/blog\/wp-json\/wp\/v2\/tags?post=7758"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.blopig.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=7758"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}