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


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.


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.