summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/thuthesis/thuthesis.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-03-12 23:04:09 +0000
committerKarl Berry <karl@freefriends.org>2016-03-12 23:04:09 +0000
commite0ef5aa5395ccd3aa5d931352f510bdec4f5140d (patch)
treea644664ab71e57294c06ec941993a0e5add6a616 /Master/texmf-dist/source/latex/thuthesis/thuthesis.dtx
parent2782545551c008d3531563f57fe118036785bf0b (diff)
thuthesis (9mar16)
git-svn-id: svn://tug.org/texlive/trunk@40010 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/thuthesis/thuthesis.dtx')
-rw-r--r--Master/texmf-dist/source/latex/thuthesis/thuthesis.dtx27
1 files changed, 14 insertions, 13 deletions
diff --git a/Master/texmf-dist/source/latex/thuthesis/thuthesis.dtx b/Master/texmf-dist/source/latex/thuthesis/thuthesis.dtx
index 1417c1de67c..914b19fae3e 100644
--- a/Master/texmf-dist/source/latex/thuthesis/thuthesis.dtx
+++ b/Master/texmf-dist/source/latex/thuthesis/thuthesis.dtx
@@ -16,7 +16,7 @@
%
% \iffalse
%<*driver>
-\ProvidesFile{thuthesis.dtx}[2016/02/27 5.2.3 Tsinghua University Thesis Template]
+\ProvidesFile{thuthesis.dtx}[2016/03/12 5.3.0 Tsinghua University Thesis Template]
\documentclass{ltxdoc}
\usepackage{dtx-style}
@@ -420,19 +420,19 @@
%
% \DescribeOption{secret}
% 涉秘论文开关(默认:关闭)。第 \ref{sec:setup-secret} 节两个配置(或命
-% 令)\cs{secretlevel}\marg{级别} 和 \cs{secretyear}\marg{年份} 分别用来指定保
-% 密级别和时间。若不设置,则二者取默认值,分别为“\textbf{秘密}”和当前年份。
+% 令)\cs{secretlevel}\marg{级别} 和 \cs{secretyear}\marg{年数} 分别用来指定保
+% 密级别和时限。若不设置,则二者取默认值,分别为“\textbf{秘密}”和当前年份。
% \begin{latex}
% \documentclass[secret]{thuthesis} % 打开保密
% \documentclass[secret=false]{thuthesis} % 关闭保密
%
% \thusetup{
% secretlevel=公开,
-% secretyear=2020
+% secretyear=10
% }
% % 或者
% \secretlevel{保密}
-% \secretyear{2020}
+% \secretyear{10}
% \end{latex}
%
% \DescribeOption{pifootnote}
@@ -613,11 +613,11 @@
% 定义秘密级别和年限,需要打开论文的 \option{secret} 选项。
% \begin{latex}
% \thusetup{
-% secretyear=2020,
+% secretyear=10,
% secretlevel={内部},
% }
% % 以下命令方式与上面的等价:
-% \secretyear{2020}
+% \secretyear{10}
% \secretlevel{内部}
% \end{latex}
%
@@ -1172,7 +1172,7 @@
%<cls>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
%<cls>\ProvidesClass{thuthesis}
%<cfg>\ProvidesFile{thuthesis.cfg}
-%<cls|cfg>[2016/02/27 5.2.3 Tsinghua University Thesis Template]
+%<cls|cfg>[2016/03/12 5.3.0 Tsinghua University Thesis Template]
% \end{macrocode}
%
% \subsection{定义选项}
@@ -1191,7 +1191,7 @@
%<*cls>
\hyphenation{Thu-Thesis}
\def\thuthesis{\textsc{ThuThesis}}
-\def\version{5.2.3}
+\def\version{5.3.0}
\RequirePackage{kvoptions}
\SetupKeyvalOptions{
@@ -2422,6 +2422,7 @@
% \changes{v4.6}{2011/04/26}{增加博士后相关配置。}
% \changes{v4.7}{2012/05/27}{修正本科生作者信息名称。}
% \changes{v4.7}{2012/05/27}{本科生关键字也用分号分割了。}
+% \changes{v5.3.0}{2016/03/11}{更新到研究生院 2016.3 指南。}
% 定义封面用到的各种文字。
% \begin{macrocode}
%<*cfg>
@@ -2452,10 +2453,10 @@
\fi
\def\thu@postdoctor@first@discipline@title{流动站(一级学科)名称}
\def\thu@postdoctor@second@discipline@title{专\hspace{1em}业(二级学科)名称}
-\def\thu@secretlevel@inner{内部}
\def\thu@secret@content{%
- \ifx\thu@secretlevel\thu@secretlevel@inner\relax\else ★\fi%
- \hspace{2em}\thu@secretyear\hspace{1em}年}
+ \unskip\ifthu@master$\bigstar$ \fi%
+ \ifthu@doctor$\bigstar$ \fi%
+ \thu@secretyear 年}
\def\thu@apply{(申请清华大学\thu@cdegree 学位论文)}
\ifthu@bachelor
\def\thu@department@title{系别}
@@ -2583,7 +2584,7 @@
\begin{center}
\vspace*{-1.6cm}
\parbox[b][2.4cm][t]{\textwidth}{%
- \ifthu@secret\hfill{\sihao\thu@secretlevel\thu@secret@content}\else\rule{1cm}{0cm}\fi}
+ \ifthu@secret{\heiti\sanhao\thu@secretlevel\thu@secret@content}\else\rule{1cm}{0cm}\fi}
\ifthu@bachelor
\vskip0.45cm
{\yihao\lishu\ziju{0.3846}\thu@schoolname}