I have 4 subfigures that I want to be presented across two pages, with 2 on each page. (Each set of two subfigs is large enough to take the entire page). I followed the suggestions here: Split subfigures over multiple pages I went through the comments, but there were no solutions there.
However, whatever I try, LaTeX always inserts content between the first set of two subfigures and the last set (i.e. text and tables). Is there a way to force the subfigures to be shown after one another, please?
My code:
\begin{figure}[!b]
\centering
\begin{subfigure}{0.85\textwidth}
\includegraphics[width=\linewidth]{path}
\subcaption{}
\label{fig:label}
\end{subfigure}
\medskip
\begin{subfigure}{0.85\textwidth}
\includegraphics[width=\linewidth]{path}
\subcaption{}
\label{fig:label2}
\end{subfigure}
\end{figure}%
% Add a page break here
%\clearpage
\begin{figure}[ht]\ContinuedFloat
\centering
\begin{subfigure}{0.85\textwidth}
\includegraphics[width=\linewidth]{path}
\subcaption{}
\label{fig:label3}
\end{subfigure}
\medskip
\begin{subfigure}{0.85\textwidth}
\includegraphics[width=\linewidth]{path}
\subcaption{}
\label{fig:label4}
\end{subfigure}
\caption[]{Caption text }
\label{fig:figlabel}
\end{figure}
Thanks :)
Edit:
After the figure, I have a new subsection and then a table definition (this table is showing up in between the subfigs:
\renewcommand{\arraystretch}{2}
\begin{longtable}[htp]{ >{\centering\arraybackslash}m{0.15\textwidth} >{
\arraybackslash}m{0.325\textwidth} >{\arraybackslash}m{0.325\textwidth} }
\caption{caption } \\
\label{tab:label}
\textbf{Text} & \textbf{Text} & \textbf{Text}\\ \midrule
\endfirsthead
\textbf{Text} & \textbf{Text} & \textbf{Text}\\ \midrule
\endhead
Text & Text & Text\\
\midrule
Text & Text & Text\\
\midrule
Text & Text & Text\\
\midrule
Text & Text & Text \\
\midrule
Text & Text & Text\\
\midrule
Text & Text & Text\\
\midrule
Text & Text & Text\\
\midrule
Text & Text & Text\\
\midrule
Text & Text & Text\\
\midrule
Text & Text & Text\\
\bottomrule
\end{longtable}
It's text heavy.

\@botlistwhile the second float was still in\@deferlist. Add\newpagebefore the longtable. – John Kormylo Jan 25 '24 at 17:32