I have the following code for a Figure with 4 subfigures:
\documentclass{article}
\usepackage{graphicx}
\usepackage{caption}
\usepackage{subcaption}
\begin{document}
\begin{figure}[b]
\centering
\begin{subfigure}[b]{\textwidth}
\includegraphics[width=\textwidth]{./plots/arm1.pdf}
\subcaption{$Q^{*}$ values for arm 1}
\label{fig:arm1}
\end{subfigure}
~
\begin{subfigure}[b]{\textwidth}
\includegraphics[width=\textwidth]{./plots/arm2.pdf}
\subcaption{$Q^{*}$ values for arm 2}
\label{fig:arm2}
\end{subfigure}
~
\begin{subfigure}[b]{\textwidth}
\includegraphics[width=\textwidth]{./plots/arm3.pdf}
\subcaption{$Q^{*}$ values for arm 3}
\label{fig:arm3}
\end{subfigure}
~
\begin{subfigure}[b]{\textwidth}
\includegraphics[width=\textwidth]{./plots/arm4.pdf}
\subcaption{$Q^{*}$ values for arm 4}
\label{fig:arm4}
\end{subfigure}
\caption{$Q^{*}$ values for different arms}
\label{fig:arms}
\end{figure}
\end{document}
This results in this page
But this way, the 4 subfigures are too large to fit on 1 page. I would like to split this over 2 pages, keeping the subcaptions a, b, ... How can I do this?

LaTeX Error: too many unprocessed floats. – JNevens Nov 18 '15 at 08:04\ContinuedFloatand then see, if error still persist. – Zarko Nov 18 '15 at 09:311 captionin this Figure? I posted the question https://tex.stackexchange.com/questions/522618/is-it-possible-to-have-subfigure-a-b-c-page-1-and-c-d-page-2-w – aan Jan 02 '20 at 02:02\lipsumsections in this example with real, long text you will see it happening too. – Luís de Sousa Jul 03 '20 at 14:04\alphastops working after ~100 pages. So without a MWE showing the problem in other comments is impossible to see what’s going on – Luis Turcio May 31 '21 at 11:55