In a book project, using \geometry{letterpaper}, there are occasional places where an oversize diagram has to be included — one much wider than a normal page — without being reduced or spread across pages. But I don't want all the other pages to be oversize, as well.

What options do I have for allowing individual pages to be oversize, on an ad hoc basis? (\geometry cannot be re-declared in the body of the document).

  • did you have a look at the changepage package? I've never used it seriously myself, so I don't know whether it'll do what you want. – gniourf_gniourf Nov 4 '12 at 20:24

Taken in part from the UK TeX FAQ entry Changing margins “on the fly”:

Horizontal adjustment:

The changepage package provide a localized width adjustment of the text block with the adjustwidth environment. The typical usage would be


if you wish the text block to extend 1cm out of the margin on both sides of the text block. An extension to this in the form of a layout change on a per-page basis is offered by changelayout.

memoir provides an analogous adjustwidth (and starred variant for twoside mode accommodation) which works in a similar way and takes similar arguments.

fullwidth is another package that follows in the footsteps of mdframe by allowing page breaks within the margin adjustments.

From the KOMA-Script documentation (section 3.18 Lists, p 106):

Similar to quote and quotation, the addmargin environment changes the margin. In contrast to the first two environments, with addmargin the user can set the width of the indentation. Besides this, this environment does not change the indentation of the first line nor the vertical spacing between paragraphs.

The addmargin and addmargin* environments function in the same way memoir's adjustwidth does.

Alternatively, setting the content in a box that fits within the text boundary will make TeX happy, yet allow the content to extend beyond the text block margins. For example,

  \makebox[\textwidth]{\includegraphics[..]{...}}% Automatically centred

The adjustbox package provides similar means for manipulating the bounding box of its content, and interacts well with the key-value parameters of \includegraphics via its export package option.

Vertical adjustment:

You can use \enlargethispage{<len>} to increase the current page by <len>. Or there's the addlines package that provides an analogous \addlines macro.

All of the above discussions are independent of the content being included.

  • Thank you. I think I should have explained that these diagrams will generally be much wider than a normal page, rather than much longer. I will edit the original post. – brannerchinese Nov 5 '12 at 4:26

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.