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 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?

Thanks!

share|improve this question
    
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

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.

\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} 

enter image description here

share|improve this answer

Your Answer

 
discard

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