WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content
Discussion options

You must be logged in to vote

感谢提供详细的测试例子。请参考bithesis.pdf,修改misc/tabularFontSize选项。

相关文档截图

tabular*外设置无效的原因

模板会在\begin{tabular*}处设置字号。

BIThesis/bithesis.dtx

Lines 1597 to 1608 in 4e312e8

\clist_map_inline:nn
{tabular, tabular*, tabularx, longtable}
{
\AtBeginEnvironment {##1} {
% 字号只想设置表格内容,不想影响caption。
% 一般caption在环境之外,自然不受影响;
% 而longtable的caption虽在环境内,但caption宏包能正常处理。
\zihao{\l_@@_misc_tabular_font_size_tl}
% 各行间距只想影响表格,不想影响矩阵,因此也必须在钩子中设置。
\cs_set:Npn \arraystretch {\l_@@_misc_tabular_row_separation_tl}
}
}

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by YDX-2147483647
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
Not a bug It's designed to do so
2 participants
Converted from issue

This discussion was converted from issue #639 on April 27, 2025 11:37.