4

I've imported an image but it doesn't display where I put the code. It shows up halfway down the next blank page. Here's the code I am using.

\usepackage{graphicx}
\begin{figure} 
\centering
\includegraphics[scale=.5]{sandwich theorem.PNG}
\caption{The Unit Circle \label{fig1}}
\end{figure}

How do I get it to display where I put the code?

1 Answers1

3

Adding a [H] will force it to render where you put the include. For example:

\begin{figure}[H]
\centering
\includegraphics[scale=.5]{sandwich theorem.PNG}
\caption{The Unit Circle \label{fig1}}
\end{figure}

A similar problem has already been answered here.