# Margin notes (or todo's) in ACM Transactions template

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).

Thanks!

-
did you already tried the default \marginnote[left]{right}? –  Herbert Feb 9 '11 at 14:59
sorry, I meant \marginpar –  Herbert Feb 9 '11 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. –  Matthew Leingang Feb 9 '11 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 '11 at 15:31

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.

\documentclass{scrartcl}
\usepackage[english]{babel}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{lipsum}
\usepackage[svgnames,rgb]{xcolor}
\usepackage[subject={Todo},author={Josef}]{pdfcomment}
\begin{document}
\lipsum[1]
\pdfmargincomment[color=blue,icon=Note]{Put your notes or todos in here!}
\lipsum[1]
\end{document}


-