强制将长表格放在一页中

强制将长表格放在一页中

在下面的代码中,我有 2 个小表和 1 个长表。长表不适合放在第一页,它会插入第二页,这是不利的。我想将它放在一页中,例如第二页。我该怎么做?

\documentclass[12pt]{article}

\usepackage{amssymb}
\usepackage{mathptmx} 
\usepackage{amsmath}

\usepackage{longtable}
\usepackage{booktabs}
\usepackage{array}
\usepackage{arydshln}
\setlength\dashlinedash{0.2pt}
\setlength\dashlinegap{1.5pt}
\setlength\arrayrulewidth{0.3pt}

\begin{document}

\begin{table}[] \centering
\begin{small}
\begin{tabular}{@{}lc@{}}\toprule
\textbf{Parameter}      & \textbf{Value}\\ \midrule
$P_1$                   & \textbf{15.61}\\ \hdashline
$P_2$                   & \textbf{11.36}\\ \hdashline
$P_3$                   & \textbf{0.432}\\ \hdashline
$P_4$                   & \textbf{0.432}\\ \hdashline
$P_5$                   & \textbf{1e4} \\
\bottomrule
\end{tabular}
\end{small}
\caption{Numerical values 1}
\label{t1}
\end{table}

\begin{table}[] \centering
\begin{small}
\begin{tabular}{@{}lc@{}}\toprule
\textbf{Parameter}      & \textbf{Value}\\ \midrule
$P_1$                   & \textbf{15.61}\\ \hdashline
$P_2$                   & \textbf{11.36}\\ \hdashline
$P_3$                   & \textbf{0.432}\\ \hdashline
$P_4$                   & \textbf{0.432}\\ \hdashline
$P_5$                   & \textbf{1e4} \\
\bottomrule
\end{tabular}
\end{small}
\caption{Numerical values 1}
\label{t2}
\end{table}

\begin{longtable}{@{}l c c c c}
\toprule
\centering
\textbf{Initial gains}  
&\textbf{max($P_1$)}       
&\textbf{max($P_2$)}
&\textbf{max($P_3$)}
&\textbf{max($P_4$)}

\\ \midrule

\begin{tabular}{l}$L_{00}=100$\\$L_{10}=100$\end{tabular} &  \textbf{0.6221} 
&\textbf{121.2892} &\textbf{149.8136} &\textbf{27.9641}\\

\begin{tabular}{l}$L_{00}=100$\\$L_{10}=100$\end{tabular} &  \textbf{0.6221} 
&\textbf{120.5161} &\textbf{149.4271} &\textbf{34.7235} \\

\begin{tabular}{l}$L_{00}=100$\\$L_{10}=100$\end{tabular}  &  
\textbf{0.6213} &\textbf{112.7963} &\textbf{148.2077} &\textbf{28.1165} \\

\begin{tabular}{l}$L_{00}=100$\\$L_{10}=100$\end{tabular}  &  
\textbf{0.6213} &\textbf{112.7133} &\textbf{148.0053} &\textbf{34.9203} \\ 

\begin{tabular}{l}$L_{00}=100$\\$L_{10}=100$\end{tabular}  & \textbf{0.6207} 
&\textbf{107.3273}
&\textbf{281.3320} &\textbf{56.0344} \\

\begin{tabular}{l}$L_{00}=100$\\$L_{10}=100$\end{tabular}  & \textbf{0.6193} 
&\textbf{92.9236}  &\textbf{145.1045} &\textbf{35.5135} \\

\begin{tabular}{l}$L_{00}=100$\\$L_{10}=100$\end{tabular}  & \textbf{0.6192} 
&\textbf{91.6388} &\textbf{281.3320}  &\textbf{56.3469} \\ 

\begin{tabular}{l}$L_{00}=100$\\$L_{10}=100$\end{tabular}  & \textbf{0.6187} 
&\textbf{86.6108} &\textbf{418.2479}  &\textbf{76.9534} \\

\begin{tabular}{l}$L_{00}=100$\\$L_{10}=100$\end{tabular}  & \textbf{0.6180} 
&\textbf{80.0001} &\textbf{281.3320} &\textbf{56.6598} \\

\begin{tabular}{l}$L_{00}=100$\\$L_{10}=100$\end{tabular}  & \textbf{0.6189} 
&\textbf{89.1374}  &\textbf{142.7592} &\textbf{30.0929} \\

\bottomrule

\caption{Numerical values 2}
\label{t3}
\end{longtable}

\end{document}

相关内容