【问题标题】:Latex table moves out of section and into the next page乳胶表移出部分并进入下一页
【发布时间】:2021-04-16 11:02:15
【问题描述】:

我正在制作一篇有 2 栏的期刊论文。但我需要整列的表格。使用下面的代码表将比较分析部分推出到一个新的页面。

\section{Comparatively Analysis}
\hfil\break
\begin{table*}
\centerline {TABLE 1} 
\begin{center}
\begin{tabular} {|c|c|c|c|c|} 

\hline
\multicolumn{5} { | c | }{Comparison Table}\\
\hline
Paper & Dataset & Approach & Model & Evaluation \\
\hline
Mary[7] & Air Pollution & Statistical & ST Correlation & RMSE 3.54 for 15\% missing data\\
\hline
Zhang[10] & Water Quality & Deep Learning & Seq2Seq & RMSE 3.29 \\
\hline
Turabieh[11] & Mammographic Mass, Hepatitis & Soft Computing & ANFIS-GA,ANFIS-PSO& Accuracy 85.2\% \\
\hline
Verma[12] & MIT-BIH ECG & Deep Learning & LSTM & 5-step RMSE 0.1 and 10-step RMSE 0.07 \\
\hline
Al-Milli[13] & Mammographic Mass & Deep Learning & Jordan RNN & Accuracy 84.27\% \\
\hline
\end{tabular}
\end{center}
\end{table*}
\hfil\break


\section{Conclusion}
Due to improper internet communications

TABLE OUT OF SECTION

NEW PAGE TABLE PUSHED

【问题讨论】:

标签: latex


【解决方案1】:

主要问题是表太大。您必须使用 graphicx 包中的 resizebox 方法。在这里,我提供了一张来自tabu 包的稍微好看一点的表格;这种格式在学术界和教科书中被广泛使用。

\usepackage{tabu, makecell, graphicx, booktabs}
%%Begin document (...)

\section{Comparatively}
\hfil\break
\begin{center}
\tabulinesep=1.6mm          %%height between lines
\resizebox{1.1\columnwidth}{!}{    %% 1.1 is the scale factor of the column width
    \begin{tabu}{ccccc}
        \toprule
        \toprule
        \multicolumn{5}{c}{\ \ \ Comparison Table}\\
        \multicolumn{1}{c}{\textit{Paper}}&\multicolumn{1}{c} 
        {\textit{Dataset}}&\multicolumn{1}{c}{\textit{Approach}}&\multicolumn{1}{c} 
        {Model}&\multicolumn{1}{c}{\textit{ Evaluation}}\\
        \cmidrule(lr){1-1} \cmidrule(lr){2-2} \cmidrule(lr){3-3} \cmidrule(lr){4-4} 
        \cmidrule(lr){5-5}

           Mary$[7]$ & Air Pollution                              & Statistical    & ST Correlation                     & \makecell{RMSE $3.54$ for \\ $15\%$ missing data }  \\
        Zhang$[10]$  & Water Quality                              & Deep Learning  & Seq$2$Seq                          & RMSE $3.29$                                         \\
      Turabieh$[11]$ &  \makecell{Mammographic mass \\ Hepatitis} & Soft Computing & \makecell{ANFIS-GA,\\ ANGIS-PSO}   & Accuracy $85.2\%$                                    \\
        \bottomrule
        \bottomrule
    \end{tabu}
}
\end{center} 
{ \footnotesize\textbf{Table 1:} Table description } 
\hfil\break

\section{Conclusion}
Due to improper internet communications

如果表格在右侧重叠很多,请将“比例因子”改回 1.0。如果不保持在 1.1 以获得更好的可见性。

【讨论】:

  • 谢谢,我怎样才能在你的解决方案表中设置所有边的边框
猜你喜欢
  • 2015-01-14
  • 2023-02-09
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2014-11-04
  • 1970-01-01
  • 1970-01-01
  • 2023-03-13
相关资源
最近更新 更多