LaTeX forum ⇒ Graphics, Figures & Tablesfigures ont text

Information and discussion about graphics, figures & tables in LaTeX documents.
Posts: 6
Joined: Thu Nov 16, 2017 2:43 pm

figures ont text

Postby fhrttn » Thu Jan 25, 2018 10:21 am

  1. \begin{figure}[h]
  2. \centering
  3. \includegraphics[totalheight=0.35\textheight]{b.eps}
  4. \caption{awd}\label{40cafig}
  5. \end{figure}

I have used this version to add figures. But figures overflow, "(I attached an example)".
2.png (59.87 KiB) Viewed 400 times

User avatar
Stefan Kottwitz
Site Admin
Posts: 8708
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany

Postby Stefan Kottwitz » Thu Jan 25, 2018 8:13 pm


the code is ok. (I just would use [ht] at least, and I usually prefer the more relaxed [!htbp]).

It is an EPS figure, which has a bounding box, that states the figure dimensions. I guess that the bounding box is wrong. There are ways to fix it, if that is the case. Perhaps post that EPS image here as attachment, to look into it, or open it with a graphics software, fix the bounding box, or convert it.

Site admin

Return to “Graphics, Figures & Tables”

Who is online

Users browsing this forum: No registered users and 2 guests