I have a question of the appearance of an image within my paper.
What I want is the following thing:
\subsection{data}
text text text, figure comes below
\begin{figure}
\centering
\epsfig{file=data.eps, height=2.3in, width=3.5in}
\caption{A sample black and white graphic (.eps format)
that needs to span two columns of text.}
\end{figure}
\section{next section}
above is the figure visible and is positioned within the subsection.
Is that possible? Because now the image is positioned on top of the page itself and not inline with the section.
\documentclass{...}and ending with\end{document}. – Jun 13 '15 at 14:14\begin{figure}[!htp], but you can't be sure the figure will be at the “best” place. Of course the caption is used just for letting the figure float at the best place from a typographical point of view. See http://tex.stackexchange.com/q/2275 – egreg Jun 13 '15 at 21:10