我怎样才能将表格转换为长表

我怎样才能将表格转换为长表

我有这份报告,可以长达 40 页。我目前的设置是将其剪切到一页。

我对 Latex 还很陌生,我只是从网上复制粘贴。希望你们能解决这个问题。

这是该工作副本

https://www.writelatex.com/174546bmvnqt

\subsection{Current Students}
\begin{table}[H]
  \caption{Current Objects }
  \centering
  \begin{tabular}{*{4}{|p{4cm}}{|p{7cm}}}
    \hline\hline
    \rowcolor{orange}  
    Proponent                     &Statutory Process        &Student Name                 &Student Region          &Subjects\\
    \hline\hline
    Nevertheless, the natural ... &EP Act Environmental ... &With this clarification, ... &[uNorthwest Transition] &
      \begin{tabular}{*{1}{|p{0.5cm}}{|p{6cm}}}
        \hline\hline
        \rowcolor{orange}
        \# &Subject Type      \\
        \hline
        \rowcolor{white}
        1 &Research           \\\hline
        2 &Restoration        \\\hline
        3 &Research           \\\hline
        4 &Land aquisition    \\\hline
        5 &Onground management\\\hline
      \end{tabular}\\
    \hline
    Of course, the ...            &EP Act Clearing ...      &Of course, the ...           &[uGibson Desert]        &
      \begin{tabular}{*{1}{|p{0.5cm}}{|p{6cm}}}
        \hline\hline
        \rowcolor{orange}
        \# &Subject Type      \\
        \hline
        \rowcolor{white}
        1 &Education          \\\hline
        2 &Land aquisition    \\\hline
        3 &Subject funds      \\\hline
        4 &Other              \\\hline
        5 &Restoration        \\\hline
        6 &Recovery plans     \\\hline
        7 &Subject funds      \\\hline
      \end{tabular}
  \end{tabular}
\end{table}

答案1

要使用longtable,请将其添加到您的序言中

\usepackage{longtable}

然后\begin{tabular}逐一替换每\begin{longtable}一个。\end{tabular}\end{longtable}

您还需要摆脱任何周围table环境,并在其中推送最终标题longtable

相关内容