update V2.0.0

This commit is contained in:
DansYU 2019-06-28 23:24:02 +08:00 committed by Deans Yu
parent 8f2d5bf810
commit b94137267e
1 changed files with 412 additions and 411 deletions

View File

@ -19,9 +19,8 @@
\NeedsTeXFormat{LaTeX2e}[1999/12/01] \NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesClass{seuthesiY}[2019/06/23 1.0.2 The LaTeX template for academic degree thesis of Southeast University] \ProvidesClass{seuthesiY}[2019/06/28 2.0.0 The LaTeX template for academic degree thesis of Southeast University]
\typeout{Document Class `seuthesix' 1.0.1 by James Fan (2016/03/20), \\ \typeout{Document Class `seuthesiY' 2.0.0 by Deans Yu (2019/06/28). Document Class `seuthesiY' 1.0.2 by Deans Yu (2019/06/23). Document Class `seuthesix' 1.0.1 by James Fan (2016/03/20)}
Document Class `seuthesiY' 1.0.2 by Deans Yu (2019/06/23)}
\newif\ifnocolorlinks\nocolorlinksfalse \newif\ifnocolorlinks\nocolorlinksfalse
\newif\ifcoadvisor\coadvisorfalse \newif\ifcoadvisor\coadvisorfalse
@ -44,9 +43,9 @@ Document Class `seuthesiY' 1.0.2 by Deans Yu (2019/06/23)}
\DeclareOption{figurelist}{\figurelisttrue} \DeclareOption{figurelist}{\figurelisttrue}
\DeclareOption{tablelist}{\tablelisttrue} \DeclareOption{tablelist}{\tablelisttrue}
\DeclareOption{nomlist}{\nomlisttrue} \DeclareOption{nomlist}{\nomlisttrue}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{ctexrep}} \DeclareOption*{\PassOptionsToClass{\CurrentOption}{ctexbook}}
\ProcessOptions \ProcessOptions
\LoadClass[twoside,a4paper,zihao=-4,UTF8,openright]{ctexrep} \LoadClass[twoside,a4paper,zihao=-4,UTF8,openright]{ctexbook}
\RequirePackage[titles]{tocloft} \RequirePackage[titles]{tocloft}
\renewcommand{\cftchapleader}{\bfseries\cftdotfill{\cftdotsep}} \renewcommand{\cftchapleader}{\bfseries\cftdotfill{\cftdotsep}}
\newcommand{\chuhao}{\fontsize{42bp}{46bp}\selectfont} \newcommand{\chuhao}{\fontsize{42bp}{46bp}\selectfont}
@ -116,9 +115,9 @@ gbpub=false,gbnamefmt=lowercase,gbbiblabel=dot,]{biblatex}
\newcommand\citen[1]{[\!\!\citenum{#1}]} \newcommand\citen[1]{[\!\!\citenum{#1}]}
\RequirePackage{hyperref} \RequirePackage{hyperref}
\ifnocolorlinks \ifnocolorlinks
\hypersetup{colorlinks=false} \hypersetup{colorlinks=false}
\else \else
\hypersetup{colorlinks=true} \hypersetup{colorlinks=true}
\fi \fi
\hypersetup{ \hypersetup{
linkcolor=blue, linkcolor=blue,
@ -130,9 +129,9 @@ gbpub=false,gbnamefmt=lowercase,gbbiblabel=dot,]{biblatex}
} }
\AtEndDocument{\backcover} \AtEndDocument{\backcover}
\newcommand{\backcover}{ \newcommand{\backcover}{
\clearpage\thispagestyle{empty}\cleardoublepage\mbox{ } \clearpage\thispagestyle{empty}\cleardoublepage\mbox{ }
\clearpage\thispagestyle{empty} %backcover always at even page. \clearpage\thispagestyle{empty} %backcover always at even page.
\begin{picture}(0,0) \begin{picture}(0,0)
\put(-1,-22){ % \put(-1,-22){ %
\includegraphics[width=\textwidth]{figures/back-cover.png}} \includegraphics[width=\textwidth]{figures/back-cover.png}}
\end{picture} \end{picture}
@ -142,8 +141,8 @@ gbpub=false,gbnamefmt=lowercase,gbbiblabel=dot,]{biblatex}
\RequirePackage{fancyhdr} \RequirePackage{fancyhdr}
\fancypagestyle{seustyle}{% \fancypagestyle{seustyle}{%
\fancyhf{} \fancyhf{}
\fancyhead[CO]{\xiaowuhao\universityname{}\@thesistype} \fancyhead[CE]{\xiaowuhao\universityname{}\@thesistype}
\fancyhead[CE]{ \xiaowuhao\leftmark} \fancyhead[CO]{ \xiaowuhao\leftmark}
\fancyfoot[CO,CE]{\thepage} \fancyfoot[CO,CE]{\thepage}
} }
\pagestyle{seustyle} \pagestyle{seustyle}
@ -517,6 +516,7 @@ gbpub=false,gbnamefmt=lowercase,gbbiblabel=dot,]{biblatex}
\clearpage\thispagestyle{empty}\cleardoublepage% \clearpage\thispagestyle{empty}\cleardoublepage%
\thispagestyle{empty} \thispagestyle{empty}
\begin{center} \begin{center}
\xiaochuhao \xiaochuhao
@ -546,12 +546,12 @@ gbpub=false,gbnamefmt=lowercase,gbbiblabel=dot,]{biblatex}
\\ \\
\makebox[3.5cm][s]{ \xiaoerhao\heiti\advisorpre: } & \makebox[3.5cm][s]{ \xiaoerhao\heiti\advisorpre: } &
\underline{\makebox[6cm][s]{ \underline{\makebox[6cm][s]{
\xiaoerhao\songti\textbf{\@advisorname\quad\@advisortitle} }} \xiaoerhao\songti\textbf{\@advisorname\quad\@advisortitle}}}
\\ \\
& &
\ifcoadvisor \ifcoadvisor
\underline{\makebox[6cm][s]{ \underline{\makebox[6cm][s]{
\xiaoerhao\songti\textbf{\@coadvisorname\quad\@coadvisortitle} }} \xiaoerhao\songti\textbf{\@coadvisorname\quad\@coadvisortitle}}}
\else \else
\fi \fi
\end{tabular} \end{tabular}
@ -563,8 +563,8 @@ gbpub=false,gbnamefmt=lowercase,gbbiblabel=dot,]{biblatex}
%=============================================================================== %===============================================================================
%================================== ================================== %================================== ==================================
\newcommand{\makeenglishcover}{% \newcommand{\makeenglishcover}{%
\clearpage\thispagestyle{empty}\cleardoublepage\thispagestyle{empty} \clearpage\thispagestyle{empty}\cleardoublepage\thispagestyle{empty}
\begin{center} \begin{center}
~\\ ~\\
{\fontsize{24pt}{28pt}\selectfont {\fontsize{24pt}{28pt}\selectfont
\MakeUppercase{\@titleeng}\\ \MakeUppercase{\@titleeng}\\
@ -616,7 +616,7 @@ gbpub=false,gbnamefmt=lowercase,gbbiblabel=dot,]{biblatex}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%=============================================================================== %===============================================================================
%================================ ================================== %================================ ==================================
\renewenvironment{abstract}[1] \newenvironment{abstract}[1]
{ {
\pagenumbering{Roman} \pagenumbering{Roman}
\clearpage\thispagestyle{empty}\cleardoublepage\thispagestyle{plain} \clearpage\thispagestyle{empty}\cleardoublepage\thispagestyle{plain}
@ -690,7 +690,7 @@ gbpub=false,gbnamefmt=lowercase,gbbiblabel=dot,]{biblatex}
\cleardoublepage \cleardoublepage
\phantomsection \phantomsection
\addcontentsline{toc}{chapter}{\nomname} \addcontentsline{toc}{chapter}{\nomname}
\pagestyle{nom} \pagestyle{seustyle}
\printnomenclature[1in] \printnomenclature[1in]
\fi \fi
@ -699,7 +699,7 @@ gbpub=false,gbnamefmt=lowercase,gbbiblabel=dot,]{biblatex}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\mainmatter}{% \renewcommand{\mainmatter}{%
\cleardoublepage \cleardoublepage
\pagenumbering{arabic} \pagenumbering{arabic}
\pagestyle{seustyle} \pagestyle{seustyle}
@ -707,9 +707,10 @@ gbpub=false,gbnamefmt=lowercase,gbbiblabel=dot,]{biblatex}
\newcommand{\acknowledgement}{% \newcommand{\acknowledgement}{%
\cleardoublepage \cleardoublepage
% \pagestyle{plain}
\phantomsection \phantomsection
\addcontentsline{toc}{chapter}{ } % \addcontentsline{toc}{chapter}{ }
\chapter*{ } \chapter{ }
} }
% \newcommand{\thesisbib}[1]{% % \newcommand{\thesisbib}[1]{%
@ -730,8 +731,8 @@ gbpub=false,gbnamefmt=lowercase,gbbiblabel=dot,]{biblatex}
\newcommand{\resume}[1]{% \newcommand{\resume}[1]{%
\cleardoublepage \cleardoublepage
\phantomsection \phantomsection
\addcontentsline{toc}{chapter}{#1} % \addcontentsline{toc}{chapter}{#1}
\chapter*{#1} \chapter{#1}
} }
\newcommand{\seuthesix}{% \newcommand{\seuthesix}{%