Skip to content
Snippets Groups Projects
Commit d5089e60 authored by Yu Xiong's avatar Yu Xiong :confounded:
Browse files

fix: 修复研究生封面的导师信息居中问题 (#165)

parent d63e92f5
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,12 @@
## [未发布]
### 修复
- 修复研究生封面上导师信息的居中问题 - [#165]
## [1.1.0] - 2022-10-23
### 新增
- 盲审模式下不显示致谢
......@@ -415,8 +421,11 @@
- 模板上传至 CTAN
[未发布]: https://github.com/nju-lug/NJUThesis/compare/v1.0.0...HEAD
[未发布]: https://github.com/nju-lug/NJUThesis/compare/v1.1.0...HEAD
[1.1.0]: https://github.com/nju-lug/NJUThesis/compare/v1.0.0...v1.1.0
[1.0.0]: https://github.com/nju-lug/NJUThesis/compare/v0.20.0...v1.0.0
[0.20.0]: https://github.com/nju-lug/NJUThesis/compare/v0.19.0...v0.20.0
[0.19.0]: https://github.com/nju-lug/NJUThesis/compare/v0.18.0...v0.19.0
[0.18.0]: https://github.com/nju-lug/NJUThesis/compare/v0.17.0...v0.18.0
......@@ -470,6 +479,7 @@
[#148]: https://github.com/nju-lug/NJUThesis/issues/148
[#150]: https://github.com/nju-lug/NJUThesis/discussions/150
[#155]: https://github.com/nju-lug/NJUThesis/discussions/155
[#165]: https://github.com/nju-lug/NJUThesis/discussions/165
[更新日志]: https://keepachangelog.com/zh-CN/1.0.0/
[语义化版本]: https://semver.org/lang/zh-CN/
......
......@@ -4086,7 +4086,7 @@ To produce the documentation run the original source files ending with
%
% \begin{macro}{\@@_keys_set:nn}
% \changes{v1.1}{2022/09/26}{使用 \cs{keys_set_filter:nnn} 重构盲审模式。}
% 在开启盲审模式时,屏蔽被编入 \opt{annoymous} 分组的键值对输入。
% 在开启盲审模式时,屏蔽被编入 \opt{anonymous} 分组的键值对输入。
% \begin{macrocode}
\bool_if:NTF \g_@@_opt_anon_bool
{
......@@ -4570,6 +4570,10 @@ To produce the documentation run the original source files ending with
% \begin{macrocode}
email .tl_set:N = \g_@@_info_email_tl
}
% \end{macrocode}
%
% 将指定信息项归入 \opt{anonymous} 组,以在盲审模式下选择性屏蔽。
% \begin{macrocode}
\clist_map_inline:Nn \c_@@_name_anon_clist
{ \keys_define:nn { nju / info } { #1 .groups:n = { anonymous } } }
\clist_map_inline:Nn \c_@@_name_anon_en_clist
......@@ -4578,6 +4582,7 @@ To produce the documentation run the original source files ending with
% \end{macro}
%
% \changes{v0.15}{2022/01/22}{正确处理双导师信息。}
% \changes{v1.1}{2022/11/04}{修复研究生模板封面的导师信息居中问题。}
% 在导言区录入用户信息后进行变量设置。此处使用到了 \pkg{ctex} 提供的命令,
% 应当位于载入文档类之后。
% \begin{macrocode}
......@@ -4586,17 +4591,18 @@ To produce the documentation run the original source files ending with
% \end{macrocode}
% 拼合双导师的姓名和职称。
% \begin{macrocode}
\clist_map_inline:nn
{ \g_@@_info_supv_clist, \g_@@_info_supvii_clist }
\tl_set:Nx \g_@@_info_supvfull_tl
{ \clist_use:Nn \g_@@_info_supv_clist { \@@_hskip: } }
\clist_if_empty:NF \g_@@_info_supvii_clist
{
\tl_gput_right:Nx \g_@@_info_supvfull_tl
{ \clist_use:Nn #1 { \@@_hskip: } \@@_quad: }
{ \@@_quad: \clist_use:Nn \g_@@_info_supv_clist { \@@_hskip: } }
}
\tl_gput_right:Nn \g_@@_info_supvfull_tl { \tex_unskip:D }
\tl_set:Nn \g_@@_info_supvfull_en_tl
\tl_set_eq:NN \g_@@_info_supvfull_en_tl \g_@@_info_supv_en_tl
\tl_if_empty:NF \g_@@_info_supvii_en_tl
{
\g_@@_info_supv_en_tl \@@_quad:
\g_@@_info_supvii_en_tl \tex_unskip:D
\tl_gput_right:Nx \g_@@_info_supvfull_en_tl
{ \@@_quad: \g_@@_info_supvii_en_tl }
}
}
%</class>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment