I am doing an article with two columns in Latex and in the Appendices instead of putting the title and then the image, 2 titles are put on one page and then the images on the others. It is not a problem of sizes because I have tried with everything and nothing, also specifying [h!] and [htb]. I attach photos of how it is now and how I would like it to be (marked in red in the image):
Title page only:
Image only page:
Code:
\subsection{Casos de Uso}
\label{casosuso}
\begin{figure*}[ht]
\begin{minipage}[b]{0.45\linewidth}
\centering
\includegraphics[width=\linewidth]{img/CasosUsoAdmin.png}
\caption{Diagrama de casos de uso - Administrador.}
\label{casoadmin}
\end{minipage}
\hspace{0.5cm}
\begin{minipage}[b]{0.45\linewidth}
\centering
\includegraphics[width=\linewidth]{img/casosUsoUser.png}
\caption{Diagrama de casos de uso - Usuario.}
\label{casouser}
\end{minipage}
\end{figure*}
\newpage
\subsection{Diagrama E-R}
\label{diagramaer}
\begin{figure*}[ht]
\centering
\includegraphics[width=1\textwidth]{img/DiagramaER.png}
\caption{Diagrama E-R de la Base de Datos.}
\label{er}
\end{figure*}
\end{document}
Any ideas?