This is a follow to this answer to my previous question. I got three such tables that I want make sure they appear on 1 page, so that the keys at the bottom appear right below all.
- Is it possible to reduce the space in between the tables, so that some text can appear on the page (before or after tables), since it appears there is large space it between?
\documentclass[runningheads]{llncs}
\usepackage{booktabs,siunitx}
%\usepackage{cleveref}
\begin{document}
\section{Main Section}
\subsection{Sub-section I}
Checking cross-reference for Table \ref{tab:exp1}
\title{Paper Title}
\begin{table}[!htbp]
\caption{Experiemnt 1} \label{tab:exp1}
\setlength{\tabcolsep}{0pt}
\begin{tabular*}{\textwidth}{
@{\extracolsep{\fill}}
l
@{\hskip 1ex}
*{5}{S[table-format=1.2]}
@{\hskip 1ex}
*{5}{S[table-format=1.2]}
@{\hskip 1ex}
*{5}{S[table-format=1.2]}
@{}
}
\toprule
TM &
\multicolumn{5}{c}{Precision} &
\multicolumn{5}{c}{Recall} &
\multicolumn{5}{c}{F1-Score} \\
\cmidrule(r{1ex}){2-6} \cmidrule(r{1ex}){7-11} \cmidrule{12-16}
& {R} & {S} & {A} & {B} & {D} & {R} & {S} & {A} & {B} & {D} & {R} & {S} & {A} & {B} & {D}\\
\midrule
Walk & & & & & & & & & & & & & & & \\
Bike & & & & & & & & & & & & & & & \\
Bus & & & & & & & & & & & & & & & \\
Taxi & & & & & & & & & & & & & & & \\
Train & & & & & & & & & & & & & & & \\
\bottomrule
\end{tabular*}
\end{table}
\begin{table}[!htbp]
\caption{Experiemtn 2} \label{tab:exp2}
\setlength{\tabcolsep}{0pt}
\begin{tabular*}{\textwidth}{
@{\extracolsep{\fill}}
l
@{\hskip 1ex}
*{5}{S[table-format=1.2]}
@{\hskip 1ex}
*{5}{S[table-format=1.2]}
@{\hskip 1ex}
*{5}{S[table-format=1.2]}
@{}
}
\toprule
TM &
\multicolumn{5}{c}{Precision} &
\multicolumn{5}{c}{Recall} &
\multicolumn{5}{c}{F1-Score} \\
\cmidrule(r{1ex}){2-6} \cmidrule(r{1ex}){7-11} \cmidrule{12-16}
& {R} & {S} & {A} & {B} & {D} & {R} & {S} & {A} & {B} & {D} & {R} & {S} & {A} & {B} & {D}\\
\midrule
Walk & & & & & & & & & & & & & & & \\
Bike & & & & & & & & & & & & & & & \\
Bus & & & & & & & & & & & & & & & \\
Taxi & & & & & & & & & & & & & & & \\
Train & & & & & & & & & & & & & & & \\
\bottomrule
\end{tabular*}
\end{table}
\begin{table}[htbp]
\caption{Experiemnt 3} \label{tab:exp3}
\setlength{\tabcolsep}{0pt}
\begin{tabular*}{\textwidth}{
@{\extracolsep{\fill}}
l
@{\hskip 1ex}
*{5}{S[table-format=1.2]}
@{\hskip 1ex}
*{5}{S[table-format=1.2]}
@{\hskip 1ex}
*{5}{S[table-format=1.2]}
@{}
}
\toprule
TM &
\multicolumn{5}{c}{Precision} &
\multicolumn{5}{c}{Recall} &
\multicolumn{5}{c}{F1-Score} \\
\cmidrule(r{1ex}){2-6} \cmidrule(r{1ex}){7-11} \cmidrule{12-16}
& {R} & {S} & {A} & {B} & {D} & {R} & {S} & {A} & {B} & {D} & {R} & {S} & {A} & {B} & {D}\\
\midrule
Walk & & & & & & & & & & & & & & & \\
Bike & & & & & & & & & & & & & & & \\
Bus & & & & & & & & & & & & & & & \\
Taxi & & & & & & & & & & & & & & & \\
Train & & & & & & & & & & & & & & & \\
\bottomrule
\end{tabular*}
\medskip
TM: Transportation mode
R: RF\textit{(baseline)}; S: RF-SMOTEd; A: AdaBoost; B: SMOTEBoost; D: DECOC
\end{table}
\end{document}
Output:
!htbp
for tables 1 and 2, buthtbp
for table 3. If you had stayed with!htbp
for the third table, I suppose you wouldn't have needed to post this query...