Skip to content

Commit

Permalink
fix: 修复本科生诚信承诺书的换行问题
Browse files Browse the repository at this point in the history
  • Loading branch information
atxy-blip committed Mar 13, 2024
1 parent 20bd4d4 commit 5340985
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@

## [未发布]

### 修复

- 修复本科生诚信承诺书的换行问题

## [1.3.3] - 2024-03-06

### 新增
Expand Down
15 changes: 7 additions & 8 deletions source/njuthesis.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -7714,6 +7714,7 @@ To produce the documentation run the original source files ending with
% \changes{v0.12}{2021/12/01}{仅会生成国家图书馆封面或者普通封面之一。}
% \changes{v0.13}{2021/12/12}{重新绘制封面。}
% \changes{v0.13}{2021/12/15}{草稿模式下不绘制封面。}
% \changes{v1.4}{2024/03/12}{在生成封面时删除标题换行符。}
% 重定义 \tn{maketitle} 以生成封面。
% 在草稿模式下,封面绘制将被禁用,有助于提升编译速度。
% \begin{macrocode}
Expand All @@ -7724,18 +7725,16 @@ To produce the documentation run the original source files ending with
\pagenumbering { gobble }
\@@_make_cover:
}
\tl_gremove_all:Nn \g_@@_info_title_tl { \\ }
\tl_gremove_all:Nn \g_@@_info_title_en_tl { \\ }
% \end{macrocode}
% 如果在选择了 \opt{decl-page},就生成本科生的诚信承诺书,
% 或研究生的原创性声明和出版授权书。
% \begin{macrocode}
\bool_if:NF \g_@@_opt_draft_bool
{
\bool_if:NT \g_@@_opt_decl_bool
{
\@@_make_decl_i:
\@@_make_decl_ii:
}
}
\bool_lazy_and:nnT
{ ! \g_@@_opt_draft_bool }
{ \g_@@_opt_decl_bool }
{ \@@_make_decl_i: \@@_make_decl_ii: }
% \end{macrocode}
% 在标题页后使用大写罗马字母页码,恢复正常字体设置。
% \begin{macrocode}
Expand Down

0 comments on commit 5340985

Please sign in to comment.