This is amazing, easily add todo notes to your Latex file while you are still working on it. They will show up as a bubble on the right side of the PDF file, with a line pointing to the actual position in the text.
Usage is as simple as that, include the package:
\usepackage{todonotes}
Add todos:
\todo{Your task}
You can download the package from here. In order to generate the stylefile, open the *.ins file in your tex-editor and typeset it, creating the *.sty file.
ps.: You might have to typeset your document twice for the line to show the actual position of the task.
pps.: If you don’t particularly like the color, open the sty-file with your tex-editor and change the color to anything you like. The commands to change can be found in the beginning of the stylefile (backgroundcolor & linecolor).
Example:
\documentclass[12pt]{article} \usepackage{todonotes} \usepackage{blindtext} \begin{document} \section{Introduction} \todo{Replace dummy text}\blindtext \end{document}
Brit
This is a great way to see what can be done using todo
http://2.bp.blogspot.com/_N_XJPWiIQ2M/SI2tztHQs-I/AAAAAAAAAAk/xA503qD1vVE/s1600-h/doc.png
(found at http://midtiby.blogspot.com/search?updated-min=2008-01-01T00:00:00-08:00&updated-max=2009-01-01T00:00:00-08:00&max-results=4)
I like the \listoftodos in the beginning of my docs.
tom
Cool, thanks for the addition.
Tom.
Gordon Schulz
Very nice tip indeed, thanks.
Tom Potts
Actually, the easiest way to change the colour is to set the default in the package options, e.g.
and you can change the colour of an individual note in the same way. The manual is at http://www.tex.ac.uk/tex-archive/macros/latex/contrib/todonotes/todonotes.pdf — it’s got lots of good examples.
Tom
P.S. If you’re using rubber for compilation I wrote a plugin so it works with todonotes properly: http://www.karaken12.co.uk/blog/?p=46
Roozbeh Daneshvar
Thank you!
Philipp
Does anybody know how to change the font size of the notes? Thank you!
tom
Hi Philipp,
To change the font size of a single note, use for example:
To change the font size throughout the document, load the package with the following option (change the font size accordingly):
See here for more information on font sizes and here for more information on the todonotes package.
Best, Tom.
Rocio
do you know how to force todo to write the notes on the right side of the page?
tom
Hi Rocio,
Thanks for your command. Can you be more specific please, i.e. what type of document and options do you use. Ideally, provide a minimal working example. By default, todo notes print on the outer margin, which is always the right side for a
oneside
document.Best, Tom