TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

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 want to include a PDF file in my LaTeX-Document, which I compile with pdflatex.

Using width=\linewidth, I still get an overfull hbox. What am I doing wrong?



Warning: Overfull \hbox (15.0pt too wide) in paragraph

share|improve this question
similar problem here: (Framed) Boxes are too long / Textwidth doesn't work – barbara beeton Jul 16 '13 at 18:49
up vote 11 down vote accepted

You're not taking into account \parindent (the indentation of the first line of paragraphs not immediately after a sectional unit). Add \noindent before \includegraphics; a simple example





enter image description here

The geometry package with its showframe option was only used to have a frame showing the margins for reference.

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.