Page LayoutMargin Notes and multi-line Equations

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
danguetta
Posts: 2
Joined: Fri Nov 18, 2011 4:05 am

Margin Notes and multi-line Equations

Post by danguetta »

I am writing a document including a number of multi-line equations (in the context of proofs). I would like to be able to associate a small explanatory comment next to each line (eg: "divide throughout by x") in the form of a margin note.

Unfortunately, margin notes cannot be included inside equation environments - they have to be included before or after, which puts the margin note either above the equation block or below.

My question is - is there any way to include margin notes that are aligned with specific lines in a multi-line equation environment, so that I can carefully explain what happens in each step.

Thanks so, so much for the help!

Daniel

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Margin Notes and multi-line Equations

Post by localghost »

Try the marginnote package. It allows vertical offsets for marginal notes which could be helpful in this case.


Best regards and welcome to the board
Thorsten
danguetta
Posts: 2
Joined: Fri Nov 18, 2011 4:05 am

Margin Notes and multi-line Equations

Post by danguetta »

localghost wrote:Try the marginnote package. It allows vertical offsets for marginal notes which could be helpful in this case.


Best regards and welcome to the board
Thorsten
Thanks for that, Thorsten - I'll try it out!

Daniel
Post Reply