diff --git a/profile/abstract.sty b/profile/abstract.sty index 038d8e5a27f923f280f2255e9c754fd16c1976eb..2ae8404ca2fe5faa38b6db91c066a98b5a0862ae 100644 --- a/profile/abstract.sty +++ b/profile/abstract.sty @@ -1,7 +1,7 @@ \ProvidesExplPackage{profile/abstract}{2021-09-11}{0.7.0}{NJU Thesis abstract design} % 鍒ゆ柇瀛︿綅 -\str_if_eq:eeTF {\nju_degree} { ug } +\str_if_eq:NNTF {\nju_degree} { ug } { % 鏈鎽樿鐜 \NewDocumentEnvironment{abstract} {} @@ -87,7 +87,7 @@ \noindent 姣曚笟璁烘枃棰樼洰锛歕hspace{0.5em}\nju_underline:n {\nju_title\hfill}\\ \uline{\makebox[9em]{\nju_major}}涓撲笟\uline{\makebox[4em]{\nju_grade}}绾� - \str_if_eq:eeTF {\nju_degree} { d } {鍗殅{纭晑 + \str_if_eq:NNTF {\nju_degree} { d } {鍗殅{纭晑 澹敓濮撳悕锛歕uline{\hfill\nju_student_name\hfill} \\ 鎸囧鏁欏笀锛堝鍚嶃€佽亴绉帮級锛歕uline{\hfill\nju_mentor_full\hfill}\par \egroup diff --git a/profile/cover.sty b/profile/cover.sty index f122e4b55e96ce611ebcd8b3887d73ad9b733271..c45fd9fb3764b36c871e3f195916d93ad1a3f72f 100644 --- a/profile/cover.sty +++ b/profile/cover.sty @@ -29,7 +29,7 @@ } % 鍒ゆ柇瀛︿綅杩涜鍛戒护瀹氫箟 -\str_if_eq:eeTF {\nju_degree} { ug } +\str_if_eq:NNTF {\nju_degree} { ug } { % 鏈 \tl_const:Nn \nju_degree_name {鏈琝hfill 绉慭hfill } @@ -81,7 +81,7 @@ } % 鍒ゆ柇绫诲瀷 -\str_if_eq:eeTF {\nju_type} {thesis} +\str_if_eq:NNTF {\nju_type} {thesis} { \tl_const:Nn \nju_type_name { \nju_degree_name 姣昞hfill 涓歕hfill 璁篭hfill 鏂� } @@ -350,7 +350,7 @@ % 閲嶅畾涔塵aketitle鐢熸垚灏侀潰 \RenewDocumentCommand \maketitle {} {% - \str_if_eq:eeTF {\nju_degree} { ug } + \str_if_eq:NNTF { \nju_degree } { ug } { \nju_printcover_ug } % 鏈灏侀潰 { \nju_printcover_g } % 鐮旂┒鐢熷皝闈� }