I need a document that has a notes column on the right hand side of each page starting after the contents page.

This notes column should have the heading "Notes" , should be 50% of the size of the main column and be separated with a thin line.

Any ideas which packages I can use to do this? I've managed to get a wide ruled margin. No heading so far.

migrated from stackoverflow.com Oct 6 '11 at 11:27

This question came from our site for professional and enthusiast programmers.


This should get you started. I extended the size of the margin and used \marginpar to place the text in the margin:

enter image description here






  • I tried to typeset your code (cut and pasted into TeXShop) however, I get an error message ! Undefined control sequence. l.9 \mdfdefinestyle {MyMarginNoteStyle}{ ? Is one of the packages missing in TeX Live 2011? – Sony Oct 6 '11 at 12:00
  • @Sony: I just did that now (also with TeXShop and TeXLive 2011) and I did not get that error message. Have you done an update to the packages since installing TeXLive 2011? – Peter Grill Oct 6 '11 at 14:40
  • I usually wait a year for the next version to come out. So, I do have to update TeXLive2011. Thanks. – Sony Oct 6 '11 at 17:04
  • @Sony: If you want to use this solution it looks like you'll need and updated version of the mdframed package. Alternatively, you could try placing the style settings that are specified in MyMarginNoteStyle as part of the actual \begin{mdframed} and remove the mdfdefinestyle{MyMarginNoteStyle}{...} section. – Peter Grill Oct 6 '11 at 17:14
  • @sony I have the same issue. By all accounts an upgrade will fix it. I'll be able to confirm this tonight. – Wayne Oct 10 '11 at 10:06

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.