I want to make a double-sided problem booklet that contains several questions. Each question has a distinct number and may have zero or more figures. Each figure has a caption and floats on the outer margin. The following figure illustrates what I want to have.

enter image description here

Is there a document class or package to do this out of the box? If the answer is NO, then how to create such a problem booklet?

  • Marginpar can be a "floating object" with some packages/customizasiont. I can't look into that now as I have to leave, but this is a consideration.
    – yo'
    Apr 24 '12 at 14:09
  • tufte class`!
    – user11232
    Apr 24 '12 at 14:38

As tohecz mentions in his comment, you can use \marginpar for your purpose; using \captionof (from the caption or capt-of packages) you can provide the captions.




text\MarginFig{name1}{description for figure one}{fig:test1} \lipsum[1-2]\MarginFig{name2}{description for figure one}{fig:test2}
\lipsum[1]\MarginFig[height=7cm,width=\marginparwidth]{name3}{description for figure three}{fig:test3}\lipsum[1-3]
text\MarginFig[height=7cm,width=\marginparwidth]{name4}{description for figure four}{fig:test4} \lipsum[1]\MarginFig{name5}{description for figure five}{fig:test5}\lipsum[2]\MarginFig{name6}{description for figure six}{fig:test6}\lipsum[1-3]


enter image description here

In the code above I used the \reversemarginpar command and the geometry package to customize the page layout in order to obtain the result shown in the original question (images in the left margin for odd-numbered pages and images in the right margin for even-numbered pages). Those settings are, of course, optional.

  • I think I don't need \reversemarginpar to meet the requirements in the question, i.e., all figures float on the outer margin. Apr 24 '12 at 15:55
  • 1
    @Moderator: OK; I wasn't sure if you needed it or not since your image suggested using the leftmargin for odd pages and the rightmargin for even pages. Apr 24 '12 at 15:57
  • Sorry, is marginnote necessary in this case? Sep 27 '13 at 6:20

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.