For my thesis I have generated a big set of pdf images that I would like to include in the text. One of the images in particular is a full page pdf file that is larger than the margins used for the general document. The geometry is currently set as a4paper and it cannot be adapted since it is the obligatory style.

I am currently including the includepdf feature and this returns me the result displayed in the image. The problem that I am having is that I cannot fit the caption in the right place. Currently I am using vspace to set the location of the caption but when I go under a certain value it moves the caption to another page. I believe this has to do with the geometry on which the pages are made, hence I think that changing it for one page could do the trick. I, however, do not know how to achieve this.

Thanks a lot!

  • the command for this is \newgeometry and when the changes should be reverted \restoregeometry.
    – Skillmon
    Apr 19, 2017 at 11:29
  • 3
    It's not entirely clear to me what you are asking. It would already help if you actually post the image you refer to in your question. It would also help if you give a minimal working example (MWE) of what you are doing. In this MWE you can include your failed attempt, and indicate what this minimum value for vspace is. Apr 19, 2017 at 11:31

1 Answer 1


It is easier to overlay the margins than change them. (Don't forget to run this twice.)

    \begin{tikzpicture}[remember picture, overlay]
    \node[inner sep=0pt] at (current page.center)
% or (\includegraphics[page=1]{filename.pdf}}:
    \vfill\caption{Caption goes here}


Here is a solution using \newgeometry. There were some interesting conflicts between \afterpage and \restoregeometry, and the only way I could get the page number onto the third page was to add it directly.

\usepackage{lipsum}% MWE only

% or \includegraphics[page=1]{filename.pdf}
  \captionof{figure}{Caption goes here}
\rlap{\raisebox{\dimexpr \topskip-\textheight-\footskip}[0pt][0pt]{\makebox[\textwidth][c]{\thepage}}}%
  • I don't think this is easier than \newgeometry{left=0pt,right=0pt,top=0pt,bottom=0pt}...\restoregeometry but it works nice.
    – Skillmon
    Apr 20, 2017 at 7:22
  • Ah, but you can't do it inside a figure. Apr 20, 2017 at 12:42
  • But you don't need a figure, since you want to give it a fixed place anyway.
    – Skillmon
    Apr 20, 2017 at 12:59

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.