This script:
\documentclass{article}
\usepackage{lipsum}
\usepackage{graphicx}
\usepackage{subfig}
\begin{document}
\lipsum[1-5]
\begin{figure}
\centering
\subfloat[]{
\includegraphics[width=0.5\textwidth]{example-image-a}
}\\
\subfloat[]{
\includegraphics[width=0.5\textwidth]{example-image-b}
}
\end{figure}
\lipsum[6-10]
\end{document}
produces the output:
There is a lot of empty space around the figure that could be economically filled with text. How to solve this problem?


\floatpagefraction(default=0.5) should do:\renewcommand{\floatpagefraction}{0.8}... – Phelype Oleinik Apr 05 '19 at 19:13