diff --git a/CHANGELOG.md b/CHANGELOG.md index f316d72b9d11efdcc7079930ff4b9d57b83e1373..6d4f3a22712d47629944ecd2e862e37c18a03c78 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ ## [鏈彂甯僝 +## [1.3.0] - 2023-06-06 + ### 鏂板 - 鏂板瀹氱悊绫荤幆澧冨叡浜鏁板櫒閫夐」 `theorem/share-counter` - [#207] @@ -18,6 +20,7 @@ - 淇绂佺敤 `unicode-math` 鏃朵粛浼氶厤缃暟瀛﹀瓧浣撶殑闂 - [#216] - 淇闈炵爺绌剁敓绫诲瀷鏃惰皟鐢� `nl-cover` 閫夐」鐨勯敊璇� - 灏嗘湰绉戠敓灏侀潰淇℃伅鎭㈠鑷� v1.1 鐨勫畫浣撴牸寮� +- 淇鐮旂┒鐢熷嚭鐗堟巿鏉冧功鐨勬墦鍕炬満鍒� - [#223] ### 鏉傞」 @@ -494,11 +497,11 @@ - 妯℃澘涓婁紶鑷� CTAN -[鏈彂甯僝: https://github.com/nju-lug/NJUThesis/compare/v1.2.1...HEAD +[鏈彂甯僝: https://github.com/nju-lug/NJUThesis/compare/v1.3.0...HEAD +[1.3.0]: https://github.com/nju-lug/NJUThesis/compare/v1.2.1...v1.3.0 [1.2.1]: https://github.com/nju-lug/NJUThesis/compare/v1.2.0...v1.2.1 [1.2.0]: https://github.com/nju-lug/NJUThesis/compare/v1.1.2...v1.2.0 - [1.1.2]: https://github.com/nju-lug/NJUThesis/compare/v1.1.1...v1.1.2 [1.1.1]: https://github.com/nju-lug/NJUThesis/compare/v1.1.0...v1.1.1 [1.1.0]: https://github.com/nju-lug/NJUThesis/compare/v1.0.0...v1.1.0 @@ -573,6 +576,7 @@ [#208]: https://github.com/nju-lug/NJUThesis/issues/208 [#213]: https://github.com/nju-lug/NJUThesis/issues/213 [#216]: https://github.com/nju-lug/NJUThesis/issues/216 +[#223]: https://github.com/nju-lug/NJUThesis/issues/223 [鏇存柊鏃ュ織]: https://keepachangelog.com/zh-CN/1.0.0/ [璇箟鍖栫増鏈琞: https://semver.org/lang/zh-CN/ diff --git a/docs/njuthesis-sample.tex b/docs/njuthesis-sample.tex index 0479e124d897f0b070fb86244632d5386de0f36a..9be8e19a1a5bbef1cb64c7b21b87a664c8e15a55 100644 --- a/docs/njuthesis-sample.tex +++ b/docs/njuthesis-sample.tex @@ -1,5 +1,5 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% njuthesis 绀轰緥妯℃澘 v1.2.1 2023-05-03 +% njuthesis 绀轰緥妯℃澘 v1.3.0 2023-06-06 % https://github.com/nju-lug/NJUThesis % % 璐$尞鑰� diff --git a/docs/njuthesis-setup.def b/docs/njuthesis-setup.def index 7d347f13e93cc34dc7314c7a2ef20b991a6c86f2..e30486133c644cddbcb8dbe250630ea500289c35 100644 --- a/docs/njuthesis-setup.def +++ b/docs/njuthesis-setup.def @@ -1,4 +1,4 @@ -% njuthesis 鍙傛暟璁剧疆鏂囦欢 v1.3.0 2023-05-07 +% njuthesis 鍙傛暟璁剧疆鏂囦欢 v1.3.0 2023-06-06 % 涓€浜涙彁閱掞細 % 1. \njusetup 鍐呴儴鍗冧竾涓嶈鏈夌┖琛� @@ -50,6 +50,9 @@ major* = {Chemistry}, % 涓撲笟 % + % major = {杞欢宸ョ▼锛岃蒋浠跺伐绋媫, + % 涓撲笟鍨嬪浣嶅彲浠ョ敤绗簩涓€艰鐩栧皝闈笂鐨勯粯璁よˉ鍏ㄧ増鏈� + % supervisor = {瀵煎笀濮撳悕,鏁欐巿}, supervisor*= {Professor My Supervisor}, % 瀵煎笀鍏ㄧО diff --git a/source/njuthesis.dtx b/source/njuthesis.dtx index 19c4057a5f9be6e50bcea4dd2de9153b15ddf5ec..c2bae8ef2f02ec27095431f038cb2d910396452f 100644 --- a/source/njuthesis.dtx +++ b/source/njuthesis.dtx @@ -112,7 +112,7 @@ To produce the documentation run the original source files ending with % %<class>\NeedsTeXFormat{LaTeX2e} %<*!(driver|install)> -%<+!driver>\GetIdInfo $Id: njuthesis.dtx 1.3.0 2023-05-07 19:00:00 +%<+!driver>\GetIdInfo $Id: njuthesis.dtx 1.3.0 2023-06-06 11:30:00 %<+!driver> +0800 NJU LUG <git+nju-lug-email-3104-issue-@yaoge123.cn>$ %<class> {Thesis template for Nanjing University} %<class>\ProvidesExplClass{njuthesis} @@ -131,7 +131,7 @@ To produce the documentation run the original source files ending with % %<*driver> \ProvidesFile{njuthesis.dtx} - \PassOptionsToClass{codehigh}{njuthesis-doc} +\PassOptionsToClass{codehigh}{njuthesis-doc} \documentclass{njuthesis-doc} \begin{document} \DocInput{njuthesis.dtx} @@ -148,7 +148,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{v1.3.0 \quad 2023-05-07} +% \date{v1.3.0 \quad 2023-06-06} % % \changes{v0.1}{2021/09/04}{寮€濮嬪紑鍙戙€倉 % \changes{v0.2}{2021/09/07}{鍒濇鎼缓浜嗗彲鐢ㄧ殑妯℃澘銆倉 @@ -7031,13 +7031,14 @@ To produce the documentation run the original source files ending with % \end{macrocode} % \end{macro} % -% \begin{macro}{\@@_degree_checkbox:Nn} +% \begin{macro}{\@@_degree_checkbox:nn} +% \changes{v1.3}{2023/06/04}{淇鐮旂┒鐢熷嚭鐗堟巿鏉冧功鐨勬墦鍕炬満鍒躲€倉 % 淇℃伅鏍忕殑瀛︿綅澶嶉€夋銆傛墦鍕剧鍙峰搴� |U+2713|銆� % \begin{macrocode} -\cs_new_protected:Npn \@@_degree_checkbox:Nn #1#2 +\cs_new_protected:Npn \@@_degree_checkbox:nn #1#2 { \bool_lazy_and:nnTF - { \g_@@_opt_academic_bool && #1 } + { #1 \g_@@_opt_academic_bool } { \int_compare_p:n { \g_@@_info_type_int = #2 } } { \makebox [ 0 pt ] [l] { \ensuremath { \mdwhtsquare } } @@ -7068,10 +7069,10 @@ To produce the documentation run the original source files ending with \tl_range:Nnn \g_@@_info_submitdate_tl {1} {4} \\ \c_@@_name_degreea_tl & { - \@@_degree_checkbox:Nn \c_true_bool { 2 } 瀛︽湳瀛︿綅纭曞+ \qquad - \@@_degree_checkbox:Nn \c_false_bool { 2 } 涓撲笟瀛︿綅纭曞+ \\ - \@@_degree_checkbox:Nn \c_true_bool { 3 } 瀛︽湳瀛︿綅鍗氬+ \qquad - \@@_degree_checkbox:Nn \c_false_bool { 3 } 涓撲笟瀛︿綅鍗氬+ + \@@_degree_checkbox:nn { } { 2 } 瀛︽湳瀛︿綅纭曞+ \qquad + \@@_degree_checkbox:nn { ! } { 2 } 涓撲笟瀛︿綅纭曞+ \\ + \@@_degree_checkbox:nn { } { 3 } 瀛︽湳瀛︿綅鍗氬+ \qquad + \@@_degree_checkbox:nn { ! } { 3 } 涓撲笟瀛︿綅鍗氬+ } \\ \c_@@_name_email_tl & \g_@@_info_email_tl \\ \c_@@_name_supvb_tl & @@ -8453,15 +8454,27 @@ To produce the documentation run the original source files ending with %<def-u> { cover label } { \kaishu }, %<def-g> { cover label } { \bfseries }, %<def-p> { cover label } { }, +% \end{macrocode} +% 璋冪敤 \pkg{njuvisual} 鏃剁殑鏍″窘棰滆壊銆� +% \begin{macrocode} { emblem color } { black }, { name color } { black }, +% \end{macrocode} +% 鍚勭骇鏍囬鏍峰紡銆� +% \begin{macrocode} { section } { \bigger \normalfont \sffamily }, { chapter } { \c_@@_fmt_section_tl \centering }, - { chapterintoc } { \c_@@_fmt_section_tl }, { subsection } { \c_@@_fmt_section_tl }, { subsubsection } { \c_@@_fmt_section_tl }, { paragraph } { \c_@@_fmt_section_tl }, { subparagraph } { \c_@@_fmt_section_tl }, +% \end{macrocode} +% 鐩綍涓殑绔犳爣棰樻牱寮忋€� +% \begin{macrocode} + { chapterintoc } { \c_@@_fmt_section_tl }, +% \end{macrocode} +% 鈥滅洰褰曗€濅簩瀛楃殑鏍峰紡銆� +% \begin{macrocode} { toc title } { \centering \zihao { 3 } \bfseries }, { header } { \small \kaishu }, { footer } { \small \rmfamily }