0

I used the usepackage "placeins" to force the figures to be in the section or subsection of interest. However for two specific sections, I would prefer the Figures to float (to avoid white blanks). How could I deal with this? Is is possible to suppress the placeins effect for few defined sections?

  \usepackage[section]{placeins}
\let\Oldsection\section
\renewcommand{\section}{\FloatBarrier\Oldsection}
\let\Oldsubsection\subsection
\renewcommand{\subsection}{\FloatBarrier\Oldsubsection}
\let\Oldsubsubsection\subsubsection
\renewcommand{\subsubsection}{\FloatBarrier\Oldsubsubsection}
1

Use \Oldsection for the sections following the images which should float.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.