I'm writing a document and want to include an appendix of pictures at the end. Each picture has a caption associated with it, and a label. However, each time I try to compile the code, LaTeX automatically creates a page break between the section heading and the first figure. I know that use of \includegraphics can create a page break, but even if I use the figure environment without a picture as below, LaTeX starts a new page between the section heading and caption. Any ideas how I can stop this from happening?
\section{Appendix A}
\begin{figure}
\centering
\caption*{BlaBlaBla}
\label{pic1}
\end{figure}
\includegraphicsdirectly. If you also want to caption it (which isn't really needed for a non floating figure) use\captionof{figure}{my caption here}from the capt-of or caption packages. The only reason to usefigureis to allow latex to move the figure. – David Carlisle Feb 18 '14 at 17:52\captionofis identical to\captionexcept that you can use it outside the figure environment. (the whole package is just one line of code that defines \captionof to call \caption, so any labelling or caption styling works as required) – David Carlisle Feb 18 '14 at 17:56