
答案1
編輯: 到目前為止,@felixwatzlawik 似乎已經忘記了他的問題......無論如何,我會稍微改進我的答案:-) - 實際上我重寫了它。在此我假設:
- 在附錄(A)中,您希望只有兩個表格,沒有任何文本
- 兩個表格必須在頁面底部對齊
- 有關表格格式的內容不是問題的一部分
考慮到上述假設,我建議在table
浮動環境中直接在文字中設定表格,例如,就好像\begin{center} ... <table> ... \end{center}
表格比文字窄於文字寬度一樣,或直接在其中設定表格,如下例所示:
\documentclass[a4paper,twoside]{book}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{booktabs,tabularx}
\usepackage[table]{xcolor}
\usepackage{capt-of}
\usepackage[ngerman]{babel}
\begin{document}
\pagestyle{plain}
\appendix
\chapter{Übersichtstabelle}
\vfill
\captionof{table}{Übersichtstabelle (1)}
\label{tab:planificacion-1}
\begin{tabularx}{\textwidth}{*{5}{X}}
\cmidrule[\heavyrulewidth]{2-5}
& \multicolumn{4}{c}{some text} \\
\midrule
1 & 2 & 3 & 4 & 5 \\
\rowcolor{blue!20}
A & B & C & D & E \\
A & B & C & D & E \\
\rowcolor{blue!20}
A & B & C & D & E \\
A & B & C & D & E \\
\bottomrule
\end{tabularx}
\clearpage
\mbox{}\vfill
\captionof{table}{Übersichtstabelle (2)}
\begin{tabularx}{\textwidth}{*{5}{X}}
\cmidrule[\heavyrulewidth]{2-5}
& \multicolumn{4}{c}{some text} \\
\midrule
1 & 2 & 3 & 4 & 5 \\
\rowcolor{blue!20}
A & B & C & D & E \\
A & B & C & D & E \\
\rowcolor{blue!20}
A & B & C & D & E \\
A & B & C & D & E \\
\bottomrule
\end{tabularx}
\end{document}
兩個表都被強制置於頁面底部\vfill
。使用「Übersichtstabelle (2)」來介紹第二頁\clearpage
,並使用文字空白框 ( \mbox{}
) 作為 的錨點vfill
。
對於外部的標題,floats
使用宏,它由包(如果在文檔中使用)或小包 (如果標題使用文檔類的設施)\captionof
提供。得到的結果是:caption
capt-of
book