please I'm new in latex. I have a problem with my paper which is the existing of a lot of white spaces between paragraphs, table and its comments and so on. I don't know how to fix it. I tried to use the following code but the same problem.
\makeatletter
\def\section{\@startsection{section}{1}{\z@}%
{-10.5dd plus-4pt minus-2pt}{10.5dd}
{\normalsize\bfseries\boldmath}}
\def\subsection{\@startsection{subsection}{2}{\z@}%
{-10.5dd plus-4pt minus-2pt}{10.5dd}
{\normalsize\upshape}}
\makeatother
[H]float specifier. – daleif Sep 07 '20 at 13:18\raggedbottombut I think that you will have to re-think about your float specifications. – Peter Wilson Sep 07 '20 at 17:28[H]because they don't appreciate or understand floats. Now you know why[H]is hardly ever the solution and most often end up being a problem – daleif Sep 07 '20 at 18:46