使用 tabularray 和 xcolor 时,文档中添加了不需要的空白页

使用 tabularray 和 xcolor 时,文档中添加了不需要的空白页
This is XeTeX, Version 3.141592653-2.6-0.999994 (TeX Live 2022) (preloaded format=xelatex)
LaTeX2e <2022-06-01> patch level 5
L3 programming layer <2022-08-23>

TeX Live 环境于 2022-08-25 更新。使用 macOS BigSur 11.6.8


我有一个(通过编程生成的)表格,它(根据设计)使用 tabularray 包占用一页。当我添加 xcolor 包时,我收到一个错误: Underfull \vbox (badness 10000) has occurred while \output is active [1]并且在我的输出前面添加了一个空白页。如果我从表格中删除一行,它就可以正常工作(不幸的是,表格在单个页面上的高度必须正好为 51 行)。注释掉 xcolor 的 usepackage,它就可以正常工作。有什么想法吗?我真的很想能够在表格中使用一点颜色。

\documentclass[12pt,notitlepage,oneside,letterpaper]{minimal}
\usepackage[verbose,nomarginpar,hmargin=.25in,vmargin=.5in]{geometry}
\usepackage{xcolor}
\usepackage{tabularray}
\begin{document}
\begin{tblr}{colspec={ l l },vlines,rowsep=1.125pt}
X99 & Xxxxx~9X~Xxxx  \\
X99 & Xxxxxxx~Xxxx \\
X99 & Xxxxxxx~Xxxxx \\
X99 & Xxxxxx~xxx~Xxxxx \\
X99 & XxxXXxxxXxXxx \\
X99 & XxxxXxxxXxxxxxx \\
X99 & Xxxx~Xxxx \\
X99 & XXXX \\
X99 & Xxxxx~Xx \\
X99 & Xxxxxx~Xxxx \\
X99 & Xxxxxxxxxxxxx \\
X99 & Xxxx~Xxxxxxxx \\
X99 & XxxxXxxxxxxxXxxx \\
X99 & XxxXxxxXxxXxxxx \\
X99 & Xxxxx~Xxxxx \\
X99 & Xxxx~xx~xxx~Xxxx \\
X99 & XxxxXxxx~Xxxx \\
X99 & XXXXX-XX-XXXXX \\
X99 & XXX~-~Xxxxx \\
X99 & XXXXX-XXX \\
X99 & XXXXX-XXXXX-XXX \\
X99 & XxxxXxxXxxxXxxxx \\
X99 & XX-Xxx \\
X99 & XxxxxXXX~Xxxxxxx \\
X99 & Xx-Xxxx \\
\\
X99 & XX~X9~Xxxx~Xxxxx \\
X99 & XX~X9~Xxxxx~Xxxx \\
X99 & XX~X9~Xxxx~9 \\
X99 & XX~X9~Xxxx~9 \\
X99 & XX~X9~Xxxxx~Xxxx \\
X99 & Xxxx~Xxxx~9 \\
X99 & Xxxxxxxx~Xxx~9 \\
X99 & X9~Xxxx~Xxxx \\
X99 & «« Empty »» \\
X99 & «« Empty »» \\
X99 & Xxxxx~Xxxxxx \\
X99 & «« Empty »» \\
X99 & «« Empty »» \\
X99 & «« Empty »» \\
X99 & «« Empty »» \\
X99 & X9~Xxxx~Xxxxx~XX \\
X99 & X9~Xxxxx~Xxxx~XX \\
X99 & X9~Xxxx~9~XX \\
X99 & X9~Xxxx~9~XX \\
X99 & X9~Xxxxx~Xxxx~XX \\
X99 & 9999~Xxxx~Xxx \\
X99 & Xxxxxxxxx \\
X99 & Xxxxxxxx~Xxx \\
X99 & Xxxxx~Xxxxxx~Xxx \\
X99 & Xxxx~X~Xxxxxxx \\
\end{tblr}
\end{document}

总结 这是一个失败的最小示例。实际表格宽度为 16 列。

这是设备中的“插槽”和存储在“插槽”中的“程序”的图表。“插槽”以 100 个为一排,每页需要两个排。有多个页面,但每个页面都是一个单独的表,它们之间有明确的分页符。

这可能接近滥用 TeX,但其先前版本是一个手动的 LibreOffice 电子表格,而 TeX 输出更容易阅读。

相关内容