Inserting comments
If you work collaboratively, you may want to add notes or comments to a document to share additional information with your coauthor which will be removed from the final version. The PDF standard supports comments, and so does LaTeX.
How to do it...
We will insert some comments into our small document example from Chapter 1, The Variety of Document Types. For brevity, we will directly look at the essential commands. As with all recipes, the full source code can be downloaded from http://latex-cookbook.net. Follow these essential steps for inserting comments:
Load the
xcolor
package in the preamble to get color support:\usepackage[svgnames]{xcolor}
Load the
pdfcomment
package in the preamble:\usepackage{pdfcomment}
You could define some default setting if you wish to, such as the following. Add them when loading:
\usepackage[author={Your name},icon=Note, color=Yellow,open=true]{pdfcomment}
To insert a simple comment with a marker symbol at a certain place in the document, call...