[Tex/LaTex] itemize inside todonote

itemizeliststodonotes

I'm using todonotes to make notes on my thesis. I'd like to be able to put some dot-points on a couple of the larger notes, like this:

\todo[inline]{
  \begin{itemize}
    \item blah blah blah
  \end{itemize}
}

But I get this error message:

! Argument of \reserved@a has an extra }.
<inserted text>
            \par
l.9 }

Is there anything I can do to get around this, or is it basically not worth trying?

Best Answer

You have to use the caption option:

\documentclass{article}
\usepackage{todonotes}
\begin{document}
\todo[inline,caption={}]{
  \begin{itemize}
    \item blah blah blah
  \end{itemize}
}
\end{document}

As described on page 12 of the manual LaTeX will otherwise try to embed a minipage which leads to an error.

Related Question