I am using the placins package with the section option. I noticed there seems to be a page break before a section. Below is my code. How do I bring the second section to the previous page?
\documentclass[12pt,a4paper]{article}
\usepackage{graphicx}
\usepackage{lipsum}
\usepackage[section]{placeins}
\begin{document}
\section{First}
\lipsum[1-3]
\begin{figure}[htb]
\centering
\includegraphics[width=0.8\textwidth]{example-image}
\caption{\label{fig:} }
\end{figure}
\begin{figure}[htb]
\centering
\includegraphics[width=0.8\textwidth]{example-image}
\caption{\label{fig:} }
\end{figure}
\begin{figure}[htb]
\centering
\includegraphics[width=0.8\textwidth]{example-image}
\caption{\label{fig:} }
\end{figure}
\section{Second}
\lipsum[4]
\begin{figure}[htb]
\centering
\includegraphics[width=0.8\textwidth]{example-image}
\caption{\label{fig:} }
\end{figure}
\end{document}
Best Answer
This?