summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/hustthesis/hustthesis.cls
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-11-20 22:11:24 +0000
committerKarl Berry <karl@freefriends.org>2016-11-20 22:11:24 +0000
commit397faa7716268ec40f7184c7e09695bdf734653f (patch)
tree585a6fcecac78070bbc916d7f6d224e6688e3353 /Master/texmf-dist/tex/latex/hustthesis/hustthesis.cls
parentfe0d83a76a7ad6b8fdebb9edab209b23abedd9e2 (diff)
hustthesis (20nov16)
git-svn-id: svn://tug.org/texlive/trunk@42547 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/hustthesis/hustthesis.cls')
-rw-r--r--Master/texmf-dist/tex/latex/hustthesis/hustthesis.cls25
1 files changed, 20 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/hustthesis/hustthesis.cls b/Master/texmf-dist/tex/latex/hustthesis/hustthesis.cls
index 266ad7f6f9d..606aa29d7e2 100644
--- a/Master/texmf-dist/tex/latex/hustthesis/hustthesis.cls
+++ b/Master/texmf-dist/tex/latex/hustthesis/hustthesis.cls
@@ -29,7 +29,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesClass{hustthesis}
-[2016/06/01 v1.2 A Thesis Template for Huazhong University of Science and Technology]
+[2016/11/17 v1.4 A Thesis Template for Huazhong University of Science and Technology]
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
@@ -180,13 +180,18 @@
\RequirePackage{geometry}
\geometry{
top=1.77in,
- bottom=1.1in,
+ bottom=0.8in,
left=1.1in,
right=1.1in,
includefoot
}
-\pagewidth=\paperwidth
-\pageheight=\paperheight
+\ifthenelse{\isundefined{\pagewidth}}{
+ \pdfpagewidth=\paperwidth
+ \pdfpageheight=\paperheight
+}{
+ \pagewidth=\paperwidth
+ \pageheight=\paperheight
+}
\RequirePackage{indentfirst}
\setlength{\parindent}{2em}
\setlength{\parskip}{0pt plus 2pt minus 1pt}
@@ -284,6 +289,16 @@
}
}
\address{中国,武汉,430074}{Wuhan~430074, P.~R.~China}
+\def\zhapplyname#1{\def\HUST@zhapplyname{#1}}
+\def\enapplyname#1{\def\HUST@enapplyname{#1}}
+\DeclareDocumentCommand\applyname{m g}
+{
+ \IfNoValueTF{#2}{
+ \enapplyname{#1}
+ }{
+ \zhapplyname{#1}\enapplyname{#2}
+ }
+}
\def\zhmajor#1{\gdef\HUST@zhmajor{#1}}
\def\enmajor#1{\gdef\HUST@enmajor{#1}}
\DeclareDocumentCommand\major{m g}
@@ -491,7 +506,7 @@
\ifthenelse{\equal{\HUST@degree}{phd}}{
\def\HUST@zhapplyname{博士学位论文}
- \def\HUST@enapplyname{A Thesis Submitted in Partial Fulfillment of the Requirements for the Ph.D}
+ \def\HUST@enapplyname{A Thesis Submitted in Partial Fulfillment of the Requirements for the Degree of Philosophy}
}{}
\ifthenelse{\equal{\HUST@language}{chinese}}{