How to keep my default floating environment spacing before them, while reducing my figures spacing after they?

by user   Last Updated July 12, 2019 04:23 AM

I am using \setlength{\belowcaptionskip}{-10pt} from How can I reduce padding after figure? to reduce the spacing after my figures. And it is working fine.

But it is also affecting my new floats environments and reducing to almost 0 the spacing before the environment.

How can I fix my floats environments spacing before (keep their spacing) while keeping by figure environments reduced spacing after the figure? enter image description here

\documentclass[12pt]{memoir}
\usepackage{caption,newfloat}
\usepackage{graphicx}

\def\listofquadrosname{List of Frames}
\DeclareFloatingEnvironment[fileext=loq,placement={!hbtp},name=Frame,
within=chapter,listname=\listofquadrosname]{quadro}

\setlength{\belowcaptionskip}{-10pt}
\begin{document}
Before. Before. Before. Before. Before. Before. Before. Before. Before.

\begin{figure}[h]
    \includegraphics{latex.png}
    \caption{Opis}
\end{figure}

After. After. After. After. After. After. After. After. After. After.

Before. Before. Before. Before. Before. Before. Before. Before. Before.

\begin{quadro}[h]
\caption{Stuff.}
Contents.
\end{quadro}

After. After. After. After. After. After. After. After. After. After.
\end{document}
Tags : spacing floats


Related Questions


Updated June 27, 2018 01:23 AM

Updated March 13, 2017 10:23 AM

Updated April 13, 2015 20:10 PM

Updated May 08, 2015 12:15 PM