Latex track-changes [download]

A few years ago I created a simple Latex package to incorporate track-changes into a document. Nowadays you can probably find better options, but in some cases you may need to pay. This is a basic utility and I decided to upload it here as such. Maybe it can be helpful for someone.

In my own experience, it is useful for simple rounds of revisions with coauthors. The command is simple enough to be readily usable by anyone. The main disadvantage is that you may end up with a "dirty" latex file, whose cleaning requires manual work. I have actually created a script that performs some cleaning, but it is quite bad and actually not very useful so I am not going to share it.


Example of generated pdf with revisions and comments

Example of generated pdf with revisions and comments


To use the track-changes package it is then sufficient to write: 

\usepackage{track-changes}

in the preamble of your document. 

The package track-changes has two options: 

\usepackage[accept]{track-changes} 

or 

\usepackage[reject]{track-changes} 

When no option is specified, all track-changes are shown. 

When the accept option is specified, all track-changes are accepted in the generated pdf-file: added text appears as normal text, deleted text is omitted, track-change numbers, reviewer’s name and comments are not shown. 

When the reject option is specified, all track-changes are rejected in the generated pdf-file: added text is omitted, deleted text appears as normal text, track-change numbers, reviewer’s name and comments are not shown. 

The package track-changes is provided with no warranty.


The package track-changes allows basic track-changes by defining two commands: \newtext and \oldtext. The command \newtext is used for text to be added. The command \oldtext is used for text to be deleted. The syntax of the commands is: 

\newtext[<comment>]{<reviewer>}{<new text>

\oldtext[<comment>]{reviewer>}{<old text>}


DOWNLOAD:

track-changes_doc.pdf

track-changes.sty