PDF Annotations

PDF annotations provide a nice way to add notes to your document (actually they are much more powerful, but i have merely used text annotations so far):

\pdfannot{/Subtype/Text/Contents(TEXT)}

You can also force the annotations to the margin paragraph:

\marginpar{\pdfannot{/Subtype/Text/Contents(TEXT)}}

The standard LaTeX line break using \\\ do not work, therefore:

\marginpar{\edef\\{\string\r}\pdfannot{/Subtype/Text/Contents(TEXT)}}
Be caseful to limit the edef construct to the PDF annotation. This is achieved by the marginpar command here.

You can also adjust the size of the PDF annotation:

\pdfannot with 10cm depth 7cm {/Subtype/Text/Contents(TEXT)}

History

2004-06-07_12-59Created