0

When I use a figure command to insert an image , I notice that the image does not go where exactly I want , and even when I want it in a specific subsection I find it before that section

\begin{figure}

\label{fig:f43}
\caption{An Example }
\includegraphics[width=12cm, height=6cm]{4-12}

\end{figure}
Farzad64
  • 379

1 Answers1

0

You should add where you want the figure to be (here, top, bottom). With an exclamation mark (!) you can force the figure to be where you want it to be, but this does not always work, because it sometimes would destroy the entire page layout

\begin{figure}[h!]
\includegraphics[width=12cm, height=6cm]{4-12}
\caption{An Example }
\label{fig:f43}
\end{figure}

In addintion it should always be graphic, caption, label to avoid errors.