diff --git a/njuthesis.dtx b/njuthesis.dtx index 68e20fe160ea507f6dcc54bba12001887848a37b..61c0a63b912b5dd7420e758e185c9713f43df864 100644 --- a/njuthesis.dtx +++ b/njuthesis.dtx @@ -156,24 +156,27 @@ through XeTeX. % \maketitle % % \begin{abstract} -% 鍗椾含澶у瀛︿綅璁烘枃\hologo{LaTeX}妯℃澘 \cls{njuthesis} 鍩轰簬鏈鐢熼櫌鐨勮鏂囨挵鍐欒鑼冨埗浣滐紝 -% 鍚屾椂鍙傝€冪爺绌剁敓闄㈡彁渚涚殑纭曞+銆佸崥澹浣嶆潗鏂欏寘锛� -% 鐢ㄤ簬鐢熸垚绗﹀悎鍗椾含澶у瀛︿綅璁烘枃鎺掔増瑕佹眰鍜岀浉搴旂殑鍥藉瑙勮寖銆佽涓氭爣鍑嗙殑瀛︿綅璁烘枃锛� -% 鏃ㄥ湪涓哄悓瀛︽彁渚涙瘯涓氳鏂囦功鍐欑殑鏂逛究銆� +% 鍗椾含澶у瀛︿綅璁烘枃 \hologo{LaTeX} 妯℃澘 \cls{njuthesis} 鍩轰簬鏈鐢熼櫌鐨勮鏂囨挵鍐� +% 瑙勮寖鍒朵綔锛屽悓鏃跺弬鑰冪爺绌剁敓闄㈡彁渚涚殑纭曞+銆佸崥澹浣嶆潗鏂欏寘锛岀敤浜庣敓鎴愮鍚堝崡浜ぇ瀛﹀ +% 浣嶈鏂囨帓鐗堣姹傚拰鐩稿簲鐨勫浗瀹惰鑼冦€佽涓氭爣鍑嗙殑瀛︿綅璁烘枃锛屾棬鍦ㄤ负鍚屽鎻愪緵姣曚笟璁烘枃涔� +% 鍐欑殑鏂逛究銆� % \end{abstract} % % \def\abstractname{Abstract} % \begin{abstract} -% The \cls{njuthesis} class is intended for -% typesetting Nanjing University dissertations with \hologo{LaTeX}, -% providing support for bachelor, masters, and doctoral thesis. +% The \cls{njuthesis} class is intended for typesetting Nanjing University +% dissertations with \hologo{LaTeX}, providing support for bachelor, masters, +% and doctoral thesis. % \end{abstract} % % \vspace{2cm} % \def\abstractname{鐗瑰埆澹版槑} % \begin{abstract} -% 璇锋敞鎰忥紝鏈ā鏉夸粛鏈畬鎴愬紑鍙戯紝鍑虹幇bug鎴栬€呮枃妗d笉瀹屽杽灞炰簬姝e父鎯呭喌锛屾彁issue鎴朠ull Request鍗冲彲銆� -% \href{https://git.nju.edu.cn/nju-lug/lug-introduction}{NJU LUG}濮嬬粓娆㈣繋鎮ㄧ殑鍔犲叆涓庤础鐚紒 +% 璇锋敞鎰忥紝鏈ā鏉夸粛鏈畬鎴愬紑鍙戯紝鍑虹幇bug鎴栬€呮枃妗d笉瀹屽杽灞炰簬姝e父鎯呭喌锛屾杩庢彁浜� +% issue 鎴� Pull Request銆� +% +% \href{https://git.nju.edu.cn/nju-lug/lug-introduction}{NJU LUG}濮嬬粓娆㈣繋 +% 鎮ㄧ殑鍔犲叆锛� % \end{abstract} % % \clearpage @@ -182,7 +185,6 @@ through XeTeX. % % \clearpage % -% % \EnableDocumentation % % \begin{documentation} @@ -1115,8 +1117,8 @@ through XeTeX. % \subsection{鍑嗗} % % \begin{macrocode} -%<@@=nju> %<*class> +%<@@=nju> % \end{macrocode} % % \changes{v0.11}{2021/10/23}{娣诲姞浜嗚嫢骞茬幆澧冩鏌ヤ笌璀﹀憡淇℃伅銆倉 @@ -2904,19 +2906,24 @@ keywords* .clist_set:N = \l_@@_info_keywords_en_clist, % \end{macrocode} % \end{macro} % -% 鍒涘缓鎽樿鐜 +% \begin{macro}{abstract} +% 涓枃鎽樿鐜銆� % \begin{macrocode} -\NewDocumentEnvironment{abstract} {} - { \use:c { @@_print_abstract_ \g_@@_info_diploma_tl : } } +\NewDocumentEnvironment{abstract} { +b } + { \use:c { @@_print_abstract_ \g_@@_info_diploma_tl : } #1 } { \@@_print_keywords: \newpage } -\NewDocumentEnvironment{abstract*} {} - { \use:c { @@_print_abstract_en_ \g_@@_info_diploma_tl : } } +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{abstract*} +% 鑻辨枃鎽樿鐜銆俓pkg{xparse} 鐩墠涓嶆敮鎸佸悎骞跺甫鏈夋槦鍙风殑鐜锛屽洜姝ら渶瑕佸崟鐙畾涔夈€� +% \begin{macrocode} +\NewDocumentEnvironment{abstract*} { +b } + { \use:c { @@_print_abstract_en_ \g_@@_info_diploma_tl : } #1 } { \@@_print_keywords_en: \cleardoublepage } %</class> % \end{macrocode} -% -% -% +% \end{macro} % % \end{implementation} %