# Remarks using Changes Package

Using the changes package, how can I create a 'remark', which is displayed in the same markup colour formatting, and included in the list of changes when in draft or normal mode, but is removed completely when in final mode.

I wish to decorate a working paper for submission to journal, addressing reviewers comments in such a way that the remarks are removed completely when the final version is compiled.

In other words, I might want to annotate somewhere saying like:

The above figure has been modified in accordance with reviewers recommendation number XYZ.

This annotation is not relevant to the final document, and is only included in the draft so that the editor can see very clearly that the reviewers comments have been explicitly addressed.

So If I put the following in the preamble:

\usepackage{changes}
\definechangesauthor[name={Nick Hamilton}, color=red]{nh}


I can markup newly added content, deleted content, or replaced contend

This is \added[id=nh,remark={has to be in it}]{new} text.
This is \deleted[id=nh,remark=obsolete]{unnecessary}text.


In the above, when the document is in draft mode, these changes will be rendered in 'red' according to the definechangesauthor definition above. The content will be markedup when in draft mode, and rendered as usual when in final mode.

I am really after another macro which renders in markup (just like above) when in draft mode, and is omitted completely when in final mode.

• – A Feldman Jun 21 '16 at 7:25
• @AFeldman, sure, perhaps the solution below suffices to your standards. – Nicholas Hamilton Jun 21 '16 at 12:48
• I'm glad you found the answer to your own question(s). – A Feldman Jun 21 '16 at 17:43

Here is a solution, if anyone is interested:

\documentclass{article}

%Packages
\usepackage{ifdraft}
\usepackage{lipsum}
\usepackage{changes}

%Define Track Changes Author, and Color
\definechangesauthor[name={Nick Hamilton}, color=red]{nh}

%New 'Remark' command
\makeatletter
\newcommand{\Changes@Markup@Remark}[1]{\textbf{NOTE TO ED.:} #1}
\newcommand{\remark}[2][\@empty]{%
\ifoptionfinal{}{
\Changes@output%
{\Changes@Markup@Remark{#2}}%
{#2}%
{#2}%
}
}
\makeatother

\begin{document}