无法在 Overleaf 中扩展我的表格

无法在 Overleaf 中扩展我的表格

在此处输入图片描述

我正在写我的研究论文,我有一个比较表,但它没有扩展到下一页。这是代码,我对使用 overleaf 表格列也非常陌生。请告诉我它有什么问题。我还附上了一张图片供参考。你可以看到表格没有扩展到下一页。

\documentclass{article}

\begin{document}

\begin{table}[htp]
  \centering
  \caption{Related works Comparison table}
  \label{my-label}
{\small %
    \begin{tabular}{p{.18\textwidth}p{.22\textwidth}p{.2\textwidth}p{.2\textwidth}p{.2\textwidth}}
\hline 
\thead Title & Goal & Idea & Event \&\ Others & Technique and \&\ Model \\
\hline 
Soccer Event Detection  & Automatic systems for detection event in video &  Detect Object from single video frame with a confidence scores and followed by event detection. Instead of resampling pixels and features and classify those proposals, which is computationally expensive. A method is used to combine the region proposal and classification into one. & Ball possession event and kicking the ball. &    Event detection and Object Detection. \\

\hline
A Discriminative CNN Video Representation for Event Detection & The idea is to effectively leverage deep Convolutional Neural Networks to advance event detection, where only frame level static descriptors can be extracted by the existing CNN toolkits. & Performance can be significantly improved by taking advantage of an appropriate encoding method. Second, we propose using a set of latent concept descriptors as the frame descriptor, which enriches visual information while keeping it computationally affordable. &   Event detection & VLAD Encoding, Fisher Vector encoding, CNN Latent Concept descriptors. \\
\hline

    \end{tabular}%
}%
\end{table}
\end{document}[![enter image description here][1]][1]

答案1

我建议进行以下重新设计,以xltabular确保表格与可用空间一样宽,并允许表格中间有分页符。此外,我曾经将页面pdflscape旋转为横向,并更改了列宽,以尽量减少不必要的空白:

在此处输入图片描述

\documentclass{article}

\usepackage{booktabs}
\usepackage{xltabular}
\usepackage{pdflscape}
\begin{document}

\begin{landscape}
\begin{xltabular}{\linewidth}{>{\raggedright\arraybackslash}p{.2\textwidth}
                              p{.35\textwidth}
                              X
                              >{\raggedright\arraybackslash}p{.15\textwidth}
                              >{\raggedright\arraybackslash}p{.175\textwidth}}
\caption{Related works Comparison table}
\label{my-label}\\
\toprule 
Title & Goal & Idea & Event \&\ Others & Technique \&\ Model \\
\midrule 
\endfirsthead
\caption{Related works Comparison table - continued from previous page}\\
\toprule 
Title & Goal & Idea & Event \&\ Others & Technique \&\ Model \\
\midrule 
\endhead
\bottomrule
\endlastfoot
Soccer Event Detection  & Automatic systems for detection event in video &  Detect Object from single video frame with a confidence scores and followed by event detection. Instead of resampling pixels and features and classify those proposals, which is computationally expensive. A method is used to combine the region proposal and classification into one. & Ball possession event and kicking the ball. &    Event detection and Object Detection. \\

\midrule
A Discriminative CNN Video Representation for Event Detection & The idea is to effectively leverage deep Convolutional Neural Networks to advance event detection, where only frame level static descriptors can be extracted by the existing CNN toolkits. & Performance can be significantly improved by taking advantage of an appropriate encoding method. Second, we propose using a set of latent concept descriptors as the frame descriptor, which enriches visual information while keeping it computationally affordable. &   Event detection & VLAD Encoding, Fisher Vector encoding, CNN Latent Concept descriptors. \\

\end{xltabular}%
\end{landscape}
\end{document}

相关内容