Skip to content

Commit

Permalink
Update docs, expand keys
Browse files Browse the repository at this point in the history
  • Loading branch information
LogCreative committed Mar 16, 2023
1 parent 3af511d commit 9c6505d
Showing 1 changed file with 16 additions and 14 deletions.
30 changes: 16 additions & 14 deletions sjtutex/source/sjtutex.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,8 @@
% \begin{itemize}
% \item 在 \cls{sjtuthesis} 文档类中,现在推荐使用以语言名称子域 \meta{lang}
% (比如 \opt{zh} 或 \opt{en})下的键来设定对应语言的论文信息,见第 \ref{sec:sjtuthesiskey} 节;
% 省略语言子域、带“*”的项目表示对应的英文字段属于老用法,仍然兼容但请及时更新至新用法。
% 省略语言子域不带“*”的项目表示对应的中文字段、带“*”的项目表示对应的英文字段属于老用法,
% 仍然兼容但请及时更新至新用法。
% \item 在 \cls{sjtureport} 和 \cls{sjtuarticle} 文档类中,不需要使用语言名称子域。
% 此时推荐直接使用标准接口来设定这些信息,这些标准接口不属于键值列表,应当直接写在导言区内,
% 见第 \ref{sec:sjtureportcmd} 节。
Expand All @@ -762,38 +763,38 @@
% \paragraph{适用于 \cls{sjtuthesis} 文档类的键}
% \label{sec:sjtuthesiskey}
%
% \begin{function}[rEXP]{info/<lang>/title}
% \begin{function}[rEXP,updated=2023-03-14]{info/zh/title,info/en/title}
% \begin{sjtusyntax}
% (*\meta{lang}*)/title = (*\marg{标题}*)
% \end{sjtusyntax}
% 标题。
% \end{function}
%
% \begin{function}[rEXP]{info/<lang>/display-title}
% \begin{function}[rEXP,updated=2023-03-14]{info/zh/display-title,info/en/display-title}
% \begin{sjtusyntax}
% (*\meta{lang}*)/display-title = (*\marg{标题页标题}*)
% \end{sjtusyntax}
% 标题页中的题目。默认为跟随对应语言的标题。
% 如果标题过长,可以尝试使用“|\\|”手动断行。
% \end{function}
%
% \begin{function}[rEXP,added=2022-12-17,updated=2022-12-23]{info/<lang>/subject}
% \begin{function}[rEXP,added=2022-12-17,updated=2022-03-14]{info/zh/subject,info/en/subject}
% \begin{sjtusyntax}
% (*\meta{lang}*)/subject = (*\marg{主题}*)
% \end{sjtusyntax}
% 文档主题。一般显示在中文标题页校徽下方。默认值类似于“上海交通大学学士学位论文” 或
% “A Dissertation Submitted to Shanghai Jiao Tong University for Bachelor Degree”。
% \end{function}
%
% \begin{function}[rEXP]{info/<lang>/keywords}
% \begin{function}[rEXP,updated=2023-03-14]{info/zh/keywords,info/en/keywords}
% \begin{sjtusyntax}
% (*\meta{lang}*)/keywords = (*\marg{中文关键字}*)
% \end{sjtusyntax}
% 关键字列表。各关键字之间需使用英文逗号隔开。
% 为防止歧义,可以用分组括号“|{...}|”把各字段括起来。
% \end{function}
%
% \begin{function}[rEXP]{info/<lang>/author}
% \begin{function}[rEXP,updated=2023-03-14]{info/zh/author,info/en/author}
% \begin{sjtusyntax}
% (*\meta{lang}*)/author = (*\marg{姓名}*)
% \end{sjtusyntax}
Expand All @@ -807,8 +808,9 @@
% 学号。该键语言子域不是必须的。
% \end{function}
%
% \begin{function}[rEXP,updated=2022-12-23]{info/<lang>/supervisor,
% info/<lang>/assoc-supervisor,info/<lang>/co-supervisor}
% \begin{function}[rEXP,updated=2023-03-14]{info/zh/supervisor,info/en/supervisor,
% info/zh/assoc-supervisor,info/en/assoc-supervisor,
% info/zh/co-supervisor,info/en/co-supervisor}
% \begin{sjtusyntax}
% (*\meta{lang}*)/supervisor = (*\marg{导师姓名}*)
% (*\meta{lang}*)/assoc-supervisor = (*\marg{副导师姓名}*)
Expand All @@ -817,7 +819,7 @@
% 导师、副导师、联合导师姓名。
% \end{function}
%
% \begin{function}[rEXP]{info/<lang>/degree}
% \begin{function}[rEXP,updated=2023-03-14]{info/zh/degree,info/en/degree}
% \begin{sjtusyntax}
% (*\meta{lang}*)/degree = (*\marg{学位名称}*)
% \end{sjtusyntax}
Expand All @@ -826,21 +828,21 @@
% 学士论文无需标注。
% \end{function}
%
% \begin{function}[rEXP]{info/<lang>/department}
% \begin{function}[rEXP,updated=2023-03-14]{info/zh/department,info/en/department}
% \begin{sjtusyntax}
% (*\meta{lang}*)/department = (*\marg{院系名称}*)
% \end{sjtusyntax}
% 院系名称。
% \end{function}
%
% \begin{function}[rEXP]{info/<lang>/major}
% \begin{function}[rEXP,updated=2023-03-14]{info/zh/major,info/en/major}
% \begin{sjtusyntax}
% (*\meta{lang}*)/major = (*\marg{专业名称}*)
% \end{sjtusyntax}
% 专业名称。
% \end{function}
%
% \begin{function}[rEXP]{info/<lang>/fund}
% \begin{function}[rEXP,updated=2023-03-14]{info/zh/fund,info/en/fund}
% \begin{sjtusyntax}
% (*\meta{lang}*)/fund = (*\marg{资助基金名称}*)
% \end{sjtusyntax}
Expand All @@ -856,7 +858,8 @@
% 即 |yyyy-mm-dd| 或 |yyyy-mm|,否则设定无效。该键语言子域不是必须的。
% \end{function}
%
% \begin{function}[rEXP,added=2022-12-17]{info/<lang>/display-date}
% \begin{function}[rEXP,added=2023-03-14]{info/zh/display-date,
% info/en/display-date}
% \begin{sjtusyntax}
% (*\meta{lang}*)/display-date = (*\marg{日期文字}*)
% \end{sjtusyntax}
Expand Down Expand Up @@ -1144,7 +1147,6 @@
% \end{function}
%
% \begin{table}[ht]
% \vspace{-10ex}
% \centering\small
% \begin{threeparttable}
% \caption{目录和索引表}
Expand Down

0 comments on commit 9c6505d

Please sign in to comment.