Skip to content

Commit e7c7c93

Browse files
committed
Set default font for tablenotes of threeparttable
1 parent 7ea4ecf commit e7c7c93

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

ustcthesis.cls

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2748,11 +2748,12 @@
27482748
% 图注、表注使用 `\figurenote` 或 `\tablenote` 命令,与 `apa7.cls` 一致。
27492749
% 图注采用宋体 11pt,单倍行距,段前6磅,段后0磅。
27502750
% 多个图注则须顺序编号,注序左缩进2字,与注文之间空一字符,续行悬挂缩进左对齐,两端对齐。
2751+
\let\ustc@figure@note@font\ustc@caption@font
27512752
\newcommand\figurenote[1]{%
27522753
\begingroup
27532754
\par
27542755
\setlength\parskip{6bp}%
2755-
\ustc@caption@font
2756+
\ustc@figure@note@font
27562757
\parbox{\linewidth}{#1\par}\par
27572758
\endgroup
27582759
}
@@ -2763,6 +2764,13 @@
27632764
\figurenote{#1}%
27642765
}
27652766

2767+
% 设置 \pkg{threeparttable} 表注的默认字号。
2768+
\AtEndOfPackageFile*{threeparttable}{
2769+
\AtBeginEnvironment{tablenotes}{%
2770+
\ustc@figure@note@font
2771+
}
2772+
}
2773+
27662774
% 不宜将多个插图连续排版,插图与文字论述段落应穿插排版。
27672775

27682776
% 修改默认的浮动体描述符为 |h|。

0 commit comments

Comments
 (0)