当 ThreePartTable 的表格注释位于页面的最末端时,该如何处理?

当 ThreePartTable 的表格注释位于页面的最末端时,该如何处理?

我有ThreePartTablelandscape页跨页。我将放在TableNotes表格末尾(有很多注释)。表格末尾只有一点空间,这个空间不足以显示所有注释。我该如何解决这个问题并正确显示文档边距内的所有注释?

注意:无法更改字体大小

\documentclass[12pt,a4paper]{article}
\usepackage{blindtext}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage[%
left=3.00cm,
right=2.00cm,
top=3.00cm,
bottom=2.00cm
]{geometry}
\usepackage{multirow}
\usepackage{multicol}
\usepackage{pdflscape}
\usepackage{tabularx}
\usepackage{booktabs}
\usepackage{afterpage}
\usepackage{ltablex}
\usepackage[referable]{threeparttablex}
\begin{document}
\blindtext
\afterpage{%
\begin{landscape}
\begin{ThreePartTable}
\begin{TableNotes}
\item Note 1
\item Note 2
\item Note 3
\item Note 4
\item Note 5
\item Note 6
\item Note 7
\item Note 8
\item Note 9
\item Note 10
\item Note 11
\item Note 12
\item Note 13
\item Note 14
\end{TableNotes}
\begin{tabularx}{\linewidth}{rX}
\caption{Table Title}\\
\toprule
\textbf{Column 1}&\textbf{Column 2}\\
\midrule
\endfirsthead
%
\multicolumn{2}{l}%
{\tablename\ \thetable~--~Continued from previous page}\\
\toprule
\textbf{Column 1}&\textbf{Column 2}\\
\midrule
\endhead
%
\bottomrule
\multicolumn{2}{r}%
{next page...}\\
\endfoot
%
\bottomrule
\insertTableNotes
\endlastfoot
%
Topic 1&\blindtext\\
\\
Topic 2&\blindtext\\
\\
Topic 3&\blindtext\\
\\
Topic 4&\blindtext\\
\\
Topic 5&\blindtext\\
\\
Topic 6&\blindtext\\
\end{tabularx}%
\end{ThreePartTable}%
\end{landscape}%
}
\Blindtext
\end{document}

我应该看到全部 14 条笔记

在此处输入图片描述

答案1

睡了一晚后,我找到了解决方案。使用这个ltablex包,我将最后一行放入一个新页面中,使用\pagebreak

\documentclass[12pt,a4paper]{article}
\usepackage{blindtext}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage[%
left=3.00cm,
right=2.00cm,
top=3.00cm,
bottom=2.00cm
]{geometry}
\usepackage{multirow}
\usepackage{multicol}
\usepackage{pdflscape}
\usepackage{tabularx}
\usepackage{booktabs}
\usepackage{afterpage}
\usepackage{ltablex} %<---This
\usepackage[referable]{threeparttablex}
\begin{document}
\blindtext
\afterpage{%
\begin{landscape}
\begin{ThreePartTable}
\begin{TableNotes}
\item Note 1
\item Note 2
\item Note 3
\item Note 4
\item Note 5
\item Note 6
\item Note 7
\item Note 8
\item Note 9
\item Note 10
\item Note 11
\item Note 12
\item Note 13
\item Note 14
\end{TableNotes}
\begin{tabularx}{\linewidth}{rX}
\caption{Table Title}\\
\toprule
\textbf{Column 1}&\textbf{Column 2}\\
\midrule
\endfirsthead
%
\multicolumn{2}{l}%
{\tablename\ \thetable~--~Continued from previous page}\\
\toprule
\textbf{Column 1}&\textbf{Column 2}\\
\midrule
\endhead
%
\bottomrule
\multicolumn{2}{r}%
{next page...}\\
\endfoot
%
\bottomrule
\insertTableNotes
\endlastfoot
%
Topic 1&\blindtext\\
\\
Topic 2&\blindtext\\
\\
Topic 3&\blindtext\\
\\
Topic 4&\blindtext\\
\\
Topic 5&\blindtext\\
%
\pagebreak%<---This
%
Topic 6&\blindtext\\
\end{tabularx}%
\end{ThreePartTable}%
\end{landscape}%
}
\Blindtext
\end{document}

在此处输入图片描述

相关内容