Latex. Misplaced Figure

2.2k Views Asked by At

I'm trying to insert an image into the text, but the second one is misplaced and I don't know why because I've wrote the same code than the previous image.

Does anyone can help me with this?

enter image description here

1

There are 1 best solutions below

2
On BEST ANSWER

the problem is that the image is greater than what is left in the paper. You need to do three things if you want to fit it in the same page:

  1. substitute line 345 for "\begin{figure}[!h]"
  2. substitute line 348 for "\includegraphics[width=XXX\linewidth]{figuras/hl7_hapi_users}" and change the valor of XXX until it fits.

  3. write \pagebreak in line 352.