http://blog.csdn.net/doufangzheng/article/details/77974031?locationNum=3&fps=1

原始CASthesis下载链接:http://www.ctex.org/packagecasthesis

1、CASthesis.cfg

%%
%% This is file `CASthesis.cfg',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% CASthesis.dtx  (with options: `cfg')
%% 
%% This is a generated file.
%% 
%% Copyright 2004-2006
%% CTEX.ORG and any individual authors listed elsewhere in this file.
%% 
%% This file was generated from file(s) of the CASthesis package project.
%% ----------------------------------------------------------------------
%% 
%% It may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.2
%% of this license or (at your option) any later version.
%% The latest version of this license is in
%%    http://www.latex-project.org/lppl.txt
%% and version 1.2 or later is part of all distributions of LaTeX
%% version 1999/12/01 or later.
%% 
%% This is the configuration file of the CASthesis package with LaTeX2e.
%% 
\ProvidesFile{CASthesis.cfg}
  [2011/04/06 v0.2 CASthesis
   configuration file]
\ifxetex
  \XeTeXinputencoding "GBK"
\fi
%%
%% the setup of ctex package
%%
\def\CTEX@contentsname{目\CASTspace 录}
\def\CTEX@listfigurename{插\CASTspace 图}
\def\CTEX@listtablename{表\CASTspace 格}
%%
%% labels in the title page
%%
\def\CAST@label@classification{分类号}
\def\CAST@label@confidential{密级}
\def\CAST@label@UDC{UDC}
\def\CAST@label@serialnumber{编号}
\def\CAST@label@submitdate{论文提交日期}
\def\CAST@label@defenddate{论文答辩日期}
\def\CAST@label@school{学位授予单位}
\def\CAST@label@chairman{答辩委员会主席}

\def\CAST@label@author{作者姓名:}
\def\CAST@label@thesis{学位论文}
\def\CAST@label@advisor{指导教师:}
\def\CAST@label@degree{学位类别:}
\def\CAST@label@major{学科专业:}
\def\CAST@label@institute{培养单位:}
%%
%% string values filled in the title page
%%
\def\CAST@value@classification{}
\def\CAST@value@confidential{}
\def\CAST@value@UDC{}
\def\CAST@value@serialnumber{}
\def\CAST@value@school{XXXXXXX}
\def\CAST@value@degreeO{博士}
\def\CAST@value@degree{工学博士}
\def\CAST@value@title{~~~~~(论~文~题~目)~~~~~}
\def\CAST@value@titlemark{\CAST@value@title}
\def\CAST@value@author{(作~者~姓~名)}
\def\CAST@value@advisor{(姓名、专业技术职务、学位)}
\def\CAST@value@advisorinstitute{(单位)}
\def\CAST@value@major{~~~~~(学科专业)~~~~~}
\def\CAST@value@submitdate{~~~~~(~~~年~~~月)~~~~~}
\def\CAST@value@defenddate{}
\def\CAST@value@institute{XXXXXX}
\def\CAST@value@chairman{}
%%
%% labels in the english title page
%%
\def\CAST@label@englishadvisor{Supervisor:}
\def\CAST@label@englishstatement{A Dissertation/Thesis Submitted to\\
\CAST@value@englishschool\\
In partial fulfillment of the requirement for the degree of \CAST@value@englishdegree \\
  in \CAST@value@englishmajor}
%%
%% string values filled in the english title page
%%
\def\CAST@value@englishtitle{(English Title of Thesis)}
\def\CAST@value@englishauthor{(Author Name)}
\def\CAST@value@englishadvisor{(Supervisor's Name)}
\def\CAST@value@englishinstitute{XXXXX}
\def\CAST@value@englishschool{XXXXX}
\def\CAST@value@englishdate{%
  \ifcase\month\or
    January\or February\or March\or April\or May\or June\or
    July\or August\or September\or October\or November\or December\fi
  , \number\year}
\def\CAST@value@englishdegree{Ph.D.}
\def\CAST@value@englishmajor{Philosophy}
%%
%% labels in the shuoming
%%
\def\CAST@label@shuomingX{研究成果说明}
\def\CAST@label@shuomingXX{关于学位论文使用权的说明}
\def\CAST@label@signature{签名:}
\def\CAST@label@signaturedate{日期:}
\def\CAST@label@advisorsignature{导师签名:}
\def\CAST@label@advisorsignaturedate{日期:}
%%
%% string values filled in the shuoming page
%%
\def\CAST@value@shuomingX{}
\def\CAST@value@shuomingXX{}
\def\CAST@value@signature{}
\def\CAST@value@signaturedate{}
\def\CAST@value@advisorsignature{}
\def\CAST@value@advisorsignaturedate{}
%%
%% labels in the abstracts
%%
\def\CAST@label@abstract{摘\CASTspace 要}
\def\CAST@label@englishabstract{Abstract}
\def\CAST@label@keywords{关键词:}
\def\CAST@label@englishkeywords{Keywords:~}
%%
%% labels in the publications
%%
\def\CAST@label@publications{发表文章目录}
%%
%% labels in the resume
%%
\def\CAST@label@resume{简\CASTspace 历}
%%
%% labels in the thanks
%%
\def\CAST@label@thanks{致\CASTspace 谢}
%%
%% the chapter title format
%%
\def\CTEX@chapter@nameformat{\bfseries\heiti\zihao{-3}}
\def\CTEX@chapter@titleformat{\bfseries\heiti\zihao{-3}}
\def\CTEX@chapter@beforeskip{15\p@}
\def\CTEX@chapter@afterskip{12\p@}
%%
%% the section title format
%%
\def\CTEX@section@format{\bfseries\heiti\zihao{4}\centering}
\def\CTEX@section@beforeskip{-3ex \@plus -1ex \@minus -.2ex}
\def\CTEX@section@afterskip{1.0ex \@plus .2ex}
%%
%% the subsection title format
%%
\def\CTEX@subsection@format{\bfseries\heiti\zihao{-4}}
\def\CTEX@subsection@indent{2\ccwd}
\def\CTEX@subsection@beforeskip{-2.5ex \@plus -1ex \@minus -.2ex}
\def\CTEX@subsection@afterskip{1.0ex \@plus .2ex}
%%
%% the subsubsection title format
%%
\def\CTEX@subsubsection@format{\bfseries\heiti\zihao{-4}}
\def\CTEX@subsubsection@indent{2\ccwd}
\def\CTEX@subsubsection@beforeskip{-2ex \@plus -1ex \@minus -.2ex}
\def\CTEX@subsubsection@afterskip{1.0ex \@plus .2ex}
%%
%% the theorems definitions
%%
\theoremstyle{plain}
  \newtheorem{algo}{算法~}[chapter]
  \newtheorem{thm}{定理~}[chapter]
  \newtheorem{lem}[thm]{引理~}
  \newtheorem{prop}[thm]{命题~}
  \newtheorem{cor}[thm]{推论~}
\theoremstyle{definition}
  \newtheorem{defn}{定义~}[chapter]
  \newtheorem{conj}{猜想~}[chapter]
  \newtheorem{exmp}{例~}[chapter]
  \newtheorem{rem}{注~}
  \newtheorem{case}{情形~}
\theoremstyle{break}
  \newtheorem{bthm}[thm]{定理~}
  \newtheorem{blem}[thm]{引理~}
  \newtheorem{bprop}[thm]{命题~}
  \newtheorem{bcor}[thm]{推论~}
\renewcommand{\proofname}{\bf 证明}
\endinput
%%
%% End of file `CASthesis.cfg'.

2、CASthesis.cls

%%
%% This is file `CASthesis.cls',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% CASthesis.dtx  (with options: `cls')
%% 
%% This is a generated file.
%% 
%% Copyright 2004-2006
%% CTEX.ORG and any individual authors listed elsewhere in this file.
%% 
%% This file was generated from file(s) of the CASthesis package project.
%% ----------------------------------------------------------------------
%% 
%% It may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.2
%% of this license or (at your option) any later version.
%% The latest version of this license is in
%%    http://www.latex-project.org/lppl.txt
%% and version 1.2 or later is part of all distributions of LaTeX
%% version 1999/12/01 or later.
%% 
%% This file may only be distributed together with a copy of original
%% source files. You may however distribute original source files
%% without such generated files. Copying of this file is authorized
%% only if either:
%% (1) you make absolutely no changes to your copy, including name; OR
%% (2) if you do make changes, you first rename it to some other name.
%% 
%% To produce the documentation run the original source files ending
%% with `.dtx' through LaTeX.
%% 
%% \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
%%   Digits        \0\1\2\3\4\5\6\7\8\9
%%   Exclamation   \!     Double quote  \"     Hash (number) \#
%%   Dollar        \$     Percent       \%     Ampersand     \&
%%   Acute accent  \'     Left paren    Rightparen
%%   Asterisk      \*     Plus          \+     Comma         \,
%%   Minus         \-     Point         \.     Solidus       \/
%%   Colon         \:     Semicolon     \;     Less than     \<
%%   Equals        \=     Greater than  \>     Question mark \?
%%   Commercial at \@     Left bracket

Backslash

Circumflex    \^     Underscore    \_
%%   Grave accent  \`     Left brace    \{     Vertical bar  \|
%%   Right brace   \}     Tilde         \~}
%%
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesClass{CASthesis}
  [2011/04/06 v0.2 CASthesis
   document class]
\newif\ifCAST@typeinfo \CAST@typeinfotrue
\DeclareOption{notypeinfo}{\CAST@typeinfofalse}
\newif\ifCAST@dvips \CAST@dvipsfalse
\DeclareOption{dvips}{\CAST@dvipstrue}
\DeclareOption{dvipdfm}{\CAST@dvipsfalse}
\DeclareOption{pdftex}{\CAST@dvipsfalse}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{ctexbook}}
\ProcessOptions
\LoadClass[cs4size,a4paper,fancyhdr,fntef]{ctexbook}[2005/11/25]
%% check pdfTeX mode
\RequirePackage{ifpdf,ifxetex}
%% math packages
\RequirePackage{amsmath,amsthm,amsfonts,amssymb,bm}
%% graphics packages
\RequirePackage{graphicx}
%% sort and compress citations
\RequirePackage[sort&compress,numbers]{natbib}
%% packages and settings depend on PDF mode
\ifxetex
  \RequirePackage[xetex]{hyperref}
  \DeclareGraphicsExtensions{.pdf,.png,.jpg}
\else
  \ifpdf   % We're running pdfTeX in PDF mode
    \RequirePackage[pdftex]{hyperref}
    \DeclareGraphicsExtensions{.pdf,.png,.jpg}
  \else    % We're not running pdfTeX, or running pdfTeX in DVI mode
    \ifCAST@dvips
      \RequirePackage[dvips]{hyperref}
      \RequirePackage{psfrag}
      \AtBeginDvi{\special{pdf:tounicode GBK-EUC-UCS2}} % GBK -> Unicode
    \else
      \RequirePackage[dvipdfm]{hyperref}
    \fi
    \DeclareGraphicsExtensions{.eps,.ps}
  \fi
\fi
\hypersetup{CJKbookmarks=true,%
       bookmarksnumbered=true,%
              colorlinks,%
               linkcolor=blue,%
               citecolor=blue,%
              plainpages=false,%
            pdfstartview=FitH,
pdfpagemode=UseOutlines,
bookmarksopen}
\AtEndOfPackage{\makeatletter\input{CASthesis.cfg}\makeatother}
\oddsidemargin 1.5 true cm
\if@twoside
  \evensidemargin 0 true cm
\else
  \evensidemargin 1.5 true cm
\fi
\textheight 21 true cm
\textwidth 14.5 true cm
\headheight 15pt
\parskip 0.5ex plus 0.25ex minus 0.25ex
\def\cleardoublepage{\clearpage\if@twoside \ifodd\c@page\else
  \thispagestyle{empty}%
  \hbox{}\newpage\if@twocolumn\hbox{}\newpage\fi\fi\fi}
\renewcommand{\floatpagefraction}{0.80}
\bibliographystyle{plain}
\newcommand\CASTspace{\protect\CTEX@spaceChar\protect\CTEX@spaceChar}
\def\CAST@getfileinfo#1 #2 #3\relax#4\relax{%
  \def\CASTfiledate{#1}%
  \def\CASTfileversion{#2}%
  \def\CASTfileinfo{#3}}%
\expandafter\ifx\csname ver@CASthesis.cls\endcsname\relax
  \edef\reserved@a{\csname ver@ctextemp_CASthesis.cls\endcsname}
\else
  \edef\reserved@a{\csname ver@CASthesis.cls\endcsname}
\fi
\expandafter\CAST@getfileinfo\reserved@a\relax? ? \relax\relax
\def\CAST@underline[#1]#2{%
  \CTEXunderline{\hbox to #1{\hfill#2\hfill}}}
\def\CASTunderline{\@ifnextchar[\CAST@underline\CTEXunderline}
\newcommand\classification[1]{\def\CAST@value@classification{#1}}
\newcommand\confidential[1]{\def\CAST@value@confidential{#1}}
\newcommand\UDC[1]{\def\CAST@value@UDC{#1}}
\newcommand\serialnumber[1]{\def\CAST@value@serialnumber{#1}}
\newcommand\school[1]{\def\CAST@value@school{#1}}
\newcommand\degree[1]{\def\CAST@value@degree{#1}}
\renewcommand\title[2][\CAST@value@title]{%
  \def\CAST@value@title{#2}
  \def\CAST@value@titlemark{\MakeUppercase{#1}}}
\renewcommand\author[1]{\def\CAST@value@author{#1}}
\newcommand\advisor[1]{\def\CAST@value@advisor{#1}}
\newcommand\advisorinstitute[1]{\def\CAST@value@advisorinstitute{#1}}
\newcommand\major[1]{\def\CAST@value@major{#1}}
\newcommand\submitdate[1]{\def\CAST@value@submitdate{#1}}
\newcommand\defenddate[1]{\def\CAST@value@defenddate{#1}}
\newcommand\institute[1]{\def\CAST@value@institute{#1}}
\newcommand\chairman[1]{\def\CAST@value@chairman{#1}}
\renewcommand\maketitle{%
  \cleardoublepage
  \thispagestyle{empty}
  \begin{center}
    \bf\songti\zihao{-4}
    \vskip \stretch{2}
\begin{figure}[!htb]
\centerline{\includegraphics[width=6.00in]{CAS}}
\end{figure}
      \bf\heiti\zihao{1} \CAST@value@degreeO\CAST@label@thesis
    \vskip \stretch{2}
      \bf\songti\zihao{2} \CAST@value@title
    \vskip \stretch{2}
    \bf\fangsong\zihao{4}
    \def\tabcolsep{1pt}
    \def\arraystretch{1.5}
    \begin{tabular}{llcrl}
\centering
 \CAST@label@author & 
 \multicolumn{2}{l}{\CASTunderline[299pt]{\CAST@value@author}}\\
      \CAST@label@advisor &
      \multicolumn{2}{l}{\CASTunderline[299pt]{\CAST@value@advisor}}\\
 &\multicolumn{2}{l}{\CASTunderline[299pt]{\CAST@value@advisorinstitute}}\\
      \CAST@label@degree &
      \CASTunderline[299pt]{\CAST@value@degree}\\
      \CAST@label@major &
      \CASTunderline[299pt]{\CAST@value@major}\\
 \CAST@label@institute &
      \multicolumn{2}{l}{\CASTunderline[299pt]{\CAST@value@institute}}
\end{tabular}
\vskip \stretch{2}
    \fangsong\zihao{4} \CAST@value@submitdate
  \end{center}
  \clearpage
  \CAST@typeinfofalse
  \if@twoside
    \thispagestyle{empty}
    \ifCAST@typeinfo
      \vspace*{\stretch{1}}

\begin{footnotesize} 
        \noindent 
        Typeset by \LaTeXe{} at \CTEX@todayold \\ 
        With package \texttt{CASthesis} \CASTfileversion{} of C\TeX{}.ORG 
      \end{footnotesize}

\fi
    \cleardoublepage
  \fi
}
\newcommand\englishtitle[1]{\def\CAST@value@englishtitle{#1}}
\newcommand\englishauthor[1]{\def\CAST@value@englishauthor{#1}}
\newcommand\englishadvisor[1]{\def\CAST@value@englishadvisor{#1}}
\newcommand\englishinstitute[1]{\def\CAST@value@englishinstitute{#1}}
\newcommand\englishdate[1]{\def\CAST@value@englishdate{#1}}
\newcommand\englishdegree[1]{\def\CAST@value@englishdegree{#1}}
\newcommand\englishmajor[1]{\def\CAST@value@englishmajor{#1}}
\newcommand\makeenglishtitle{%
  \cleardoublepage
  \thispagestyle{empty}
  \begin{center}
    \vspace*{20pt}
      \bf \zihao{3} \CAST@value@englishtitle
    \vskip \stretch{2}
      \bf \zihao{3} \CAST@value@englishauthor
    %%\vskip \stretch{1}
    %%  \normalfont\zihao{3} \CAST@label@englishadvisor
    %%\vskip 3pt
    %%  \normalfont\zihao{3} \CAST@value@englishadvisor
\vskip \stretch{2}
      \rm \normalsize \CAST@label@englishstatement
    \vskip \stretch{2}
      \rm \normalsize \CAST@value@englishinstitute
\vskip 3pt
 \rm \normalsize \CAST@value@englishschool
    \vskip 30pt
      \rm \normalsize \CAST@value@englishdate
  \end{center}
  \clearpage
  \if@twoside
    \thispagestyle{empty}
    \cleardoublepage
  \fi
}
\newcommand\shuomingX[1]{\def\CAST@value@shuomingX{#1}}
\newcommand\shuomingXX[1]{\def\CAST@value@shuomingXX{#1}}
\newcommand\signature[1]{\def\CAST@value@signature{#1}}
\newcommand\signaturedate[1]{\def\CAST@value@signaturedate{#1}}
\newcommand\advisorsignature[1]{\def\CAST@value@advisorsignature{#1}}
\newcommand\advisorsignaturedate[1]{\def\CAST@value@advisorsignaturedate{#1}}
\newcommand\makeshuoming{%
  \cleardoublepage
  \thispagestyle{empty}

\begin{center} 
      \bf \songti \zihao{2} \CAST@label@shuomingX 
  \end{center}

\begin{flushleft}
      \vskip 3pt
 \quad\quad \fangsong \zihao{4} \CAST@value@shuomingX
  \end{flushleft}
  \begin{flushright}
    \begin{tabular}{rlcrl}
\renewcommand{\arraystretch}{2.0}
 \CAST@label@signature & \CAST@value@signature & \CAST@label@signaturedate  & \CAST@value@signaturedate
    \end{tabular}
      %%\vskip \stretch{2}
 %%\fangsong \normalsize \CAST@label@signature\CAST@value@signature\CAST@label@signaturedate\CAST@value@signaturedate
  \end{flushright}
  \begin{center}
\vskip \stretch{1}
      \bf \songti \zihao{2} \CAST@label@shuomingXX
  \end{center}
  \begin{flushleft}
    \vskip 3pt
 \quad\quad \fangsong \zihao{4} \CAST@value@shuomingXX
  \end{flushleft}
  \begin{flushright} 
\begin{tabular}{rlcrl}
\renewcommand{\arraystretch}{2.0}
 \CAST@label@signature & \CAST@value@signature & \CAST@label@signaturedate & \CAST@value@signaturedate \\ \\
 \CAST@label@advisorsignature & \CAST@value@advisorsignature & \CAST@label@advisorsignaturedate & \CAST@value@advisorsignaturedate
    \end{tabular}
 %%\vskip \stretch{2}
 %%\fangsong \normalsize \CAST@label@signature\CAST@value@signature\CAST@label@signaturedate\CAST@value@signaturedate
 %%\vskip 3pt
 %%\fangsong \normalsize \CAST@label@advisorsignature\CAST@value@advisorsignature\CAST@label@advisorsignaturedate\CAST@value@advisorsignaturedate
  \end{flushright}  
  \clearpage  
  \if@twoside
    \thispagestyle{empty}
    \cleardoublepage
  \fi
}
% \newif \if@frontmatter   \@frontmatterfalse
% \let \LaTeXfrontmatter = \frontmatter
% \let \LaTeXmainmatter  = \mainmatter
% \renewcommand {\frontmatter} {\@frontmattertrue  \LaTeXfrontmatter}
% \renewcommand {\mainmatter}  {\@frontmatterfalse \LaTeXmainmatter}
% \pagestyle{fancy}
  % \fancyhf{}
  % \fancyhead[CE]{\if@frontmatter\else\small \CAST@value@titlemark\fi}
  % \fancyhead[CO]{\if@frontmatter\else\small \leftmark\fi}
  % \fancyfoot[CE,CO]{\if@frontmatter\else\small ~\thepage~\fi}
  % \renewcommand{\headrulewidth}{\if@frontmatter 0pt\else .7pt\fi}%
% \fancypagestyle{plain}{%
  % \pagestyle{fancy}
% }
\pagestyle{fancy}                       
\renewcommand{\headrulewidth}{0.5pt}
\fancyhf{}                                                
\fancyfoot[CE,CO]{\thepage}                      
\fancyhead[CO]{\leftmark}                               
\fancyhead[CE]{\CAST@value@titlemark}
\fancypagestyle{plain}{%
  \pagestyle{fancy}
}

\newenvironment{abstract}
  {\Nchapter{\CAST@label@abstract}}
  {}
\newcommand\keywords[1]{%
  \vspace{2ex}\noindent{\heiti \CAST@label@keywords} #1}
\newenvironment{englishabstract}
  {\Nchapter{\CAST@label@englishabstract}}
  {}
\newcommand\englishkeywords[1]{%
  \vspace{2ex}\noindent{\bf \CAST@label@englishkeywords} #1}
\renewcommand\tableofcontents{%
    \if@twocolumn
      \@restonecoltrue\onecolumn
    \else
      \@restonecolfalse
    \fi
    \Nchapter{\contentsname}%
    \@mkboth{\MakeUppercase\contentsname}{\MakeUppercase\contentsname}%
    \@starttoc{toc}%
    \if@restonecol\twocolumn\fi
    }
%%\pagenumbering{arabic}
\addtocontents{toc}{\let\string\CTEX@spaceChar\relax}
\newcommand\Nchapter[1]{%
  \if@mainmatter%
    \@mainmatterfalse%
    \chapter{#1}%
    \@mainmattertrue%
  \else
    \chapter{#1}%
  \fi}
\def\@dottedtocline#1#2#3#4#5{%
  \ifnum #1>\c@tocdepth \else
    \vskip \z@ \@plus.2\p@
    {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip
     \parindent #2\relax\@afterindenttrue
     \interlinepenalty\@M
     \leavevmode
     \@tempdima #3\relax
     \advance\leftskip \@tempdima \null\nobreak\hskip -\leftskip
     {#4}\nobreak
     \leaders\hbox{$\m@th\mkern 1.5mu\cdot\mkern 1.5mu$}\hfill
     \nobreak
     \hb@xt@\@pnumwidth{\hfil\normalfont \normalcolor #5}%
     \par}%
  \fi}
\renewcommand*\l@part[2]{%
  \ifnum \c@tocdepth >-2\relax
    \addpenalty{-\@highpenalty}%
    \addvspace{2.25em \@plus\p@}%
    \setlength\@tempdima{3em}%
    \begingroup
      \parindent \z@ \rightskip \@pnumwidth
      \parfillskip -\@pnumwidth
      {\leavevmode
       \large \bfseries #1
       \leaders\hbox{$\m@th\mkern 1.5mu\cdot\mkern 1.5mu$}
       \hfil \hb@xt@\@pnumwidth{\hss #2}}\par
       \nobreak
         \global\@nobreaktrue
         \everypar{\global\@nobreakfalse\everypar{}}%
    \endgroup
  \fi}
\renewcommand*\l@chapter[2]{%
  \ifnum \c@tocdepth >\m@ne
    \addpenalty{-\@highpenalty}%
    \vskip 1.0em \@plus\p@
    \setlength\@tempdima{1.5em}%
    \begingroup
      \parindent \z@ \rightskip \@pnumwidth
      \parfillskip -\@pnumwidth
      \leavevmode \bfseries
      \advance\leftskip\@tempdima
      \hskip -\leftskip
      #1\nobreak
      \leaders\hbox{$\m@th\mkern 1.5mu\cdot\mkern 1.5mu$}
      \hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
      \penalty\@highpenalty
    \endgroup
  \fi}
\renewenvironment{thebibliography}[1]
     {\Nchapter{\bibname}%
      \@mkboth{\MakeUppercase\bibname}{\MakeUppercase\bibname}%
      \list{\@biblabel{\@arabic\c@enumiv}}%
           {\settowidth\labelwidth{\@biblabel{#1}}%
            \leftmargin\labelwidth
            \advance\leftmargin\labelsep
            \@openbib@code
            \usecounter{enumiv}%
            \let\p@enumiv\@empty
            \renewcommand\theenumiv{\@arabic\c@enumiv}}%
      \sloppy
      \clubpenalty4000
      \@clubpenalty \clubpenalty
      \widowpenalty4000%
      \sfcode`\.\@m}
     {\def\@noitemerr
       {\@latex@warning{Empty `thebibliography' environment}}%
      \endlist}
\newenvironment{publications}[1]
     {\Nchapter{\CAST@label@publications}%
      \@mkboth{\MakeUppercase\CAST@label@publications}
              {\MakeUppercase\CAST@label@publications}%
      \list{\@biblabel{\@arabic\c@enumiv}}%
           {\settowidth\labelwidth{\@biblabel{#1}}%
            \leftmargin\labelwidth
            \advance\leftmargin\labelsep
            \@openbib@code
            \usecounter{enumiv}%
            \let\p@enumiv\@empty
            \renewcommand\theenumiv{\@arabic\c@enumiv}}%
      \sloppy
      \clubpenalty4000
      \@clubpenalty \clubpenalty
      \widowpenalty4000%
      \sfcode`\.\@m}
     {\def\@noitemerr
       {\@latex@warning{Empty `publications' environment}}%
      \endlist}
\newenvironment{resume}
  {\Nchapter{\CAST@label@resume}}
  {}
\newenvironment{resumesection}[1]
  {{\noindent\normalfont\bfseries #1}
   \list{}{\labelwidth\z@
           \leftmargin 2\ccwd}
   \item\relax}
  {\endlist}
\newenvironment{resumelist}[1]
  {{\noindent\normalfont\bfseries #1}
   \list{}{\labelwidth\z@
           \leftmargin 4\ccwd
           \itemindent -2\ccwd
           \listparindent\itemindent}
   \item\relax}
  {\endlist}
\renewenvironment{thanks}
  {\Nchapter{\CAST@label@thanks}}
  {}
\setcounter{secnumdepth}{4}
\newtheoremstyle{break}% name
  {}%      Space above, empty = `usual value'
  {}%      Space below
  {\itshape}% Body font
  {}%         Indent amount (empty = no indent, \parindent = para indent)
  {\bfseries}% Thm head font
  {.}%        Punctuation after thm head
  {\newline}% Space after thm head: \newline = linebreak
  {}%         Thm head spec
\endinput
%%
%% End of file `CASthesis.cls'.

3、template.tex

%% Thesis Template of Chinese Academy of Sciences
%%   for using CASthesis package with LaTeX2e
%%
%% Created by Ling-Yun Wu <aloft@ctex.org>
%%
%% $Id: template.tex,v 1.10 2007/01/09 05:10:46 aloft Exp $

\documentclass[pdftex]{CASthesis}%[dvipdfm]
% 可选参数:
%
% 下面三个选一个:
% dvipdfm 使用 dvipdfm(x) 生成最终的 PDF 文档 (缺省设置)
% dvips 使用 dvips 生成最终的 PS 文档
% pdftex 使用 pdfLaTeX 生成最终的 PDF 文档

% 设置图形文件的搜索路径
\graphicspath{{chapter/}{figures/}}
\usepackage{graphicx}
\usepackage{epstopdf}
\usepackage{bm}
\usepackage{subfigure}
\usepackage{algorithm}
\usepackage{algorithmic}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{amsfonts}
\usepackage{latexsym}
\usepackage{supertabular}
\usepackage{setspace}
\usepackage{flushend}
\usepackage{stfloats}
\usepackage{color}
\usepackage{times}
\renewcommand{\autoref}[1]{图???}
\usepackage[font=small,labelsep=space]{caption}
% 取消链接的颜色(黑白打印时)
%\hypersetup{colorlinks=false}
%\notypeinfo
% 小节标题靠左对齐
%\CTEXsetup[format+={\flushleft}]{section}
\makeatletter %使\section中的内容左对齐
\renewcommand{\section}{\@startsection{section}{1}{0mm}
  {-\baselineskip}{0.5\baselineskip}{\bf\leftline}}
\makeatother
\begin{document}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% 封面部分
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% 中文封面内容
  %\classification{}
  %\confidential{}
  %\UDC{}
  %\serialnumber{}

\title{XXXXXXXXXXX}%填写论文题目
  \author{XXXXXXXXXXX}%填写作者姓名
  \advisor{XXXXXXXXXXX}%填写导师姓名职称
  \advisorinstitute{XXXXXXXXXXX}%填写导师单位
  \degree{XXXXXXXXXXX}%填写学位名称
  \major{XXXXXXXXXXX}%填写专业
  \institute{XXXXXXXXXXX}%填写单位
  \submitdate{XXXXXXXXXXX}%填写论文提交日期
  %\defenddate{2004年8月}%
  %\chairman{}%

% 英文封面内容
  \englishtitle{XXXXXXXXXXX}%填写论文英文题目
  \englishauthor{By \\ XXXXXXXXXXX}%填写论文作者姓名(英文)
  \englishdate{April, 2017}%填写论文提交日期

%说明
  \shuomingX{本人郑重声明:所提交的学位论文是我本人在指导教师的指导下进行的研究工作获得的研究成果。尽我所知,文中除特别标注和致谢的地方外,学位论文中不包含其他人已经发表或撰写过的研究成果,也不包含为获得XXXX或其它教育机构的学位或证书所使用过的材料。与我一同工作的合作者对此研究工作所做的任何贡献均已在学位论文中作了明确的说明并表示了谢意。
  特此申明。}
  \shuomingXX{本人完全了解XXXXXXXX所有关保留、使用学位论文的规定,其中包括:①XXX有权保管、并向有关部门送交学位论文的原件与复印件;②XXX可以采用影印、缩印或其他复制手段复制并保存学位论文;③XXX可允许学位论文被查阅或借阅;④XXX可以学术交流为目的,复制赠送和交换学位论文;⑤XXX可以公布学位论文的全部或部分内容(保密学位论文在解密后遵守此规定)。}
  % 封面
  \maketitle

% 英文封面
  \makeenglishtitle%.cls中定义的命令

%说明
  \makeshuoming

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% 前言部分
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\frontmatter

% 摘要
  \include{chapter/abstract}%所有 \include{chapter/XXXX均为单独的.tex文件

% 目录
  \tableofcontents
  % 表格目录
  %\listoftables
  % 插图目录
 % \listoffigures

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% 正文部分
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\mainmatter

\include{chapter/chap-intro}%
  \include{chapter/chap-method}
  %其他正文内容

% 附录
  \appendix

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% 附件部分
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\backmatter

% 参考文献
  % 使用 BibTeX
  \bibliography{bib/tex}
  \nocite{*}
  % 不使用 BibTeX
  % \include{chapter/bib}

% 发表文章目录
  \include{chapter/pub}

% 个人简历
  %\include{chapter/resume}

% 致谢
  \include{chapter/thanks}

\end{document}

4、安装CTEX,将上述三个文件放在同一个文件夹,选择PDFLaTex编译template.tex运行看效果

5、其他

(1)图片编号为“图 1.1 ”,引用采用\autoref{the label name of figure},格式为“图1.1”

Latex博士论文格式版本(在CASthesis基础上作修改)相关推荐

  1. 浙江大学计算机学院博士论文格式,浙江大学外语学院英文版博士学位论文格式.pdf...

    浙江大学外语学院英文版博士学位论文格式 1.1 用纸与页面设置 论文采用A4号纸,单面印或双面印均可. 页面设置的页边距为:左3.2厘米,上.下.右各2.5厘米. 装订线为1厘米.如双面印,需适 调整 ...

  2. 浙江大学计算机学院博士论文格式,博士学位论文格式模板(浙江大学博士论文模板样例)...

    博士学位论文格式模板(浙江大学博士论文模板样例  密级:    博  士  学  位  论  文 论文题目  [博士论文标题] 作者姓名        [作者] 指导教师        [导师] 教授 ...

  3. Latex BIB引用硕士论文、博士论文格式

    博士 @phdthesis{citekey,author = "",title = "",school = "",year = " ...

  4. 浙江大学计算机学院博士论文格式,浙江大学博士学位论文模板.doc

    <浙江大学博士学位论文模板.doc>由会员分享,可在线阅读,更多相关<浙江大学博士学位论文模板.doc(23页珍藏版)>请在装配图网上搜索. 1.密级: 博 士 学 位 论 文 ...

  5. 【股票策略】使用backtrader测试狗股策略版本4---在版本3的基础上进行代码改进优化

    在上几次测试狗股策略的时候,忽略了我们加载的第一个数据可能有停牌的可能性,这次考虑所有股票的交易时间之后再进行测试,可以使用指数的数据,或者如果是全市场的股票数据,把所有股票的时间加载到一块,也可以充 ...

  6. Latex从零基础入门到完成论文格式修改

    前言:笔者由于需要用 Latex 对论文格式进行排版,所以对 Latex 的应用从零开始进行学习,将在学习过程中有用的内容记录如下,方便自己日后查阅,也给有相同需要的后来人提供方便. 建议想要快速上手 ...

  7. 爆火的博士论文致谢,“炸”出了一批同行者,刚刚本人回应:祝愿大家努力终有所成!...

    点击上方"AI遇见机器学习",选择"星标"公众号 重磅干货,第一时间送达 杨净 鱼羊 发自 凹非寺 量子位 报道 | 公众号 QbitAI "理想不伟 ...

  8. 目录行距怎么设置_硕士论文格式设置方法

    设置前需要注意的事项: 1. 变量为斜体,变量上下标不斜 2. 非变量的英文.说明文字不用斜体 3. 物理单位基本都为小写字母 步骤一 打开辅助开关 辅助工具有下面几个:标尺.导航窗格.样式管理器.编 ...

  9. 爆火的博士论文致谢,刚刚本人回应:祝愿大家努力终有所成!

    点击上方"视学算法",选择加"星标"或"置顶" 重磅干货,第一时间送达 杨净 鱼羊 发自 凹非寺 量子位 报道 | 公众号 QbitAI & ...

最新文章

  1. 【并发编程】线程等待、通知(wait/notify)
  2. docker启动.NET3.1与5.0的包
  3. ED2k Resource
  4. python 3.* + Eclipse mar.2 +pydev 5.0 环境搭建
  5. OSChina 周六乱弹 —— 有人骂你神经病怎么办?
  6. 一般将来时语法课教案_速看,如何在考场写出一篇脱颖而出的教案
  7. 分布与并行计算—生产者消费者模型RabbitMQ(Java)
  8. 小米9私密相册怎么找_“拼藏搜”,手机相册还能这么玩
  9. 在python中可以使用for作为变量名对吗_python能用一个变量的值作为另一个变量的变量名吗?...
  10. 价值199的wp移植Emlog主题模板PandaPRO
  11. 百度地图jar包冲突,特别是定位包冲突com/baidu/location/Address/$a.class。
  12. SIR模型简单了解(Susceptible Infected Recovered Model)
  13. GB28181协议--心跳
  14. win7 桌面html,极品壁纸再一张:Windows7桌面就是我的家
  15. cad零点坐标标注lisp_CAD_XY坐标标注AUTO_LISP程序
  16. openwrt路由器打印机服务器设置_openwrt路由器打印机服务器设置_TP-Link无线路由器打印机设置指南...
  17. Python3.6实现图片转文字
  18. ansible 配置使用大全资料
  19. 使用Visual Studio Code编写markdown文件以及转成PDF格式和markdown常用语法
  20. TCP FIN扫描探测原理

热门文章

  1. python 常量_python学习丨变量与常量
  2. IIS 上传文件大小配置步骤(默认200K)
  3. C语言进阶--Day2
  4. Laravel-数据库操作笔记
  5. CXF之webservice
  6. 熟悉HTML CSS布局模型
  7. OC基础 代理和协议
  8. bash中通过设置PS1变量改变提示符颜色
  9. [数据库基础]——索引详解
  10. linux 安全相关