Adding MS-Word-like comments in LaTeX

Mouk picture Mouk · Mar 5, 2009 · Viewed 22.5k times · Source

I need a way to add text comments in "Word style" to a Latex document. I don't mean to comment the source code of the document. What I want is a way to add corrections, suggestions, etc. to the document, so that they don't interrupt the text flow, but that would still make it easy for everyone to know, which part of the sentence they are related to. They should also "disappear" when compiling the document for printing.

At first, I thought about writing a new command, that would just forward the input to \marginpar{}, and when compiling for printing would just make the definition empty. The problem is you have no guarantee where the comments will appear and you will not be able to distinguish them from the other marginpars.

Any idea?

Answer

godbyk picture godbyk · Mar 5, 2009

todonotes is another package that makes nice looking callouts. You can see a number of examples in the documentation.