As is -I suspect- usual is that while writing documents sometimes one skips writing certain parts for a cornucopia of reasons. For me that is usually because I am too lazy at the moment. In an case, then I have the following command to make a todo-note (can look better, I know):

\newcommand{\todo}[1]{ \vspace{5 mm} \par
\noindent \framebox{
\begin{minipage}
[c]{0.94 \textwidth}
\tt #1 \flushright  TODO
\end{minipage}
}
\vspace{5 mm} \par
}


I have obtained this some time ago from here. My question is how I add the date of adding the todo-note? One can assume that at least I compile the file on the same day as I added the todo-note, so to me, this sounds like the LaTeX process should store this in an auxiliary file (preferable one that already exists). How do I do this?

• Wouldn't it be much easier simply to add the date manually when writing the note? – clemens Dec 16 '12 at 15:59
• I suppose it is easy to do that, but the technique in itself might be useful in other cases as well :-). – Jonas Teuwen Dec 16 '12 at 16:03
• This does not answer your question, but you should have a look at the todonotes package. – Peter Grill Dec 16 '12 at 17:25
• @PeterGrill I know that package, but it has too many features while what I need is really simple. – Jonas Teuwen Dec 16 '12 at 17:32
• As the other comments indicate, this really doesn't seem to make sense as it stands! We need some idea of how things should work. – Joseph Wright Sep 8 '13 at 8:41