![我怎样才能将表格转换为长表](https://linux22.com/image/268041/%E6%88%91%E6%80%8E%E6%A0%B7%E6%89%8D%E8%83%BD%E5%B0%86%E8%A1%A8%E6%A0%BC%E8%BD%AC%E6%8D%A2%E4%B8%BA%E9%95%BF%E8%A1%A8.png)
我有这份报告,可以长达 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
。