Skip to content

Commit 038d3ee

Browse files
fix: 目录中“第○章”与标题应只空一个字
之前是一个字加一个空格,因为`\thecontentslabel`结尾有空格。
1 parent 2fa1846 commit 038d3ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bithesis.dtx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1580,7 +1580,7 @@
15801580
\@@_if_graduate:TF {
15811581
% 对于研究生模板,定义各章标题为宋体四号。
15821582
\titlecontents{chapter}[0pt]{\songti \zihao{4}}
1583-
{\thecontentslabel\hspace{\ccwd}}{}
1583+
{\thecontentslabel\unskip\hspace{\ccwd}}{}
15841584
{\hspace{.5em}\titlerule*{.}\contentspage}
15851585
% section 标题为宋体小四号。缩进为两个字符宽度。
15861586
\titlecontents{section}[2\ccwd]{\songti \zihao{-4}}
@@ -1593,7 +1593,7 @@
15931593
} {
15941594
% 对于其他,定义各章标题为宋体小四号。
15951595
\titlecontents{chapter}[0pt]{\songti \zihao{-4}}
1596-
{\thecontentslabel\hspace{\ccwd}}{}
1596+
{\thecontentslabel\unskip\hspace{\ccwd}}{}
15971597
{\hspace{.5em}\titlerule*{.}\contentspage}
15981598
% section 标题为宋体小四号。
15991599
\titlecontents{section}[1\ccwd]{\songti \zihao{-4}}

0 commit comments

Comments
 (0)