Showing posts with label markup changes. Show all posts
Showing posts with label markup changes. Show all posts

Friday, March 6, 2009

Manually markup changes of text, such as additions, deletions, orreplacements in LaTeX

In LaTeX there is a package that allows user to manually markup changes of text, such as additions, deletions, or replacements. The changes will be shown in different colour. Deleted text will be crossed out. The package is called "Manual change markup". It is a free package under the LaTeX Project Public License. If you install LateX from MiKTeX or TeX Live, most probabily, you already have this package installed.

The identifier to this package is 'changes'. Therefore, in order to use it, make the declaration to the use of this package in the preamble, after the documentclass{}. For example,
\documentclass{article}

\usepackage{changes}

Examples of usage:

  1. \added{new text} for addition.

  2. \deleted{old text} for deletion.

  3. \replaced{new text}{old text} for replacement.


In order to deliver the final version of the document, add 'final' option to the 'changes' option.
\usepackage[final]{changes}
'Manual change markup' documentation on CTAN (pdf).