When writing papers, I like to keep track of notes, thoughts and to do's inside the documents.
I'd love to have tiny coloured multi-line marginalia. So far I used sth like
\newcommand{\mymarginnote}[1]{\marginpar{\begin{spacing}{0.8}\textcolor{red}{\scriptsize{#1}}\end{spacing}}}
to have a red side-note, but the single-spacing does not work. How can I have this marginalia single-spaced (or less)? And is it possible to have the text with a yellow background? The \colorbox{} command doesn't seem to wrap the text.
I'd also be interested how you keep track of notes and thoughts within your documents...
Thanks!


setspaceand some version ofcolor,xcolor,xxcolor... – Andrew Stacey Aug 16 '10 at 12:41todonotespackage? – Caramdir Aug 16 '10 at 12:42hyperref,color,graphicx,setspace,natbib,bibgerm,ulem– Phil Aug 16 '10 at 12:43