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?
figureenvironment is a float. On [tex.se] this would be a duplicate of How to influence the position of float environments like figure and table in LaTeX? and/or Keeping tables/figures close to where they are mentioned. – Werner Sep 10 '14 at 18:55