Graphics, Figures & TablesImage not displaying where it was placed

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
B00139574
Posts: 1
Joined: Sat Nov 06, 2021 7:03 pm

Image not displaying where it was placed

Post by B00139574 »

Hi,

I have placed an image within my .tex file. I have included my code below. However, the image displays on my PDF document within the text of the following paragraph.

How can I get my image to stay where it was placed?


The primary model set forth in this standard is included in figure \ref{fig:ISA95Model} below.

Code: Select all

  \begin{figure}[!htbp]
    \centering
    \includegraphics[width=6.5cm]{images/ISA-95-model.png}    
    \caption{ISA 95 Hierarchical Model.}
    \label{fig:ISA95Model}
\end{figure}
The model typically encompasses large scale, production/ manufacturing environments and as such can be seen as a bottom up model.


Regards
Last edited by Stefan Kottwitz on Sat Nov 06, 2021 9:28 pm, edited 1 time in total.
Reason: code marked

Recommended reading 2024:

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

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

Ijon Tichy
Posts: 640
Joined: Mon Dec 24, 2018 10:12 am

Image not displaying where it was placed

Post by Ijon Tichy »

Without Infominimal working example I can only say: If you don't want images to float, don't use floating environments like figure. But note: Not allowing images to float can result in large empty spaces, if an early page break is needed, because an image does not fit to the page.

And please always mark code as code.
Sorry, but I can no longer participate here as the administrator is trampling on my wishes on one of his other platforms. :cry:
Post Reply