I include a pdf in my latex document but latex says it is too wide. In default configuration for any reason latex includes the pdf in the horizontal center of the page. That's why i'm using


This command will move the pdf to the left and I can print the document without a format problem. BUT, latex insterts a blank page above my pdf because the command just changed the pdf position and it is still too wide. It is no option to change the scaling of the pdf because the size is perfect as it is. Just latex does not recognize I've changed the margin to the right side.

(Overfull \hbox (25.35355pt too wide))

Someone an idea how I can remove that blank page? One possible solution could be to include the pdf not in the horizontal center of my page, but I don't know either how to do that.

  • 1
    the blank page is not caused by the width, it is presumably also too high. Best would be to fix the size of the included image but putting \hspace{-26pt} immediately after \includegraphics will make the warning go. You probably need somethikng similar in vertical direction as well – David Carlisle Jul 4 '16 at 16:30
  • I tested your answer, but it is not the height. I have many space between the end of the page an my pdf. I have just the warning that hbox is too wide. it seems vbox is ok. and using \hspace{-26pt} will move my pdf to the left side of the page. This would look awful. -2cm will center the pdf but latex think it's going out of the page. – Ben Jul 4 '16 at 16:47
  • AFTER the \includegraphics, not before. You could also use \rlap{\includegrahics{...}} – John Kormylo Jul 5 '16 at 2:03
  • 2
    Welcome to TeX.SX! Please help us help you and add a minimal working example (MWE) that illustrates your problem. Reproducing the problem and finding out what the issue is will be much easier when we see compilable code, starting with \documentclass{...} and ending with \end{document}. – Martin Schröder Jul 5 '16 at 9:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.