jlucswthesis/jlucswthesis.cls

590 lines
22 KiB
OpenEdge ABL
Raw Normal View History

2022-03-29 18:43:12 +08:00
% 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]
2022-03-29 21:02:05 +08:00
\ProvidesClass{jlucswthesis}[2011/03/31 2.0.1 The LaTeX class for the thesis of South China University of Technology]
2022-03-29 18:43:12 +08:00
%% import global options
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newif\ifmasterdegree\masterdegreefalse %doctor
\newif\ifpdfcover\pdfcoverfalse
2022-06-01 11:46:18 +08:00
\newif\ifnocover\nocoverfalse
2022-03-29 18:43:12 +08:00
\newif\ifchapterx\chapterxfalse
\DeclareOption{master}{\masterdegreetrue}
\DeclareOption{pdfcover}{\pdfcovertrue} %using pdfcover,TOdo
2022-06-01 11:46:18 +08:00
\DeclareOption{nocover}{\nocovertrue}
2022-03-29 18:43:12 +08:00
\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}}
2022-03-29 22:32:45 +08:00
\def \titleEN#1{\gdef\@titleEN{#1}}
\def \authorEN#1{\gdef\@authorEN{#1}}
\def \supervisorEN#1{\gdef\@supervisorEN{#1}}
2022-03-30 00:48:12 +08:00
\newcommand{\thesissubject}{~~~~}
2022-03-29 18:43:12 +08:00
\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} %
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2022-03-30 00:48:12 +08:00
\RequirePackage[
2022-03-30 12:55:35 +08:00
a4paper, % showframe, %
2022-03-30 00:48:12 +08:00
% 3
% 2
left=3cm,right=3cm,bottom=2.5cm,top=2cm,
% 1.5 = top-height-sep
% Word top+
headheight=0.5cm,
headsep=0.38cm,
% 1.5 = bot-skip
footskip=0.5cm
2022-03-29 18:43:12 +08:00
]{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}
2022-03-30 00:48:12 +08:00
\setCJKfamilyfont{kai}{KaiTi}
2022-03-29 18:43:12 +08:00
\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
2022-03-29 22:32:45 +08:00
\newcommand{\absnamecn}{\bfseries\songti\sihao} %
\newcommand{\abskeycn}{\bfseries\songti\sihao} %
2022-03-29 18:43:12 +08:00
\newcommand{\abskeyscn}{\songti\xiaosihao\normalfont} %
2022-03-29 22:32:45 +08:00
\newcommand{\absnameen}{\bfseries\sihao} % ``Abstract''
\newcommand{\abskeyen}{\bfseries\sihao} % ``KEY WORDS''
2022-03-29 18:43:12 +08:00
\newcommand{\abskeysen}{\songti\xiaosihao\normalfont} %
2022-03-30 00:48:12 +08:00
\newcommand{\headfont}{\kaiti\xiaosihao} %
2022-03-30 02:11:38 +08:00
\newcommand{\toctitlefont}{\bfseries\songti\sanhao} %
\newcommand{\tocchapterfont}{\sihao\songti\normalfont} % X
\newcommand{\tocsectionfont}{\sihao\songti\normalfont} % X.Y
\newcommand{\tocsubsectionfont}{\sihao\songti\normalfont} % X.Y.Z
\newcommand{\tocsubsubsectionfont}{\sihao\songti\normalfont} % X.Y.Z
\newcommand{\textchapterfont}{\centering\bfseries\songti\sanhao} % X
\newcommand{\textsectionfont}{\bfseries\songti\sihao} % X.Y
\newcommand{\textsubsectionfont}{\bfseries\songti\xiaosihao} % X.Y.Z
\newcommand{\textsubsubsectionfont}{\heiti\wuhao} % X.Y.Z.K
2022-03-29 18:43:12 +08:00
\newcommand{\footnotefont}{\songti\xiaowuhao\normalfont} %
2022-03-30 02:23:07 +08:00
\newcommand{\ftcaptionfont}{\heiti\wuhao} %
2022-03-30 02:04:13 +08:00
\newcommand{\reftitlefont}{\songti\sanhao} %
2022-03-29 18:43:12 +08:00
\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} %
2022-03-30 02:23:07 +08:00
\DeclareCaptionLabelSeparator{fourspace}{~~~~}
\captionsetup{ labelsep=fourspace,%
2022-03-29 18:43:12 +08:00
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}%
2022-03-30 02:15:21 +08:00
\setdefaultenum{1.}{(1)}{i.}{A.}% ,for \enumerate
2022-03-29 18:43:12 +08:00
\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}
2022-03-30 16:49:29 +08:00
\renewcommand\contentsname{\centerline{\toctitlefont{\qquad{}}}}
2022-03-29 18:43:12 +08:00
\titlecontents{chapter}[0ex]{\tocchapterfont}{%
2022-03-30 13:00:52 +08:00
\thecontentslabel \quad{}}{}{%
2022-03-29 18:43:12 +08:00
\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
2022-03-30 13:00:52 +08:00
\renewcommand{\chaptername}{ \thechapter }
\titleformat{\chapter}[hang]{\textchapterfont}{ \thechapter }{1em}{}
2022-03-29 18:43:12 +08:00
\titleformat{\section}[hang]{\textsectionfont}{\thesection}{1em}{}
\titleformat{\subsection}[hang]{\textsubsectionfont}{\thesubsection}{1em}{}
2022-03-30 12:55:35 +08:00
\titleformat{\subsubsection}[hang]{\textsubsectionfont}{\thesubsubsection}{1ex}{}
2022-03-29 18:43:12 +08:00
%\titlespacing{\chapter}{0pt}{3ex plus .5ex minus .5ex}{3ex plus .5ex minus .5ex} %
\setlength{\parskip}{0ex}%
2022-03-30 12:55:35 +08:00
\titlespacing{\chapter}{0pt}{-4pt}{20pt} % 1718
\titlespacing{\section}{0pt}{24pt}{20pt} % 2418
\titlespacing{\subsection}{0pt}{18pt}{13pt} % 1813
\titlespacing{\subsubsection}{0pt}{14pt}{14.5pt}
2022-03-29 18:43:12 +08:00
\newcommand{\linespacing}[1]{\linespread{#1}\selectfont}%
%\sethead[ even-left ][ even-center ][ even-right ] { odd-left }{ odd-center }{ odd-right }
\newpagestyle{revtitlestyle}{
\ifchapterx
2022-03-30 00:48:12 +08:00
\sethead[][{\headfont\thesissubject}][] %
{}{{\headfont\thesissubject}}{} %
2022-03-29 18:43:12 +08:00
\else
2022-03-30 00:48:12 +08:00
\sethead[][{\headfont\thesissubject}][] %
{}{{\headfont\thesissubject}}{} %
2022-03-29 18:43:12 +08:00
\fi
2022-03-30 00:48:12 +08:00
\setfoot[][\rightline{ \headfont\thepage }][] %
{}{\rightline{ \headfont\thepage }}{}%
2022-03-29 18:43:12 +08:00
\headrule%线
2022-03-30 00:48:12 +08:00
\setheadrule{0.5pt}%线
}
\newpagestyle{prerevtitlestyle}{
\headrule%线
\setheadrule{1pt}%线
2022-03-29 18:43:12 +08:00
}
\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{ %
2022-03-30 00:48:12 +08:00
\let\ps@plain=\ps@prerevtitlestyle
\pagestyle{prerevtitlestyle}
2022-03-29 18:43:12 +08:00
\@mainmatterfalse
}%
\renewcommand\mainmatter{%
\@mainmattertrue
\chapterxfalse %
2022-06-01 11:46:18 +08:00
\ifnocover
\else
2022-03-29 18:43:12 +08:00
\ifodd \arabic{page} %
\clearpage
\pagestyle{empty}
\mbox{} %
\fi
2022-06-01 11:46:18 +08:00
\fi
2022-03-29 18:43:12 +08:00
\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
2022-06-01 11:46:18 +08:00
\fi
\ifnocover
2022-03-29 18:43:12 +08:00
\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}{
2022-03-29 22:32:45 +08:00
\chapter*{
2022-03-30 00:48:12 +08:00
~\\ %
2022-03-29 22:32:45 +08:00
%
2022-03-30 16:49:29 +08:00
\centerline{\songti\xiaosanhao\normalfont {\@title} }
2022-03-29 22:32:45 +08:00
\vskip 1.8em
\absnamecn
}
2022-03-30 00:48:12 +08:00
% \addcontentsline{toc}{chapter}{}
2022-03-29 18:43:12 +08:00
}{}
\newenvironment{abstractEN}
{
2022-03-29 22:32:45 +08:00
\chapter*{
2022-03-30 00:48:12 +08:00
~\\ %
2022-03-29 22:32:45 +08:00
% Times New Roman
2022-03-30 16:49:29 +08:00
\centerline{\xiaosanhao\normalfont {\@titleEN} }
2022-03-29 22:32:45 +08:00
%
2022-03-30 16:49:29 +08:00
\rightline{\xiaosanhao\normalfont {\@authorEN} }
2022-03-29 22:32:45 +08:00
%
2022-03-30 16:49:29 +08:00
\rightline{\xiaosanhao\normalfont {\@supervisorEN} }
2022-03-29 22:32:45 +08:00
\vskip 1.8em
\absnameen Abstract
}
2022-03-30 00:48:12 +08:00
% \addcontentsline{toc}{chapter}{Abstract}
2022-03-29 18:43:12 +08:00
}{}
\newcommand{\keywordsCN}[1]{
\par
2022-03-29 22:32:45 +08:00
~\\ %
2022-03-29 18:43:12 +08:00
\newcommand{\@keywords}{#1}
2022-03-29 22:32:45 +08:00
{\noindent\abskeycn } % \noindent
\par {\abskeyscn \@keywords} %
2022-03-29 18:43:12 +08:00
}
\newcommand{\keywordsEN}[1]{
\par
2022-03-29 22:32:45 +08:00
~\\
{\noindent\abskeyen Keywords:} % \noindent
\par {\abskeysen #1}
2022-03-29 18:43:12 +08:00
}
%
\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'.