File tree 2 files changed +7
-6
lines changed
2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -1351,7 +1351,7 @@ \subsubsection{其他配置}
1351
1351
1352
1352
\end {function }
1353
1353
1354
- \begin {function }[added=2024-04-30, updated=2024-05-13 ]{misc/tabularRowSeparation}
1354
+ \begin {function }[added=2024-04-30, updated=2024-05-25 ]{misc/tabularRowSeparation}
1355
1355
\begin {bitsyntax }[emph={[1]tabularRowSeparation}]
1356
1356
tabularRowSeparation = (*(1)|\marg {正实数}*)
1357
1357
\end {bitsyntax }
@@ -1362,7 +1362,7 @@ \subsubsection{其他配置}
1362
1362
1363
1363
学校没有明文规定,不过设为1.25更接近本科Word模板实作,设为1.6更接近硕博Word模板实作。
1364
1364
1365
- 此选项影响的“表格”具体包括标准 |tabular|、|tabular*| 环境,以及 |tabularx| 宏包提供的环境。并不影响 |longtable| 宏包提供的环境,因为宏包已经调节了 。
1365
+ 此选项影响的“表格”具体包括标准 |tabular|、|tabular*| 环境,以及 |tabularx| 和 |longtable| 宏包提供的环境。
1366
1366
1367
1367
\textit {请在导言区使用此选项。 }
1368
1368
Original file line number Diff line number Diff line change 1495
1495
% preamble 中也不会有影响。
1496
1496
%
1497
1497
% 支持标准tabular、tabular*环境和宏包tabularx、longtable。
1498
+ %
1499
+ % 为保证各种表格效果一致,要先手动重置setspace宏包漏掉的longtable;
1500
+ \AtBeginEnvironment {longtable} {\singlespacing }
1501
+ % 之后再统一设置。
1498
1502
\clist _map_inline:nn
1499
1503
{tabular, tabular*, tabularx, longtable}
1500
1504
{
1504
1508
% 而longtable的caption虽在环境内,但caption宏包能正常处理。
1505
1509
\zihao {\l _@@_misc_tabular_font_size_tl}
1506
1510
% 各行间距只想影响表格,不想影响矩阵,因此也必须在钩子中设置。
1507
- % 另外,longtable宏包已经调节了空隙,我们就不重复调节了。
1508
- \str _if_eq:nnF {##1} {longtable} {
1509
- \cs _set:Npn \arraystretch {\l _@@_misc_tabular_row_separation_tl}
1510
- }
1511
+ \cs _set:Npn \arraystretch {\l _@@_misc_tabular_row_separation_tl}
1511
1512
}
1512
1513
}
1513
1514
}
You can’t perform that action at this time.
0 commit comments