I want to use \marginpar directly beside a formula within a \begin{align} statement. I tried:

\marginpar{Not correct}

but the 'Not correct' statement is written besides the next line. How can I achieve that is is written besides E^2 (means on the same height)?

And what if I have more than one formula, how to achieve to write it besides the very last of the align-environment?


You could use the marginnote package and use its \marginnote command. \marginnote is a non-floating version of \marginpar and can also be used inside the align environment:




 E^2 \marginnote{Not correct}


enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.