# A way to check off todonotes

I recently discovered the todonotes package. It would be great to somehow check the notes as done. I know the creator has this on his "todo list" (funny), but right now its not implemented. My idea was to hide it in the document and to strike it out in the listoftodos. Below you see a minimum working example. This is how I do it now.

Thanks for the help in advance!

\documentclass[a4paper,12pt,captions=tableheading,abstracton,
%draft,
%final,

\usepackage{ulem}
\usepackage[obeyFinal,textsize=footnotesize]{todonotes}
\newcommand{\done}{\todo[disable]{Test}
}%this shouldnt show up in document and be striked out in listoftodos

\begin{document}
\listoftodos\clearpage
\todo{ToDo}

\done{Done}
\end{document}


In an older version of the question I also asked for the color in listoftodos. This is not the case anymore.

I would suggest something like this. The idea is to add the striked out line in the list of todos manually.

\documentclass{article}

\usepackage{ulem}
\usepackage{todonotes}

\begin{document}
\listoftodos

Some text\todo{ToDo}.
More text that needs a reference\addref{paper}.
\done{Write text with reference}
\end{document}


The output looks like this.

If you want to have the completed todos at the end of the list of todos (which was requested in a comment), the following approach can be used. The idea is to have a separate list of completed todos (.tdod instead of .tdo).

\documentclass{article}

\usepackage{ulem}
\usepackage{todonotes}

\begin{document}
\listoftodos
\makeatletter
\@starttoc{tdod}
\makeatother