Is there a simple way to add todo notes to LaTeX documents ?
I would like to have these notes in red in the generated pdf and a simple syntax to write them.
todonotes
Is there a simple way to add todo notes to LaTeX documents ?
I would like to have these notes in red in the generated pdf and a simple syntax to write them.
Best Answer
There is a
todonotes
package that makes adding notes easy enough. They appear in the margins by default.A simpler version, if you just want red text in the body of the text as notes is just to define a command
\myworries
that makes its argument red.And then if you want to hide the comments, just add the line
\renewcommand\myworries[1]{}
below the\newcommand
. This will hide all your notes.A third option is to use LaTeX's own
\marginpar
command to put a paragraph in the margin. It's not great, but for little notes to yourself it's adequate.Alan Munn, in the comments, has made me aware of another package
todo
that seems to be simpler thantodonotes
but a little more powerful than\marginpar
. Though I've not used it so I don't know for sure.