From 39d550dcb0350fd24c48c64157d642ca97ae2241 Mon Sep 17 00:00:00 2001 From: Yu Xiong <181850195@smail.nju.edu.cn> Date: Sat, 11 Jun 2022 12:02:53 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=8F=AF=E4=BB=A5=E5=8D=95=E7=8B=AC?= =?UTF-8?q?=E6=8C=87=E5=AE=9A=E4=B8=8B=E5=88=92=E7=BA=BF=E7=9A=84=E5=AE=BD?= =?UTF-8?q?=E5=BA=A6=E5=92=8C=E5=81=8F=E7=A7=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 5 +++++ source/njuthesis.dtx | 38 ++++++++++++++++++++++---------------- 2 files changed, 27 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d1dafc9..c2b8670 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ ## [鏈彂甯僝 +# 鏂板 + +- 鍙娇鐢� `\njusetlength` 淇敼涓嬪垝绾跨殑瀹藉害鍜屽亸绉� - [#155] + ## [0.20.0] - 2022-06-10 ## 鏂板 @@ -401,6 +405,7 @@ [#147]: https://github.com/nju-lug/NJUThesis/discussions/147 [#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 [鏇存柊鏃ュ織]: https://keepachangelog.com/zh-CN/1.0.0/ [璇箟鍖栫増鏈琞: https://semver.org/lang/zh-CN/ diff --git a/source/njuthesis.dtx b/source/njuthesis.dtx index 5dacce5..eaa502e 100644 --- a/source/njuthesis.dtx +++ b/source/njuthesis.dtx @@ -118,7 +118,7 @@ To produce the documentation run the original source files ending with %<*!(driver|install)> % ^^A 璇氳€€鐧惧豢锛岄泟鍒涗竴娴� % ^^A 鍗椾含澶у涓€鐧句簩鍗佸懆骞村崕璇為個鎮ㄥ叡瑗勭洓涓撅紒 -%<+!driver>\GetIdInfo $Id: njuthesis.dtx 0.20.0 2022-06-10 14:42:00 +0800 NJU LUG <git+nju-lug-email-3104-issue-@yaoge123.cn>$ +%<+!driver>\GetIdInfo $Id: njuthesis.dtx 0.21.0 2022-06-11 12:00:00 +0800 NJU LUG <git+nju-lug-email-3104-issue-@yaoge123.cn>$ %<class> {Thesis template for Nanjing University} %<class>\ProvidesExplClass{njuthesis} %<definition-ug> {Undergraduate definition file for njuthesis} @@ -210,7 +210,7 @@ To produce the documentation run the original source files ending with % \thanks{E-mail: \href{mailto:git+nju-lug-email-3104-issue-@yaoge123.cn} % {git+nju-lug-email-3104-issue-@yaoge123.cn}}} % -% \date{v0.20.0 \quad 2022-06-10} +% \date{v0.21.0 \quad 2022-06-11} % % \changes{v0.1}{2021/09/04}{寮€濮嬪紑鍙戙€倉 % \changes{v0.2}{2021/09/07}{鍒濇鎼缓浜嗗彲鐢ㄧ殑妯℃澘銆倉 @@ -2801,7 +2801,7 @@ To produce the documentation run the original source files ending with \cs_new_protected:Npn \@@_uline:n #1 { \mode_leave_vertical: - \rule [ -0.55 ex ] { #1 } { 0.4 pt } + \rule [ \c_@@_ulineshifti_dim ] { #1 } { \c_@@_ulinewidthi_dim } \skip_horizontal:n { -#1 } } % \end{macrocode} @@ -2816,9 +2816,9 @@ To produce the documentation run the original source files ending with \cs_new_protected:Npn \@@_uuline:n #1 { \mode_leave_vertical: - \rule [ -0.5 ex ] { #1 } { 0.4 pt } + \rule [ \c_@@_ulineshiftii_dim ] { #1 } { \c_@@_ulinewidthii_dim } \skip_horizontal:n { -#1 } - \rule [ -0.6 ex ] { #1 } { 0.4 pt } + \rule [ \c_@@_ulineshiftiii_dim ] { #1 } { \c_@@_ulinewidthii_dim } \skip_horizontal:n { -#1 } } % \end{macrocode} @@ -6642,21 +6642,27 @@ To produce the documentation run the original source files ending with % \label{subsubsec:constant-length} % % \changes{v0.17}{2022/04/09}{灏嗛暱搴﹀€煎垎绂诲埌 \file{.def} 鏂囦欢銆倉 +% \changes{v0.21}{2022/06/11}{鍙互鍗曠嫭鎸囧畾涓嬪垝绾跨殑瀹藉害鍜屽亸绉汇€倉 % 榛樿闀垮害鍊笺€� % \begin{macrocode} \clist_map_inline:nn { -%<definition-ug> { coverlabel } { 68 pt }, -%<definition-g> { coverlabel } { 100 pt }, - { coverlineskip } { 40 pt }, - { coveruline } { 270 pt }, -%<definition-ug> { emblemwidth } { 68 pt }, -%<definition-g> { emblemwidthi } { 46 pt }, -%<definition-g> { emblemwidthii } { 61 pt }, -%<definition-ug> { namewidth } { 300 pt }, -%<definition-g> { namewidth } { 126 pt }, - { smallhskip } { 5 pt }, - { smallvskip } { 1 ex } +%<definition-ug> { coverlabel } { 68 pt }, +%<definition-g> { coverlabel } { 100 pt }, + { coverlineskip } { 40 pt }, + { coveruline } { 270 pt }, +%<definition-ug> { emblemwidth } { 68 pt }, +%<definition-g> { emblemwidthi } { 46 pt }, +%<definition-g> { emblemwidthii } { 61 pt }, +%<definition-ug> { namewidth } { 300 pt }, +%<definition-g> { namewidth } { 126 pt }, + { ulinewidthi } { .4 pt }, + { ulinewidthii } { .8 pt }, + { ulineshifti } { -.55 ex }, + { ulineshiftii } { -.7 ex }, + { ulineshiftiii } { -1 ex }, + { smallhskip } { 5 pt }, + { smallvskip } { 1 ex } } { \@@_define_dim:nn #1 } % \end{macrocode} -- GitLab