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.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a big figure that takes up a full page. I'd like to include it in my latex document on a separate page, centered horizontally and vertically.

I managed to put it on a separate page (or it is simply doing that because of the size). Horizontal centering also works using \centerline, even though the figure is wider than the text.

The only problem left is that I can't center it vertically. No matter what I try it won't let me go over the top margin. I tried \vspace*{-2cm} or ${}$\vspace*{-2cm}, but only the caption was moved (onto the figure..).

My current code:

    \caption{Sequence diagram}


Here is the result (I put a black border around the page, and covered the area of the figure with a gray box). The top margin is slightly larger than the bottom margin. And the figure's caption is below the page number. I'd just like to move the figure and caption up by 1-2 cm.

enter image description here

share|improve this question
Instead of \centerline{...}, does \makebox[\linewidth]{...} provide a solution? – Werner Nov 27 '12 at 18:54
Unfortunately not. It looks thee same. I posted an image in my question. – DrummerB Nov 27 '12 at 19:22
I now see that your actual image is too large. Just add \vspace*{1cm} below \caption to move the image upward 1cm. – Werner Nov 27 '12 at 19:24
Adding a \vspace at the end was simply ignored. However a negative \vspace above the figure and \makebox now work. Thanks for helping! – DrummerB Nov 27 '12 at 19:38

Another option is to use pdfpages package as reported here.

For this add the following line in the preamble:


Now you need to create a pdf with exact size of your LaTeX document. For this I used Inkscape, but you can use any other tool. In case you do not know what is the exact size of page in pixels, just open the pdf with Inkscape. Just open first page of pdf with Inkscape. This will give you titlepage, you can see the height and width of page in Inkscape. Lets say the size of page is 765x990 pixels. Now resize the image that you want to this size and embed it in this page. Save the file as pdf in Inkscape.

Now in the main LaTeX file use the following command


I am attaching a screenshot of my document below.

LaTeX Full Page Image

share|improve this answer
Would you like to elaborate more? Providing a concrete example will be great not only for the OP, but also for future readers. – Claudio Fiandrino Jan 30 '14 at 10:58
IMHO, thats all. It is really that simple. – Christian Mar 1 '14 at 21:48

Use a negative \vspace above the figure and use \makebox:

    \caption{Sequence diagram}
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.