Skip to content

Commit

Permalink
fix: 修复 LuaLaTeX 下的摘要页多余换行 (#248)
Browse files Browse the repository at this point in the history
  • Loading branch information
atxy-blip committed Apr 3, 2024
1 parent 795b08e commit 48e7964
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

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

## [1.4.0] - 2024-03-19

Expand Down Expand Up @@ -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
Expand Down
6 changes: 5 additions & 1 deletion source/njuthesis.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
%<def-u|def-g> { dept } { 院系 } { DEPARTMENT },
{ figure } { 图 } { figure },
{ keywords } { 关键词 } { KEYWORDS },
Expand Down

0 comments on commit 48e7964

Please sign in to comment.