我目前有
\documentclass{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage{stfloats}
\begin{document}
\begin{table*}[bp]
\centering
\begin{tabular}{|l|l|l|}
\hline
Dekan & Prof. Dr. med. & ............................................................ \\
\hline
1. Gutachter & Prof. Dr. med. & ............................................................ \\
\hline
2. Gutacher & Prof. Dr. med. & ............................................................ \\
\hline
\end{tabular}
\end{table*}
\end{document}
并想将表格附加到页面的最底部 - 不幸的是还没有成功。我在这里做错了什么?
答案1
使用\vspace*{\fill}
不带table*
环境的应该可以实现表格底部对齐。在下面的 MWE 中,我还包括了另外两个基于\dotfill
而不是 的替代表格.....
,以及使用 的文本宽度变体tabularx
:
\documentclass{scrartcl}
\usepackage{tabularx}
\begin{document}
\vspace*{\fill}
\centering
\begin{tabular}{|l|l|l|}
\hline
Dekan & Prof. Dr. med. & ............................................................ \\
\hline
1. Gutachter & Prof. Dr. med. & ............................................................ \\
\hline
2. Gutacher & Prof. Dr. med. & ............................................................ \\
\hline
\end{tabular}
\clearpage
\vspace*{\fill}
\centering
\begin{tabular}{|l|l|p{5cm}|}
\hline
Dekan & Prof. Dr. med. & \dotfill \\
\hline
1. Gutachter & Prof. Dr. med. & \dotfill \\
\hline
2. Gutacher & Prof. Dr. med. & \dotfill \\
\hline
\end{tabular}
\clearpage
\vspace*{\fill}
\centering
\begin{tabularx}{\textwidth}{|l|l|X|}
\hline
Dekan & Prof. Dr. med. & \dotfill \\
\hline
1. Gutachter & Prof. Dr. med. & \dotfill \\
\hline
2. Gutacher & Prof. Dr. med. & \dotfill \\
\hline
\end{tabularx}
\end{document}