I want to add margin notes to a document I'm writing in the ACM Transactions format (it's still in draft form). However, it's quite difficult to use existing packages such as todonotes (which looks great) or ed, since the notes will always overfill the margins (resulting in compile errors).

Any idea what I can do about this?


  • did you already tried the default \marginnote[left]{right}?
    – user2478
    Feb 9, 2011 at 14:59
  • sorry, I meant \marginpar
    – user2478
    Feb 9, 2011 at 15:10
  • Do you mean errors or warnings? If it's just warnings about overfull hboxes, they are temporary anyway. They'll go away when you stop printing the marginal notes to yourself. Feb 9, 2011 at 17:59
  • They were errors. But I just defined my own TODO command now, since I wasn't able to figure it out. All packages I used gave errors w.r.t. overfull hboxes (even \marginpar). I guess this is because the transactions template defines very narrow margins.
    – user3462
    Feb 16, 2011 at 15:31

1 Answer 1


If your notes and todos are text only then you can hide them in PDF annotations in the margin using \pdfmargincomment of the pdfcomment package.

\pdfmargincomment[color=blue,icon=Note]{Put your notes or todos in here!}

enter image description here

You must log in to answer this question.