diff --git a/CHANGELOG.md b/CHANGELOG.md index b038a8a7..426afcaa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ ## [Unreleased] +### Fixed + +- 修正目录中标题的断行问题([#963](https://github.com/tuna/thuthesis/issues/963))。 + ## [v7.5.2] - 2024-07-01 ### Added diff --git a/thuthesis.dtx b/thuthesis.dtx index e6f3e46a..b26ce92a 100644 --- a/thuthesis.dtx +++ b/thuthesis.dtx @@ -4067,7 +4067,7 @@ default = arial, }, } -\newcommand\thu@leaders{\titlerule*[4bp]{.}} +\newcommand\thu@leaders{\nobreak\titlerule*[4bp]{.}\nobreak} \newcommand\thu@set@toc@format{% \contentsmargin{\z@}% % \end{macrocode}