Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have an image in PDF format, which I want to show in a much larger format than what fits on the page. For the overflowing parts of the image, I just want it to disappear over the edge.

I tried \includegraphics[width=2\textwidth]{myimage}, but instead of just overflowing the way I want it to, it jumps to the next page.

To complicate things further, the image will overflow the top and right edges of the page, but below the image there will be some space where I want text that complies with the page margins of the rest of the document.

Is there any way to tell LaTeX that I don't care what happens with parts of this image that overflow boundaries?

share|improve this question
Have a look on Balancing figure that is wider than document's width. For the horizontal margins it is a duplicate question, but the top overflow needs to be handled differently. –  Martin Scharrer Aug 30 '11 at 10:27
@Martin: I see ... so my vote to close was premature. –  lockstep Aug 30 '11 at 10:35
@lockstep: I had to read the question twice as well :-) –  Martin Scharrer Aug 30 '11 at 10:41
I'm sorry that I was unclear. I had quite a hard time putting down in words what my problem was, so I see how it was hard to figure it out :P –  Tomas Lycken Aug 30 '11 at 20:31

3 Answers 3

up vote 1 down vote accepted

The overlapping in the margin can be done by placing the image in a \makebox[\textwidth] as shown by egreg or in my answer to Balancing figure that is wider than document's width. The overlapping in the top margin requires the adjustment of the official height as well.

You can do everything very easily using my adjustbox package when using the export option which exports its options also to \includegraphics. The following code scales the image to 2\textwidth, sets the official height to 10cm so that everything above 10cm overlaps in the top margin and aligns it to the left side so that it overlaps in the right margin. I assume here that the image is placed on the top of a page, e.g. direct after a page break or using {figure}[t].


\includegraphics[width=2\textwidth,set height=10cm,left=\textwidth]{tiger}


You can also get the same result by manually using \makebox and \raisebox:

share|improve this answer
Using the package I got an error stating that "option 'export' is unknown for package 'adjustbox'", but the manual version works perfectly! =) Since this is going to be used in a package file, this is more than enough. –  Tomas Lycken Aug 30 '11 at 20:50
@Tomas: You might have an older version which doesn't has the option. This version is very new. –  Martin Scharrer Aug 30 '11 at 21:03

Include the image in a box as wide as the \textwidth:


LaTeX doesn't care if the contents of this box overflows the dimension.

share|improve this answer
Correct, but this is basically a duplicate answer to the above linked question: tex.stackexchange.com/questions/16582/… –  Martin Scharrer Aug 30 '11 at 10:36
@Martin I don't agree: that is about letting the image overflow both margins. –  egreg Aug 30 '11 at 10:43
Indeed, sorry, I sometimes take these differences as too trivial ... :-) –  Martin Scharrer Aug 30 '11 at 10:52

\rlap{\includegraphics[width=2\textwidth,viewport=0 0 {2\textwidth} 10cm, clip]{tiger}}

enter image description here

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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