diff options
Diffstat (limited to 'macros/latex/contrib/sjtutex/sjtutex.dtx')
-rw-r--r-- | macros/latex/contrib/sjtutex/sjtutex.dtx | 31 |
1 files changed, 22 insertions, 9 deletions
diff --git a/macros/latex/contrib/sjtutex/sjtutex.dtx b/macros/latex/contrib/sjtutex/sjtutex.dtx index ab429d6850..bcf46b7fbe 100644 --- a/macros/latex/contrib/sjtutex/sjtutex.dtx +++ b/macros/latex/contrib/sjtutex/sjtutex.dtx @@ -216,7 +216,7 @@ Please update your TeX distribution}{}} %</class> %<*!(driver|install)> -%<+!driver>\GetIdInfo$Id: sjtutex.dtx 6d52363 2024-04-05 19:40:30 +0800 Alexara Wu <alexarawu@outlook.com> $ +%<+!driver>\GetIdInfo$Id: sjtutex.dtx 78f11bc 2024-06-29 23:01:32 +0800 Alexara Wu <alexarawu@outlook.com> $ %<class&thesis> {Thesis document class for Shanghai Jiao Tong University (SJTUTeX)} %<class&thesis>\ProvidesExplClass{sjtuthesis} %<class&report> {Report document class for Shanghai Jiao Tong University (SJTUTeX)} @@ -335,7 +335,7 @@ %<font&cjk&founder&zh>\ProvidesExplFile{sjtu-cjk-font-founder-zh.def} %<font&cjk&founder&ja> {Founder CJK fonts definition for Japanese (SJTUTeX)} %<font&cjk&founder&ja>\ProvidesExplFile{sjtu-cjk-font-founder-ja.def} -%<!driver> {\ExplFileDate}{2.1.2}{\ExplFileDescription} +%<!driver> {\ExplFileDate}{2.1.3}{\ExplFileDescription} %</!(driver|install)> % %<*driver> @@ -343,7 +343,7 @@ \documentclass{ctxdoc} \newcommand{\sjtutex}{SJTU\TeX} \expandafter\def\csname ver@\jobname.dtx\endcsname - {2024/04/05 v2.1.2 SJTUTeX} + {2024/06/29 v2.1.3 SJTUTeX} \usepackage{float} \usepackage{multirow} \usepackage{longtable} @@ -1638,6 +1638,14 @@ % \urlprefix\url{https://ctan.org/pkg/ctex} % \urlprefix\CTANurl[文档及源代码:]{language/chinese/ctex/ctex.pdf} % +% \bibitem{zhlineskip} +% 张瑞熹. +% \newblock \textit{zhlineskip 宏包}\allowbreak[EB/OL]. +% \newblock version 1.0e, +% \newblock (2019-05-15). +% \urlprefix\url{https://ctan.org/pkg/zhlineskip} +% \urlprefix\CTANurl[文档:]{language/chinese/zhlineskip/zhlineskip.pdf} +% % \bibitem{fduthesis} % 曾祥东. % \newblock \textit{fduthesis: 复旦大学论文模板}\allowbreak[EB/OL]. @@ -4076,6 +4084,11 @@ %<thesis> \exp_not:N \zihao { \g_@@_zihao_tl } %<!thesis> equation-font .initial:V = \c_empty_tl } +% \end{macrocode} +% \end{macro} +% +% 借用 \pkg{zhlineskip} 宏包的代码设置行间公式字体。 +% \begin{macrocode} \clist_map_inline:nn { array, matrix, pmatrix, bmatrix, Bmatrix, vmatrix, Vmatrix, @@ -4101,7 +4114,6 @@ \spread@equation } % \end{macrocode} -% \end{macro} % % \subsection{数学环境} % @@ -5318,23 +5330,24 @@ % \end{macro} % % \changes{v2.1.2}{2024/03/31}{改用 \pkg{titletoc} 设置目录格式。} +% \changes{v2.1.3}{2024/06/28}{更新目录样式。} % \begin{macrocode} \tl_set:Nn \SJTU@leaders { \titlerule* [ 4bp ] { . } } \contentsmargin [ 2.55 em ] { 0 pt } %<article>\titlecontents { section } %<!article>\titlecontents { chapter } [ 0 pt ] { \addvspace { 6 bp } \bfseries } - { \contentspush { \thecontentslabel \quad } } { } + { \contentspush { \thecontentslabel \enskip } } { } { \SJTU@leaders \thecontentspage } %<article>\titlecontents { subsection } %<!article>\titlecontents { section } [ 2 em ] { } - { \contentspush { \thecontentslabel \quad } } { } + { \contentspush { \thecontentslabel \enskip } } { } { \SJTU@leaders \thecontentspage } %<article>\titlecontents { subsubsection } %<!article>\titlecontents { subsection } [ 4 em ] { } - { \contentspush { \thecontentslabel \quad } } { } + { \contentspush { \thecontentslabel \enskip } } { } { \SJTU@leaders \thecontentspage } % \end{macrocode} % @@ -5357,7 +5370,7 @@ { \SJTU@listof {#4} {#2} } \titlecontents {#2} [ 0 pt ] { } - { \contentspush { #3 \space \thecontentslabel \quad } } { } + { \contentspush { #3 \space \thecontentslabel \enskip } } { } { \SJTU@leaders \thecontentspage } \exp_args:Nnv \contentsuse {#2} { ext@ #2 } } @@ -6044,7 +6057,7 @@ { address } { Shanghai,~ P.R.~ China } , { author } { Author } , { supervisor } { Supervisor } , - { assoc_supervisor } { Assoc.~ Supervisor } , + { assoc_supervisor } { Assoc.\ Supervisor } , { co_supervisor } { Co-supervisor } , { title_page } { Title~ Page } , { declaration } { Statutory~ Declaration } , |