我需要将摘要写在表格中,如我的代码示例所示。摘要文本结束后,应放大实际摘要所在的单元格,或用空白填充,以使表格填满页面的其余部分。是否有 tabularx 命令,其功能类似于 \vfill,以便底部单元格与底部页边距对齐?提前谢谢您!
% !TEX TS-program = xelatex
\documentclass[
a4paper,
10pt,
]{scrreprt}
\usepackage[showframe]{geometry}
\usepackage{setspace}
\usepackage{tabularx}
\spacing{1.5}
\newlength{\defaulttabcolsep}
\setlength{\defaulttabcolsep}{\tabcolsep}
\setlength{\parindent}{0pt}
\begin{document}
\chapter{Abstract}
\setlength\tabcolsep{0pt}
\begin{tabularx}{\textwidth}{| X |}
\hline
Some information.\\\hline
Some more information.\\\hline
Abstract begins here.\\
The height of this cell should be enlarged to make the table fill the rest of the page.\\\hline
Some information on the bottom of the page.\\\hline
\end{tabularx}
\setlength\tabcolsep{\defaulttabcolsep}
\end{document}