Implements a workaround for the LaTeX bug that marginpars will sometimes come out at the wrong margin. The author is Stefan Ulrich.