The figures always seem to be inserted between two paragraphs. I want to allow the figures to break a paragraph if its positioning between two paragraphs generates large inter-paragraph spaces. The aim is to optimise the placement of the text so that there are no huge inter-paragraph spaces when I include figures in the text.
In the example below, the figure must be alone on a page. I would like to get rid of the blank on page 2 and have the text continue instead. I was wondering if there is a solution that allows you to do this on all the figures in the document at once.
\documentclass{article}
\usepackage{graphicx}
\usepackage{lipsum}
\usepackage{lscape}
\begin{document}
\lipsum[1-7]
\begin{landscape}
\begin{figure}[bp!]
\begin{center}
\includegraphics[width=\textwidth,height=0.8\textheight]{example-image-a}
\caption{Some caption}
\end{center}
\end{figure}
\end{landscape}
\lipsum[1-5]
\end{document}
Here the texte should continue instead of the white space marked in red
