@samcarter_is_at_topanswers.xyz somehow your suggestion looks this for me (maybe because of this setting? \captionsetup{labelfont={bf,footnotesize},textfont=footnotesize}) also I got at \begin{subfigure}{\textwidth} the error Missing number, treated as zero. Illegal unit of measure (pt inserted). And there is still a big gap between the second image and the top of the page.