summaryrefslogtreecommitdiff
path: root/macros/unicodetex/latex/nwafuthesis
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-04-20 03:01:20 +0000
committerNorbert Preining <norbert@preining.info>2023-04-20 03:01:20 +0000
commit4753a39245d0925a73cb20409999377eb9d2fd66 (patch)
tree2e19e9f381b805bc9ab96da2f6c3e733d7689e09 /macros/unicodetex/latex/nwafuthesis
parent10bb4d468226c290e5e87e3fa367dc6fd2dcb84b (diff)
CTAN sync 202304200301
Diffstat (limited to 'macros/unicodetex/latex/nwafuthesis')
-rw-r--r--macros/unicodetex/latex/nwafuthesis/README.md4
-rw-r--r--[-rwxr-xr-x]macros/unicodetex/latex/nwafuthesis/build-win.bat0
-rw-r--r--macros/unicodetex/latex/nwafuthesis/nwafuthesis.dtx438
-rw-r--r--macros/unicodetex/latex/nwafuthesis/nwafuthesis.pdfbin2346554 -> 2379457 bytes
4 files changed, 333 insertions, 109 deletions
diff --git a/macros/unicodetex/latex/nwafuthesis/README.md b/macros/unicodetex/latex/nwafuthesis/README.md
index c1faa1af66..5c2886cef0 100644
--- a/macros/unicodetex/latex/nwafuthesis/README.md
+++ b/macros/unicodetex/latex/nwafuthesis/README.md
@@ -1,5 +1,5 @@
The nwafuthesis Class
-LaTeX thesis template for Northwest A&F University, China, v1.11
+LaTeX thesis template for Northwest A&F University, China.
Overview
This template supports doctoral or master dissertion and undergraduate thesis in Chinese. With the help of modern LaTeX3 technology, nwafuthesis aims to create a simple interface, a normative format, as well as a hackable class for the users.
@@ -30,4 +30,4 @@ Issues and pull requests are always welcome.
License
This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3c of this license or (at your option) any later version.
-Copyright (C) 2017–2022 by Nan Geng <nangeng@nwafu.edu.cn>.
+Copyright (C) 2019–2023 by Nan Geng <nangeng@nwafu.edu.cn>.
diff --git a/macros/unicodetex/latex/nwafuthesis/build-win.bat b/macros/unicodetex/latex/nwafuthesis/build-win.bat
index e8f223950b..e8f223950b 100755..100644
--- a/macros/unicodetex/latex/nwafuthesis/build-win.bat
+++ b/macros/unicodetex/latex/nwafuthesis/build-win.bat
diff --git a/macros/unicodetex/latex/nwafuthesis/nwafuthesis.dtx b/macros/unicodetex/latex/nwafuthesis/nwafuthesis.dtx
index 720524e68b..8d79d4580c 100644
--- a/macros/unicodetex/latex/nwafuthesis/nwafuthesis.dtx
+++ b/macros/unicodetex/latex/nwafuthesis/nwafuthesis.dtx
@@ -2,7 +2,7 @@
% !TeX program = XeLaTeX
% !TeX encoding = UTF-8
%
-% Copyright (C) 2019--2022 by Nan Geng <nangeng@nwafu.edu.cn>
+% Copyright (C) 2019--2023 by Nan Geng <nangeng@nwafu.edu.cn>
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either
@@ -43,7 +43,7 @@
\preamble
- Copyright (C) 2019--2022 by Nan Geng <nangeng@nwafu.edu.cn>
+ Copyright (C) 2019--2023 by Nan Geng <nangeng@nwafu.edu.cn>
This work may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either
@@ -110,7 +110,7 @@
%<class|doc>\NeedsTeXFormat{LaTeX2e}
%<class|doc>\RequirePackage{expl3}
%<*!(driver|install)>
-%<!readme>\GetIdInfo $Id: nwafuthesis.dtx 1.15 2022-05-29 Nan Geng <nangeng@nwafu.edu.cn> $
+%<!readme>\GetIdInfo $Id: nwafuthesis.dtx 1.25 2023-04-18 Nan Geng <nangeng@nwafu.edu.cn> $
%<class> {Thesis template for Northwest A\&F University}
%<class>\ProvidesExplClass{\ExplFileName}
%<definition> {Definition file for nwafuthesis}
@@ -143,7 +143,7 @@
\textbf{\nwafuthesis: 西北农林科技大学学位论文
\xpinyin[font=\sffamily,format=\color{MaterialIndigo800}]{模}{mu2}板}}}
\author{耿楠}
-\date{\today\quad v1.15%
+\date{\today\quad v1.25%
\thanks{\url{https://gitee.com/nwafu_nan/nwafuthesis-l3}.}}
\begin{document}
@@ -809,7 +809,16 @@
% \begin{nwafusyntax}[emph={[1]withsig}]
% withsig = (*<\TFF>*)
% \end{nwafusyntax}
-% 题名页是否需要签名。
+% 题名页是否需要签名,默认为不需要签名。
+% \end{function}
+%
+% \changes{v1.25}{2023/04/19}{添加盲审样式参数说明。}
+%
+% \begin{function}[added=2023-04-19]{style/anonymous}
+% \begin{nwafusyntax}[emph={[1]anonymous}]
+% anonymous = (*<\TFF>*)
+% \end{nwafusyntax}
+% 选择是否输出盲审格式论文,默认为不输出盲审格式论文。
% \end{function}
%
% \begin{function}[added=2022-05-24]{style/chapnum}
@@ -1815,6 +1824,16 @@
% \end{macrocode}
% \end{variable}
%
+% \changes{v1.25}{2023/04/18}{添加盲审判断变量。}
+%
+% \begin{variable}{\l_@@_anonymous_bool}
+% 是否输出盲审版论文(隐藏作者、导师、页眉等个人及学校信息)。
+% \begin{macrocode}
+\bool_new:N \l_@@_anonymous_bool
+% \end{macrocode}
+% \end{variable}
+%
+%
% \changes{v1.12}{2022/05/24}{添加本科生中文章编号处理。}
%
% \begin{variable}{\g_@@_chapnum_int}
@@ -2270,12 +2289,21 @@
% \end{macrocode}
% \end{variable}
%
+% \changes{v1.25}{2023/04/18}{添加盲审隐藏导师承诺中研究生姓名。}
+%
% \begin{variable}{\c_@@_super_decl_text_tl}
% 研究生学位导师承诺。
% \begin{macrocode}
\tl_const:Nn \c_@@_super_decl_text_tl
{
- 本人承诺{\c_@@_fwid_colon_tl}我的研究生{\@@_text_uline:V \l_@@_info_author_tl}%
+ 本人承诺{\c_@@_fwid_colon_tl}我的研究生{%
+ \bool_if:NTF \l_@@_anonymous_bool
+ {
+ \@@_text_uline:V \c_@@_name_anonname_tl
+ }{
+ \@@_text_uline:V \l_@@_info_author_tl
+ }
+ }%
所呈交的学位论文是在我指导下独立开展研究工作及取得的研究结果%
{\c_@@_fwid_comma_tl}属于我现岗职务工作的结果{\c_@@_fwid_comma_tl}%
并严格按照学校{\c_@@_fwid_left_title_tl}关于规范西北农林科技大学研%
@@ -2499,9 +2527,13 @@
% 研究生与本科生相同的中英文字段。
% \begin{macrocode}
%
+% \changes{v1.25}{2023/04/19}{添加盲审隐藏信息符号常量。}
+%
\clist_map_inline:nn
{
- { supervisor } { 指导教师 } { Supervisor },
+ { supervisor } { 指导教师 } { Supervisor },
+ { anonid } { ********** } { ********** },
+ { anonname } { **** } { **** },
}
{ \@@_define_name:nnn #1 }
%
@@ -3893,11 +3925,31 @@
withchapter .bool_set:N = \l_@@_withchap_bool,
withchapter .default:n = true,
withchapter .initial:n = true,
-
+ }
+% \end{macrocode}
+% \end{macro}
+%
+% \subsection{是否预留签名位置}
+%
+% \begin{macro}{withsig}
+% 设置是否预留下签名。
+% \begin{macrocode}
+\keys_define:nn { nwafu / style }
+ {
withsig .bool_set:N = \l_@@_withsignature_bool,
withsig .default:n = true,
withsig .initial:n = false,
-
+ }
+% \end{macrocode}
+% \end{macro}
+%
+% \subsection{章编号格式设置}
+%
+% \begin{macro}{withchapter}
+% 设置论文章标题编号格式(中文/阿拉伯数字)。
+% \begin{macrocode}
+\keys_define:nn { nwafu / style }
+ {
chapnum .choice:,
chapnum .value_required:n = true,
chapnum .choices:nn =
@@ -3908,6 +3960,22 @@
% \end{macrocode}
% \end{macro}
%
+% \changes{v1.25}{2023/04/18}{添加盲审判断变量。}
+%
+% \subsection{是否盲审}
+%
+% \begin{macro}{anonymous}
+% 设置是否为盲审论文输出。
+% \begin{macrocode}
+\keys_define:nn { nwafu / style }
+ {
+ anonymous .bool_set:N = \l_@@_anonymous_bool,
+ anonymous .default:n = true,
+ anonymous .initial:n = false,
+ }
+% \end{macrocode}
+% \end{macro}
+%
% \changes{v1.11}{2022/04/02}{修订本科生subsubsection编号两端括号为中文全角括号。}
%
% |\keys_set:nn{ctex}| 实际相当于调用 \cs{ctexset}。
@@ -5066,6 +5134,7 @@
% \begin{macrocode}
\cs_new:Npn \@@_blank_underline:n #1
{ \rule [ -0.5 ex ] {#1} { 0.4 pt } }
+\cs_generate_variant:Nn \@@_blank_underline:n { V }
% \end{macrocode}
% \end{macro}
%
@@ -5093,6 +5162,8 @@
% \end{macrocode}
% \end{macro}
%
+% \changes{v1.25}{2023/04/18}{添加盲审隐藏学号。}
+%
% \subsubsection{封面各部件}
%
% \begin{macro}{\@@_cover_id:,\@@_cover_id_aux:n}
@@ -5144,12 +5215,22 @@
% 将学校代码、研究生学号变量值存入逗号分隔列表,并计算最宽宽度赋给
% \cs{l_@@_tmpd_dim}。
% \begin{macrocode}
- \clist_set:Nx \l_@@_tmpd_clist
- {
- { \l_@@_info_school_id_tl },
- { },
- { \l_@@_info_student_id_tl }
- }
+ \bool_if:NTF \l_@@_anonymous_bool
+ {
+ \clist_set:Nx \l_@@_tmpd_clist
+ {
+ { \l_@@_info_school_id_tl },
+ { },
+ { \c_@@_name_anonid_tl }
+ }
+ }{
+ \clist_set:Nx \l_@@_tmpd_clist
+ {
+ { \l_@@_info_school_id_tl },
+ { },
+ { \l_@@_info_student_id_tl }
+ }
+ }
\@@_get_max_text_width:NN \l_@@_tmpd_dim \l_@@_tmpd_clist
% \end{macrocode}
% 用minipage环境通过循环输出结果。
@@ -5202,7 +5283,12 @@
{
\tl_use:c { c_@@_name_ #1 _tl }
\c_@@_fwid_colon_tl
- \@@_text_uline:n {\tl_use:c { l_@@_info_ #1 _tl }}
+ \bool_if:NTF \l_@@_anonymous_bool
+ {
+ \@@_text_uline:V \c_@@_name_anonid_tl
+ }{
+ \@@_text_uline:n {\tl_use:c { l_@@_info_ #1 _tl }}
+ }
}
% \end{macrocode}
% \end{macro}
@@ -5275,6 +5361,8 @@
% \end{macrocode}
% \end{macro}
%
+% \changes{v1.25}{2023/04/18}{添加盲审隐藏中文作者与导师。}
+%
% \begin{macro}{\@@_cover_info:}
% 作者信息栏。
% \begin{macrocode}
@@ -5309,15 +5397,28 @@
% 读取作者信息变量值,并将最宽者的宽度赋给
% \cs{l_@@_tmpb_dim}。
% \begin{macrocode}
- \clist_set:Nx \l_@@_tmpb_clist
- {
- { \l_@@_info_major_tl },
- { \l_@@_info_researchfield_tl },
- { \l_@@_info_author_tl },
- { \l_@@_info_supervisor_tl },
- { \l_@@_info_cosupervisor_tl },
- { \l_@@_info_date_tl }
- }
+ \bool_if:NTF \l_@@_anonymous_bool
+ {
+ \clist_set:Nx \l_@@_tmpb_clist
+ {
+ { \l_@@_info_major_tl },
+ { \l_@@_info_researchfield_tl },
+ { \c_@@_name_anonname_tl },
+ { \c_@@_name_anonname_tl },
+ { \c_@@_name_anonname_tl },
+ { \l_@@_info_date_tl }
+ }
+ }{
+ \clist_set:Nx \l_@@_tmpb_clist
+ {
+ { \l_@@_info_major_tl },
+ { \l_@@_info_researchfield_tl },
+ { \l_@@_info_author_tl },
+ { \l_@@_info_supervisor_tl },
+ { \l_@@_info_cosupervisor_tl },
+ { \l_@@_info_date_tl }
+ }
+ }
\@@_get_max_text_width:NN \l_@@_tmpb_dim \l_@@_tmpb_clist
}
% \end{macrocode}
@@ -5348,15 +5449,28 @@
% 读取作者信息变量值,并将最宽者的宽度赋给
% \cs{l_@@_tmpb_dim}。
% \begin{macrocode}
- \clist_set:Nx \l_@@_tmpb_clist
- {
- { \l_@@_info_major_tl },
- { \l_@@_info_researchfield_tl },
- { \l_@@_info_author_tl },
- { \l_@@_info_supervisor_tl },
- { \l_@@_info_cosupervisor_tl },
- { \l_@@_info_date_tl }
- }
+ \bool_if:NTF \l_@@_anonymous_bool
+ {
+ \clist_set:Nx \l_@@_tmpb_clist
+ {
+ { \l_@@_info_major_tl },
+ { \l_@@_info_researchfield_tl },
+ { \c_@@_name_anonname_tl },
+ { \c_@@_name_anonname_tl },
+ { \c_@@_name_anonname_tl },
+ { \l_@@_info_date_tl }
+ }
+ }{
+ \clist_set:Nx \l_@@_tmpb_clist
+ {
+ { \l_@@_info_major_tl },
+ { \l_@@_info_researchfield_tl },
+ { \l_@@_info_author_tl },
+ { \l_@@_info_supervisor_tl },
+ { \l_@@_info_cosupervisor_tl },
+ { \l_@@_info_date_tl }
+ }
+ }
\@@_get_max_text_width:NN \l_@@_tmpb_dim \l_@@_tmpb_clist
}
% \end{macrocode}
@@ -5381,15 +5495,28 @@
% 读取作者信息变量值,并将最宽者的宽度赋给
% \cs{l_@@_tmpb_dim}。
% \begin{macrocode}
- \clist_set:Nx \l_@@_tmpb_clist
- {
- { \l_@@_info_professionaltype_tl },
- { \l_@@_info_professionalfield_tl },
- { \l_@@_info_author_tl },
- { \l_@@_info_supervisor_tl },
- { \l_@@_info_cosupervisor_tl },
- { \l_@@_info_date_tl }
- }
+ \bool_if:NTF \l_@@_anonymous_bool
+ {
+ \clist_set:Nx \l_@@_tmpb_clist
+ {
+ { \l_@@_info_professionaltype_tl },
+ { \l_@@_info_professionalfield_tl },
+ { \c_@@_name_anonname_tl },
+ { \c_@@_name_anonname_tl },
+ { \c_@@_name_anonname_tl },
+ { \l_@@_info_date_tl }
+ }
+ }{
+ \clist_set:Nx \l_@@_tmpb_clist
+ {
+ { \l_@@_info_professionaltype_tl },
+ { \l_@@_info_professionalfield_tl },
+ { \l_@@_info_author_tl },
+ { \l_@@_info_supervisor_tl },
+ { \l_@@_info_cosupervisor_tl },
+ { \l_@@_info_date_tl }
+ }
+ }
\@@_get_max_text_width:NN \l_@@_tmpb_dim \l_@@_tmpb_clist
}
}
@@ -5417,16 +5544,30 @@
% 读取作者信息变量值,并将最宽者的宽度赋给
% \cs{l_@@_tmpb_dim}。
% \begin{macrocode}
- \clist_set:Nx \l_@@_tmpb_clist
- {
- { \l_@@_info_department_tl },
- { \l_@@_info_major_tl },
- { \l_@@_info_enroll_tl 级 \l_@@_info_class_id_tl 班 },
- { \l_@@_info_author_tl },
- { \l_@@_info_supervisor_tl },
- { \l_@@_info_cosupervisor_tl },
- { \l_@@_info_date_tl }
- }
+ \bool_if:NTF \l_@@_anonymous_bool
+ {
+ \clist_set:Nx \l_@@_tmpb_clist
+ {
+ { \l_@@_info_department_tl },
+ { \l_@@_info_major_tl },
+ { \l_@@_info_enroll_tl 级 \l_@@_info_class_id_tl 班 },
+ { \c_@@_name_anonname_tl },
+ { \c_@@_name_anonname_tl },
+ { \c_@@_name_anonname_tl },
+ { \l_@@_info_date_tl }
+ }
+ }{
+ \clist_set:Nx \l_@@_tmpb_clist
+ {
+ { \l_@@_info_department_tl },
+ { \l_@@_info_major_tl },
+ { \l_@@_info_enroll_tl 级 \l_@@_info_class_id_tl 班 },
+ { \l_@@_info_author_tl },
+ { \l_@@_info_supervisor_tl },
+ { \l_@@_info_cosupervisor_tl },
+ { \l_@@_info_date_tl }
+ }
+ }
\@@_get_max_text_width:NN \l_@@_tmpb_dim \l_@@_tmpb_clist
}
}
@@ -5448,6 +5589,8 @@
% \end{macrocode}
% \end{macro}
%
+% \changes{v1.25}{2023/04/18}{添加盲审隐藏英文作者与导师。}
+%
% \begin{macro}{\@@_cover_info_en:}
% 英文作者信息栏,仅对研究生有效。
% \begin{macrocode}
@@ -5493,15 +5636,28 @@
% 读取作者信息变量值,并将最宽者的宽度赋给
% \cs{l_@@_tmpb_dim}。
% \begin{macrocode}
- \clist_set:Nx \l_@@_tmpb_clist
- {
- { \l_@@_info_major_en_tl },
- { \l_@@_info_researchfield_en_tl },
- { \l_@@_info_author_en_tl },
- { \l_@@_info_supervisor_en_tl },
- { \l_@@_info_cosupervisor_en_tl },
- { \l_@@_info_date_en_tl }
- }
+ \bool_if:NTF \l_@@_anonymous_bool
+ {
+ \clist_set:Nx \l_@@_tmpb_clist
+ {
+ { \l_@@_info_major_en_tl },
+ { \l_@@_info_researchfield_en_tl },
+ { \c_@@_name_anonname_en_tl },
+ { \c_@@_name_anonname_en_tl },
+ { \c_@@_name_anonname_en_tl },
+ { \l_@@_info_date_en_tl }
+ }
+ }{
+ \clist_set:Nx \l_@@_tmpb_clist
+ {
+ { \l_@@_info_major_en_tl },
+ { \l_@@_info_researchfield_en_tl },
+ { \l_@@_info_author_en_tl },
+ { \l_@@_info_supervisor_en_tl },
+ { \l_@@_info_cosupervisor_en_tl },
+ { \l_@@_info_date_en_tl }
+ }
+ }
% \end{macrocode}
% 用循环输出各字段。
% \begin{macrocode}
@@ -5562,15 +5718,28 @@
% 读取作者信息变量值,并将最宽者的宽度赋给
% \cs{l_@@_tmpb_dim}。
% \begin{macrocode}
- \clist_set:Nx \l_@@_tmpb_clist
- {
- { \l_@@_info_major_en_tl },
- { \l_@@_info_researchfield_en_tl },
- { \l_@@_info_author_en_tl },
- { \l_@@_info_supervisor_en_tl },
- { \l_@@_info_cosupervisor_en_tl },
- { \l_@@_info_date_en_tl }
- }
+ \bool_if:NTF \l_@@_anonymous_bool
+ {
+ \clist_set:Nx \l_@@_tmpb_clist
+ {
+ { \l_@@_info_major_en_tl },
+ { \l_@@_info_researchfield_en_tl },
+ { \c_@@_name_anonname_en_tl },
+ { \c_@@_name_anonname_en_tl },
+ { \c_@@_name_anonname_en_tl },
+ { \l_@@_info_date_en_tl }
+ }
+ }{
+ \clist_set:Nx \l_@@_tmpb_clist
+ {
+ { \l_@@_info_major_en_tl },
+ { \l_@@_info_researchfield_en_tl },
+ { \l_@@_info_author_en_tl },
+ { \l_@@_info_supervisor_en_tl },
+ { \l_@@_info_cosupervisor_en_tl },
+ { \l_@@_info_date_en_tl }
+ }
+ }
% \end{macrocode}
% 用循环输出各字段。
% \begin{macrocode}
@@ -5627,15 +5796,28 @@
% 读取作者信息变量值,并将最宽者的宽度赋给
% \cs{l_@@_tmpb_dim}。
% \begin{macrocode}
- \clist_set:Nx \l_@@_tmpb_clist
- {
- { Master ~ of ~ \l_@@_info_professionaltype_en_tl },
- { \l_@@_info_professionalfield_en_tl },
- { \l_@@_info_author_en_tl },
- { \l_@@_info_supervisor_en_tl },
- { \l_@@_info_cosupervisor_en_tl },
- { \l_@@_info_date_en_tl }
- }
+ \bool_if:NTF \l_@@_anonymous_bool
+ {
+ \clist_set:Nx \l_@@_tmpb_clist
+ {
+ { Master ~ of ~ \l_@@_info_professionaltype_en_tl },
+ { \l_@@_info_professionalfield_en_tl },
+ { \c_@@_name_anonname_en_tl },
+ { \c_@@_name_anonname_en_tl },
+ { \c_@@_name_anonname_en_tl },
+ { \l_@@_info_date_en_tl }
+ }
+ }{
+ \clist_set:Nx \l_@@_tmpb_clist
+ {
+ { Master ~ of ~ \l_@@_info_professionaltype_en_tl },
+ { \l_@@_info_professionalfield_en_tl },
+ { \l_@@_info_author_en_tl },
+ { \l_@@_info_supervisor_en_tl },
+ { \l_@@_info_cosupervisor_en_tl },
+ { \l_@@_info_date_en_tl }
+ }
+ }
% \end{macrocode}
% 用循环输出各字段。
% \begin{macrocode}
@@ -5659,6 +5841,7 @@
% \end{macro}
%
% \changes{v1.15}{2022/05/29}{为研究生题名页签字位置留空位。}
+% \changes{v1.25}{2023/04/18}{添加盲审隐藏作者、导师、指导小组等。}
%
% \begin{macro}{\@@_cover_instructors:}
% 题名页作者、指导教师、指导小组签名,仅对研究生有效。
@@ -5712,12 +5895,22 @@
% \end{macrocode}
% 作者、导师、指导小组信息变量值,并取得最宽宽度。
% \begin{macrocode}
- \clist_set:Nx \l_@@_tmpb_clist
- {
- {\l_@@_info_author_tl },
- {\l_@@_info_supervisor_tl },
- {\l_@@_tmpa_tl },
- }
+ \bool_if:NTF \l_@@_anonymous_bool
+ {
+ \clist_set:Nx \l_@@_tmpb_clist
+ {
+ { \c_@@_name_anonname_tl },
+ { \c_@@_name_anonname_tl },
+ { \c_@@_name_anonname_tl },
+ }
+ }{
+ \clist_set:Nx \l_@@_tmpb_clist
+ {
+ {\l_@@_info_author_tl },
+ {\l_@@_info_supervisor_tl },
+ {\l_@@_tmpa_tl },
+ }
+ }
\@@_get_max_text_width:NN \l_@@_tmpb_dim \l_@@_tmpb_clist
% \end{macrocode}
% 计算小页宽度。
@@ -5779,11 +5972,20 @@
% \end{macrocode}
% 作者、导师信息,并取得最宽宽度。
% \begin{macrocode}
- \clist_set:Nx \l_@@_tmpb_clist
- {
- {\l_@@_info_author_tl },
- {\l_@@_info_supervisor_tl },
- }
+ \bool_if:NTF \l_@@_anonymous_bool
+ {
+ \clist_set:Nx \l_@@_tmpb_clist
+ {
+ { \c_@@_name_anonname_tl },
+ { \c_@@_name_anonname_tl },
+ }
+ }{
+ \clist_set:Nx \l_@@_tmpb_clist
+ {
+ {\l_@@_info_author_tl },
+ {\l_@@_info_supervisor_tl },
+ }
+ }
\@@_get_max_text_width:NN \l_@@_tmpb_dim \l_@@_tmpb_clist
\dim_add:Nn \l_@@_tmpb_dim { \l_@@_tmpb_dim }
% \end{macrocode}
@@ -5812,6 +6014,8 @@
% \end{macrocode}
% \end{macro}
%
+% \changes{v1.25}{2023/04/18}{添加盲审隐藏答辩委员会。}
+%
% \begin{macro}{\@@_cover_defensecommittees:}
% 答辩委员会名单,仅对研究生有效。
% \begin{macrocode}
@@ -5859,23 +6063,28 @@
% \end{macrocode}
% 输出答辩委员会信息。
% \begin{macrocode}
- \begin{minipage} [ c ] { \textwidth }
- \centering
- \bool_until_do:nn { \clist_if_empty_p:N \l_@@_tmpa_clist }
- {
- \clist_pop:NN \l_@@_tmpa_clist \l_@@_tmpa_tl
- \clist_pop:NN \l_@@_tmpb_clist \l_@@_tmpb_tl
- \clist_pop:NN \l_@@_tmpc_clist \l_@@_tmpc_tl
- \@@_spread_box:Vn \l_@@_tmpa_dim { \l_@@_tmpa_tl }
- \@@_center_box:Vn \l_@@_tmpb_dim { \l_@@_tmpb_tl }
- \@@_spread_box:Vn \l_@@_tmpc_dim { \l_@@_tmpc_tl }
- \skip_vertical:n { 0.5 ex }
- }
- \end{minipage}
+ \bool_if:NF \l_@@_anonymous_bool
+ {
+ \begin{minipage} [ c ] { \textwidth }
+ \centering
+ \bool_until_do:nn { \clist_if_empty_p:N \l_@@_tmpa_clist }
+ {
+ \clist_pop:NN \l_@@_tmpa_clist \l_@@_tmpa_tl
+ \clist_pop:NN \l_@@_tmpb_clist \l_@@_tmpb_tl
+ \clist_pop:NN \l_@@_tmpc_clist \l_@@_tmpc_tl
+ \@@_spread_box:Vn \l_@@_tmpa_dim { \l_@@_tmpa_tl }
+ \@@_center_box:Vn \l_@@_tmpb_dim { \l_@@_tmpb_tl }
+ \@@_spread_box:Vn \l_@@_tmpc_dim { \l_@@_tmpc_tl }
+ \skip_vertical:n { 0.5 ex }
+ }
+ \end{minipage}
+ }
}
% \end{macrocode}
% \end{macro}
%
+% \changes{v1.25}{2023/04/18}{添加盲审隐藏项目资助列表。}
+%
% \begin{macro}{\@@_cover_foundation:}
% 项目资助列表,仅对研究生有效。
% \begin{macrocode}
@@ -5926,11 +6135,26 @@
\indent
\@@_qquad:
本研究得到
- \l_@@_tmpa_tl
+ \bool_if:NTF \l_@@_anonymous_bool
+ {
+ \c_@@_name_anonname_tl,
+ }{
+ \l_@@_tmpa_tl
+ }
\c_@@_fwid_colon_tl
- \l_@@_tmpb_tl
+ \bool_if:NTF \l_@@_anonymous_bool
+ {
+ \c_@@_name_anonname_tl,
+ }{
+ \l_@@_tmpb_tl
+ }
(编号\c_@@_fwid_colon_tl
- \l_@@_tmpc_tl
+ \bool_if:NTF \l_@@_anonymous_bool
+ {
+ \c_@@_name_anonname_tl,
+ }{
+ \l_@@_tmpc_tl
+ }
)资助
\par
}
diff --git a/macros/unicodetex/latex/nwafuthesis/nwafuthesis.pdf b/macros/unicodetex/latex/nwafuthesis/nwafuthesis.pdf
index 9b7bd35d2d..0d434617a4 100644
--- a/macros/unicodetex/latex/nwafuthesis/nwafuthesis.pdf
+++ b/macros/unicodetex/latex/nwafuthesis/nwafuthesis.pdf
Binary files differ