無法在 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}

相關內容