Possible Duplicate:
Unbreakable block
I have quite small article section like:
\subsubsection Some title
some text about figure:
\begin{figure}[h]
\centering
\includegraphics[width=0.5\columnwidth]{image-here.png}
\end{figure}
I think it would be much better if all those 3 "lines" (title, text and image) will come on single page but I did not find any way to do it except inserting \pagebreak before \subsubsection
. I thought \nopagebreak
could solve this task but I could not get the desired effect.
Is there any other option?
\includegraphics
from thefigure
environment, since that is floating (and doesn't remain in the place you specify generally). There is no need to place images inside afigure
environment, unless you have a\caption
. Even then there are ways around it.figure
) was my initial code and the result was the same :(