Skip to content

Commit

Permalink
Merge pull request #434 from slatter666/master
Browse files Browse the repository at this point in the history
对于研究生论文增添分类号、密级、学号的自动同步
  • Loading branch information
TheNetAdmin authored Nov 16, 2024
2 parents 658784c + f6a956b commit dc6dc71
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
10 changes: 7 additions & 3 deletions page/graduate/cover-chn.tex
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,14 @@
\begin{center}
\zihao{-4} \songti
\begin{tabularx}{\textwidth}{l l >{\raggedleft}X l}
分类号: & \underline{按中国图书分类法,学位办网上可查} &
% 分类号: & \underline{按中国图书分类法,学位办网上可查} &
% 单位代码: & \uline{\hfill 10335 \hfill} \\
% 密{\quad}级: & \underline{注明密级与保密期限} &
% 学{\quad\quad}号: & \underline{\multido{}{4}{\quad}}
分类号: & \underline{\hfill \ClassNumber \hfill} &
单位代码: & \uline{\hfill 10335 \hfill} \\
密{\quad}级: & \underline{注明密级与保密期限} &
学{\quad\quad}号: & \underline{\multido{}{4}{\quad}}
密{\quad}级: & \underline{\hfill \Security \hfill} &
学{\quad\quad}号: & \underline{\hfill \StudentID \hfill}
\end{tabularx}
\end{center}

Expand Down
2 changes: 2 additions & 0 deletions zjuthesis.cls
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
family=zjuthesis,
prefix=
}
\DeclareStringOption{ClassNumber}
\DeclareStringOption{Security}
\DeclareStringOption{StudentName}
\DeclareStringOption{StudentID}
\DeclareStringOption{AdvisorName}
Expand Down
2 changes: 2 additions & 0 deletions zjuthesis.tex
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
% Layout Settings
TwoSide = true, % set to false if don't need empty pages
% Thesis Info
ClassNumber = 按中国图书分类法,学位办网上可查, % 按中国图书分类法,学位办网上可查
Security = 注明密级与保密期限, % 注明密级与保密期限,仅限于论文课题来源于国防军工项目,如没有请填:无
StudentName = 姓名,
StudentID = 学号,
AdvisorName = 指导教师,
Expand Down

0 comments on commit dc6dc71

Please sign in to comment.