TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've decided that I'm going to make LaTeX notes for all of my lectures next year (I'm doing computer science at university). I want a way to brighten my notes up - make them more exiting to read when I'm deep into a month of non-stop revision. My plan was to have a colour scheme for extra reading, important, exam information, connections to other topics, revision strategies, etc...

I was thinking of hight-lighting part of the text, but also to have annotations with the todonotes package, so I can differentiate between course content and commentary.

The problem with this is that todonotes annotations doesn't work in tables, the lines from the annotations don't go to the text, and they mess up on some other non-block-text layouts. I suppose its not really designed for them to be left in published work.

Does anyone have a way to annotating that does work in these situations? Is there a better way I could go about it? Do you have any tips to produce exciting notes?

EDIT: Here is an example.

\usepackage[colorinlistoftodos, textwidth=3.5cm]{todonotes}


This text has an annotation that works \summarynote{Which is me}\\
\textbf{Fruit} & \textbf{Calories (kcal)}\\
Banana & 95.0\\
Grapes & 61.5\\
Kiwi & 49.0 %\summarynote{This sidenote does not work}

When the second \summarynote is uncommented, it give the error message LaTeX Error: Not in outer par mode.

share|improve this question
Please post a MWE! – Count Zero Jul 29 '12 at 12:10
Honestly, this look like a bug in todonotes to me... – Count Zero Jul 30 '12 at 18:10
up vote 5 down vote accepted

A quick fix is to use inline notes:



yadda & yadda & boo \\ 
ene & mene & muh \\ 
gibberish & \begin{minipage}{3cm}see my note\todo[inline]{Fill those cells!}\end{minipage} & more gibberish \\ 


You can force the content of the cell you need to attach the note to into a minipage and then use the note with the inline option. This is the only way I can think of right now, which could make 'regular' notes work decently. Changing the column type to p doesn't help.

And here's the result:

enter image description here

share|improve this answer
You can make a newcommand for this, like \newcommand{\tabletodo}[3][]{\begin{minipage}{#2}\todo[inline,#1]{#3}\end{minip‌​age}}. Credit to the author of the package. – Arturo Volpe Jan 21 '15 at 15:01

Your Answer


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.