I want to create a \marginnote
which is aligned to the title of a theorem. However, the \marginnote
is always placed over or under the title, when I put the \marginnote
command before or into the theorem
environment.
\documentclass{article}
\usepackage{ntheorem}
\usepackage{marginnote}
\theoremstyle{break}
\theorembodyfont{\normalfont}
\newtheorem{definition}{Definition}
\begin{document}
\begin{definition}[my title]
\marginnote{my comment}
my definition
\end{definition}
\end{document}