Is it possible to track changes of equations using the changes package? Here is a small example of what I mean:

\noindent Using the changes package is it possible not only to delete \deleted{text}, but
also equations? For instance this one:
x = 1

When removing the commented text I get a compilation error, even when using "\protect" as suggested here when the same question was answered using a different package.

  • It seems \deleted cannot take a long argument (one that contains paragraphs, line breaks and the like.) The documentation states "You cannot markup more than one paragraph at a time. You cannot markup figures or tables as well." – moewe Mar 19 '14 at 14:50
  • 5
    Delete the equation text, not environment: \begin{equation}\deleted{x=1}\end{equation}. – Claudio Fiandrino Mar 19 '14 at 14:51
  • @moewe I read that part, but I thought you could delete equations since it didn't mention this explicitly. – user35027 Mar 20 '14 at 7:56
  • 1
    @ClaudioFiandrino Thank you for your suggestion. However, the changes package has a nice property in that when you are done modfying your text you can use "final" as an argument and \usepackage[final]{changes} will remove all the deleted or highlighted text. If you only delete the equation text, the equation number will still be there with the "final" argument. – user35027 Mar 20 '14 at 8:11
  • 1
    Well, I suppose the documentation just forgot to mention that basically almost all environments are problematic for \deleted. – moewe Mar 20 '14 at 8:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.