Skip to content

Commit 48e7964

Browse files
committed
fix: 修复 LuaLaTeX 下的摘要页多余换行 (#248)
1 parent 795b08e commit 48e7964

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
- 修复成果列表中文姓名加粗的问题 - [#192]
1212
- 修复 LuaLaTeX 下华文中宋的载入问题
13+
- 修复 LuaLaTeX 下的摘要页多余换行 - [#248]
1314

1415
## [1.4.0] - 2024-03-19
1516

@@ -648,6 +649,7 @@
648649
[#232]: https://github.com/nju-lug/NJUThesis/issues/232
649650
[#234]: https://github.com/nju-lug/NJUThesis/issues/234
650651
[#243]: https://github.com/nju-lug/NJUThesis/issues/243
652+
[#248]: https://github.com/nju-lug/NJUThesis/issues/248
651653

652654
[CTeX-org/ctex-kit#678]: https://github.com/CTeX-org/ctex-kit/pull/678
653655
[CTeX-org/ctex-kit#700]: https://github.com/CTeX-org/ctex-kit/pull/700

source/njuthesis.dtx

+5-1
Original file line numberDiff line numberDiff line change
@@ -8490,7 +8490,11 @@ To produce the documentation run the original source files ending with
84908490
{ blankdate } { \qquad{}年 \quad{}月 \quad{}日 } { },
84918491
{ blankdate a } { \njuline{\qquad\qquad} 年
84928492
\njuline{\qquad} 月 \njuline{\qquad} 日 } { },
8493-
{ colon } { : } { : \c_space_tl },
8493+
% \end{macrocode}
8494+
% \changes{v1.4}{2024/04/03}{修复 \hologo{LuaLaTeX} 下的摘要页多余换行。}
8495+
% 这里加入伸缩量,是因为 \hologo{LuaLaTeX} 下全角冒号的宽度并不能被正确识别。
8496+
% \begin{macrocode}
8497+
{ colon } { :\hskip 0pt minus .4em } { : \c_space_tl },
84948498
%<def-u|def-g> { dept } { 院系 } { DEPARTMENT },
84958499
{ figure } { 图 } { figure },
84968500
{ keywords } { 关键词 } { KEYWORDS },

0 commit comments

Comments
 (0)