一个表格中有两个表格,但位于不同的页面

一个表格中有两个表格,但位于不同的页面

在此处输入图片描述我想问一下,如何才能在一个表格中有两个部分(表格)但位于不同的页面中?我试过 bigskip 或 pagebreak,但不起作用

先感谢您

答案1

一个建议:将一个表格(PanelA)存储在一个保存框中,在longtable环境中调用它,然后\newpage为下一页引入一个,使用一个\phantom{\usebox{....}}(参见代码),然后继续使用第二个面板表格。

只要没有精确的信息,第二页上填充的位置,我就会采取产生的间距PanelA

\documentclass[paper=a4,12pt]{scrartcl}

\usepackage{longtable}%

\begin{document}

\newsavebox{\PanelABox}

\savebox{\PanelABox}{\begin{tabular}{l}
\textbf{Panel A} \tabularnewline
\tabularnewline
\tabularnewline
\tabularnewline
\tabularnewline
\tabularnewline
\tabularnewline
\tabularnewline
\end{tabular}%
}%

\begin{longtable}{c}%
\hline
\tabularnewline
\usebox{\PanelABox} \tabularnewline
\hline
\newpage
\hline
\tabularnewline
\phantom{\usebox{\PanelABox}} \tabularnewline
\hline
\begin{tabular}{l}
\textbf{Panel B}
\end{tabular}%

\end{longtable}


\end{document}

在此处输入图片描述

编辑在更新了原作者的精确请求后

\documentclass[paper=a4,12pt]{scrartcl}

\usepackage{longtable}%



\begin{document}

\newsavebox{\PanelABox}

\savebox{\PanelABox}{\begin{tabular}{|l|}
\hline
\textbf{Panel A} \tabularnewline
\tabularnewline
\tabularnewline
\tabularnewline
\tabularnewline
\tabularnewline
\tabularnewline
\tabularnewline
\hline
\end{tabular}
}%



\begin{longtable}{|c|}%
\hline
\tabularnewline
\usebox{\PanelABox} \tabularnewline
\hline
\newpage
\hline
\tabularnewline
\begin{tabular}{|l|}
\hline
\textbf{Panel B} \tabularnewline
\tabularnewline
\tabularnewline
\tabularnewline
\tabularnewline
\tabularnewline
\tabularnewline
\tabularnewline
\hline
\end{tabular} \tabularnewline
\hline
\end{longtable}

\end{document}

在此处输入图片描述

相关内容