From 48e7964710df2084a792ccb6921a84d55f010b62 Mon Sep 17 00:00:00 2001 From: Yu Xiong Date: Wed, 3 Apr 2024 22:59:03 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20LuaLaTeX=20?= =?UTF-8?q?=E4=B8=8B=E7=9A=84=E6=91=98=E8=A6=81=E9=A1=B5=E5=A4=9A=E4=BD=99?= =?UTF-8?q?=E6=8D=A2=E8=A1=8C=20(#248)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 2 ++ source/njuthesis.dtx | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index de53249..10be169 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ - 修复成果列表中文姓名加粗的问题 - [#192] - 修复 LuaLaTeX 下华文中宋的载入问题 +- 修复 LuaLaTeX 下的摘要页多余换行 - [#248] ## [1.4.0] - 2024-03-19 @@ -648,6 +649,7 @@ [#232]: https://github.com/nju-lug/NJUThesis/issues/232 [#234]: https://github.com/nju-lug/NJUThesis/issues/234 [#243]: https://github.com/nju-lug/NJUThesis/issues/243 +[#248]: https://github.com/nju-lug/NJUThesis/issues/248 [CTeX-org/ctex-kit#678]: https://github.com/CTeX-org/ctex-kit/pull/678 [CTeX-org/ctex-kit#700]: https://github.com/CTeX-org/ctex-kit/pull/700 diff --git a/source/njuthesis.dtx b/source/njuthesis.dtx index a42598c..cb4bbb6 100644 --- a/source/njuthesis.dtx +++ b/source/njuthesis.dtx @@ -8490,7 +8490,11 @@ To produce the documentation run the original source files ending with { blankdate } { \qquad{}年 \quad{}月 \quad{}日 } { }, { blankdate a } { \njuline{\qquad\qquad} 年 \njuline{\qquad} 月 \njuline{\qquad} 日 } { }, - { colon } { : } { : \c_space_tl }, +% \end{macrocode} +% \changes{v1.4}{2024/04/03}{修复 \hologo{LuaLaTeX} 下的摘要页多余换行。} +% 这里加入伸缩量,是因为 \hologo{LuaLaTeX} 下全角冒号的宽度并不能被正确识别。 +% \begin{macrocode} + { colon } { :\hskip 0pt minus .4em } { : \c_space_tl }, % { dept } { 院系 } { DEPARTMENT }, { figure } { 图 } { figure }, { keywords } { 关键词 } { KEYWORDS },