1

I am revising my manuscript according to suggestions made by editor including some grammatical corrections, and the editor wants me to display all the editing that I will make. For this purpose, I find Track changes package very useful. Although this package is running well with every of template available with me but when I load this package in the Svjour3 template I am getting following error:

LaTeX Error: Command \note already defined.

Or name \end... illegal, see p.192 of the manual.

See the LaTeX manual or LaTeX Companion for the explanation. Type H for immediate help. ...

l.662 }

Your command was ignored. Type I to replace it with another command, or to continue without it.

Although I can avoid this error message by typing 'R' in error console but I want to know what this error is all about and why this package is running with other templates.

IgotiT
  • 453

1 Answers1

2
  • Apparently, the Svjour3 document class defines a command that is called \note. (I did not find it in my MiKTeX installation, by the way)
  • The trackchanges package also defines a command that has the name \note.
  • You could try a different package, e. g.\usepackage[]{changes}.
  • The documentation of the changes package can be found here.
  • Typical commands are \added[]{text} (or \deleted or \replaced).
  • I have searched the documentation -- I did not found a command called \note :).
  • See "Track changes" in LaTeX for more information about showing changes in LaTeX documents (including the changes package).
  • When I remove the note command from trackchanges.sty everything start working fine. – IgotiT Mar 16 '17 at 01:34
  • 1
    @IgoiiT Good, apparently there are no side effects in this case. But changing the style file is not a proper way to solve a LaTeX problem in general. But in this case, I think that it is ok. – Dr. Manuel Kuehner Mar 16 '17 at 01:50
  • 2
    @IgotiT No. You shouldn't change the style file. You should make a copy with a new name and modify that. You should never change a distributed file without renaming it. (OK. There are some very exceptional cases where you might do this if you are very, very careful. But you then have to be very, very careful and should only do it for the briefest possible temporary period.) – cfr Mar 16 '17 at 02:20