32

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?

36

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.

  • Excellent, works perfectly. Ah, the arcana of TeX. Thanks. – naught101 May 3 '12 at 1:12
  • To me it prints a colon, as part of the caption. Any possibility to remove that colon? – Zoltán Csáti Feb 25 at 16:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.