From 20ad914da1cfc140bb7e7fa46c1a4609e0aeff6f Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 20 Mar 2016 21:20:10 +0000 Subject: seuthesix (20mar16) git-svn-id: svn://tug.org/texlive/trunk@40088 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/tex/latex/seuthesix/seuthesix.cfg | 103 +-- .../texmf-dist/tex/latex/seuthesix/seuthesix.cls | 820 ++++++++++----------- 2 files changed, 458 insertions(+), 465 deletions(-) (limited to 'Master/texmf-dist/tex/latex/seuthesix') diff --git a/Master/texmf-dist/tex/latex/seuthesix/seuthesix.cfg b/Master/texmf-dist/tex/latex/seuthesix/seuthesix.cfg index 75e4f559344..068891668bd 100644 --- a/Master/texmf-dist/tex/latex/seuthesix/seuthesix.cfg +++ b/Master/texmf-dist/tex/latex/seuthesix/seuthesix.cfg @@ -1,12 +1,24 @@ -%% -%% This is file `seuthesix.cfg' -%% This file will be loaded by seuthesix.cls at runtime and must be in the same -%% directory as seuthesix.cls -%% Author: James Fan, email: zhimengfan1990@163.com -%% License: GNU General Public License, version 3 + +%% This is file `seuthesix.cfg', +%% This file provides is a configuration file for ``seuthesix''. +%% Copyright (c) 2007--2012 Xu Yuan, email: xuyuan.cn@gmail.com +%% Copyright (c) 2016 James Fan, email: zhimengfan1990@163.com +%% License: GNU General Public License, version 3 +%% This file is part of ``seuthesix'' package. +%% ``seuthesix'' is free software: you can redistribute it and/or modify +%% it under the terms of the GNU General Public License as published by +%% the Free Software Foundation, either version 3 of the License, or +%% (at your option) any later version. +%% ``seuthesix'' is distributed in the hope that it will be useful, +%% but WITHOUT ANY WARRANTY; without even the implied warranty of +%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +%% GNU General Public License for more details. +%% +%% You should have received a copy of the GNU General Public License +%% along with this program. If not, see . -\ProvidesFile{seuthesix.cfg} +\ProvidesFile{seuthesix.cfg}[2016/03/20 1.0.1 seuthesix configuration file] \newcommand{\universityname}{东南大学} \newcommand{\universitynameeng}{Southeast University} \newcommand{\schoolcodepre}{学校代码} @@ -26,54 +38,47 @@ \newcommand{\committeechairpre}{答辩委员会主席} \newcommand{\reviewerpre}{评~~~~~~~~~阅~~~~~~~~~人} \newcommand{\@abstracttitle}{摘\quad 要} -\newcommand{\addresspre}{设计地点} -\newcommand{\bachelortitle}{毕业设计(论文)报告} \newcommand{\todayeng}{\the\year/\the\month/\the\day} - \newcommand{\@degreelevel}{硕士} \newcommand{\@degreetype}{工学硕士} \newcommand{\@degreetypeen}{Master of Engineering}\relax - \newcommand{\@thesistype}{\@degreelevel{}学位论文} - \newcommand{\signline}{\underline{\makebox[2.5cm][s]{}}} \newcommand{\seudeclare}{ - {\xiaosihao - \begin{center} - {\hei\sanhao 东南大学学位论文独创性声明} - \end{center} - \vspace{0.5in} - { \linespacing{1.5} - 本人声明所呈交的学位论文是我个人在导师指导下进行的研究工作及取得的 - 研究成果。尽我所知,除了文中特别加以标注和致谢的地方外,论文中不包 - 含其他人已经发表或撰写过的研究成果,也不包含为获得东南大学或其它教 - 育机构的学位或证书而使用过的材料。与我一同工作的同志对本研究所做的 - 任何贡献均已在论文中作了明确的说明并表示了谢意。\par} - \vspace{0.3in} - \begin{flushright} - 研究生签名:\signline 日~期:\signline - \end{flushright} - - \vspace{1.5in} - - \begin{center} - {\hei\sanhao 东南大学学位论文使用授权声明} - \end{center} - \vspace{0.5in} - { \linespacing{1.5} - 东南大学、中国科学技术信息研究所、国家图书馆有权保留本人所送交学位 - 论文的复印件和电子文档,可以采用影印、缩印或其他复制手段保存论文。 - 本人电子文档的内容和纸质论文的内容相一致。除在保密期内的保密论文 - 外,允许论文被查阅和借阅,可以公布(包括刊登)论文的全部或部分内容。 - 论文的公布(包括刊登)授权东南大学研究生院办理。\par} - \vspace{0.3in} - \begin{flushright} - 研究生签名:\signline 导师签名:\signline 日~期:\signline - \end{flushright} - \par - } +\clearpage\thispagestyle{empty}\cleardoublepage\thispagestyle{empty} +{\xiaosihao +\begin{center} +{\heiti\sanhao 东南大学学位论文独创性声明} +\end{center} +\vspace{0.5in} +{ \linespread{1.5} +本人声明所呈交的学位论文是我个人在导师指导下进行的研究工作及取得的 +研究成果。尽我所知,除了文中特别加以标注和致谢的地方外,论文中不包 +含其他人已经发表或撰写过的研究成果,也不包含为获得东南大学或其它教 +育机构的学位或证书而使用过的材料。与我一同工作的同志对本研究所做的 +任何贡献均已在论文中作了明确的说明并表示了谢意。\par} +\vspace{0.3in} +\begin{flushright} +研究生签名:\signline 日~期:\signline +\end{flushright} +\vspace{1.5in} +\begin{center} +{\heiti\sanhao 东南大学学位论文使用授权声明} +\end{center} +\vspace{0.5in} +{ \linespread{1.5} +东南大学、中国科学技术信息研究所、国家图书馆有权保留本人所送交学位 +论文的复印件和电子文档,可以采用影印、缩印或其他复制手段保存论文。 +本人电子文档的内容和纸质论文的内容相一致。除在保密期内的保密论文 +外,允许论文被查阅和借阅,可以公布(包括刊登)论文的全部或部分内容。 +论文的公布(包括刊登)授权东南大学研究生院办理。\par} +\vspace{0.3in} +\begin{flushright} +研究生签名:\signline 导师签名:\signline 日~期:\signline +\end{flushright} +\par +} } - - \endinput - +%% +%% End of file `seuthesix.cfg'. diff --git a/Master/texmf-dist/tex/latex/seuthesix/seuthesix.cls b/Master/texmf-dist/tex/latex/seuthesix/seuthesix.cls index c2b76a49367..6e899eed7d2 100644 --- a/Master/texmf-dist/tex/latex/seuthesix/seuthesix.cls +++ b/Master/texmf-dist/tex/latex/seuthesix/seuthesix.cls @@ -1,13 +1,27 @@ -%% -%% This is file `seuthesix.cls', -%% This file provides a LaTeX document class for typesetting thesis of Southeast University, Nanjing, China. -%% Author: James Fan, email: zhimengfan1990@163.com -%% License: GNU General Public License, version 3 - - \NeedsTeXFormat{LaTeX2e}[1999/12/01] - \ProvidesClass{seuthesix}[2016/01/09 1.0 The LaTeX template for academic degree thesis of Southeast University] - \typeout{Document Class `seuthesix' 1.0 by James Fan (2016/01/09)} - + +%% This is file `seuthesix.cls', +%% This file provides a LaTeX document class for typesetting thesis of Southeast University, Nanjing, China. +%% Copyright (c) 2007--2012 Xu Yuan, email: xuyuan.cn@gmail.com +%% Copyright (c) 2016 James Fan, email: zhimengfan1990@163.com +%% License: GNU General Public License, version 3 +%% This file is part of ``seuthesix'' package. +%% ``seuthesix'' is free software: you can redistribute it and/or modify +%% it under the terms of the GNU General Public License as published by +%% the Free Software Foundation, either version 3 of the License, or +%% (at your option) any later version. +%% ``seuthesix'' is distributed in the hope that it will be useful, +%% but WITHOUT ANY WARRANTY; without even the implied warranty of +%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +%% GNU General Public License for more details. +%% +%% You should have received a copy of the GNU General Public License +%% along with this program. If not, see . + + +\NeedsTeXFormat{LaTeX2e}[1999/12/01] +\ProvidesClass{seuthesix}[2016/03/20 1.0.1 The LaTeX template for academic degree thesis of Southeast University] +\typeout{Document Class `seuthesix' 1.0.1 by James Fan (2016/03/20)} + \newif\ifnocolorlinks\nocolorlinksfalse \newif\ifcoadvisor\coadvisorfalse \newif\ifengineering\engineeringfalse @@ -17,34 +31,23 @@ \newif\iffigurelist\figurelistfalse \newif\iftablelist\tablelistfalse \newif\ifnomlist\nomlistfalse - - \InputIfFileExists{seuthesix.cfg}% 引入配置文件 - {\typeout{[seuthesix]: Load seuthesix.cfg successfully!}}% - {\typeout{[seuthesix]: Load seuthesix.cfg failed!}}% +\InputIfFileExists{seuthesix.cfg} +{\typeout{[seuthesix]: Load seuthesix.cfg successfully!}}% + {\typeout{[seuthesix]: Load seuthesix.cfg failed!}}% \DeclareOption{nocolorlinks}{\nocolorlinkstrue} \DeclareOption{algorithmlist}{\algorithmlisttrue} \DeclareOption{phd}{\phdtrue\mastersfalse\engineeringfalse\renewcommand\@degreelevel{博士}} \DeclareOption{masters}{\masterstrue\engineeringfalse\phdfalse\renewcommand\@degreelevel{硕士}} -\DeclareOption{engineering}{\engineeringtrue\masterstrue\phdfalse\renewcommand\@degreelevel{工程硕士}} +\DeclareOption{engineering}{% +\engineeringtrue\masterstrue\phdfalse\renewcommand\@degreelevel{工程硕士}} \DeclareOption{figurelist}{\figurelisttrue} \DeclareOption{tablelist}{\tablelisttrue} \DeclareOption{nomlist}{\nomlisttrue} \DeclareOption*{\PassOptionsToClass{\CurrentOption}{ctexrep}} \ProcessOptions - -%%=============================================load ctexrep============================== \LoadClass[twoside,a4paper,zihao=-4,UTF8,openright]{ctexrep} \RequirePackage[titles]{tocloft} \renewcommand{\cftchapleader}{\bfseries\cftdotfill{\cftdotsep}} -\setCJKmainfont{SimSun} -\setCJKfamilyfont{zhsong}{SimSun} -\newcommand{\song}{\CJKfamily{zhsong}} -\setCJKfamilyfont{zhhei}{SimHei} -\newcommand{\hei}{\CJKfamily{zhhei}} -\setCJKfamilyfont{zhkai}{KaiTi} -\newcommand{\kai}{\CJKfamily{zhkai}} -\setCJKfamilyfont{zhfs}{FangSong} -\newcommand{\fs}{\CJKfamily{zhfs}} \newcommand{\chuhao}{\fontsize{42bp}{46bp}\selectfont} \newcommand{\xiaochuhao}{\fontsize{36bp}{40bp}\selectfont} \newcommand{\yichu}{\fontsize{32bp}{36bp}\selectfont} @@ -59,62 +62,53 @@ \newcommand{\liuhao}{\fontsize{7.5bp}{9bp}\selectfont} \newcommand{\xiaoliuhao}{\fontsize{6.5bp}{7.5bp}\selectfont} \newcommand{\qihao}{\fontsize{5.5bp}{6.5bp}\selectfont} - +\setCJKmainfont{SimSun} \ctexset{% -chapter/nameformat=\large\centering\hei, -chapter/numberformat=\large\centering\hei, -chapter/titleformat=\large\hei, +chapter/format=\centering, +chapter/nameformat=\large\heiti, +chapter/numberformat=\large\heiti, +chapter/titleformat=\large\heiti, +chapter/beforeskip=0pt, section/format=\raggedright, section/nameformat={\large\bfseries}, section/numberformat={\large\bfseries}, section/titleformat={\sihao\bfseries}, -subsection/format=\normalsize\mdseries\raggedright, -subsubsection/format=\normalsize\mdseries\raggedright, +subsection/format=\sihao\mdseries\raggedright, +subsubsection/format=\sihao\mdseries\raggedright, listfigurename={插图目录}, listtablename={表格目录} } - -%%==================================setting caption font====================== \RequirePackage[font=small]{caption} - -%%==================================setting font================================== - -\RequirePackage{mathptmx} -\setmainfont[Mapping=tex-text]{Times New Roman} +%\RequirePackage{mathptmx} +\setmainfont[Mapping=tex-text]{Times New Roman} \RequirePackage{amsmath} \RequirePackage{amssymb} \RequirePackage{amsthm} \numberwithin{equation}{chapter} \newcommand{\dif}{\mathrm{d}} - \DeclareMathOperator*{\argmin}{argmin} - \DeclareMathOperator*{\argmax}{argmax} - \DeclareMathOperator{\diag}{diag} - \DeclareMathOperator{\rank}{rank} - \DeclareMathOperator{\sinc}{sinc} - \DeclareMathOperator{\unwrap}{unwrap} - \def\me{\mathrm{e}} +\DeclareMathOperator*{\argmin}{argmin} +\DeclareMathOperator*{\argmax}{argmax} +\DeclareMathOperator{\diag}{diag} +\DeclareMathOperator{\rank}{rank} +\DeclareMathOperator{\sinc}{sinc} +\DeclareMathOperator{\unwrap}{unwrap} +\def\me{\mathrm{e}} \RequirePackage[mathscr]{eucal} \RequirePackage{eufrak} \RequirePackage{bm} -%%===========================================setting graphics and color========================== \RequirePackage{graphicx} \graphicspath{{figures/}{./}} -%%======================================setting nomenclatures================================= \RequirePackage{nomencl} \makenomenclature \newcommand{\setnomname}[1]{\renewcommand\nomname{#1}} \renewcommand{\nomname}{术语与数学符号约定} -%%==========================================setting algorithms=============================== \RequirePackage{algorithm} \RequirePackage{algorithmic} \numberwithin{algorithm}{chapter} \floatname{algorithm}{算法} \renewcommand{\listalgorithmname}{算法目录} - -%%===========================setting bib label style=============================================== \RequirePackage[super,square]{natbib} \newcommand\citen[1]{[\!\!\citenum{#1}]} -%%===========================================setting hyperref ============================================ \RequirePackage{hyperref} \ifnocolorlinks \hypersetup{colorlinks=false} @@ -122,75 +116,75 @@ listtablename={表格目录} \hypersetup{colorlinks=true} \fi \hypersetup{ - linkcolor=blue, - anchorcolor=black, - citecolor=red, - filecolor=magenta, - menucolor=red, - urlcolor=magenta + linkcolor=blue, + anchorcolor=black, + citecolor=red, + filecolor=magenta, + menucolor=red, + urlcolor=magenta } - -%%=======================================================setting basic parameters=================================== \AtEndDocument{\backcover} \newcommand{\backcover}{ -\clearpage\thispagestyle{empty}\cleardoublepage\mbox{ }\clearpage\thispagestyle{empty} %backcover always at even page. -\includegraphics[width=\textwidth]{figures/back-cover.png} +\clearpage\thispagestyle{empty}\cleardoublepage\mbox{ } +\clearpage\thispagestyle{empty} %backcover always at even page. +\begin{picture}(0,0) + \put(-1,-22){ % +\includegraphics[width=\textwidth]{figures/back-cover.png}} +\end{picture} } -\AtBeginDocument{% - } -%%=================================================setting page layout============================================= -\RequirePackage[bottom=1in,left=2.5cm,right=2.5cm,a4paper]{geometry} -%%=========================================================setting header and footer===================================== +\RequirePackage[top=1.2in,bottom=1in,left=2.5cm,right=2.5cm,a4paper]{geometry} \RequirePackage{fancyhdr} -\pagestyle{fancy} +\fancypagestyle{seustyle}{% \fancyhf{} \fancyhead[CO]{\xiaowuhao\universityname{}\@thesistype} \fancyhead[CE]{ \xiaowuhao\leftmark} \fancyfoot[CO,CE]{\thepage} -\renewcommand{\headrulewidth}{0.4pt} +} +\pagestyle{seustyle} +\fancypagestyle{nom}{% +\fancyhf{} +\fancyhead[CO]{\xiaowuhao\universityname{}\@thesistype} +\fancyhead[CE]{ \xiaowuhao\nomname} +\fancyfoot[CO,CE]{\thepage} +} +\renewcommand{\headrulewidth}{0.4pt} \RequirePackage{eso-pic} -%%===========================================setting hooks for title page========================================== \renewcommand{\author}[2]{ - \def\@author{#1} - \newcommand{\@authoreng}{#2} + \def\@author{#1} + \newcommand{\@authoreng}{#2} } - \newcommand{\@titleeng}{} \newcommand{\@subtitleeng}{} \renewcommand{\title}[4]{ - \def\@title{#1} - \newcommand{\@subtitle}{#2} - \renewcommand{\@titleeng}{#3} - \renewcommand{\@subtitleeng}{#4} + \def\@title{#1} + \newcommand{\@subtitle}{#2} + \renewcommand{\@titleeng}{#3} + \renewcommand{\@subtitleeng}{#4} } - \newcommand{\@advisorname}{} \newcommand{\@advisortitle}{} \newcommand{\@advisornameeng}{} \newcommand{\@advisortitleeng}{} \newcommand{\advisor}[4]{ - \renewcommand{\@advisorname}{#1} - \renewcommand{\@advisortitle}{#2} - \renewcommand{\@advisornameeng}{#3} - \renewcommand{\@advisortitleeng}{#4} + \renewcommand{\@advisorname}{#1} + \renewcommand{\@advisortitle}{#2} + \renewcommand{\@advisornameeng}{#3} + \renewcommand{\@advisortitleeng}{#4} } - - \newcommand{\@coadvisorname}{} \newcommand{\@coadvisortitle}{} \newcommand{\@coadvisornameeng}{} \newcommand{\@coadvisortitleeng}{} \newcommand{\coadvisor}[4]{ - \coadvisortrue - \renewcommand{\@coadvisorname}{#1} - \renewcommand{\@coadvisortitle}{#2} - \renewcommand{\@coadvisornameeng}{#3} - \renewcommand{\@coadvisortitleeng}{#4} + \coadvisortrue + \renewcommand{\@coadvisorname}{#1} + \renewcommand{\@coadvisortitle}{#2} + \renewcommand{\@coadvisornameeng}{#3} + \renewcommand{\@coadvisortitleeng}{#4} } - \newcommand{\@categorynumber}{} \newcommand{\categorynumber}[1]{\renewcommand{\@categorynumber}{#1}} \newcommand{\@secretlevel}{} @@ -199,28 +193,28 @@ listtablename={表格目录} \newcommand{\UDC}[1]{\renewcommand{\@UDC}{#1}} \newcommand{\@studentid}{} \newcommand{\studentid}[1]{\renewcommand{\@studentid}{#1}} -\newcommand\degreetype[2]{\renewcommand\@degreetype{#1}\renewcommand\@degreetypeen{#2}} - -%\newcommand{\@majorlen}{8em} +\newcommand\degreetype[2]{\renewcommand\@degreetype{#1}% +\renewcommand\@degreetypeen{#2}} +\newcommand{\@majorlen}{8em} \newcommand{\@major}{} \newcommand{\major}[2][8em]{ - %\renewcommand{\@majorlen}{#1} - \renewcommand{\@major}{#2} + \renewcommand{\@majorlen}{#1} + \renewcommand{\@major}{#2} } \newcommand{\@department}{} \newcommand{\@departmenteng}{} \newcommand{\department}[2]{ - \renewcommand{\@department}{#1} - \renewcommand{\@departmenteng}{#2} + \renewcommand{\@department}{#1} + \renewcommand{\@departmenteng}{#2} } \newcommand{\@submajor}{} \newcommand{\submajor}[1]{ - \renewcommand{\@submajor}{#1} + \renewcommand{\@submajor}{#1} } \newcommand{\@defenddate}{} \newcommand{\defenddate}[1]{\renewcommand{\@defenddate}{#1}} \newcommand{\authorizeorganization}[1]{ - \renewcommand{\@authorizeorganization}{#1} + \renewcommand{\@authorizeorganization}{#1} } \newcommand{\@authorizedate}{} @@ -230,164 +224,162 @@ listtablename={表格目录} \newcommand{\@reviewerA}{} \newcommand{\@reviewerB}{} \newcommand{\reviewer}[2]{ - \renewcommand{\@reviewerA}{#1} - \renewcommand{\@reviewerB}{#2} + \renewcommand{\@reviewerA}{#1} + \renewcommand{\@reviewerB}{#2} } - - \newcommand{\CoverTopOption}[3][s]{ - \makebox[1.5cm][#1]{\xiaowuhao #2}:{ - \underline{\makebox[1.5cm][c]{\xiaowuhao #3}}} + \makebox[1.5cm][#1]{\xiaowuhao #2}:{ + \underline{\makebox[1.5cm][c]{\xiaowuhao #3}}} } - \newcommand{\CoverBottomOption}[3][4.5cm]{ - \makebox[7cm][s]{ - {\song\xiaosihao#2} %宋体小四号 - \underline{\makebox[#1][c]{\hei\xiaosihao#3}} %黑体小四号粗体 - } + \makebox[7cm][s]{ + {\songti\xiaosihao#2} + \underline{\makebox[#1][c]{\heiti\xiaosihao#3}} + } } - \newif\ifthanks\thanksfalse \newcommand\@seuthesisthanks{ } \newcommand\seuthesisthanks[1]{\renewcommand\@seuthesisthanks{#1}\thankstrue} \newcommand\@thesisthanks{\ifthanks\thispagestyle{thanksstyle}\fi} \fancypagestyle{thanksstyle}{% \fancyhf{} -\fancyfoot[L]{\setlength{\baselineskip}{0pt}\rule[-2.5pt]{6cm}{.4pt}\\ \small\@seuthesisthanks} +\fancyfoot[L]{\setlength{\baselineskip}{0pt}% +\rule[-2.5pt]{6cm}{.4pt}\\ \small\@seuthesisthanks} \renewcommand\headrulewidth{0pt} } - \newcommand\makebigcover{%generating a3 front cover \pdfpagewidth=420mm \pdfpageheight=297mm \setlength{\paperheight}{297mm} \setlength{\paperwidth}{420mm} \thispagestyle{empty} - \setlength{\unitlength}{1cm} - \noindent - \begin{picture}(0,0) - \setlength{\unitlength}{1cm}\put(19.5,-8){% + \setlength{\unitlength}{1cm} + \noindent +\begin{picture}(0,0) +\setlength{\unitlength}{1cm}\put(19.5,-8){% \includegraphics[width=19cm]{figures/front-cover.jpg}}% - \end{picture} - \begin{picture}(0,0) +\end{picture} + \begin{picture}(0,0) \put(19.5,0){ - \renewcommand{\arraystretch}{1.0} - \begin{tabular}{l} - \CoverTopOption{\schoolcodepre}{\schoolcode} \\ - \CoverTopOption{\categorynumberpre}{\@categorynumber} \\ - \CoverTopOption{\secretlevelpre}{\@secretlevel}\\ - \CoverTopOption{U D C}{\@UDC} \\ - \CoverTopOption{\studentidpre}{\@studentid} - \end{tabular} - } - \end{picture} - % - \ifengineering +\renewcommand{\arraystretch}{1.0} + \begin{tabular}{l} + \CoverTopOption{\schoolcodepre}{\schoolcode} \\ + \CoverTopOption{\categorynumberpre}{\@categorynumber} \\ + \CoverTopOption{\secretlevelpre}{\@secretlevel}\\ + \CoverTopOption{U D C}{\@UDC} \\ + \CoverTopOption{\studentidpre}{\@studentid} + \end{tabular} + } +\end{picture} + \ifengineering \begin{picture}(0,0) - \put(23.2,-7.5){ % + \put(23.2,-7.5){ % \includegraphics[scale=0.65]{figures/engineering.png}} \end{picture} - \else \ifmasters + \else \ifmasters \begin{picture}(0,0) - \put(24.5,-7.5){ % + \put(24.5,-7.5){ % \includegraphics[scale=1.1]{figures/master-hwzs.pdf}} \end{picture} - \else \ifphd - \begin{picture}(0,0) - \put(24.5,-7.5){ % + \else \ifphd +\begin{picture}(0,0) + \put(24.5,-7.5){ % \includegraphics[scale=1.1]{figures/doctor-hwzs.pdf}} \end{picture} - \else - \ClassError{seuthesix}{invalid degree type option.}{Check your class option of degree type to be one of the following:% - masters, engineering, phd.} - \fi - \fi - \fi - \begin{picture}(0,0) - \put(35,0){ % + \else + \ClassError{seuthesix}{invalid degree type option.}% + {Check your class option of degree type to be one of the following:% + masters, engineering, phd.} + \fi + \fi + \fi + \begin{picture}(0,0) + \put(35,0){ % \includegraphics[width=2cm]{figures/seu-color-logo.png}} \end{picture} - \begin{picture}(0,0) - \put(0,-22){ % +\begin{picture}(0,0) + \put(-1,-22){ % \includegraphics[width=\textwidth]{figures/back-cover.png}} \end{picture} \begin{picture}(0,0) -\put(18,-12){% +\put(18,-11){% \parbox[c]{\ccwd}{% \bfseries% \setlength{\baselineskip}{0pt} -\@title +\@title\\ +\rule{0pt}{\ccwd}\\ +\@subtitle\\ \vspace*{2cm} -\@author +\@author\\ \vspace*{2cm} \universityname } } \end{picture} - \vspace*{8cm} - +\vspace*{8cm} + +\hspace*{20.5cm} +\begin{minipage}{16cm} + \begin{center} + \linespread{1.25} + \yihao\heiti\@title\\ + \yihao\heiti\@subtitle + \end{center} +\end{minipage} + \hspace*{20.5cm} \begin{minipage}{16cm} \begin{center} - \linespread{1.25} - \yihao\hei\@title\\%题名 黑体一号居中 - \yihao\hei\@subtitle%副题名 黑体一号居中 - \end{center} - \end{minipage} - - \hspace*{20.5cm} - \begin{minipage}{16cm} - \begin{center} - \setlength{\tabcolsep}{0pt} - \renewcommand{\arraystretch}{2.0} - \begin{tabular}{cr} - \makebox[3.5cm][s]{\xiaoerhao\song\authorpre: } &%宋体小二 - \underline{\makebox[6cm][s]{ - \hspace*{1cm} - \makebox[2.5cm][c]{\xiaoerhao\hei\@author} - \makebox[2cm][r]{}}} \\%黑体小二粗体 - \makebox[3.5cm][s]{\xiaoerhao\song\advisorpre: } & - \underline{\makebox[6cm][s]{ - \hspace*{1cm} - \makebox[2.5cm][c]{\xiaoerhao\hei\@advisorname} - \makebox[2cm][r]{\xiaoerhao\hei\@advisortitle}}} - \\ - & - \ifcoadvisor - \underline{\makebox[6cm][s]{ - \hspace*{1cm} - \makebox[2.5cm][c]{\xiaoerhao\hei\@coadvisorname} - \makebox[2cm][r]{\xiaoerhao\hei\@coadvisortitle}}} - \else - \fi \\ - \end{tabular} - \end{center} + \setlength{\tabcolsep}{0pt} + \renewcommand{\arraystretch}{2.0} + \begin{tabular}{cr} + \makebox[3.5cm][s]{\xiaoerhao\songti\authorpre: } & + \underline{\makebox[6cm][s]{ + \hspace*{1cm} + \makebox[2.5cm][c]{\xiaoerhao\heiti\@author} + \makebox[2cm][r]{}}} \\ + \makebox[3.5cm][s]{\xiaoerhao\songti\advisorpre: } & + \underline{\makebox[6cm][s]{ + \hspace*{1cm} + \makebox[2.5cm][c]{\xiaoerhao\heiti\@advisorname} + \makebox[2cm][r]{\xiaoerhao\heiti\@advisortitle}}} + \\ + & + \ifcoadvisor + \underline{\makebox[6cm][s]{ + \hspace*{1cm} + \makebox[2.5cm][c]{\xiaoerhao\heiti\@coadvisorname} + \makebox[2cm][r]{\xiaoerhao\heiti\@coadvisortitle}}} + \else + \fi \\ + \end{tabular} + \end{center} + \end{minipage} + + \hspace*{20.5cm} + \begin{minipage}{16cm} + \begin{center} + \setlength{\tabcolsep}{10pt} + \renewcommand{\arraystretch}{2.0} + \begin{tabular}{ll} + \CoverBottomOption{\appdegreepre}{\@degreetype} & + \CoverBottomOption{\authorizeorganizationpre}{\@authorizeorganization} \\ + \CoverBottomOption{\majorpre}{\@major} & + \CoverBottomOption{\defenddatepre}{\@defenddate}\\ + \CoverBottomOption{\submajorpre}{\@submajor} & + \CoverBottomOption{\authorizedatepre}{\@authorizedate}\\ + \CoverBottomOption[4.05cm]{\committeechairpre}{\@committeechair} & + \CoverBottomOption{\reviewerpre}{\@reviewerA}\\ + & \CoverBottomOption{\makebox[2.55cm]{}}{\@reviewerB} + \end{tabular} + \end{center} \end{minipage} - - \hspace*{20.5cm} - \begin{minipage}{16cm} - \begin{center} - \setlength{\tabcolsep}{10pt} - \renewcommand{\arraystretch}{2.0} - \begin{tabular}{ll} - \CoverBottomOption{\appdegreepre}{\@degreetype} & - \CoverBottomOption{\authorizeorganizationpre}{\@authorizeorganization} \\ - \CoverBottomOption{\majorpre}{\@major} & - \CoverBottomOption{\defenddatepre}{\@defenddate}\\ - \CoverBottomOption{\submajorpre}{\@submajor} & - \CoverBottomOption{\authorizedatepre}{\@authorizedate}\\ - \CoverBottomOption[4.05cm]{\committeechairpre}{\@committeechair} & - \CoverBottomOption{\reviewerpre}{\@reviewerA}\\ - & \CoverBottomOption{\makebox[2.55cm]{}}{\@reviewerB} - \end{tabular} - \end{center} - \end{minipage} - - \vfill - - \hspace*{20.5cm} - {\song\sihao\centerline{\today} \par} + + \vfill + + \hspace*{20.5cm} +{\songti\sihao\centerline{\today} \par} \eject \pdfpagewidth=210mm \pdfpageheight=297mm @@ -396,239 +388,235 @@ listtablename={表格目录} } \newcommand{\makechinesecover}{ - \hypersetup{ - pdfauthor={\@author}, - pdftitle={\universityname{}\@thesistype}, %文件标题 - pdfsubject={\@title \@subtitle}, %文件主题 - pdfcreator={xetex} % 应用程序 - } + \hypersetup{ + pdfauthor={\@author}, + pdftitle={\universityname{}\@thesistype}, + pdfsubject={\@title \@subtitle}, + pdfcreator={xetex} + } \thispagestyle{empty} \AddToShipoutPictureFG*{\setlength{\unitlength}{1cm}\put(1,26){% \renewcommand{\arraystretch}{1.0} - \begin{tabular}{l} - \CoverTopOption{\schoolcodepre}{\schoolcode} \\ - \CoverTopOption{\categorynumberpre}{\@categorynumber} \\ - \CoverTopOption{\secretlevelpre}{\@secretlevel}\\ - \CoverTopOption{U D C}{\@UDC} \\ - \CoverTopOption{\studentidpre}{\@studentid} - \end{tabular} + \begin{tabular}{l} + \CoverTopOption{\schoolcodepre}{\schoolcode} \\ + \CoverTopOption{\categorynumberpre}{\@categorynumber} \\ + \CoverTopOption{\secretlevelpre}{\@secretlevel}\\ + \CoverTopOption{U D C}{\@UDC} \\ + \CoverTopOption{\studentidpre}{\@studentid} + \end{tabular} } } -\AddToShipoutPictureBG*{\setlength{\unitlength}{1cm}\put(0,22.5){% +\AddToShipoutPictureBG*{\setlength{\unitlength}{1cm}\put(0,23){% \parbox{\paperwidth}{\centering\includegraphics[width=\paperwidth]{figures/front-cover.jpg}}}}% - \ifengineering + \ifengineering \AddToShipoutPictureBG*{\setlength{\unitlength}{1cm}\put(0,18){ % \parbox{\paperwidth}{\centering\includegraphics[scale=0.65]{figures/engineering.png}}}}% - \else \ifmasters + \else \ifmasters \AddToShipoutPictureBG*{\setlength{\unitlength}{1cm}\put(0,18){ % \parbox{\paperwidth}{\centering\includegraphics[scale=1.1]{figures/master-hwzs.pdf}}}}% - \else \ifphd - \AddToShipoutPictureBG*{\setlength{\unitlength}{1cm}\put(0,18){ % + \else \ifphd + \AddToShipoutPictureBG*{\setlength{\unitlength}{1cm}\put(0,18){ % \parbox{\paperwidth}{\centering\includegraphics[scale=1.1]{figures/doctor-hwzs.pdf}}}}% - \else - \ClassError{seuthesix}{invalid degree type option.}{Check your class option of degree type to be one of the following:% - masters, engineering, phd.} - \fi - \fi - \fi - \AddToShipoutPictureBG*{\setlength{\unitlength}{1cm}\put(17,27){% - \parbox{\paperwidth}{\includegraphics[width=2cm]{figures/seu-color-logo.png}}}}% - - \vspace*{8cm} - - \begin{center} - \linespread{1.25} - \yihao\hei\@title\\%题名 黑体一号居中 - \yihao\hei\@subtitle%副题名 黑体一号居中 - \end{center} - - \begin{center} - \setlength{\tabcolsep}{0pt} - \renewcommand{\arraystretch}{2.0} - \begin{tabular}{cr} - \makebox[3.5cm][s]{\xiaoerhao\song\authorpre: } &%宋体小二 - \underline{\makebox[6cm][s]{ - \hspace*{1cm} - \makebox[2.5cm][c]{\xiaoerhao\hei\@author} - \makebox[2cm][r]{}}} \\%黑体小二粗体 - \makebox[3.5cm][s]{\xiaoerhao\song\advisorpre: } & - \underline{\makebox[6cm][s]{ - \hspace*{1cm} - \makebox[2.5cm][c]{\xiaoerhao\hei\@advisorname} - \makebox[2cm][r]{\xiaoerhao\hei\@advisortitle}}} - \\ - & - \ifcoadvisor - \underline{\makebox[6cm][s]{ - \hspace*{1cm} - \makebox[2.5cm][c]{\xiaoerhao\hei\@coadvisorname} - \makebox[2cm][r]{\xiaoerhao\hei\@coadvisortitle}}} - \else - \fi \\ - \end{tabular} - \end{center} - - \begin{center} - \setlength{\tabcolsep}{10pt} - \renewcommand{\arraystretch}{2.0} - \begin{tabular}{ll} - \CoverBottomOption{\appdegreepre}{\@degreetype} & - \CoverBottomOption{\authorizeorganizationpre}{\@authorizeorganization} \\ - \CoverBottomOption{\majorpre}{\@major} & - \CoverBottomOption{\defenddatepre}{\@defenddate}\\ - \CoverBottomOption{\submajorpre}{\@submajor} & - \CoverBottomOption{\authorizedatepre}{\@authorizedate}\\ - \CoverBottomOption[4.05cm]{\committeechairpre}{\@committeechair} & - \CoverBottomOption{\reviewerpre}{\@reviewerA}\\ - & \CoverBottomOption{\makebox[2.55cm]{}}{\@reviewerB} - \end{tabular} - \end{center} - - \vfill - \setcounter{page}{1} - {\song\sihao\centerline{\today} \par} - - - % %============================================second Chinese title================================ - \clearpage\thispagestyle{empty}\cleardoublepage% - \thispagestyle{empty} - \begin{center} - \xiaochuhao - - \includegraphics[height=0.63in]{figures/seu-text-logo} - - \ifmasters - \includegraphics{figures/master-hwzs} \else - \includegraphics{figures/doctor-hwzs} + \ClassError{seuthesix}{invalid degree type option.}% + {Check your class option of degree type to be one of the following:% + masters, engineering, phd.} + \fi + \fi \fi - - \vspace{31.5pt} - \yihao\hei\@title\@thesisthanks\\%题名 黑体一号居中 - \yihao\hei\@subtitle%副题名 黑体一号居中 - \vspace{42pt} - - { - \setlength{\tabcolsep}{0pt} - \begin{tabular}{cc} - \makebox[3.5cm][s]{\xiaoerhao\hei{}专~~业~~名~~称: } & - \underline{\makebox[6cm][s]{ - \xiaoerhao\song\textbf{\@major} }} \\ - \\ - \makebox[3.5cm][s]{ \xiaoerhao\hei\authorpre: } & - \underline{\makebox[6cm][s]{ - \xiaoerhao\song\textbf{\@author} }} \\ - \\ - \makebox[3.5cm][s]{ \xiaoerhao\hei\advisorpre: } & - \underline{\makebox[6cm][s]{ - \xiaoerhao\song\textbf{\@advisorname\quad\@advisortitle} }} +\AddToShipoutPictureBG*{\setlength{\unitlength}{1cm}\put(17,27){% +\parbox{\paperwidth}{\includegraphics[width=2cm]{figures/seu-color-logo.png}}}}% + + \vspace*{8cm} + + \begin{center} + \linespread{1.25} + \yihao\heiti\@title\\ + \yihao\heiti\@subtitle + \end{center} + + \begin{center} + \setlength{\tabcolsep}{0pt} + \renewcommand{\arraystretch}{2.0} + \begin{tabular}{cr} + \makebox[3.5cm][s]{\xiaoerhao\songti\authorpre: } & + \underline{\makebox[6cm][s]{ + \hspace*{1cm} + \makebox[2.5cm][c]{\xiaoerhao\heiti\@author} + \makebox[2cm][r]{}}} \\ + \makebox[3.5cm][s]{\xiaoerhao\songti\advisorpre: } & + \underline{\makebox[6cm][s]{ + \hspace*{1cm} + \makebox[2.5cm][c]{\xiaoerhao\heiti\@advisorname} + \makebox[2cm][r]{\xiaoerhao\heiti\@advisortitle}}} + \\ + & + \ifcoadvisor + \underline{\makebox[6cm][s]{ + \hspace*{1cm} + \makebox[2.5cm][c]{\xiaoerhao\heiti\@coadvisorname} + \makebox[2cm][r]{\xiaoerhao\heiti\@coadvisortitle}}} + \else + \fi \\ + \end{tabular} + \end{center} + + \begin{center} + \setlength{\tabcolsep}{10pt} + \renewcommand{\arraystretch}{2.0} + \begin{tabular}{ll} + \CoverBottomOption{\appdegreepre}{\@degreetype} & + \CoverBottomOption{\authorizeorganizationpre}{\@authorizeorganization} \\ + \CoverBottomOption{\majorpre}{\@major} & + \CoverBottomOption{\defenddatepre}{\@defenddate}\\ + \CoverBottomOption{\submajorpre}{\@submajor} & + \CoverBottomOption{\authorizedatepre}{\@authorizedate}\\ + \CoverBottomOption[4.05cm]{\committeechairpre}{\@committeechair} & + \CoverBottomOption{\reviewerpre}{\@reviewerA}\\ + & \CoverBottomOption{\makebox[2.55cm]{}}{\@reviewerB} + \end{tabular} + \end{center} + + \vfill + \setcounter{page}{1} +{\songti\sihao\centerline{\today} \par} + + \clearpage\thispagestyle{empty}\cleardoublepage% + \thispagestyle{empty} + \begin{center} + \xiaochuhao + + \includegraphics[height=0.63in]{figures/seu-text-logo} + + \ifmasters + \includegraphics{figures/master-hwzs} + \else + \includegraphics{figures/doctor-hwzs} + \fi + + \vspace{31.5pt} + \yihao\heiti\@title\@thesisthanks\\ + \yihao\heiti\@subtitle + \vspace{42pt} + + { + \setlength{\tabcolsep}{0pt} + \begin{tabular}{cc} + \makebox[3.5cm][s]{\xiaoerhao\heiti{}专~~业~~名~~称: } & + \underline{\makebox[6cm][s]{ + \xiaoerhao\songti\textbf{\@major} }} \\ + \\ + \makebox[3.5cm][s]{ \xiaoerhao\heiti\authorpre: } & + \underline{\makebox[6cm][s]{ + \xiaoerhao\songti\textbf{\@author} }} \\ + \\ + \makebox[3.5cm][s]{ \xiaoerhao\heiti\advisorpre: } & + \underline{\makebox[6cm][s]{ + \xiaoerhao\songti\textbf{\@advisorname\quad\@advisortitle} }} \\ - & - \ifcoadvisor - \underline{\makebox[6cm][s]{ - \xiaoerhao\song\textbf{\@coadvisorname\quad\@coadvisortitle} }} - \else - \fi - \end{tabular} - } - \end{center} -}%%=======================end of maketitle================================================== - - -%%========================================english title========================================================= + & + \ifcoadvisor + \underline{\makebox[6cm][s]{ + \xiaoerhao\songti\textbf{\@coadvisorname\quad\@coadvisortitle} }} + \else + \fi + \end{tabular} + } + \end{center} +} + \newcommand{\makeenglishcover}{% - \clearpage\thispagestyle{empty}\cleardoublepage\thispagestyle{empty} - \begin{center} - ~\\ - {\fontsize{24pt}{28pt}\selectfont - \MakeUppercase{\@titleeng}\\ - \MakeUppercase{\@subtitleeng} - \par - } - - \vspace{1.0in}% - {\fontsize{16pt}{24pt}\selectfont - {A - \ifmasters - Thesis - \else - Dissertation - \fi - submitted to}\\ - {\universitynameeng}\\ - {For the Academic Degree of \@degreetypeen}\\ - {\vspace{0.5in}}% - {BY}\\ - {\@authoreng}\\ - {\vspace{0.5in}}% - {Supervised by:}\\ - {\@advisortitleeng\ \@advisornameeng}\\ - \ifcoadvisor - {and}\\ - {\@coadvisortitleeng\ \@coadvisornameeng}\\ - \else - \fi - {\vspace{0.5in}}% - {\vfill} - {\@departmenteng}\\ - {\universitynameeng}\\ - {\todayeng} - \par - }% - \end{center}% - - } - - \newcommand\makecover{% - \makechinesecover - \makeenglishcover - } - +\clearpage\thispagestyle{empty}\cleardoublepage\thispagestyle{empty} + \begin{center} + ~\\ + {\fontsize{24pt}{28pt}\selectfont + \MakeUppercase{\@titleeng}\\ + \MakeUppercase{\@subtitleeng} + \par + } + + \vspace{2cm}% + {\fontsize{16pt}{24pt}\selectfont + {A + \ifmasters + Thesis + \else + Dissertation + \fi + submitted to}\\ + {\universitynameeng}\\ + {For the Academic Degree of \@degreetypeen}\\ + {\vspace{0.5in}}% + {BY}\\ + {\@authoreng}\\ + {\vspace{0.5in}}% + {Supervised by:}\\ + {\@advisortitleeng\ \@advisornameeng}\\ + \ifcoadvisor + {and}\\ + {\@coadvisortitleeng\ \@coadvisornameeng}\\ + \else + \fi + {\vfill} + {\@departmenteng}\\ + {\universitynameeng}\\ + {\todayeng} + \par + }% + \end{center}% + + } + + \newcommand\makecover{% + \makechinesecover + \makeenglishcover + \seudeclare + } + \renewenvironment{abstract}[1] { \pagenumbering{Roman} \clearpage\thispagestyle{empty}\cleardoublepage\thispagestyle{plain} - \newcommand{\@keywords}{#1} - \hypersetup{pdfkeywords={\@keywords}} - \phantomsection - \addcontentsline{toc}{chapter}{\@abstracttitle} - \chapter*{\@abstracttitle} - \setcounter{page}{1} + \newcommand{\@keywords}{#1} + \hypersetup{pdfkeywords={\@keywords}} + \phantomsection + \addcontentsline{toc}{chapter}{\@abstracttitle} + \chapter*{\@abstracttitle} + \setcounter{page}{1} } { - \par - \begin{description} - \item[关键词:] \@keywords - \end{description} + \par + \begin{description} + \item[关键词:] \@keywords + \end{description} } \newenvironment{englishabstract}[1] { \cleardoublepage\thispagestyle{plain} - \newcommand{\@keywords}{#1} - \phantomsection - \addcontentsline{toc}{chapter}{Abstract} - \ctexset{% - chapter/nameformat=\large\bfseries, - chapter/titleformat=\large\bfseries - } - \chapter*{Abstract} - \ctexset{% - chapter/nameformat=\large\bfseries, - chapter/titleformat=\large\hei - } + \newcommand{\@keywords}{#1} + \phantomsection + \addcontentsline{toc}{chapter}{Abstract} +\ctexset{% +chapter/nameformat=\large\bfseries, +chapter/titleformat=\large\bfseries +} + \chapter*{Abstract} + \ctexset{% +chapter/nameformat=\large\heiti, +chapter/titleformat=\large\heiti +} } { - \par - \begin{description} - \item[Keywords:] \@keywords - \end{description} + \par + \begin{description} + \item[Keywords:] \@keywords + \end{description} } - \newcommand\listofothers{% \iffigurelist \cleardoublepage @@ -655,15 +643,16 @@ listtablename={表格目录} \cleardoublepage \phantomsection \addcontentsline{toc}{chapter}{\nomname} -\printnomenclature +\pagestyle{nom} +\printnomenclature[1in] \fi - } \newcommand{\mainmatter}{% \cleardoublepage \pagenumbering{arabic} +\pagestyle{seustyle} } \newcommand{\acknowledgement}{% @@ -689,13 +678,12 @@ listtablename={表格目录} } \newcommand{\seuthesix}{% - \makebox{S\hspace{-0.3ex}\raisebox{-0.5ex}{E}\hspace{-0.3ex}U\hspace{0.1em}% - \textsc{Thesix}} + \makebox{S\hspace{-0.3ex}\raisebox{-0.5ex}{E}\hspace{-0.3ex}U\hspace{0.1em}% + \textsc{Thesix}} } \newcommand{\seuthesis}{% - \makebox{S\hspace{-0.3ex}\raisebox{-0.5ex}{E}\hspace{-0.3ex}U\hspace{0.1em}% - \textsc{Thesis}} + \makebox{S\hspace{-0.3ex}\raisebox{-0.5ex}{E}\hspace{-0.3ex}U\hspace{0.1em}% + \textsc{Thesis}} } \endinput -%% %% End of file `seuthesix.cls'. -- cgit v1.2.3