Graphics, Figures & TablesFigure cannot be fitted / resized & covers text

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
Tobi_83
Posts: 1
Joined: Wed Jan 02, 2013 11:07 am

Figure cannot be fitted / resized & covers text

Post by Tobi_83 »

Hello,

I am trying to insert a figure into my document but when viewing the pdf it is just showing a corner of the image because it seems to be far too big. In addition the figure covers some of the text. I tried already different formats and converted the picture to jpeg and pdf but it does not change anything.

The code ist just

Code: Select all

\begin{figure}[h!]
  \caption{caption}
  \centering
    \includegraphics[width=0.5\textwidth]{abb1.pdf}
\end{figure}
Thank you for any comment
Last edited by cgnieder on Wed Jan 02, 2013 11:45 am, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Figure cannot be fitted / resized & covers text

Post by Stefan Kottwitz »

Hi Tobi,

did you get error messages or warnings? If yes, please post them here.
Perhaps also post your preamble. Usually the best way to get a problem fixed is posting a Infominimal working example. Just the code above should not cause the problem.

Stefan
LaTeX.org admin
Post Reply