From 4b843188b31a378b207ce4415e2fb3cb77b428a6 Mon Sep 17 00:00:00 2001 From: atxy <181850195@smail.nju.edu.cn> Date: Sun, 12 Sep 2021 13:06:21 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E5=B0=86=E4=B8=80=E4=BA=9B=E4=B8=8D?= =?UTF-8?q?=E9=9C=80=E8=A6=81=E6=8D=A2=E8=A1=8C=E7=9A=84=E4=B8=8B=E5=88=92?= =?UTF-8?q?=E7=BA=BF=E7=94=A8=E6=99=AE=E9=80=9Auline=E5=91=BD=E4=BB=A4?= =?UTF-8?q?=E6=94=B9=E5=86=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- profile/abstract.sty | 6 +++--- profile/cover.sty | 27 +++++++++++++++------------ 2 files changed, 18 insertions(+), 15 deletions(-) diff --git a/profile/abstract.sty b/profile/abstract.sty index de69d9a..038d8e5 100644 --- a/profile/abstract.sty +++ b/profile/abstract.sty @@ -69,7 +69,7 @@ } } { - % 鎽樿鐜 + % 鐮旂┒鐢熸憳瑕佺幆澧� \NewDocumentEnvironment{abstract} {} {% \pagestyle{plain} @@ -85,8 +85,8 @@ \tl_set:Nn \tabcolsep {0pt} \tl_set:Nn \arraystretch {0.8} \noindent - 姣曚笟璁烘枃棰樼洰锛歕 \nju_underline:n {\nju_title\hfill} \\ - \uline{\makebox[9em]{\nju_major}}涓撲笟\uline{\makebox[3em]{\nju_grade}}绾� + 姣曚笟璁烘枃棰樼洰锛歕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 } {鍗殅{纭晑 澹敓濮撳悕锛歕uline{\hfill\nju_student_name\hfill} \\ 鎸囧鏁欏笀锛堝鍚嶃€佽亴绉帮級锛歕uline{\hfill\nju_mentor_full\hfill}\par diff --git a/profile/cover.sty b/profile/cover.sty index 1c3dae9..ee1e19a 100644 --- a/profile/cover.sty +++ b/profile/cover.sty @@ -37,7 +37,7 @@ % 灏侀潰涓嬪垝绾� \cs_new:Npn \nju_cover_underline_ug:nn #1 #2 { - \nju_underline:n {\makebox[#1]{\rm\songti#2}} + \uline{\makebox[#1]{\rm\songti#2}} } % 灏侀潰琛ㄦ牸杈规 @@ -53,7 +53,7 @@ % 灏侀潰涓嬪垝绾� \cs_new:Npn \nju_cover_underline_g:n #1 { - \nju_underline:n {\makebox[215pt]{\rm\kaishu#1}} + \uline{\makebox[215pt]{\rm\kaishu#1}} } % 灏侀潰琛ㄦ牸杈规 @@ -74,7 +74,7 @@ % 灏侀潰涓嬪垝绾� \cs_new:Npn \nju_cover_underline_nlc:nn #1 #2 { - \nju_underline:n {\makebox[#1]{#2}} + \uline{\makebox[#1]{#2}} } } } @@ -93,7 +93,8 @@ % 灏侀潰淇℃伅鏍� 鏈 \tl_new:N \nju_printcoverinfo_ug -\tl_set:Nn \nju_printcoverinfo_ug { +\tl_set:Nn \nju_printcoverinfo_ug +{ \begin{tabular}{p{4.2em}c} \nju_coverbox_ug:n {闄hfill 绯粆 & \nju_cover_underline_ug:nn {250pt}{\nju_department}\\ @@ -153,7 +154,8 @@ % 灏侀潰淇℃伅鏍� 鐮旂┒鐢� \tl_new:N \nju_printcoverinfo_g -\tl_set:Nn \nju_printcoverinfo_g { +\tl_set:Nn \nju_printcoverinfo_g +{ \begin{tabular}{p{6em}c} % 鏍囬鎹㈣ \int_case:nn {\nju_titlelength} @@ -218,27 +220,28 @@ \vskip \stretch{1} {\kaishu\zihao{4}锛堥鍚嶅拰鍓鍚嶏級} \vskip \stretch{1} - {\kaishu\zihao{1}\nju_underline:n {\makebox{\nju_student_name}}} + {\kaishu\zihao{1}\uline{\makebox{\nju_student_name}}} \vskip \stretch{1} {\kaishu\zihao{4}锛堜綔鑰呭鍚嶏級} \end{center} % 搴曢儴 \vskip\stretch{1} - {\kaishu\zihao{4} + { + \kaishu\zihao{4} \noindent 鎸囧鏁欏笀濮撳悕銆佽亴鍔°€佽亴绉般€佸浣嶃€佸崟浣嶅悕绉板強鍦板潃% \nju_cover_underline_nlc:nn {94pt}{\nju_mentor_a}\par \noindent\nju_cover_underline_nlc:nn {\textwidth}{% \nju_mentor_info}\par \noindent 鐢宠瀛︿綅绾у埆% - \nju_cover_underline_nlc:nn {8em}{\nju_degree_title}% + \nju_cover_underline_nlc:nn {9em}{\nju_degree_title}% \noindent 涓撲笟鍚嶇О% - \nju_underline:n {\hfill\nju_major\hfill}\par% 闇€瑕佽皟鏁翠笅鍒掔嚎闀垮害 + \uline{\hfill\nju_major\hfill}\par% 闇€瑕佽皟鏁翠笅鍒掔嚎闀垮害 \noindent 璁烘枃鎻愪氦鏃ユ湡% - \nju_cover_underline_nlc:nn {8em}{\nju_submit_date}% + \nju_cover_underline_nlc:nn {9em}{\nju_submit_date}% 璁烘枃绛旇京鏃ユ湡% - \nju_underline:n {\hfill\nju_defend_date\hfill}\par% 闇€瑕佽皟鏁翠笅鍒掔嚎闀垮害 - \noindent 瀛︿綅鎺堜簣鍗曚綅鍜屾棩鏈焅nju_underline:n {\hfill}\par + \uline{\hfill\nju_defend_date\hfill}\par% 闇€瑕佽皟鏁翠笅鍒掔嚎闀垮害 + \noindent 瀛︿綅鎺堜簣鍗曚綅鍜屾棩鏈焅uline{\hfill}\par \noindent\hfill 绛旇京濮斿憳浼氫富甯細% \nju_cover_underline_nlc:nn {9em}{\nju_reviewer_chairman}\par \noindent\hfill 璇勯槄浜猴細% -- GitLab