Skip to content

Commit 689de6c

Browse files
fix: 去除longtable表格上框线和caption的多余间距
Relates-to: #501
1 parent ecf5af8 commit 689de6c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bithesis.dtx

+3
Original file line numberDiff line numberDiff line change
@@ -1580,6 +1580,9 @@
15801580
% 至于表格,虽然其caption位置在上方(而图片是在下方),
15811581
% 但 `caption` 宏包已考虑这种区别,统一设置 `belowskip` 即可。
15821582
\captionsetup{belowskip=-5pt}
1583+
% 不过 longtable 宏包提供的环境比较奇怪,不设置 belowskip 时间距已较小,
1584+
% 设置成负数还导致 caption 和表格本体的距离变大。因此我们撤销更改。
1585+
\captionsetup[longtable]{belowskip=0pt}
15831586

15841587
% 此外在浮动体内部,调整表格 caption 和表格本体间的距离。
15851588
% 本来默认有一定空隙,现改为紧贴,这样更接近Word模板实作。

0 commit comments

Comments
 (0)