When I use \marginnote
in \begin{equation}\end{equation}
, it seems to work fine, but if I try to place a margin note inside a multiline equation (at least when I use \begin{split}\end{split}
), there is a weird extra space between the first two lines of the margin note. I've attached a MWE so you can see what I mean. (I made the font smaller with \footnotesize
so it is easier to see (and also because in practice I would like the font to be the size of footnotes anyways).)
\documentclass{article}
\usepackage{amsmath}
\usepackage{marginnote}
\begin{document}
\begin{equation}
\begin{split}
3x+2 & =\marginnote{\footnotesize{The solution is $x=1$. Blah. Blah. Blah. Blah. Blah. Blah.}}5 \\
4y-3 & =7.
\end{split}
\end{equation}
\end{document}