# Breaking a marginpar over a pagebreak

Is there a way to do this in LaTeX 3?

I looked at marginpar and orphans, and I am not sure that it addresses my question, but I belive it states that this is not possible in LaTeX 2e.

This is most common for me when I have a marginpar that is tied to text that happens to fall out near the bottom of a page. This also happens if I use marginnote instead.

If someone has ideas for how to post a MWE, let me know and I'll post one.

You can use LaTeX2e if you use a very new (2013/12/19) addition to the KOMA-Script family: the scrlayer-notecolumn package. It has a command \makenote{<note>} that per default adds a note to the margin.

The package also allows to declare additional “notecolumns” where notes then can be added with \makenote[<name of notecolumn>]{<note>}.

Here is an example:

\documentclass{scrartcl}

% we need a pagestyle based on scrlayer-scrpage' for scrlayer-notecolumn' to
% work:
\usepackage{scrlayer-scrpage}

\usepackage{scrlayer-notecolumn}
% a default column marginpar' is defined. This sets the font for it:
\setkomafont{notecolumn.marginpar}{\raggedright\footnotesize}

% for mock text:
\usepackage{kantlipsum}

\begin{document}

\makenote{\kant[1-2]}%
\kant[1-8]

\end{document}


• Is there a way to do this with a report/article documentclass? – soandos Feb 7 '14 at 20:12
• @soandos just replace scrartcl in the above example with article: it should work just the same – clemens Feb 7 '14 at 20:16
• Is scrlayer-scrpage part of MiKTeX? I can't seem to find it. – soandos Feb 7 '14 at 20:22
• @soandos According to miktex.org/packages/koma-script v3.12 is which means that scrlayer, scrlayer-scrpage and scrlayer-notecolumn are, too. You probably need to update? – clemens Feb 7 '14 at 20:24
• @soandos I don't have many experiences with said package (as I said: it is very new). I don't know what the first message means. The second simply seems to tell the the note has been broken over a page boundary... I get that, too, with my example. – clemens Feb 7 '14 at 20:58

I don't think margin paragraphs can easily be broken over a page. The marginfix` package was designed to address the problem that

Authors using LaTeX to typeset books with significant margin material often run into the problem of long notes running off the bottom of the page. ... This package implements a solution to make marginpars ”just work” by keeping a list of floating inserts and arranging them intelligently in the output routine.