Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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?

share|improve this question
add comment

1 Answer 1

up vote 12 down vote accepted

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.

share|improve this answer
    
Excellent, works perfectly. Ah, the arcana of TeX. Thanks. –  naught101 May 3 '12 at 1:12
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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