正常编译

This commit is contained in:
KAAAsS 2022-03-29 18:43:12 +08:00
commit 4863bb5515
Signed by: KAAAsS
GPG Key ID: D22F53AF662411FE
5 changed files with 5390 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*.lyx~

190
scutthesis.bib Normal file
View File

@ -0,0 +1,190 @@
@BOOK{Meta_CN,
title = {{电磁超介质及其应用}},
address = {北京},
publisher = {国防工业出版社},
year = {2008},
author = {崔万照 and 马伟 and 邱乐徳 and 张洪太},
language = {zh}
}
@book{lamport1994latexa,
address = {Massachusetts},
title = {{LaTEX:} a document preparation system},
shorttitle = {La T E X},
publisher = {{Addison-Wesley,} Reading},
author = {L. Lamport and others},
year = {1994}
}
@Article{wang_model_2009,
title = {基于可用性模型的志愿计算},
url = {http://epub.cnki.net/grid2008/detail.aspx?QueryID=7&CurRec=1},
doi = {CNKI:SUN:JSJC.0.2009-03-010},
journal = {计算机工程},
author = {王宇 and 王志坚 and 黄晓萍 and 王从明},
year = {2009},
keywords = {availability model, volunteer computing, {XtremWeb} platform, {XtremWeb平台,} 可用性模型, 志愿计算},
}
@Article{chen2007ewi,
author = {Chen, H. and Wu, B. I. and Zhang, B. and Kong, J. A.},
title = {{Electromagnetic Wave Interactions with a Metamaterial Cloak}},
journal = {Physical Review Letters},
year = {2007},
volume = {99},
pages = {63903},
number = {6},
publisher = {APS}
}
@Inproceedings{DPMG,
author = {Kim, Sangbum and Woo, Namyoon and Yeom, Heon Y. and Park,
Taesoon and Park, Hyoungwoo},
title = {Design and {I}mplementation of {D}ynamic {P}rocess
{M}anagement for {G}rid-enabled {MPICH}},
booktitle = {the 10th European PVM/MPI Users' Group Conference},
year = 2003,
address = {Venice, Italy},
month = sep,
}
@INPROCEEDINGS{cnproceed,
author = {王重阳 and 黄药师 and 欧阳峰 and 洪七公 and 段皇帝},
title = {武林高手从入门到精通},
booktitle = {第~$N$~次华山论剑},
year = 2006,
address = {西安, 中国},
publisher = {中国古籍出版社},
month = sep,
language = {zh},
}
@INCOLLECTION{Krasnogor2004e,
AUTHOR = {N. Krasnogor},
TITLE = {Towards robust memetic algorithms},
BOOKTITLE = {Recent Advances in Memetic Algorithms},
PUBLISHER = {Springer Berlin Heidelberg},
YEAR = {2004},
PAGES = {185-207},
EDITOR = {W.E. Hart and N. Krasnogor and J.E. Smith},
VOLUME = {166},
SERIES = {Studies in Fuzziness and Soft Computing},
ADDRESS = {New York},
}
@INCOLLECTION{zjsw,
AUTHOR = {班固},
TITLE = {苏武传},
BOOKTITLE = {传记散文英华},
PUBLISHER = {湖北人民出版社},
YEAR = {1998},
PAGES = {65-69},
EDITOR = {郑在瀛 and 汪超宏 and 周文复},
VOLUME = {2},
SERIES = {新古文观止丛书},
ADDRESS = {武汉},
language = {zh},
}
@INBOOK{clzs,
AUTHOR = {阎真},
TITLE = {沧浪之水},
CHAPTER = {大人物还是讲人情的},
PAGES = {185-207},
PUBLISHER = {人民文学出版社},
YEAR = {2001},
language = {zh},
}
@TechReport{NPB2,
title = {The {NAS} Parallel Benchmarks 2.0},
author = {Alex Woo and David Bailey and Maurice Yarrow and Wijngaart
Wijngaart and Tim Harris and William Saphir},
year = 1995,
month = dec,
address = {US},
institution = {The Pennsylvania State University CiteSeer Archives},
url = {http://www.nasa.org/}
}
@MastersThesis{zhubajie,
author = {猪八戒},
title = {论流体食物的持久保存},
school = {广寒宫大学},
year = 2005,
address = {北京},
language = {zh},
}
@PhdThesis{shaheshang,
author = {沙和尚},
title = {论流沙河的综合治理},
school = {清华大学},
year = 2005,
address = {北京},
language = {zh},
}
@book{goossens1994thelatex,
address = {Massachusetts},
title = {The {LaTEX} Companion},
publisher = {{Addison-Wesley,} Reading},
author = {M. Goossens and F. Mittelbach and A. Samarin},
year = {1994}
}
@book{knuth1986thetexbook,
address = {Massachusetts},
title = {The texbook},
publisher = {{Addison-Wesley} Reading},
author = {D. E Knuth and D. Bibby and I. Makai},
year = {1986}
}
@Misc{TUG,
Author = {Robin Laakso},
Title = {TeX Users Group},
typeoflit = {EB/OL},
url ={http://www.tug.org/},
year = 2011
}
@Misc{Texmaker,
Author = {Pascal Brachet },
Title = {Free cross-platform LaTeX editor},
url = {http://www.xm1math.net/texmaker/},
typeoflit = {EB/OL},
year = 2011
}
@Misc{xetex_lyx,
Author = {lyx.org},
Title = {How to use LyX with XeTeX},
url = {http://wiki.lyx.org/LyX/XeTeX},
typeoflit = {EB/OL},
citedate = {2011-01-13},
year = 2011
}
@Misc{latex3_lyx,
Author = {latex-project},
Title = {Latex3},
url = {http://www.latex-project.org/latex3.html},
typeoflit = {EB/OL},
citedate = {2011-01-13},
year = 2011
}
@Misc{lshort,
Author = {Tobias Oetiker},
Title = {The Not So Short Introduction to LATEX2},
url = {http://www.ctan.org/tex-archive/info/lshort/english/lshort.pdf},
typeoflit = {EB/OL},
citedate = {2011-01-13},
modifydate = {2010-1-19},
year = 2010
}
@Misc{latex2efontsel,
Author = {Latex3 Project Team},
Title = {LATEX2e font selection},
url = {http://www.ctan.org/tex-archive/macros/latex/doc/fntguide.pdf},
typeoflit = {EB/OL},
citedate = {2011-01-13},
year = 2005
}

549
scutthesis.cls Normal file
View File

@ -0,0 +1,549 @@
% Copyright (C) 2010-2015 by Alwin Tsui <alwintsui@gmail.com>
% and Quansheng Guan <qshguan@gmail.com>
%
% This file is part of the scutthesis package project.
% https://github.com/alwintsui/scutthesis
% ---------------------------------------------------
% This file may be distributed and/or modified under the
% conditions of the GNU General Public License v3
% of this license or (at your option) any later version.
%
% modified from thuthesis.cls,seuthesis.cls and tjthesis.cls
%% Jun 19, 2010.latex()
%% Jun 20, 2010,abstract,keywords,Appendencelyxscutthesis.layout
%% Jun 22, 2010,natbib
%% v2.0.1, Mar 31, 2011,Quansheng Guan,稿
%% v2.1.0, Jun 20, 2015,pdfcover稿lyx
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesClass{scutthesis}[2011/03/31 2.0.1 The LaTeX class for the thesis of South China University of Technology]
%% import global options
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newif\ifmasterdegree\masterdegreefalse %doctor
\newif\ifpdfcover\pdfcoverfalse
\newif\ifchapterx\chapterxfalse
\DeclareOption{master}{\masterdegreetrue}
\DeclareOption{pdfcover}{\pdfcovertrue} %using pdfcover,TOdo
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{book}}
\ProcessOptions\relax %revised by Quansheng Guan \ProcessOptions
\LoadClass[12pt,a4paper,openany]{book}
%% define
\newcommand{\scutthesis}{%
S\hspace{-0.3ex}\raisebox{-0.5ex}{C}\hspace{-0.3ex}U\hspace{0.1em}\raisebox{-0.5ex}{T}%
\textsc{Thesis}
}
\def \institute#1{\gdef\@institute{#1}}
\def \supervisor#1{\gdef\@supervisor{#1}}
\ifmasterdegree \newcommand{\@degree}{} \else \newcommand{\@degree}{} \fi
\newcommand{\thesissubject}{\@degree{}}
\renewcommand{\today}{\the\year~~\the\month~~\the\day~}
%% sty packages
\RequirePackage{ifpdf}
\RequirePackage{ifthen}
\RequirePackage{doc}
\RequirePackage{keyval}
\RequirePackage[dvipsnames]{xcolor}
\RequirePackage{indentfirst}
\RequirePackage{makeidx} %
\RequirePackage{amssymb} %this package conflicts with xeCJK, place it before xeCJK to avoid the coflict.
\RequirePackage[final]{pdfpages}
\RequirePackage{color}
%\RequirePackage{prettyref} %
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\RequirePackage[left=2.5cm,right=2.5cm,bottom=2.5cm,top=2.5cm,%25mm
headheight=1.5cm,%
footskip=1cm %
]{geometry}
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\RequirePackage[BoldFont, SlantFont, CJKnumber]{xeCJK} % xeCJK package, CJKnumber deprecated.
%\@ifpackagelater {xeCJK} { 2008/12/29 }
\RequirePackage{CJKnumb} % used in recent TEX distribution
%\punctstyle{kaiming}
\setmainfont[Mapping=tex-text]{Times New Roman}%\rmfamily 使,
\XeTeXlinebreaklocale "zh" %
\XeTeXlinebreakskip = 0pt plus 1pt %0pt~1pt
\setCJKmainfont{SimSun}
\setCJKfamilyfont{song}{SimSun}
\setCJKfamilyfont{hei}{SimHei}
\setCJKfamilyfont{kai}{KaiTi_GB2312}
\setCJKfamilyfont{fang}{FangSong_GB2312}
\newcommand{\songti}{\CJKfamily{song}}
\newcommand{\heiti}{\CJKfamily{hei}}
\newcommand{\kaiti}{\CJKfamily{kai}}
\newcommand{\fangsong}{\CJKfamily{fang}}
%% Font size
\newcommand{\chuhao}{\fontsize{42pt}{46pt}\selectfont}
\newcommand{\xiaochuhao}{\fontsize{36pt}{40pt}\selectfont}
\newcommand{\yichu}{\fontsize{32pt}{36pt}\selectfont}
\newcommand{\yihao}{\fontsize{28pt}{32pt}\selectfont}
\newcommand{\erhao}{\fontsize{21pt}{24pt}\selectfont}
\newcommand{\xiaoerhao}{\fontsize{18pt}{20}\selectfont}
\newcommand{\sanhao}{\fontsize{15.75pt}{18pt}\selectfont}
%\newcommand{\xiaosanhao}{\fontsize{15bp}{18pt plus .3pt minus .2pt}\selectfont}
\newcommand{\xiaosanhao}{\fontsize{15pt}{22.5pt}\selectfont}%1.5
\newcommand{\sihao}{\fontsize{14pt}{16pt}\selectfont}
\newcommand{\xiaosihao}{\fontsize{12pt}{14pt}\selectfont}
\newcommand{\wuhao}{\fontsize{10.5pt}{13pt}\selectfont}
\newcommand{\xiaowuhao}{\fontsize{9pt}{11pt}\selectfont}
\newcommand{\liuhao}{\fontsize{7.5pt}{9pt}\selectfont}
\newcommand{\xiaoliuhao}{\fontsize{6.5pt}{7.5pt}\selectfont}
\newcommand{\qihao}{\fontsize{5.5pt}{6.5pt}\selectfont}
%
\newlength\CJK@twochars %set \CJK@twochars zero
\def\CJK@spaceChar{\hskip \f@size \p@}
%%\def\CJK@spaceChar{\Unicode{48}{7}} %delete
\def\CJKindent{%
\settowidth\CJK@twochars{\CJK@spaceChar\CJK@spaceChar}%
\parindent\CJK@twochars}
\newcommand{\cndash}{\rule{0.0em}{0pt}\rule[0.35em]{1.4em}{0.05em}\rule{0.2em}{0pt}} % ,added by Quansheng
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%使
\raggedbottom
% badboxes
% \setlength\parskip{.5\baselineskip
% plus .1\baselineskip
% minus .4\baselineskip
% }
\hbadness=10000 \tolerance=10000 \hfuzz=150pt % badboxes,
% My fonts for Scut thesis
\renewcommand{\normalsize}{\xiaosihao\songti\normalfont} % Normal font size
\newcommand{\absnamecn}{\heiti\xiaoerhao} %
\newcommand{\abskeycn}{\heiti\xiaosihao} %
\newcommand{\abskeyscn}{\songti\xiaosihao\normalfont} %
\newcommand{\absnameen}{\heiti\xiaosihao} % ``Abstract''
\newcommand{\abskeyen}{\bfseries\xiaosihao} % ``KEY WORDS''
\newcommand{\abskeysen}{\songti\xiaosihao\normalfont} %
\newcommand{\headfont}{\songti\wuhao\normalfont} %
\newcommand{\toctitlefont}{\heiti\xiaoerhao} %
\newcommand{\tocchapterfont}{\heiti\xiaosihao} % X
\newcommand{\tocsectionfont}{\normalsize} % X.Y
\newcommand{\tocsubsectionfont}{\normalsize} % X.Y.Z
\newcommand{\tocsubsubsectionfont}{\normalsize} % X.Y.Z
\newcommand{\textchapterfont}{\centering\heiti\xiaoerhao} % X
\newcommand{\textsectionfont}{\heiti\xiaosanhao} % X.Y
\newcommand{\textsubsectionfont}{\heiti\sihao} % X.Y.Z
\newcommand{\textsubsubsectionfont}{\heiti\xiaosihao} % X.Y.Z.K
\newcommand{\footnotefont}{\songti\xiaowuhao\normalfont} %
\newcommand{\ftcaptionfont}{\kaiti\wuhao\normalfont} %
\newcommand{\reftitlefont}{\heiti\xiaoerhao} %
\newcommand{\refbodyfont}{\songti\wuhao\normalfont} %
\newcommand{\thanktitlefont}{\heiti\sanhao} %
\newcommand{\appendixtitlefont}{\heiti\sanhao} %
%\normalfont command (essentially) executes the command sequence:
% \fontencoding{\encodingdefault}
% \fontfamily{\familydefault}
% \fontseries{\seriesdefault}
% \fontshape{\shapedefault}
% \selectfont
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%()1-1
%
%lyx
\RequirePackage{graphicx}
\DeclareGraphicsExtensions{.pdf,.eps,.jpg,.png} % ,
\RequirePackage{subfig} % configsubfigure
\RequirePackage{float} % 使H
%\RequirePackage{ccaption} %subfig
\RequirePackage{caption} % . 使caption3.0
\DeclareCaptionFont{capFont}{\ftcaptionfont} %
\DeclareCaptionLabelSeparator{twospace}{~~}
\captionsetup{ labelsep=twospace,%
belowskip=0bp,aboveskip=0bp,
font={capFont}, figurename=,tablename=,listfigurename=,listtablename=}
\captionsetup[figure]{position=bottom}
\captionsetup[subfloat]{captionskip=6bp,nearskip=0bp,farskip=0bp,topadjust=0bp,justification=centering}
%%%%%%%%%%
\newcommand{\FigureBicaption}[2]{
\renewcommand{\figurename}{}
\vspace{8pt}
\caption{#1}
\addtocounter{figure}{-1}
\renewcommand{\figurename}{Fig.}
\captionsetup{list=false}
\vspace{6pt}
\caption{#2}
\captionsetup{list=true}
\renewcommand{\figurename}{}
}
\newcommand{\SubfloatCaption}[4] % Two Parameters, the first one is the width of the subfigure,
{
\subfloat[#2]{
\label{#3}
\addtocounter{subfigure}{-1}
\subfloat[\vspace{-5pt}#1]{#4}
}%
}
%%
\RequirePackage{array} % array tabular
\RequirePackage{booktabs} % 线 % \toprule\midrule\bottomrule
\RequirePackage{longtable} %
\RequirePackage{ctable, threeparttable} % ,
%\RequirePackage{tabularx}
\captionsetup[table]{position=top}
%
\newcommand{\TableBicaption}[2]{
\renewcommand{\tablename}{}
\vspace{8pt}
\caption{#1}
\vspace{6pt}
\addtocounter{table}{-1}
\renewcommand{\tablename}{Table}
\captionsetup{list=false}
\caption{#2}
\captionsetup{list=true}
\renewcommand{\tablename}{}
}
\renewcommand{\theequation}{\arabic{chapter}-\arabic{equation}}
\renewcommand{\thetable}{\arabic{chapter}-\arabic{table}}
\renewcommand{\thefigure}{\arabic{chapter}-\arabic{figure}}
\renewcommand{\thefootnote}{\arabic{footnote}} \setcounter{footnote}{0}
\renewcommand\fps@figure{htbp} %
\renewcommand\fps@table{htbp}
\renewcommand{\textfraction}{0.07}
\renewcommand{\topfraction}{0.9}
\renewcommand{\bottomfraction}{0.8}
\renewcommand{\floatpagefraction}{0.85}
%%
%\RequirePackage{enumitem}
%\setlist{noitemsep,nolistsep,topsep=0pt,itemindent=1em}
%\setenumerate[1]{label=\arabic*), ref=\arabic*}
%\setenumerate[2]{label=\emph{\alph*}),ref=\theenumi.\emph{\alph*}}
%\setenumerate[3]{label=\roman*), ref=\theenumii.\roman*}
% Ref: http://bbs.ctex.org/viewthread.php?tid=52331&page=1
% \setitemize{itemindent=38pt,leftmargin=0pt,itemsep=0ex,listparindent=26pt,partopsep=0pt,parsep=\parskip,topsep=-0.25ex}
% \setenumerate{itemindent=38pt,leftmargin=0pt,itemsep=0ex,listparindent=26pt,partopsep=0pt,parsep=\parskip,topsep=-0.25ex}
% \setdescription{itemindent=38pt,leftmargin=0pt,itemsep=0ex,listparindent=26pt,partopsep=0pt,parsep=\parskip,topsep=-0.25ex}
\RequirePackage{paralist}%
\setdefaultenum{1)}{a)}{i.}{A.}% ,for \enumerate
\setdefaultleftmargin{4ex}{}{}{}{}{}%standard \itemize : ·
\RequirePackage[numbers,super,square,sort&compress]{natbib} % 修改引用参考文献格式
% natbib
%\let\originalcite=\cite
%\renewcommand{\cite}[1]{\textsuperscript{\originalcite{#1}}}
%\renewcommand{\citet}[1]{\originalcite{#1}}
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\RequirePackage[ruled,vlined,algochapter]{algorithm2e}
% algorithm2e
\renewcommand{\algorithmcfname}{}
\renewcommand\thealgocf{\csname the\algocf@within\endcsname-\@arabic\c@algocf}%
\RequirePackage{listings}
\definecolor{mygray}{RGB}{245,245,245}
\lstset{
tabsize=4, %
frame=tb,
commentstyle=\color{red!50!green!50!blue!50},
rulesepcolor=\color{red!20!green!20!blue!20},%
keywordstyle=\color{blue!90}\bfseries,
backgroundcolor=\color{mygray},
showstringspaces=false,%
stringstyle=\ttfamily,
basicstyle={\footnotesize\ttfamily},
breaklines=true,
keepspaces=true, %
flexiblecolumns=true, %
lineskip=-0.1pt,%
fontadjust,
captionpos=t,
framextopmargin=1pt,framexbottommargin=1pt,abovecaptionskip=-1pt,belowcaptionskip=1pt,
%xleftmargin=4em,xrightmargin=4em, % listing
extendedchars=false,columns=flexible,mathescape=false
breakautoindent=true
}
\renewcommand{\lstlistingname}{} %% Listings added by Guan
%bibi style
\RequirePackage[nottoc]{tocbibind} %
\renewcommand{\bibname}{}
%
%%%%%%%%%%%%%%%%%
\RequirePackage{titletoc}
\renewcommand\contentsname{\centerline{\toctitlefont{\quad{}}}}
\titlecontents{chapter}[0ex]{\tocchapterfont}{%
\CJKnumber{\thecontentslabel}\quad{}}{}{%
\hspace{.5em}\titlerule*[5pt]{$\cdot$}\contentspage}%
\titlecontents{section}[1em]{\tocsectionfont}{%
\thecontentslabel\quad{}}{}{%
\hspace{.5em}\titlerule*[5pt]{$\cdot$}\contentspage}%
\titlecontents{subsection}[2em]{\tocsubsectionfont}{%
\thecontentslabel\quad{}}{}{%
\hspace{.5em}\titlerule*[5pt]{$\cdot$}\contentspage}%
\titlecontents{subsubsection}[3em]{\tocsubsubsectionfont}{%
\thecontentslabel\quad{}}{}{%
\hspace{.5em}\titlerule*[5pt]{$\cdot$}\contentspage}%
%
\setcounter{secnumdepth}{4}
\setcounter{tocdepth}{2}
% Text style
%%%%%%%%%%%%%%%%%%%%%%%%
\RequirePackage[pagestyles, rm]{titlesec}%titlesecfancyhdr
\renewcommand{\chaptername}{\CJKnumber{\thechapter}}
\titleformat{\chapter}[hang]{\textchapterfont}{\CJKnumber{\thechapter}}{1em}{}
\titleformat{\section}[hang]{\textsectionfont}{\thesection}{1em}{}
\titleformat{\subsection}[hang]{\textsubsectionfont}{\thesubsection}{1em}{}
\titleformat{\subsubsection}[hang]{\textsubsectionfont}{\thesubsubsection}{1ex}{}%
%\titlespacing{\chapter}{0pt}{3ex plus .5ex minus .5ex}{3ex plus .5ex minus .5ex} %
\setlength{\parskip}{0ex}%
\titlespacing{\chapter}{0pt}{-20pt}{1pt} % revised by Quansheng Guan
\titlespacing{\section}{0pt}{1pt}{1pt} %
\titlespacing{\subsection}{0pt}{4pt}{0pt}
\titlespacing{\subsubsection}{0pt}{6pt}{6pt}
\newcommand{\linespacing}[1]{\linespread{#1}\selectfont}%
%\sethead[ even-left ][ even-center ][ even-right ] { odd-left }{ odd-center }{ odd-right }
\newpagestyle{revtitlestyle}{
\ifchapterx
\sethead[][{\headfont{}\thesissubject}][] %
{}{{\headfont{}\@chapterxname}}{} %
\else
\sethead[][{\headfont{}\thesissubject}][] %
{}{{\headfont{}\chaptertitlename\quad\chaptertitle}}{} %
\fi
\setfoot[][\headfont{}\thepage][] %
{}{\headfont{}\thepage}{}%
\headrule%线
\setheadrule{1.5pt}%线
}
\let\orig@bibliography=\bibliography
\renewcommand{\bibliography}[1]{
\cleardoublepage % 使使 seunolabel
\refbodyfont
\chapterxtrue %
\chapterxname{\bibname}
\let\ps@plain=\ps@revtitlestyle
\pagestyle{revtitlestyle} % here and continue
\orig@bibliography{#1}
\normalsize
}
\renewcommand\frontmatter{ %
\pagenumbering{Roman}% Roman style page number
\pagestyle{plain}
\@mainmatterfalse
}%
\renewcommand\mainmatter{%
\@mainmattertrue
\chapterxfalse %
\ifodd \arabic{page} %
\clearpage
\pagestyle{empty}
\mbox{} %
\fi
\clearpage
\pagenumbering{arabic}
\makeatletter
\let\ps@plain=\ps@revtitlestyle
\makeatother
\pagestyle{revtitlestyle} % here and continue
%
}
\renewcommand\backmatter{%
% there is no label number for reference chapter
}
%==========
\AtBeginDocument{\CJKindent{}%
\makeindex%
\normalsize%
\linespacing{1.682}% 1.5
}
\AtEndDocument{}
%------------------
\renewcommand{\maketitle}{% called outside
\ifpdfcover
%%coverpage from pdf file
\includepdf[pages=-]{thesis_cover.pdf}%pdftexlyx
\else
%%buildin coverpage
\begin{titlepage}
\raggedleft
\null
\vskip 4em
\bigskip
\centerline{\songti\erhao {\thesissubject} }
\vskip 4em
\bigskip
\centerline{\heiti\yihao {\@title} }
\vskip 2em
\bigskip
\centerline{\songti\erhao {\@author} }
\bigskip
\centerline{\songti\erhao {\@supervisor} }
\vfill
\centerline{\songti\normalsize{\@institute}}
\centerline{\songti\normalsize{\@date}}
\end{titlepage}
\fi
}
%%
%\abstractCN\abstractENAbstract
%使\charpter*{}\chapterx{Abstract}
\newenvironment{abstractCN}{
\chapter*{\quad }
\addcontentsline{toc}{chapter}{}
}{}
\newenvironment{abstractEN}
{
\chapter*{Abstract}
\addcontentsline{toc}{chapter}{Abstract}
}{}
\newcommand{\keywordsCN}[1]{
\par
\vspace{1em}
\newcommand{\@keywords}{#1}
{\noindent\abskeycn } {\abskeyscn \@keywords} % \noindent
}
\newcommand{\keywordsEN}[1]{
\par
\vspace{1em}
{\noindent\abskeyen Keywords:} {\abskeysen #1} % \noindent
}
%
\newcommand{\abstractx}[1]
{
\begin{center}
#1
\par\end{center}
\addcontentsline{toc}{chapter}{#1}
}
%chapter*
%\chapterx\chapterxname
\def \chapterxname#1{\gdef\@chapterxname{#1}}
\newcommand{\chapterx}[1]
{
\chapterxtrue
\chapter*{#1}
\chapterxname{#1}
\addcontentsline{toc}{chapter}{#1}
}
\renewcommand{\appendix}[1]{%
% \chaptertitle is not available for those chapters without label number.
\cleardoublepage
\renewcommand{\thesection}{{#1}\arabic{section}}
\chapter*{#1}
\chapterxname{\thesection\quad\sectiontitle}
\addcontentsline{toc}{chapter}{#1}
\setcounter{section}{0}
}
\renewenvironment{verse}
{\let\\\@centercr
\list{}{\itemsep \z@
\itemindent -1.5em%
\listparindent\itemindent
\rightmargin \leftmargin
\advance\leftmargin 1.5em}%
\item\relax}
{\endlist}
\renewenvironment{quotation}
{\list{}{\listparindent 1.5em%
\itemindent \listparindent
\rightmargin \leftmargin
\parsep \z@ \@plus\p@}%
\item\relax}
{\endlist}
\renewenvironment{quote}
{\list{}{\rightmargin\leftmargin}%\vspace{-15pt}
\item\relax}
{\endlist}
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\RequirePackage{bm} %
%\RequirePackage[amsmath,thmmarks]{ntheorem}
\RequirePackage{amsmath,amsthm,mathrsfs}
%,
%
\allowdisplaybreaks[4]
%\setlength\jot{1pt} %,TODO
\newtheoremstyle{definition}% name
{0pt}% Space above, empty = `usual value'
{0pt}% Space below
{}% Body font \itshape
{\parindent}% Indent amount (empty = no indent, \parindent = para indent)
{\bfseries}% Thm head font
{:}% Punctuation after thm head
{0.5em}% Space after thm head: \newline = linebreak
{}% Thm head spec
\theoremstyle{definition}
\newtheorem{definition}{~}[chapter]
\newtheorem{example}{~}[chapter]
\newtheorem{remark}{~}[chapter]
\newtheoremstyle{plain}% name
{0pt}% Space above, empty = `usual value'
{0pt}% Space below
{\itshape}% Body font \itshape
{\parindent}% Indent amount (empty = no indent, \parindent = para indent)
{\bfseries}% Thm head font
{:}% Punctuation after thm head
{0.5em}% Space after thm head: \newline = linebreak
{}% Thm head spec
\theoremstyle{plain}
\newtheorem{proposition}{~}[chapter]
\newtheorem{lemma}{~}[chapter]
\newtheorem{theorem}{~}[chapter]
\newtheorem{axiom}{~}[chapter]
\newtheorem{corollary}{ ~}[chapter]
\newtheorem{case}{~}[chapter]
\newtheorem{conjecture}{~}[chapter]
\newtheorem{property}{~}[chapter]
\renewenvironment{proof}{\vskip 1pt\indent \itshape :~\normalfont}{\hfill$\square$\vskip 0.01\baselineskip} %$\blacksquare$
%\renewcommand{\proofname}{\hskip 2em :~} %
%%%%%%%%%%%%%%%%% end of
\setlength\abovedisplayskip{4pt}
\setlength\belowdisplayskip{4pt}
\endinput
%% End of file `scutthesis.cls'.

296
scutthesis.layout Normal file
View File

@ -0,0 +1,296 @@
#% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass[scutthesis]{book (SCUT Thesis)}
# Author :Alwin Tsui <alwintsui@gmail.com>
# v.1.0 Jun 20,2010
# v.1.1 Mar 30,2011
# v.1.2 Jun 12,2015
Format 11
Columns 1
Sides 1
PageStyle Headers
Provides natbib-internal 1
Provides url 1
# Default textclass options. The user may need to modify this.
ClassOptions
Other "unicode"
End
Style Standard
Margin Static
LatexType Paragraph
LatexName dummy
ParIndent MM
ParSkip 0.4
Align Block
AlignPossible Block, Left, Right, Center
LabelType No_Label
End
Input stdsections.inc
Input stdinsets.inc
Input numreport.inc
Style Chapter
Align Center
AlignPossible Block, Center, Left
Font
Series Medium
Shape Smallcaps
Size Large
EndFont
End
Style Section
Align Left
AlignPossible Block, Center, Left
Font
Series Medium
Shape Smallcaps
Size Large
EndFont
End
Style Subsection
Font
Series Bold
Size Normal
EndFont
End
Style Subsubsection
Font
Shape Italic
Size Normal
EndFont
End
Style Paragraph
TopSep 0.7
ParSep 0.4
Font
Shape Italic
Size Normal
EndFont
End
# then define the unumbered sections, based on the numbered ones.
Input stdstarsections.inc
#NoStyle Chapter*
NoStyle Subparagraph*
Input stdlayouts.inc
Input stdlists.inc
Input stdtitle.inc
Input stdstruct.inc
Style Institue
Margin Static
LatexType Command
Category FrontMatter
InTitle 1
LatexName institute
LabelSep xxx
ParSkip 0.4
TopSep 1.3
BottomSep 0.7
ParSep 0.7
Align Center
LabelType No_Label
Font
Size Large
EndFont
End
Style Supervisor
CopyStyle Author
LatexName supervisor
End
NoStyle Abstract
NoStyle Keywords
Style AbstractCN
Margin Static
LatexType Environment
LatexName abstractCN
Category FrontMatter
InTitle 0
NextNoIndent 1
LeftMargin MMM
RightMargin MMM
ParIndent MM
ItemSep 0.2
ParSep 0.3
TopSep 0.7
BottomSep 0.7
Align Block
LabelType Centered
LabelString "摘 要"
LabelBottomSep 0.5
Font
Size Small
EndFont
LabelFont
Series Bold
Size Large
EndFont
HTMLLabelFirst 1
HTMLForceCSS 1
HTMLStyle
div.abstract {
margin: 4ex;
}
div.abstract_item {
font-size: small;
padding-top: 1ex;
}
div.abstract_label {
font-weight: bold;
}
EndHTMLStyle
End
Style AbstractEN
CopyStyle AbstractCN
LatexName abstractEN
LabelString "Abstract"
End
Style KeywordsCN
Margin First_Dynamic
LatexType Command
LatexName keywordsCN
Category FrontMatter
InTitle 0
NextNoIndent 0
ParIndent MM
LabelSep xx
ItemSep 0
TopSep 0.7
BottomSep 0.7
ParSep 0
Align Block
AlignPossible Block, Left
LabelType Static
LabelString "关键词:"
LabelFont
Series Bold
EndFont
End
Style KeywordsEN
CopyStyle KeywordsCN
LatexName keywordsEN
LabelString "Keywords:"
End
Style Chapterx
CopyStyle Chapter*
LatexName chapterx
End
Style Abstractx
Margin Static
LatexType Command
Category Unnumbered
InTitle 1
LatexName abstractx
LabelSep xxx
ParSkip 0.4
TopSep 1.3
BottomSep 0.7
ParSep 0.7
Align Center
LabelType No_Label
Font
Size Large
EndFont
End
Style Appendix
CopyStyle Chapter*
# LabelString "Appendix"
LatexName appendix
Category BackMatter
End
Input stdfloats.inc
Input stdcounters.inc
Counter example
End
Style Example
CopyStyle Definition
LatexName example
LabelCounter example
LabelString "Example \theexample."
End
Counter remark
End
Style Remark
CopyStyle Definition
LatexName remark
LabelCounter remark
LabelString "Remark \theremark."
End
Counter notation
End
Style Notation
CopyStyle Definition
LatexName notation
LabelCounter notation
LabelString "Notation \thenotation."
End
Counter theorem
End
Style Theorem
LatexType Environment
LatexName theorem
Margin First_Dynamic
TopSep 0.6
BottomSep 0.6
Align Block
NextNoIndent 1
LabelType Counter
LabelCounter theorem
LabelString "Theorem \thetheorem."
LabelSep M
LabelFont
Series Bold
Shape Up
EndFont
TextFont
Shape Italic
EndFont
End
Style Proof
LatexType Environment
LatexName proof
Margin First_Dynamic
TopSep 0.6
BottomSep 0.6
Align Block
LabelType Static
LabelString "Proof."
LabelSep M
LabelFont
Series Bold
EndFont
EndLabelType Box
End

4354
scutthesis.lyx Normal file

File diff suppressed because it is too large Load Diff