Kindly please help me soon, I must submit my paper as soon as possible and still there is a problem and white space and though I used htp for table, my table come between the text! also, I've searched a lot and still have this problem, after a long table there is a white space that the section can be in that space. My LaTeX code is as below:
\documentclass{cta-author}
\usepackage{natbib}
\usepackage{longtable}
\usepackage{lineno,hyperref}
\usepackage{lineno}
\usepackage{parskip}
\usepackage[utf8]{inputenc}
\usepackage{framed} % Framing content
\usepackage{multicol} % Multiple columns environment
\usepackage{textcomp}
\usepackage[T1]{fontenc}
\usepackage{resizegather}
\usepackage{booktabs}
\usepackage{bm}
\usepackage[font=small,skip=0pt]{caption}
\usepackage{setspace}
\begin{document}
{text}
\subsection{text}
\begin{table}[!t]
\caption{text1}
\label{table1}
\centering
\resizebox{0.48\textwidth}{!}{%
%{\small \begin{center}
\begin{tabular}{|l|}
%\begin{longtable}{l}
% \centering
\toprule\toprule
{text}
\bottomrule\bottomrule
\end{tabular}
}
\end{table}
\begin{table}[h]
\caption*{\raggedright Continuation of Table \ref{table1}:}
\label{table2}
\centering
\resizebox{0.48\textwidth}{!}{%
\begin{tabular}{|l|}
\toprule\toprule
{text3}
\end{tabular}}
\vspace{-5pt}
\end{table}
\section{Simulation Results}
\label{section 2}
{text}
\\
\raggedbottom
\begin{table}[htp]
\caption{Simulation}
\label{Table4}
\centering
\begin{spacing}{1.5}
\small\addtolength{\tabcolsep}{-15pt}
\begin{tabular}{l c}
\toprule\toprule
{text5}
\bottomrule\bottomrule
\end{tabular}
\end{spacing}
\vspace{-10mm}
\end{table}
{text}
\end{document}
\vfill
instruction before\section{Simulation Results}
? Please also do reveal which document class you employ and what happens if you move\raggedbottom
to the preamble, so that the directives applies to the entire document? – Mico Oct 28 '19 at 9:21\\
after the section text is wrong and presumably generates warnings. – David Carlisle Oct 28 '19 at 9:22\tabcolsep
is6pt
; setting it to-9pt
(via the instruction\addtolength{\tabcolsep}{-15pt}
) is likely to create major typographic malfunctions. – Mico Oct 28 '19 at 9:26