Possible Duplicate:
Keeping tables/figures close to where they are mentioned
How to influence the position of float environments like figure and table in LaTeX?
Is it possible to add picture figure after paragraph ending (not to interrupt paragraph text). I have figure that will be wrapped with text and move to the next page if it can't be suited (not enought space) on previous page. But in that case paragraph will be interrupted with figure.
\par Some text.. Paragraph ended here.
\begin{figure}[!ht]
\centering
\includegraphics[width=0.5\textwidth]{pic.png}
\captionof{figure}{title}\label{pic:picture}
\end{figure}
\par New paragraph started here. text Some text.....
Current state is:

Want to have next with LaTex:

\captionof{figure}inside afigureenvironment is not required. Just use\caption. Also, simply add an empty line before paragraphs. No need to use\parexplicitly here. – Martin Scharrer May 09 '12 at 09:22\begin{figure}[!ht] \centering .. \end{figure}into\begin{center} .. \end{center}and keep the\captionof{figure}. Note thatfigures in LaTeX are floats which usually should move at a good position (top or bottom of a page). – Martin Scharrer May 09 '12 at 09:27