Skip to content

Commit

Permalink
Change label separator in toc to space
Browse files Browse the repository at this point in the history
  • Loading branch information
zepinglee committed Apr 8, 2022
1 parent a691b86 commit f333d91
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
### Changed

- 目录中的长标题由悬挂缩进改为左对齐([#759](https://github.com/tuna/thuthesis/discussions/759))。
- 英文版目录中的标签分隔符由 `\quad` 改为空格([#759](https://github.com/tuna/thuthesis/discussions/759))。

## [v7.2.4] - 2022-03-19

Expand Down
6 changes: 3 additions & 3 deletions thuthesis.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -3953,15 +3953,15 @@
\else
\titlecontents{chapter}
[\z@]{\addvspace{6bp}\heiti}
{\MakeUppercase{\thecontentslabel}\quad\MakeUppercase}{\MakeUppercase}
{\MakeUppercase{\thecontentslabel}\space\MakeUppercase}{\MakeUppercase}
{\rmfamily\thu@leaders\thecontentspage}%
\titlecontents{section}
[1em]{}
{\thecontentslabel\quad}{}
{\thecontentslabel\space}{}
{\thu@leaders\thecontentspage}%
\titlecontents{subsection}
[2em]{}
{\thecontentslabel\quad}{}
{\thecontentslabel\space}{}
{\thu@leaders\thecontentspage}%
\fi
\fi
Expand Down

0 comments on commit f333d91

Please sign in to comment.