diff options
author | Karl Berry <karl@freefriends.org> | 2024-03-23 21:17:59 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-03-23 21:17:59 +0000 |
commit | f55bd8ba20ecc77b23174f794fd5417aa7b53927 (patch) | |
tree | ce96510b2a952cb4b23f02d7877ffd4d775bb6fc | |
parent | 410c3a3e5528cb1b98ca255528583537d3fd4a3c (diff) |
sjtutex (23mar24)
git-svn-id: svn://tug.org/texlive/trunk@70739 c570f23f-e606-0410-a88d-b1316a301751
61 files changed, 516 insertions, 208 deletions
diff --git a/Master/texmf-dist/doc/latex/sjtutex/sjtutex.pdf b/Master/texmf-dist/doc/latex/sjtutex/sjtutex.pdf Binary files differindex c14c72d1d62..049b2a97ce6 100644 --- a/Master/texmf-dist/doc/latex/sjtutex/sjtutex.pdf +++ b/Master/texmf-dist/doc/latex/sjtutex/sjtutex.pdf diff --git a/Master/texmf-dist/source/latex/sjtutex/sjtutex.dtx b/Master/texmf-dist/source/latex/sjtutex/sjtutex.dtx index 4e340a821f8..3c3b5b9fbe8 100644 --- a/Master/texmf-dist/source/latex/sjtutex/sjtutex.dtx +++ b/Master/texmf-dist/source/latex/sjtutex/sjtutex.dtx @@ -216,7 +216,7 @@ Please update your TeX distribution}{}} %</class> %<*!(driver|install)> -%<+!driver>\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +%<+!driver>\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +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}{\ExplFileDescription} +%<!driver> {\ExplFileDate}{2.1.1}{\ExplFileDescription} %</!(driver|install)> % %<*driver> @@ -343,7 +343,7 @@ \documentclass{ctxdoc} \newcommand{\sjtutex}{SJTU\TeX} \expandafter\def\csname ver@\jobname.dtx\endcsname - {2024/02/18 v2.1 SJTUTeX} + {2024/03/23 v2.1.1 SJTUTeX} \usepackage{float} \usepackage{multirow} \usepackage{longtable} @@ -1130,6 +1130,22 @@ % 默认为 |\zihao{5}\normalfont|,正常字重五号字。 % \end{function} % +% \begin{function}[added=2024-03-21]{style/theorem-header-font} +% \begin{syntax} +% \OPT{theorem-header-font} = \marg{字体设置} +% \end{syntax} +% 定理头(即标题)字体。 +% 默认为 |\bfseries\CJKsffamily|,黑体加粗。 +% \end{function} +% +% \begin{function}[added=2024-03-21]{style/theorem-body-font} +% \begin{syntax} +% \OPT{theorem-body-font} = \marg{字体设置} +% \end{syntax} +% 定理内容字体。 +% 默认为 |\normalfont|,和正文字体相同。 +% \end{function} +% % \begin{function}[added=2023-03-28]{style/fnmark-style} % \begin{syntax} % \OPT{fnmark-style} = <plain|circled> @@ -1399,20 +1415,19 @@ % % \begin{function}{assumption,axiom,conjecture,corollary,definition,example, % exercise,lemma,problem,proposition,theorem} -% \sjtutex{} 预定义了一系列数学环境。在启用 \pkg{ntheorem} 或 \pkg{amsthm} -% 宏包后有效,环境如表 \ref{tab:theorems} 所示。 +% \sjtutex{} 预定义了一系列数学环境,如表 \ref{tab:theorems} 所示, +% 在启用 \pkg{amsthm} 或 \pkg{ntheorem} 宏包后有效。 % \begin{table}[H] -% \centering -% \small +% \centering\small % \caption{预定义的数学环境} % \label{tab:theorems} % \begin{tabular}{*{7}{l}} % \toprule -% \env{assumption} & \env{axiom} & \env{conjecture} & \env{corollary} & \env{definition} & \env{example} & \env{exercise} \\ -% 假设 & 公理 & 猜想 & 推论 & 定义 & 例 & 练习 \\ +% \env{assumption} & \env{axiom} & \env{conjecture} & \env{corollary} & \env{definition} & \env{example} & \env{exercise} \\ +% 假设 & 公理 & 猜想 & 推论 & 定义 & 例 & 练习 \\ % \midrule -% \env{lemma} & \env{problem} & \env{proof} & \env{proposition} & \env{remark} & \env{solution} & \env{theorem} \\ -% 引理 & 问题 & 证明 & 命题 & 注 & 解 & 定理 \\ +% \env{lemma} & \env{problem} & \env{proof} & \env{proposition} & \env{remark} & \env{solution} & \env{theorem} \\ +% 引理 & 问题 & 证明 & 命题 & 注 & 解 & 定理 \\ % \bottomrule % \end{tabular} % \end{table} @@ -1573,14 +1588,14 @@ % \bibitem{LiuHY2013} % 刘海洋. % \newblock \textit{\LaTeX{} 入门} [M]. -% \newblock 北京: 电子工业出版社, 2013 +% \newblock 北京: 电子工业出版社, 2013. % % \subsection*{标准、规范} % % \bibitem{gb-t-7713.1-2006} % 国务院学位委员会办公室, 全国信息与文献标准化技术委员会. % \newblock \textit{学位论文编写规则: GB/T 7713.1--2006}\allowbreak[S]. -% \newblock 北京: 中国标准出版社, 2007 +% \newblock 北京: 中国标准出版社, 2007. % % \bibitem{cy-t-35-2001} % 全国信息与文献标准化技术委员会第七分委员会, 中华人民共和国新闻出版总署. @@ -4084,6 +4099,26 @@ % \end{macrocode} % \end{macro} % +% \subsection{数学环境} +% +% 可以选用 \pkg{amsthm} 或 \pkg{ntheorem} 宏包控制数学环境样式, +% 并提供对证明环境 \env{proof} 的支持。 +% +% \changes{v2.1.1}{2024/03/21}{新增 \opt{style/theorem-header-font}、 +% \opt{style/theorem-body-font} 选项。} +% \begin{macro}{style/theorem-header-font,style/theorem-body-font} +% 预定义的数学环境的定理头(即标题)以及定理内容的字体。 +% \begin{macrocode} +\keys_define:nn { sjtu / style } + { + theorem-header-font .tl_set:N = \SJTU@style@thm@header@font , + theorem-header-font .initial:n = \bfseries \CJKsffamily , + theorem-body-font .tl_set:N = \SJTU@style@thm@body@font , + theorem-body-font .initial:n = \normalfont , + } +% \end{macrocode} +% \end{macro} +% % \subsection{浮动体} % % 下面这组命令使浮动对象的缺省值稍微宽松一点,从而防止幅度对象占据过多的 @@ -5695,8 +5730,12 @@ { \AtBeginEnvironment { longtable } { \SJTU@style@float@font } } % \end{macrocode} % +% \changes{v2.1.1}{2024/03/21}{预定义的数学环境声明移至导言区末尾, +% 且不会覆盖重名的已定义环境。} % \subsubsection{\pkg{amsthm} 宏包和 \pkg{ntheorem} 宏包} % +% 预定义的数学环境,不包括证明环境 \env{proof}。 +% 定义前会检测环境是否已经存在,避免覆盖用户的定义。 % \begin{macrocode} \cs_new_protected:Nn \@@_new_theorems: { @@ -5705,15 +5744,27 @@ assumption, axiom, conjecture, corollary, definition, example, exercise, lemma, problem, proposition, theorem } -%<!article> { \exp_args:Nnv \newtheorem {##1} { c_@@_name_ ##1 _tl } [ chapter ] } -%<article> { \exp_args:Nnv \newtheorem {##1} { c_@@_name_ ##1 _tl } } + { + \cs_if_exist:cF {##1} +%<*!article> + { + \exp_args:Nnv \newtheorem {##1} { c_@@_name_ ##1 _tl } + [ chapter ] + } +%</!article> +%<article> { \exp_args:Nnv \newtheorem {##1} { c_@@_name_ ##1 _tl } } + } \clist_map_inline:nn { remark, solution } - { \exp_args:NNnv \newtheorem* {##1} { c_@@_name_ ##1 _tl } } + { + \cs_if_exist:cF {##1} + { \exp_args:NNnv \newtheorem* {##1} { c_@@_name_ ##1 _tl } } + } } % \end{macrocode} % -% \pkg{amsthm} 宏包。 +% \pkg{amsthm} 会定义 \tn{openbox},为避免与一些宏包冲突, +% 我们先保存 \tn{openbox},然后取消定义。 % \begin{macrocode} \ctex_at_begin_package:nn { amsthm } { @@ -5732,36 +5783,95 @@ \RenewDocumentEnvironment { proof } { O{ \proofname } } { \par \pushQED { \qed } - \normalfont \dim_zero:N \topsep + \SJTU@style@thm@body@font \dim_zero:N \topsep \trivlist \item [ \skip_horizontal:N \labelsep - \bfseries \CJKsffamily #1 \@addpunct { \enskip } + \SJTU@style@thm@header@font #1 \@addpunct { \enskip } ] \ignorespaces } { \popQED \endtrivlist \@endpefalse } \newtheoremstyle { sjtu } - { } { } { \normalfont } { } { \bfseries \CJKsffamily } { } { \ccwd } { } - \theoremstyle { sjtu } - \@@_new_theorems: + { } { } { \SJTU@style@thm@body@font } { } + { \SJTU@style@thm@header@font } { } { \ccwd } { } } % \end{macrocode} % -% \pkg{ntheorem} 宏包。 +% 如果用户加载了 \pkg{amsthm} 或 \pkg{ntheorem} 宏包, +% 则在导言区末尾应用预设的样式定义定理环境。 % \begin{macrocode} -\ctex_at_end_package:nn { ntheorem } +\ctex_at_end_preamble:n { - \@@_cs_provide_eq:NN \QED \c_empty_tl - \theoremheaderfont { \bfseries \CJKsffamily } - \theorembodyfont { \normalfont } - \theoremseparator { \enskip } - \theoremsymbol { \ensuremath { \QED } } - \qedsymbol { \ensuremath { \QED } } - \newtheorem* { proof } { \proofname } - \theoremsymbol { } - \@@_new_theorems: + \@ifpackageloaded { amsthm } + { + \theoremstyle { sjtu } + \@@_new_theorems: + } + { + \@ifpackageloaded { ntheorem } + { + \@@_cs_provide_eq:NN \QED \c_empty_tl + \theoremheaderfont { \SJTU@style@thm@header@font } + \theorembodyfont { \SJTU@style@thm@body@font } + \theoremseparator { \enskip } + \theoremsymbol { \ensuremath { \QED } } + \qedsymbol { \ensuremath { \QED } } + \cs_if_exist:NF \proof + { \newtheorem* { proof } { \proofname } } + \theoremsymbol { } + \@@_new_theorems: + } { } + } + } +% \end{macrocode} +% +% \changes{v2.1.1}{2024/03/22}{添加 \pkg{thmtools} 宏包支持。} +% \subsubsection{\pkg{thmtools} 宏包} +% +% 使用 \pkg{tocloft} 包设置 \tn{listoftheorems} 的样式。 +% \begin{macrocode} +\ctex_at_end_package:nn { thmtools } + { + \newlistentry { thm } { loe } { 0 } + \newcounter { loedepth } + \setcounter { loedepth } { 1 } + \skip_set:Nn \cftthmnumwidth { 2.3 em } + \define@key { thmt-listof } { numwidth } + { \skip_set:Nn \cftthmnumwidth {#1} } + \cs_set:Npn \thmtlo@newentry + { \cs_set_eq:cN { l@ \thmt@envname } \l@thm } + \cs_set:Npn \thmtlo@chaptervspacehack { } + \RenewDocumentCommand \listoftheorems { s O{ } } + { + \group_begin: + \setlisttheoremstyle {#2} + \IfBooleanTF {#1} + { \SJTU@head* { \listtheoremname } } + { \SJTU@head { \listtheoremname } } + \cs_set:Npn \contentsline ##1 + { \use:c { thmt@contentsline@ ##1 } {##1} } + \clist_map_inline:Nn \thmt@allenvs + { + \tl_set:Nn \thmt@envname {##1} + \thmtlo@newentry + } + \@fileswfalse + \AddToHook { enddocument / afterlastpage } + { + \if@filesw + \@ifundefined { tf@loe } + { + \expandafter\newwrite\csname tf@loe\endcsname + \immediate\openout \csname tf@loe\endcsname \jobname.loe\relax + } { } + \fi + } + \cs_set:Npn \makebox [##1][##2]##3 { \, ##3 } + \@starttoc { loe } + \group_end: + } } % \end{macrocode} % diff --git a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-adobe-ja.def b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-adobe-ja.def index c4124341291..d5f8e5f8aef 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-adobe-ja.def +++ b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-adobe-ja.def @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {Adobe CJK fonts definition for Japanese (SJTUTeX)} \ProvidesExplFile{sjtu-cjk-font-adobe-ja.def} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \__sjtu_fontset_case:nn { \__sjtu_fontset_error:nn { cjk } { adobe } } { diff --git a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-adobe-zh.def b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-adobe-zh.def index 094b88f7c61..50a73c31be6 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-adobe-zh.def +++ b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-adobe-zh.def @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {Adobe CJK fonts definition for Chinese (SJTUTeX)} \ProvidesExplFile{sjtu-cjk-font-adobe-zh.def} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \__sjtu_fontset_case:nnn { \__sjtu_fontset_error:nn { cjk } { adobe } } { diff --git a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-adobe.def b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-adobe.def index 753f68c86fe..8b4fb5a75a4 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-adobe.def +++ b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-adobe.def @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {Adobe CJK fonts definition (SJTUTeX)} \ProvidesExplFile{sjtu-cjk-font-adobe.def} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \tl_if_eq:NNTF \g__sjtu_lang_tl \c__sjtu_lang_ja_tl { \ctex_file_input:n { sjtu-cjk-font-adobe-ja.def } } { \ctex_file_input:n { sjtu-cjk-font-adobe-zh.def } } diff --git a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-fandol-ja.def b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-fandol-ja.def index 8be2ef811f1..2d32e3d3bf1 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-fandol-ja.def +++ b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-fandol-ja.def @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {Fandol CJK fonts definition for Japanese (SJTUTeX)} \ProvidesExplFile{sjtu-cjk-font-fandol-ja.def} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \__sjtu_fontset_case:nn { \__sjtu_fontset_error:nn { cjk } { fandol } } { diff --git a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-fandol-zh.def b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-fandol-zh.def index 10f04a3274c..64adde7d643 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-fandol-zh.def +++ b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-fandol-zh.def @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {Fandol CJK fonts definition for Chinese (SJTUTeX)} \ProvidesExplFile{sjtu-cjk-font-fandol-zh.def} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \__sjtu_fontset_case:nnn { \__sjtu_fontset_error:nn { cjk } { fandol } } { diff --git a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-fandol.def b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-fandol.def index cb390c7c7a8..821b6cc24e5 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-fandol.def +++ b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-fandol.def @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {Fandol CJK fonts definition (SJTUTeX)} \ProvidesExplFile{sjtu-cjk-font-fandol.def} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \tl_if_eq:NNTF \g__sjtu_lang_tl \c__sjtu_lang_ja_tl { \ctex_file_input:n { sjtu-cjk-font-fandol-ja.def } } { \ctex_file_input:n { sjtu-cjk-font-fandol-zh.def } } diff --git a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-founder-ja.def b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-founder-ja.def index bc07baf4e72..bcb0a076b0a 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-founder-ja.def +++ b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-founder-ja.def @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {Founder CJK fonts definition for Japanese (SJTUTeX)} \ProvidesExplFile{sjtu-cjk-font-founder-ja.def} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \__sjtu_fontset_case:nn { \__sjtu_fontset_error:nn { cjk } { founder } } { diff --git a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-founder-zh.def b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-founder-zh.def index d000e509657..aa5d7f19ff1 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-founder-zh.def +++ b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-founder-zh.def @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {Founder CJK fonts definition for Chinese (SJTUTeX)} \ProvidesExplFile{sjtu-cjk-font-founder-zh.def} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \__sjtu_fontset_case:nn { \ctex_load_zhmap:nnnn { zhsong } { zhhei } { zhfs } { founder } diff --git a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-founder.def b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-founder.def index 4f5fa724c5e..39ebe7fa7a4 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-founder.def +++ b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-founder.def @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {Founder CJK fonts definition (SJTUTeX)} \ProvidesExplFile{sjtu-cjk-font-founder.def} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \tl_if_eq:NNTF \g__sjtu_lang_tl \c__sjtu_lang_ja_tl { \ctex_file_input:n { sjtu-cjk-font-founder-ja.def } } { \ctex_file_input:n { sjtu-cjk-font-founder-zh.def } } diff --git a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-mac-ja.def b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-mac-ja.def index c01e3ecfa17..2e358c05cea 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-mac-ja.def +++ b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-mac-ja.def @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {macOS CJK fonts definition for Japanese (SJTUTeX)} \ProvidesExplFile{sjtu-cjk-font-mac-ja.def} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \__sjtu_fontset_case:nn { \__sjtu_fontset_error:nn { cjk } { mac } } { diff --git a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-mac-zh.def b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-mac-zh.def index 3321386a64a..be07d60ea9f 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-mac-zh.def +++ b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-mac-zh.def @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {macOS CJK fonts definition for Chinese (SJTUTeX)} \ProvidesExplFile{sjtu-cjk-font-mac-zh.def} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \__sjtu_fontset_case:nnn { \__sjtu_fontset_error:nn { cjk } { mac } } { diff --git a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-mac.def b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-mac.def index e735da3642a..f1e2c980508 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-mac.def +++ b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-mac.def @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {macOS CJK fonts definition (SJTUTeX)} \ProvidesExplFile{sjtu-cjk-font-mac.def} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \tl_if_eq:NNTF \g__sjtu_lang_tl \c__sjtu_lang_ja_tl { \ctex_file_input:n { sjtu-cjk-font-mac-ja.def } } { \ctex_file_input:n { sjtu-cjk-font-mac-zh.def } } diff --git a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-ubuntu-ja.def b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-ubuntu-ja.def index 460cb722e19..ba710f03ecb 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-ubuntu-ja.def +++ b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-ubuntu-ja.def @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {Ubuntu CJK fonts definition for Japanese (SJTUTeX)} \ProvidesExplFile{sjtu-cjk-font-ubuntu-ja.def} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \__sjtu_fontset_case:nn { \__sjtu_fontset_error:nn { cjk } { ubuntu } } { diff --git a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-ubuntu-zh.def b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-ubuntu-zh.def index 5034ebe306a..aeece35c64a 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-ubuntu-zh.def +++ b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-ubuntu-zh.def @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {Ubuntu CJK fonts definition for Chinese (SJTUTeX)} \ProvidesExplFile{sjtu-cjk-font-ubuntu-zh.def} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \__sjtu_fontset_case:nnn { \__sjtu_fontset_error:nn { cjk } { ubuntu } } { diff --git a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-ubuntu.def b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-ubuntu.def index 9b3c0ec770f..160cdfbeeb3 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-ubuntu.def +++ b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-ubuntu.def @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {Ubuntu CJK fonts definition (SJTUTeX)} \ProvidesExplFile{sjtu-cjk-font-ubuntu.def} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \tl_if_eq:NNTF \g__sjtu_lang_tl \c__sjtu_lang_ja_tl { \ctex_file_input:n { sjtu-cjk-font-ubuntu-ja.def } } { \ctex_file_input:n { sjtu-cjk-font-ubuntu-zh.def } } diff --git a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-windows-ja.def b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-windows-ja.def index 218f55885c4..96231571727 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-windows-ja.def +++ b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-windows-ja.def @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {Windows CJK fonts definition for Japanese (SJTUTeX)} \ProvidesExplFile{sjtu-cjk-font-windows-ja.def} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \__sjtu_fontset_case:nn { \__sjtu_fontset_error:nn { cjk } { windows } } { diff --git a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-windows-zh.def b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-windows-zh.def index 649f2e4f6ab..fc3dbad3fdd 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-windows-zh.def +++ b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-windows-zh.def @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {Windows CJK fonts definition for Chinese (SJTUTeX)} \ProvidesExplFile{sjtu-cjk-font-windows-zh.def} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \__sjtu_fontset_case:nn { \ctex_load_zhmap:nnnn { zhsong } { zhhei } { zhfs } { windows } diff --git a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-windows.def b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-windows.def index 19ee341712d..2699f68c76e 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-windows.def +++ b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-cjk-font-windows.def @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {Windows CJK fonts definition (SJTUTeX)} \ProvidesExplFile{sjtu-cjk-font-windows.def} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \tl_if_eq:NNTF \g__sjtu_lang_tl \c__sjtu_lang_ja_tl { \ctex_file_input:n { sjtu-cjk-font-windows-ja.def } } { \ctex_file_input:n { sjtu-cjk-font-windows-zh.def } } diff --git a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-math-font-cambria.def b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-math-font-cambria.def index cb87f3e4121..8ebb8e7dfb6 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-math-font-cambria.def +++ b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-math-font-cambria.def @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {Cambria math fonts definition (SJTUTeX)} \ProvidesExplFile{sjtu-math-font-cambria.def} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \__sjtu_fontset_case:nn { \__sjtu_fontset_error:nn { math } { cambria } } { diff --git a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-math-font-libertinus.def b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-math-font-libertinus.def index bff7652b8c5..a6537a3ada5 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-math-font-libertinus.def +++ b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-math-font-libertinus.def @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {Libertinus math fonts definition (SJTUTeX)} \ProvidesExplFile{sjtu-math-font-libertinus.def} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \__sjtu_fontset_case:nn { \exp_args:No \PassOptionsToPackage diff --git a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-math-font-lm.def b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-math-font-lm.def index 5e3ffacb662..c30bf9fc719 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-math-font-lm.def +++ b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-math-font-lm.def @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {Latin Modern math fonts definition (SJTUTeX)} \ProvidesExplFile{sjtu-math-font-lm.def} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \RequirePackage { amssymb, upgreek } \SetSymbolFont { operators } { normal } { OT1 } { lmr } { m } { n } \SetSymbolFont { letters } { normal } { OML } { lmm } { m } { it } diff --git a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-math-font-newcm.def b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-math-font-newcm.def index 446015e011b..a50739914d5 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-math-font-newcm.def +++ b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-math-font-newcm.def @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {New Computer Modern math fonts definition (SJTUTeX)} \ProvidesExplFile{sjtu-math-font-newcm.def} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \__sjtu_fontset_case:nn { \__sjtu_fontset_error:nn { math } { newcm } } { diff --git a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-math-font-newpx.def b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-math-font-newpx.def index 5cc9e986db1..e2605054dc8 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-math-font-newpx.def +++ b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-math-font-newpx.def @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {New PX math fonts definition (SJTUTeX)} \ProvidesExplFile{sjtu-math-font-newpx.def} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \tl_set_eq:NN \l__sjtu_save_encodingdefault_tl \encodingdefault \tl_set_eq:NN \l__sjtu_save_rmdefault_tl \rmdefault \tl_set_eq:NN \l__sjtu_save_sfdefault_tl \sfdefault diff --git a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-math-font-newtx.def b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-math-font-newtx.def index d791f6dfead..5eed9f4826b 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-math-font-newtx.def +++ b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-math-font-newtx.def @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {New TX math fonts definition (SJTUTeX)} \ProvidesExplFile{sjtu-math-font-newtx.def} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \tl_set_eq:NN \l__sjtu_save_encodingdefault_tl \encodingdefault \tl_set_eq:NN \l__sjtu_save_rmdefault_tl \rmdefault \tl_set_eq:NN \l__sjtu_save_sfdefault_tl \sfdefault diff --git a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-math-font-stixtwo.def b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-math-font-stixtwo.def index 2e3a569f85e..92869dcf647 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-math-font-stixtwo.def +++ b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-math-font-stixtwo.def @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {STIX Two math fonts definition (SJTUTeX)} \ProvidesExplFile{sjtu-math-font-stixtwo.def} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \__sjtu_fontset_case:nn { \DeclareSizeFunction { sub } { \sub@sfcnt \@font@info } diff --git a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-math-font-times.def b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-math-font-times.def index afd17c65232..6037c40483f 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-math-font-times.def +++ b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-math-font-times.def @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {Times math fonts definition (SJTUTeX)} \ProvidesExplFile{sjtu-math-font-times.def} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \PassOptionsToPackage { Symbol } { upgreek } \RequirePackage { amssymb, upgreek } \tl_set_eq:NN \l__sjtu_save_rmdefault_tl \rmdefault diff --git a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-math-font-xits.def b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-math-font-xits.def index 44c49c1e320..6097bf808eb 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-math-font-xits.def +++ b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-math-font-xits.def @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {XITS math fonts definition (SJTUTeX)} \ProvidesExplFile{sjtu-math-font-xits.def} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \__sjtu_fontset_case:nn { \__sjtu_fontset_error:nn { math } { xits } } { diff --git a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-text-font-cambria.def b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-text-font-cambria.def index bc404960b40..3429d2900ec 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-text-font-cambria.def +++ b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-text-font-cambria.def @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {Cambria text fonts definition (SJTUTeX)} \ProvidesExplFile{sjtu-text-font-cambria.def} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \__sjtu_fontset_case:nn { \__sjtu_fontset_error:nn { text } { cambria } } { diff --git a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-text-font-libertinus.def b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-text-font-libertinus.def index 902c6dd00ff..85b00049d17 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-text-font-libertinus.def +++ b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-text-font-libertinus.def @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {Libertinus text fonts definition (SJTUTeX)} \ProvidesExplFile{sjtu-text-font-libertinus.def} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \__sjtu_fontset_case:nn { \tl_set:Nn \encodingdefault { T1 } diff --git a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-text-font-lm.def b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-text-font-lm.def index 1e3f1b291fd..b56d298f1ea 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-text-font-lm.def +++ b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-text-font-lm.def @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {Latin Modern text fonts definition (SJTUTeX)} \ProvidesExplFile{sjtu-text-font-lm.def} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \__sjtu_fontset_case:nn { \tl_set:Nn \encodingdefault { T1 } diff --git a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-text-font-newcm.def b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-text-font-newcm.def index 2c7f4ca8d21..5bf960483b6 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-text-font-newcm.def +++ b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-text-font-newcm.def @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {New Computer Modern text fonts definition (SJTUTeX)} \ProvidesExplFile{sjtu-text-font-newcm.def} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \__sjtu_fontset_case:nn { \__sjtu_fontset_error:nn { text } { newcm } } { diff --git a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-text-font-newpx.def b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-text-font-newpx.def index 8928afc1204..715f882c037 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-text-font-newpx.def +++ b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-text-font-newpx.def @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {New PX text fonts definition (SJTUTeX)} \ProvidesExplFile{sjtu-text-font-newpx.def} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \__sjtu_fontset_case:nn { \tl_set:Nn \encodingdefault { T1 } diff --git a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-text-font-newtx.def b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-text-font-newtx.def index 2cf10128100..aca1e69d1bc 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-text-font-newtx.def +++ b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-text-font-newtx.def @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {New TX text fonts definition (SJTUTeX)} \ProvidesExplFile{sjtu-text-font-newtx.def} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \__sjtu_fontset_case:nn { \tl_set:Nn \encodingdefault { T1 } diff --git a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-text-font-stixtwo.def b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-text-font-stixtwo.def index 72275b77442..438669cfb20 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-text-font-stixtwo.def +++ b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-text-font-stixtwo.def @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {STIX Two text fonts definition (SJTUTeX)} \ProvidesExplFile{sjtu-text-font-stixtwo.def} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \__sjtu_fontset_case:nn { \tl_set:Nn \encodingdefault { T1 } diff --git a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-text-font-times.def b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-text-font-times.def index 9450f4e0ee1..8b062ad26a3 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-text-font-times.def +++ b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-text-font-times.def @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {Times text fonts definition (SJTUTeX)} \ProvidesExplFile{sjtu-text-font-times.def} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \__sjtu_fontset_case:nn { \tl_set:Nn \encodingdefault { T1 } diff --git a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-text-font-xits.def b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-text-font-xits.def index 67a6819dc68..97e6b64ae19 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-text-font-xits.def +++ b/Master/texmf-dist/tex/latex/sjtutex/font/sjtu-text-font-xits.def @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {XITS text fonts definition (SJTUTeX)} \ProvidesExplFile{sjtu-text-font-xits.def} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \__sjtu_fontset_case:nn { \__sjtu_fontset_error:nn { text } { xits } } { diff --git a/Master/texmf-dist/tex/latex/sjtutex/lang/sjtu-lang-generic-de.def b/Master/texmf-dist/tex/latex/sjtutex/lang/sjtu-lang-generic-de.def index 9e90a5f71ce..ae4a61aa190 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/lang/sjtu-lang-generic-de.def +++ b/Master/texmf-dist/tex/latex/sjtutex/lang/sjtu-lang-generic-de.def @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {German specific definition for generic (SJTUTeX)} \ProvidesExplFile{sjtu-lang-generic-de.def} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \cs_new:Npn \__sjtu_date_aux_de:nnn #1#2#3 { \clist_item:Nn \c__sjtu_name_month_de_clist {#2} ~ diff --git a/Master/texmf-dist/tex/latex/sjtutex/lang/sjtu-lang-generic-en.def b/Master/texmf-dist/tex/latex/sjtutex/lang/sjtu-lang-generic-en.def index 20aeb57c8f6..b3282dc608f 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/lang/sjtu-lang-generic-en.def +++ b/Master/texmf-dist/tex/latex/sjtutex/lang/sjtu-lang-generic-en.def @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {English specific definition for generic (SJTUTeX)} \ProvidesExplFile{sjtu-lang-generic-en.def} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \cs_new:Npn \__sjtu_ordinal_en:n #1 { \int_to_arabic:n {#1} diff --git a/Master/texmf-dist/tex/latex/sjtutex/lang/sjtu-lang-generic-ja.def b/Master/texmf-dist/tex/latex/sjtutex/lang/sjtu-lang-generic-ja.def index 0edf840522b..fe21707462c 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/lang/sjtu-lang-generic-ja.def +++ b/Master/texmf-dist/tex/latex/sjtutex/lang/sjtu-lang-generic-ja.def @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {Japanese specific definition for generic (SJTUTeX)} \ProvidesExplFile{sjtu-lang-generic-ja.def} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \cs_new:Npn \__sjtu_date_aux_ja:nnn #1#2#3 { \int_to_arabic:n {#1} ~ { \exp_not:V \c__sjtu_name_year_ja_tl } ~ diff --git a/Master/texmf-dist/tex/latex/sjtutex/lang/sjtu-lang-generic-zh.def b/Master/texmf-dist/tex/latex/sjtutex/lang/sjtu-lang-generic-zh.def index 7355851fba5..2591bbccd34 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/lang/sjtu-lang-generic-zh.def +++ b/Master/texmf-dist/tex/latex/sjtutex/lang/sjtu-lang-generic-zh.def @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {Chinese specific definition for generic (SJTUTeX)} \ProvidesExplFile{sjtu-lang-generic-zh.def} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \cs_new:Npn \__sjtu_date_aux_zh:nnn #1#2#3 { \int_to_arabic:n {#1} ~ { \exp_not:V \c__sjtu_name_year_zh_tl } ~ diff --git a/Master/texmf-dist/tex/latex/sjtutex/lang/sjtu-lang-thesis-de.def b/Master/texmf-dist/tex/latex/sjtutex/lang/sjtu-lang-thesis-de.def index c365835652b..53e35c9adc1 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/lang/sjtu-lang-thesis-de.def +++ b/Master/texmf-dist/tex/latex/sjtutex/lang/sjtu-lang-thesis-de.def @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {German specific definition for thesis (SJTUTeX)} \ProvidesExplFile{sjtu-lang-thesis-de.def} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \__sjtu_info_keys_define:n { de } \keys_define:nn { sjtu / info / de } { diff --git a/Master/texmf-dist/tex/latex/sjtutex/lang/sjtu-lang-thesis-en.def b/Master/texmf-dist/tex/latex/sjtutex/lang/sjtu-lang-thesis-en.def index 93a5cf238ca..c2645d29b1f 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/lang/sjtu-lang-thesis-en.def +++ b/Master/texmf-dist/tex/latex/sjtutex/lang/sjtu-lang-thesis-en.def @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {English specific definition for thesis (SJTUTeX)} \ProvidesExplFile{sjtu-lang-thesis-en.def} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \__sjtu_info_keys_define:n { en } \keys_define:nn { sjtu / info / en } { diff --git a/Master/texmf-dist/tex/latex/sjtutex/lang/sjtu-lang-thesis-ja.def b/Master/texmf-dist/tex/latex/sjtutex/lang/sjtu-lang-thesis-ja.def index 7cf3a872e28..0396d07efeb 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/lang/sjtu-lang-thesis-ja.def +++ b/Master/texmf-dist/tex/latex/sjtutex/lang/sjtu-lang-thesis-ja.def @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {Japanese specific definition for thesis (SJTUTeX)} \ProvidesExplFile{sjtu-lang-thesis-ja.def} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \__sjtu_info_keys_define:n { ja } \keys_define:nn { sjtu / info / ja } { diff --git a/Master/texmf-dist/tex/latex/sjtutex/lang/sjtu-lang-thesis-zh.def b/Master/texmf-dist/tex/latex/sjtutex/lang/sjtu-lang-thesis-zh.def index 68e5ac5217d..e63e7b57af1 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/lang/sjtu-lang-thesis-zh.def +++ b/Master/texmf-dist/tex/latex/sjtutex/lang/sjtu-lang-thesis-zh.def @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {Chinese specific definition for thesis (SJTUTeX)} \ProvidesExplFile{sjtu-lang-thesis-zh.def} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \__sjtu_info_keys_define:n { zh } \keys_define:nn { sjtu / info / zh } { diff --git a/Master/texmf-dist/tex/latex/sjtutex/name/sjtu-name-generic-de.def b/Master/texmf-dist/tex/latex/sjtutex/name/sjtu-name-generic-de.def index 94e3bde0b93..1ad5bd82f00 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/name/sjtu-name-generic-de.def +++ b/Master/texmf-dist/tex/latex/sjtutex/name/sjtu-name-generic-de.def @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {German name config for generic (SJTUTeX)} \ProvidesExplFile{sjtu-name-generic-de.def} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \clist_const:Nn \c__sjtu_name_month_de_clist { Januar, Februar, März, April, Mai, Juni, diff --git a/Master/texmf-dist/tex/latex/sjtutex/name/sjtu-name-generic-en.def b/Master/texmf-dist/tex/latex/sjtutex/name/sjtu-name-generic-en.def index d1391b22b37..4577f4dcaa6 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/name/sjtu-name-generic-en.def +++ b/Master/texmf-dist/tex/latex/sjtutex/name/sjtu-name-generic-en.def @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {English name config for generic (SJTUTeX)} \ProvidesExplFile{sjtu-name-generic-en.def} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \clist_const:Nn \c__sjtu_name_month_en_clist { January, February, March, April, May, June, diff --git a/Master/texmf-dist/tex/latex/sjtutex/name/sjtu-name-generic-ja.def b/Master/texmf-dist/tex/latex/sjtutex/name/sjtu-name-generic-ja.def index d773fdb1e73..20d6c05cbff 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/name/sjtu-name-generic-ja.def +++ b/Master/texmf-dist/tex/latex/sjtutex/name/sjtu-name-generic-ja.def @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {Japanese name config for generic (SJTUTeX)} \ProvidesExplFile{sjtu-name-generic-ja.def} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \clist_map_inline:nn { { year } { 年 } , diff --git a/Master/texmf-dist/tex/latex/sjtutex/name/sjtu-name-generic-zh.def b/Master/texmf-dist/tex/latex/sjtutex/name/sjtu-name-generic-zh.def index aa18714fdad..4e022a9efe3 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/name/sjtu-name-generic-zh.def +++ b/Master/texmf-dist/tex/latex/sjtutex/name/sjtu-name-generic-zh.def @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {Chinese name config for generic (SJTUTeX)} \ProvidesExplFile{sjtu-name-generic-zh.def} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \clist_map_inline:nn { { year } { 年 } , diff --git a/Master/texmf-dist/tex/latex/sjtutex/name/sjtu-name-thesis-de.def b/Master/texmf-dist/tex/latex/sjtutex/name/sjtu-name-thesis-de.def index d3fc7234e87..e7f615d2a32 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/name/sjtu-name-thesis-de.def +++ b/Master/texmf-dist/tex/latex/sjtutex/name/sjtu-name-thesis-de.def @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {German name config for thesis (SJTUTeX)} \ProvidesExplFile{sjtu-name-thesis-de.def} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \clist_const:Nn \c__sjtu_name_month_de_clist { Januar, Februar, März, April, Mai, Juni, diff --git a/Master/texmf-dist/tex/latex/sjtutex/name/sjtu-name-thesis-en.def b/Master/texmf-dist/tex/latex/sjtutex/name/sjtu-name-thesis-en.def index 777934521dd..1a6572b7e26 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/name/sjtu-name-thesis-en.def +++ b/Master/texmf-dist/tex/latex/sjtutex/name/sjtu-name-thesis-en.def @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {English name config for thesis (SJTUTeX)} \ProvidesExplFile{sjtu-name-thesis-en.def} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \clist_const:Nn \c__sjtu_name_month_en_clist { January, February, March, April, May, June, diff --git a/Master/texmf-dist/tex/latex/sjtutex/name/sjtu-name-thesis-ja.def b/Master/texmf-dist/tex/latex/sjtutex/name/sjtu-name-thesis-ja.def index 022402e6091..a4eabc6e586 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/name/sjtu-name-thesis-ja.def +++ b/Master/texmf-dist/tex/latex/sjtutex/name/sjtu-name-thesis-ja.def @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {Japanese name config for thesis (SJTUTeX)} \ProvidesExplFile{sjtu-name-thesis-ja.def} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \clist_map_inline:nn { { year } { 年 } , diff --git a/Master/texmf-dist/tex/latex/sjtutex/name/sjtu-name-thesis-zh.def b/Master/texmf-dist/tex/latex/sjtutex/name/sjtu-name-thesis-zh.def index 59151f9e06d..02b72f8f3ef 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/name/sjtu-name-thesis-zh.def +++ b/Master/texmf-dist/tex/latex/sjtutex/name/sjtu-name-thesis-zh.def @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {Chinese name config for thesis (SJTUTeX)} \ProvidesExplFile{sjtu-name-thesis-zh.def} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \clist_map_inline:nn { { year } { 年 } , diff --git a/Master/texmf-dist/tex/latex/sjtutex/scheme/sjtu-scheme-de.def b/Master/texmf-dist/tex/latex/sjtutex/scheme/sjtu-scheme-de.def index 4395841b0e9..b227bf151ea 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/scheme/sjtu-scheme-de.def +++ b/Master/texmf-dist/tex/latex/sjtutex/scheme/sjtu-scheme-de.def @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {German scheme (SJTUTeX)} \ProvidesExplFile{sjtu-scheme-de.def} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \keys_set_known:nn { sjtu / name } { contents = { Inhaltsverzeichnis } , diff --git a/Master/texmf-dist/tex/latex/sjtutex/scheme/sjtu-scheme-en.def b/Master/texmf-dist/tex/latex/sjtutex/scheme/sjtu-scheme-en.def index 14a26c673a3..c8f027bf53f 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/scheme/sjtu-scheme-en.def +++ b/Master/texmf-dist/tex/latex/sjtutex/scheme/sjtu-scheme-en.def @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {English scheme (SJTUTeX)} \ProvidesExplFile{sjtu-scheme-en.def} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \ctex_if_autoindent_touched:F { \ctex_set:n { autoindent = 1.5 em } } \ctex_patch_cmd:Nnn \quotation { 1.5em } { \parindent } diff --git a/Master/texmf-dist/tex/latex/sjtutex/scheme/sjtu-scheme-ja.def b/Master/texmf-dist/tex/latex/sjtutex/scheme/sjtu-scheme-ja.def index a870bb21085..2f082c9377f 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/scheme/sjtu-scheme-ja.def +++ b/Master/texmf-dist/tex/latex/sjtutex/scheme/sjtu-scheme-ja.def @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {Japanese scheme (SJTUTeX)} \ProvidesExplFile{sjtu-scheme-ja.def} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \keys_set_known:nn { sjtu / name } { contents = { 目 \protect \quad 次 } , diff --git a/Master/texmf-dist/tex/latex/sjtutex/scheme/sjtu-scheme-zh.def b/Master/texmf-dist/tex/latex/sjtutex/scheme/sjtu-scheme-zh.def index 8ae4d090ddd..cf1894bb915 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/scheme/sjtu-scheme-zh.def +++ b/Master/texmf-dist/tex/latex/sjtutex/scheme/sjtu-scheme-zh.def @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {Chinese scheme (SJTUTeX)} \ProvidesExplFile{sjtu-scheme-zh.def} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \keys_set_known:nn { sjtu / name } { contents = { 目 \protect \quad 录 } , diff --git a/Master/texmf-dist/tex/latex/sjtutex/sjtuarticle.cls b/Master/texmf-dist/tex/latex/sjtutex/sjtuarticle.cls index e879b87d259..7437662a554 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/sjtuarticle.cls +++ b/Master/texmf-dist/tex/latex/sjtutex/sjtuarticle.cls @@ -28,10 +28,10 @@ Release `2020/10/01' or newer is required to\MessageBreak compile this document.\MessageBreak\MessageBreak Please update your TeX distribution}{}} -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {Article document class for Shanghai Jiao Tong University (SJTUTeX)} \ProvidesExplClass{sjtuarticle} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \dim_new:N \l__sjtu_tmp_dim \skip_new:N \l__sjtu_tmp_skip \box_new:N \l__sjtu_tmp_box @@ -639,6 +639,13 @@ \SJTU@style@equation@font \spread@equation } +\keys_define:nn { sjtu / style } + { + theorem-header-font .tl_set:N = \SJTU@style@thm@header@font , + theorem-header-font .initial:n = \bfseries \CJKsffamily , + theorem-body-font .tl_set:N = \SJTU@style@thm@body@font , + theorem-body-font .initial:n = \normalfont , + } \tl_set:Nn \textfraction { 0.15 } \tl_set:Nn \topfraction { 0.85 } \tl_set:Nn \bottomfraction { 0.65 } @@ -947,10 +954,16 @@ assumption, axiom, conjecture, corollary, definition, example, exercise, lemma, problem, proposition, theorem } - { \exp_args:Nnv \newtheorem {##1} { c__sjtu_name_ ##1 _tl } } + { + \cs_if_exist:cF {##1} + { \exp_args:Nnv \newtheorem {##1} { c__sjtu_name_ ##1 _tl } } + } \clist_map_inline:nn { remark, solution } - { \exp_args:NNnv \newtheorem* {##1} { c__sjtu_name_ ##1 _tl } } + { + \cs_if_exist:cF {##1} + { \exp_args:NNnv \newtheorem* {##1} { c__sjtu_name_ ##1 _tl } } + } } \ctex_at_begin_package:nn { amsthm } { @@ -969,32 +982,83 @@ \RenewDocumentEnvironment { proof } { O{ \proofname } } { \par \pushQED { \qed } - \normalfont \dim_zero:N \topsep + \SJTU@style@thm@body@font \dim_zero:N \topsep \trivlist \item [ \skip_horizontal:N \labelsep - \bfseries \CJKsffamily #1 \@addpunct { \enskip } + \SJTU@style@thm@header@font #1 \@addpunct { \enskip } ] \ignorespaces } { \popQED \endtrivlist \@endpefalse } \newtheoremstyle { sjtu } - { } { } { \normalfont } { } { \bfseries \CJKsffamily } { } { \ccwd } { } - \theoremstyle { sjtu } - \__sjtu_new_theorems: - } -\ctex_at_end_package:nn { ntheorem } - { - \__sjtu_cs_provide_eq:NN \QED \c_empty_tl - \theoremheaderfont { \bfseries \CJKsffamily } - \theorembodyfont { \normalfont } - \theoremseparator { \enskip } - \theoremsymbol { \ensuremath { \QED } } - \qedsymbol { \ensuremath { \QED } } - \newtheorem* { proof } { \proofname } - \theoremsymbol { } - \__sjtu_new_theorems: + { } { } { \SJTU@style@thm@body@font } { } + { \SJTU@style@thm@header@font } { } { \ccwd } { } + } +\ctex_at_end_preamble:n + { + \@ifpackageloaded { amsthm } + { + \theoremstyle { sjtu } + \__sjtu_new_theorems: + } + { + \@ifpackageloaded { ntheorem } + { + \__sjtu_cs_provide_eq:NN \QED \c_empty_tl + \theoremheaderfont { \SJTU@style@thm@header@font } + \theorembodyfont { \SJTU@style@thm@body@font } + \theoremseparator { \enskip } + \theoremsymbol { \ensuremath { \QED } } + \qedsymbol { \ensuremath { \QED } } + \cs_if_exist:NF \proof + { \newtheorem* { proof } { \proofname } } + \theoremsymbol { } + \__sjtu_new_theorems: + } { } + } + } +\ctex_at_end_package:nn { thmtools } + { + \newlistentry { thm } { loe } { 0 } + \newcounter { loedepth } + \setcounter { loedepth } { 1 } + \skip_set:Nn \cftthmnumwidth { 2.3 em } + \define@key { thmt-listof } { numwidth } + { \skip_set:Nn \cftthmnumwidth {#1} } + \cs_set:Npn \thmtlo@newentry + { \cs_set_eq:cN { l@ \thmt@envname } \l@thm } + \cs_set:Npn \thmtlo@chaptervspacehack { } + \RenewDocumentCommand \listoftheorems { s O{ } } + { + \group_begin: + \setlisttheoremstyle {#2} + \IfBooleanTF {#1} + { \SJTU@head* { \listtheoremname } } + { \SJTU@head { \listtheoremname } } + \cs_set:Npn \contentsline ##1 + { \use:c { thmt@contentsline@ ##1 } {##1} } + \clist_map_inline:Nn \thmt@allenvs + { + \tl_set:Nn \thmt@envname {##1} + \thmtlo@newentry + } + \@fileswfalse + \AddToHook { enddocument / afterlastpage } + { + \if@filesw + \@ifundefined { tf@loe } + { + \expandafter\newwrite\csname tf@loe\endcsname + \immediate\openout \csname tf@loe\endcsname \jobname.loe\relax + } { } + \fi + } + \cs_set:Npn \makebox [##1][##2]##3 { \, ##3 } + \@starttoc { loe } + \group_end: + } } \cs_new_protected:Npn \__sjtu_newlistof:nnnnn #1#2#3#4#5 { diff --git a/Master/texmf-dist/tex/latex/sjtutex/sjtureport.cls b/Master/texmf-dist/tex/latex/sjtutex/sjtureport.cls index 74ea810422d..f0ad3e1cfa0 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/sjtureport.cls +++ b/Master/texmf-dist/tex/latex/sjtutex/sjtureport.cls @@ -28,10 +28,10 @@ Release `2020/10/01' or newer is required to\MessageBreak compile this document.\MessageBreak\MessageBreak Please update your TeX distribution}{}} -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {Report document class for Shanghai Jiao Tong University (SJTUTeX)} \ProvidesExplClass{sjtureport} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \dim_new:N \l__sjtu_tmp_dim \skip_new:N \l__sjtu_tmp_skip \box_new:N \l__sjtu_tmp_box @@ -666,6 +666,13 @@ \SJTU@style@equation@font \spread@equation } +\keys_define:nn { sjtu / style } + { + theorem-header-font .tl_set:N = \SJTU@style@thm@header@font , + theorem-header-font .initial:n = \bfseries \CJKsffamily , + theorem-body-font .tl_set:N = \SJTU@style@thm@body@font , + theorem-body-font .initial:n = \normalfont , + } \tl_set:Nn \textfraction { 0.15 } \tl_set:Nn \topfraction { 0.85 } \tl_set:Nn \bottomfraction { 0.65 } @@ -978,10 +985,19 @@ assumption, axiom, conjecture, corollary, definition, example, exercise, lemma, problem, proposition, theorem } - { \exp_args:Nnv \newtheorem {##1} { c__sjtu_name_ ##1 _tl } [ chapter ] } + { + \cs_if_exist:cF {##1} + { + \exp_args:Nnv \newtheorem {##1} { c__sjtu_name_ ##1 _tl } + [ chapter ] + } + } \clist_map_inline:nn { remark, solution } - { \exp_args:NNnv \newtheorem* {##1} { c__sjtu_name_ ##1 _tl } } + { + \cs_if_exist:cF {##1} + { \exp_args:NNnv \newtheorem* {##1} { c__sjtu_name_ ##1 _tl } } + } } \ctex_at_begin_package:nn { amsthm } { @@ -1000,32 +1016,83 @@ \RenewDocumentEnvironment { proof } { O{ \proofname } } { \par \pushQED { \qed } - \normalfont \dim_zero:N \topsep + \SJTU@style@thm@body@font \dim_zero:N \topsep \trivlist \item [ \skip_horizontal:N \labelsep - \bfseries \CJKsffamily #1 \@addpunct { \enskip } + \SJTU@style@thm@header@font #1 \@addpunct { \enskip } ] \ignorespaces } { \popQED \endtrivlist \@endpefalse } \newtheoremstyle { sjtu } - { } { } { \normalfont } { } { \bfseries \CJKsffamily } { } { \ccwd } { } - \theoremstyle { sjtu } - \__sjtu_new_theorems: - } -\ctex_at_end_package:nn { ntheorem } - { - \__sjtu_cs_provide_eq:NN \QED \c_empty_tl - \theoremheaderfont { \bfseries \CJKsffamily } - \theorembodyfont { \normalfont } - \theoremseparator { \enskip } - \theoremsymbol { \ensuremath { \QED } } - \qedsymbol { \ensuremath { \QED } } - \newtheorem* { proof } { \proofname } - \theoremsymbol { } - \__sjtu_new_theorems: + { } { } { \SJTU@style@thm@body@font } { } + { \SJTU@style@thm@header@font } { } { \ccwd } { } + } +\ctex_at_end_preamble:n + { + \@ifpackageloaded { amsthm } + { + \theoremstyle { sjtu } + \__sjtu_new_theorems: + } + { + \@ifpackageloaded { ntheorem } + { + \__sjtu_cs_provide_eq:NN \QED \c_empty_tl + \theoremheaderfont { \SJTU@style@thm@header@font } + \theorembodyfont { \SJTU@style@thm@body@font } + \theoremseparator { \enskip } + \theoremsymbol { \ensuremath { \QED } } + \qedsymbol { \ensuremath { \QED } } + \cs_if_exist:NF \proof + { \newtheorem* { proof } { \proofname } } + \theoremsymbol { } + \__sjtu_new_theorems: + } { } + } + } +\ctex_at_end_package:nn { thmtools } + { + \newlistentry { thm } { loe } { 0 } + \newcounter { loedepth } + \setcounter { loedepth } { 1 } + \skip_set:Nn \cftthmnumwidth { 2.3 em } + \define@key { thmt-listof } { numwidth } + { \skip_set:Nn \cftthmnumwidth {#1} } + \cs_set:Npn \thmtlo@newentry + { \cs_set_eq:cN { l@ \thmt@envname } \l@thm } + \cs_set:Npn \thmtlo@chaptervspacehack { } + \RenewDocumentCommand \listoftheorems { s O{ } } + { + \group_begin: + \setlisttheoremstyle {#2} + \IfBooleanTF {#1} + { \SJTU@head* { \listtheoremname } } + { \SJTU@head { \listtheoremname } } + \cs_set:Npn \contentsline ##1 + { \use:c { thmt@contentsline@ ##1 } {##1} } + \clist_map_inline:Nn \thmt@allenvs + { + \tl_set:Nn \thmt@envname {##1} + \thmtlo@newentry + } + \@fileswfalse + \AddToHook { enddocument / afterlastpage } + { + \if@filesw + \@ifundefined { tf@loe } + { + \expandafter\newwrite\csname tf@loe\endcsname + \immediate\openout \csname tf@loe\endcsname \jobname.loe\relax + } { } + \fi + } + \cs_set:Npn \makebox [##1][##2]##3 { \, ##3 } + \@starttoc { loe } + \group_end: + } } \cs_new_protected:Npn \__sjtu_newlistof:nnnnn #1#2#3#4#5 { diff --git a/Master/texmf-dist/tex/latex/sjtutex/sjtuthesis.cls b/Master/texmf-dist/tex/latex/sjtutex/sjtuthesis.cls index 4bea042bbee..30b7863444b 100644 --- a/Master/texmf-dist/tex/latex/sjtutex/sjtuthesis.cls +++ b/Master/texmf-dist/tex/latex/sjtutex/sjtuthesis.cls @@ -28,10 +28,10 @@ Release `2020/10/01' or newer is required to\MessageBreak compile this document.\MessageBreak\MessageBreak Please update your TeX distribution}{}} -\GetIdInfo$Id: sjtutex.dtx b468d42 2024-02-18 19:15:02 +0800 Alexara Wu <alexarawu@outlook.com> $ +\GetIdInfo$Id: sjtutex.dtx ab42a74 2024-03-23 20:09:29 +0800 Alexara Wu <alexarawu@outlook.com> $ {Thesis document class for Shanghai Jiao Tong University (SJTUTeX)} \ProvidesExplClass{sjtuthesis} - {\ExplFileDate}{2.1}{\ExplFileDescription} + {\ExplFileDate}{2.1.1}{\ExplFileDescription} \bool_new:N \l__sjtu_tmp_bool \clist_new:N \l__sjtu_tmp_clist \dim_new:N \l__sjtu_tmp_dim @@ -811,6 +811,13 @@ \SJTU@style@equation@font \spread@equation } +\keys_define:nn { sjtu / style } + { + theorem-header-font .tl_set:N = \SJTU@style@thm@header@font , + theorem-header-font .initial:n = \bfseries \CJKsffamily , + theorem-body-font .tl_set:N = \SJTU@style@thm@body@font , + theorem-body-font .initial:n = \normalfont , + } \tl_set:Nn \textfraction { 0.15 } \tl_set:Nn \topfraction { 0.85 } \tl_set:Nn \bottomfraction { 0.65 } @@ -1596,10 +1603,19 @@ assumption, axiom, conjecture, corollary, definition, example, exercise, lemma, problem, proposition, theorem } - { \exp_args:Nnv \newtheorem {##1} { c__sjtu_name_ ##1 _tl } [ chapter ] } + { + \cs_if_exist:cF {##1} + { + \exp_args:Nnv \newtheorem {##1} { c__sjtu_name_ ##1 _tl } + [ chapter ] + } + } \clist_map_inline:nn { remark, solution } - { \exp_args:NNnv \newtheorem* {##1} { c__sjtu_name_ ##1 _tl } } + { + \cs_if_exist:cF {##1} + { \exp_args:NNnv \newtheorem* {##1} { c__sjtu_name_ ##1 _tl } } + } } \ctex_at_begin_package:nn { amsthm } { @@ -1618,32 +1634,83 @@ \RenewDocumentEnvironment { proof } { O{ \proofname } } { \par \pushQED { \qed } - \normalfont \dim_zero:N \topsep + \SJTU@style@thm@body@font \dim_zero:N \topsep \trivlist \item [ \skip_horizontal:N \labelsep - \bfseries \CJKsffamily #1 \@addpunct { \enskip } + \SJTU@style@thm@header@font #1 \@addpunct { \enskip } ] \ignorespaces } { \popQED \endtrivlist \@endpefalse } \newtheoremstyle { sjtu } - { } { } { \normalfont } { } { \bfseries \CJKsffamily } { } { \ccwd } { } - \theoremstyle { sjtu } - \__sjtu_new_theorems: - } -\ctex_at_end_package:nn { ntheorem } - { - \__sjtu_cs_provide_eq:NN \QED \c_empty_tl - \theoremheaderfont { \bfseries \CJKsffamily } - \theorembodyfont { \normalfont } - \theoremseparator { \enskip } - \theoremsymbol { \ensuremath { \QED } } - \qedsymbol { \ensuremath { \QED } } - \newtheorem* { proof } { \proofname } - \theoremsymbol { } - \__sjtu_new_theorems: + { } { } { \SJTU@style@thm@body@font } { } + { \SJTU@style@thm@header@font } { } { \ccwd } { } + } +\ctex_at_end_preamble:n + { + \@ifpackageloaded { amsthm } + { + \theoremstyle { sjtu } + \__sjtu_new_theorems: + } + { + \@ifpackageloaded { ntheorem } + { + \__sjtu_cs_provide_eq:NN \QED \c_empty_tl + \theoremheaderfont { \SJTU@style@thm@header@font } + \theorembodyfont { \SJTU@style@thm@body@font } + \theoremseparator { \enskip } + \theoremsymbol { \ensuremath { \QED } } + \qedsymbol { \ensuremath { \QED } } + \cs_if_exist:NF \proof + { \newtheorem* { proof } { \proofname } } + \theoremsymbol { } + \__sjtu_new_theorems: + } { } + } + } +\ctex_at_end_package:nn { thmtools } + { + \newlistentry { thm } { loe } { 0 } + \newcounter { loedepth } + \setcounter { loedepth } { 1 } + \skip_set:Nn \cftthmnumwidth { 2.3 em } + \define@key { thmt-listof } { numwidth } + { \skip_set:Nn \cftthmnumwidth {#1} } + \cs_set:Npn \thmtlo@newentry + { \cs_set_eq:cN { l@ \thmt@envname } \l@thm } + \cs_set:Npn \thmtlo@chaptervspacehack { } + \RenewDocumentCommand \listoftheorems { s O{ } } + { + \group_begin: + \setlisttheoremstyle {#2} + \IfBooleanTF {#1} + { \SJTU@head* { \listtheoremname } } + { \SJTU@head { \listtheoremname } } + \cs_set:Npn \contentsline ##1 + { \use:c { thmt@contentsline@ ##1 } {##1} } + \clist_map_inline:Nn \thmt@allenvs + { + \tl_set:Nn \thmt@envname {##1} + \thmtlo@newentry + } + \@fileswfalse + \AddToHook { enddocument / afterlastpage } + { + \if@filesw + \@ifundefined { tf@loe } + { + \expandafter\newwrite\csname tf@loe\endcsname + \immediate\openout \csname tf@loe\endcsname \jobname.loe\relax + } { } + \fi + } + \cs_set:Npn \makebox [##1][##2]##3 { \, ##3 } + \@starttoc { loe } + \group_end: + } } \cs_new_protected:Npn \__sjtu_newlistof:nnnnn #1#2#3#4#5 { |