In order to define a margin note, I use:

\marginpar{Add formula for curvature}

However, in a thesis full of margin notes, lots of them overlap, and the only solution I've found so far was to manually push them up or down.

Problem is, everytime I refactor the comment, it's a new complete mess...

So, does anyone know how to cleanly manage the sidenotes, so that they "float" to a "best position", and avoid overlaping?

  • 3
    I thought marginpars are already floats? Absent a better idea, one thing you could play with is the width of the text area and the width of the margin. Commented Oct 7, 2010 at 0:17
  • 2
    As @Willie Wong says, marginpars are already floats and should not end up overlapping (although they may not end up where you want them to and long ones may overflow the bottom of the page, for which problem there is the marginfix package). Are you using some unusual class or package that redefines \marginpar?
    – Lev Bishop
    Commented Oct 7, 2010 at 1:28

2 Answers 2


Steve Hicks has a new package designed to help with this sort of thing: marginfix


I found todonotes to be a very useful package for adding notes to the text. It places notes in a colored (and customizable) box in the margin and adds a helpful line to the place where the note was inserted.

  • Very interesting, but not what I asked for :-) Thanks anyway. Commented Oct 7, 2010 at 18:06

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .