代码拉取完成,页面将自动刷新
%\iffalse meta-comment
%
% Copyright (C) 2024, Chenzhi Ai.
% Department of Cardiology, Nanfang Hospital, Southern Medical University.
%
% This file may be distributed and/or modified under the conditions of the
% LaTeX Project Public License, either version 1.3c 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.3c or later is part of all distributions of LaTeX version
% 1999/12/01 or later.
%
% Home Page of the Project: https://www.github.com/Aklari/smuthesis
%
% \fi
%
% \iffalse
%<*driver>
\ProvidesFile{smuthesis.dtx}
%</driver>
%<cls>\NeedsTeXFormat{LaTeX2e}[1995/12/01]
%<cls>\ProvidesClass{smuthesis.cls}
%<cfg>\ProvidesFile{smuthesis.cfg}
%<*cls>
[2024/01/25 v0.0.1 Document Class for the Degree Papers of Southern Medical University]
%</cls>
%<*driver>
\documentclass[10pt,a4paper,oneside]{ltxdoc}
\usepackage{dtx-style}
\EnableCrossrefs
\CodelineIndex
\GetFileInfo{smuthesis.dtx}
\begin{document}
\DocInput{smuthesis.dtx}
\end{document}
%</driver>
% \fi
%
% \CheckSum{0}
% \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 \( Right paren \)
% Asterisk \* Plus \+ Comma \,
% Minus \- Point \. Solidus \/
% Colon \: Semicolon \; Less than \<
% Equals \= Greater than \> Question mark \?
% Commercial at \@ Left bracket \[ Backslash \\
% Right bracket \] Circumflex \^ Underscore \_
% Grave accent \` Left brace \{ Vertical bar \|
% Right brace \} Tilde \~}
%
% \DoNotIndex{\begin,\end,\begingroup,\endgroup}
% \DoNotIndex{\ifx,\ifdim,\ifnum,\ifcase,\else,\or,\fi}
% \DoNotIndex{\let,\def,\xdef,\newcommand,\renewcommand}
% \DoNotIndex{\expandafter,\csname,\endcsname,\relax,\protect}
% \DoNotIndex{\Huge,\huge,\LARGE,\Large,\large,\normalsize}
% \DoNotIndex{\small,\footnotesize,\scriptsize,\tiny}
% \DoNotIndex{\normalfont,\bfseries,\slshape,\interlinepenalty}
% \DoNotIndex{\hfil,\par,\vskip,\vspace,\quad}
% \DoNotIndex{\centering,\raggedright}
% \DoNotIndex{\c@secnumdepth,\@startsection,\@setfontsize}
% \DoNotIndex{\@plus,\@minus,\p@,\z@,\@m,\@M,\@ne,\m@ne,\@@par,\@dottedtocline}
% \DoNotIndex{\ ,\,,\.,\\}
% \DoNotIndex{\|}
% \DoNotIndex{\@dottedtocline}
% \DoNotIndex{\@afterindenttrue,\@arabic,\@biblabel,\@clubpenalty}
% \DoNotIndex{\@empty,\@highpenalty,\@ifnextchar,\@latex@warning,\@listI,\@listi}
% \DoNotIndex{\@mainmatterfalse,\@mainmattertrue,\@mkboth,\@nobreakfalse}
% \DoNotIndex{\@nobreaktrue,\@noitemerr,\@openbib@code,\@pnumwidth,\@restonecolfalse}
% \DoNotIndex{\@restonecoltrue,\@starttoc,\@tempcnta,\@tempdima,\@tocrmarg}
% \DoNotIndex{\@afterindenttrue,\@arabic,\@biblabel,\@clubpenalty,\@dottedtocline}
% \DoNotIndex{\@empty,\@highpenalty,\@ifnextchar,\@latex@warning,\@listI,\@listi}
% \DoNotIndex{\@mainmatterfalse,\@mainmattertrue,\@mkboth,\@nobreakfalse,\@nobreaktrue}
% \DoNotIndex{\@noitemerr,\@openbib@code,\@pnumwidth,\@restonecolfalse}
% \DoNotIndex{\@restonecoltrue,\@starttoc,\@tempcnta,\@tempdima,\@tocrmarg}
% \DoNotIndex{\abovedisplayshortskip,\abovedisplayskip,\addpenalty,\addvspace}
% \DoNotIndex{\advance,\alph,\arabic,\arraybackslash,\arraystretch,\AtBeginDocument}
% \DoNotIndex{\belowdisplayshortskip,\belowdisplayskip,\bf,\blacksquare,\bottomfraction}
% \DoNotIndex{\bullet,\c@enumiv,\c@page,\c@tocdepth,\captionsetup,\cdot,\CJKfamily}
% \DoNotIndex{\CJKglue,\CJKnumber,\CJKunderline,\CJKunderlinecolor,\ClassError}
% \DoNotIndex{\clearpage,\CurrentOption,\dagger,\day,\ddagger}
% \DoNotIndex{\DeclareGraphicsExtensions,\DeclareMathSizes,\DeclareOption}
% \DoNotIndex{\DeclareRobustCommand,\defaultfontfeatures,\DefineFNsymbolsTM}
% \DoNotIndex{\Diamondblack,\endlist,\ensuremath,\efill,\equal,\everypar}
% \DoNotIndex{\fontsize,\global,\hb@xt@,\hbox,\hfill,\hline,\hskip,\hspace,\hss}
% \DoNotIndex{\if@mainmatter,\if@restonecol,\if@twocolumn,\if@twoside,\ifodd}
% \DoNotIndex{\ifthenelse,\ignorespaces,\includegraphics,\input,\it,\item}
% \DoNotIndex{\itemsep,\kern,\l@chapter,\l@part,\labelsep,\labelwidth,\leaders}
% \DoNotIndex{\leavevmode,\leftmargin,\leftmargini,\leftmark,\leftskip,\list}
% \DoNotIndex{\LoadClass,\m@th,\makebox,\MakeUppercase,\markboth,\markright}
% \DoNotIndex{\mathparagraph,\mathsection,\mkern,\month,\multicolumn}
% \DoNotIndex{\newcolumntype,\newenvironment,\newif,\newline,\newlist,\newpage}
% \DoNotIndex{\newtheorem,\nobreak,\normalcolor,\null,\number,\onecolumn,\p@enumiv}
% \DoNotIndex{\pagestyle,\parbox,\parfillskip,\parindent,\parsep,\PassOptionsToClass}
% \DoNotIndex{\pdfbookmark,\penalty,\ProcessOptions,\punctstyle,\raisebox,\renewenvironment}
% \DoNotIndex{\RequirePackage,\RequireXeTeX,\restylefloat,\rightmargin,\rightmark,\rightskip}
% \DoNotIndex{\roman,\rule,\selectfont,,\setcounter,\setfnsymbol}
% \DoNotIndex{\setlength,\setlist,\settowidth,\sfcode,\sloppy,\square,\stretch,\tabcolsep}
% \DoNotIndex{\textasteriskcentered,\textbardbl,\textbf,\textdagger,\textdaggerdbl}
% \DoNotIndex{\textfraction,\textnormal,\textparagraph,\textsection,\textwidth}
% \DoNotIndex{\theenumiv,\theoremseparator,\theoremstyle,\theoremsymbol,\thispagestyle}
% \DoNotIndex{\titleformat,\titlespacing,\topsep,\twocolumn,\ULthickness}
% \DoNotIndex{\usecounter,\widowpenalty,\year,\color,\clubpenalty,\chaptermark}
% \DoNotIndex{\chaptertitlename,\geometry,\l@chapter,\l@part}
%
% \MakeShortVerb{\|}
% \newcommand*{\smuthesis}{\texttt{SMU-Thesis}}
% \newcommand*{\texlive}{{\TeX}\ Live\ 2023}
% \renewcommand*{\fileversion}{0.0.1}
% \renewcommand*{\filedate}{\today}
%
% \pagestyle{empty}
% \title{\smuthesis:南方医科大学学位论文\\
% {\XeLaTeX}模板}
% \author{{艾晨芝}\\
% {\texttt{[email protected]}}\\
% {南方医科大学南方医院心血管内科}}
% \date{\fileversion\ (\filedate)}
% \maketitle
% \thispagestyle{empty}
%
% \begin{center}
% \includegraphics[height=8cm]{smulogo.eps}\\
% \end{center}
%
% \begin{abstract}
%
% \noindent\hspace{2em}文档类{\smuthesis}提供了一个南方医科大学学位论文的{\XeLaTeX}
% 模板。该文档类严格按照南方医科大学对学位论文的格式要求的word文档排版学位论文,底层通过|xeCJK|宏包支持中文。\\
% 目前{\smuthesis}可用于排版硕士学位论文和博士学位论文。对于学士学位论文,
% 未见要求文件,可试用用和硕士学位论文一样的格式进行排版。
% 本文档是{\smuthesis}的说明文档,其中包含模板文件的设置说明以及其源代码的完全注释。
% \end{abstract}
% \clearpage
%
% \newpage
% 修改历史
% \section*{{\hfill}修订历史{\hfill}}
% \begin{center}
% \noindent
% \begin{longtable}[C]{C{1.1cm}
% C{1.8cm}
% C{1.5cm}
% p{\textwidth-6.2cm}}
% \toprule
% \textbf{版本}
% & \textbf{日期}
% & \textbf{修订者}
% & \textbf{修订内容} \\
% \midrule
% v0.0.1 & 2024/01/26 & Akla & 完成第一个可工作版本 \\
% \bottomrule
% \end{longtable}
% \end{center}
% \clearpage
%
% \tableofcontents
% \clearpage
%
% \newpage
% \pagestyle{fancy}
% \section{简介}
%
% {\bfseries 本文档由|smuthesis.dtx|与|smuthesis.ins|编译后自动生成}
%
% 文档类{\smuthesis}是为了帮助南方医科大学的同学撰写学位论文而编写的{\XeLaTeX}模板。
% 该模板提供了一个南方医科大学学位论文的{\XeLaTeX}文档类,用于生成符合南方医科大学学位
% 论文格式要求进行的学位论文。该宏包的底层通过|xeCJK|宏包支持中文。目前该宏包可
% 用于排版硕士学位论文和博士学位论文;对于学士学位论文,由于作者未能找到南方医科大学
% 对学士学位论文的格式要求,因此目前采用和硕士学位论文一样的格式进行排版。
%
% 虽然{\smuthesis}主要用于排版南方医科大学的学位论文,但亦可经过简单的设置或修改用于排版
% 国内其他大学的学位论文。
%
% 本文档将尽量完整的介绍{\smuthesis}的使用方法,如有不清楚之处可以参考示例文档或
% 者与作者联系。由于作者水平有限,虽然现在的这个版本基本上满足了学位论文的撰写需
% 求,但难免还存在不足之处,欢迎大家积极反馈意见。
%
% 本模板的编写过程中参考了以下代码和文档,这里一并向这些代码和文档的作者表示感谢:
%
% \begin{itemize}
% \item 胡海星. \textsl{smuthesis:南京大学学位论文{\XeLaTeX}模板}. \url{https://www.github.com/Haixing-Hu/smu-thesis}.
% \item chatGPT. \url{https://chat.openai.com}.
% \item
% \end{itemize}
%
% \section{遵循的要求和标准}
%
% {\smuthesis}所遵循的南方医科大学研究生院的要求如下:
% \begin{itemize}
% \item \textsl{{附件2:南方医科大学研究生学位论文格式规定.doc}}\\
% \url{https://www.github.com/Aklari/smuthesis}
% \end{itemize}
%
% {\smuthesis}所遵循的中华人民共和国国家标准如下:
% \begin{itemize}
% \item \href{https://github.com/Haixing-Hu/typesetting-standard/raw/master/%E5%9B%BE%E4%B9%A6%E3%80%81%E6%9C%9F%E5%88%8A%E3%80%81%E8%AE%BA%E6%96%87%E7%9A%84%E7%BC%96%E6%8E%92/%E3%80%90GB:T%207714-2005%E3%80%91%E6%96%87%E5%90%8E%E5%8F%82%E8%80%83%E6%96%87%E7%8C%AE%E8%91%97%E5%BD%95%E8%A7%84%E5%88%99.pdf}%
% {\std{GB/T 7714-2005}\textsl{文后参考文献著录规则}}
% \item \href{https://github.com/Haixing-Hu/typesetting-standard/raw/master/%E5%9B%BE%E4%B9%A6%E3%80%81%E6%9C%9F%E5%88%8A%E3%80%81%E8%AE%BA%E6%96%87%E7%9A%84%E7%BC%96%E6%8E%92/%E3%80%90GB:T%207713.1-2006%E3%80%91%E5%AD%A6%E4%BD%8D%E8%AE%BA%E6%96%87%E7%BC%96%E5%86%99%E8%A7%84%E5%88%99.pdf}%
% {\std{GB/T 7713.1-2006}\textsl{学位论文编写规则}}%
% \item \href{https://github.com/Haixing-Hu/typesetting-standard/raw/master/%E5%9B%BE%E4%B9%A6%E3%80%81%E6%9C%9F%E5%88%8A%E3%80%81%E8%AE%BA%E6%96%87%E7%9A%84%E7%BC%96%E6%8E%92/%E3%80%90GB:T%207713.3-2009%E3%80%91%E7%A7%91%E6%8A%80%E6%8A%A5%E5%91%8A%E7%BC%96%E5%86%99%E8%A7%84%E5%88%99.pdf}%
% {\std{GB/T 7713.3-2009}\textsl{科技报告编写规则}}
% \item \href{https://github.com/Haixing-Hu/typesetting-standard/raw/master/%E5%9B%BE%E4%B9%A6%E3%80%81%E6%9C%9F%E5%88%8A%E3%80%81%E8%AE%BA%E6%96%87%E7%9A%84%E7%BC%96%E6%8E%92/%E3%80%90GB:T%207713-1987%E3%80%91%E7%A7%91%E5%AD%A6%E6%8A%80%E6%9C%AF%E6%8A%A5%E5%91%8A%E3%80%81%E5%AD%A6%E4%BD%8D%E8%AE%BA%E6%96%87%E5%92%8C%E5%AD%A6%E6%9C%AF%E8%AE%BA%E6%96%87%E7%9A%84%E7%BC%96%E5%86%99%E6%A0%BC%E5%BC%8F.pdf}%
% {\std{GB/T 7713-1987}\textsl{科学技术报告、学位论文和学术论文的编写格式}},
% 该标准已被%
% \href{https://github.com/Haixing-Hu/typesetting-standard/raw/master/%E5%9B%BE%E4%B9%A6%E3%80%81%E6%9C%9F%E5%88%8A%E3%80%81%E8%AE%BA%E6%96%87%E7%9A%84%E7%BC%96%E6%8E%92/%E3%80%90GB:T%207713.1-2006%E3%80%91%E5%AD%A6%E4%BD%8D%E8%AE%BA%E6%96%87%E7%BC%96%E5%86%99%E8%A7%84%E5%88%99.pdf}%
% {\std{GB/T 7713.1-2006}}和%
% \href{https://github.com/Haixing-Hu/typesetting-standard/raw/master/%E5%9B%BE%E4%B9%A6%E3%80%81%E6%9C%9F%E5%88%8A%E3%80%81%E8%AE%BA%E6%96%87%E7%9A%84%E7%BC%96%E6%8E%92/%E3%80%90GB:T%207713.3-2009%E3%80%91%E7%A7%91%E6%8A%80%E6%8A%A5%E5%91%8A%E7%BC%96%E5%86%99%E8%A7%84%E5%88%99.pdf}%
% {\std{GB/T 7713.3-2009}}部分替代
% \item \href{https://github.com/Haixing-Hu/typesetting-standard/raw/master/%E5%9B%BE%E4%B9%A6%E3%80%81%E6%9C%9F%E5%88%8A%E3%80%81%E8%AE%BA%E6%96%87%E7%9A%84%E7%BC%96%E6%8E%92/%E3%80%90GB:T%207156-2003%E3%80%91%E6%96%87%E7%8C%AE%E4%BF%9D%E5%AF%86%E7%AD%89%E7%BA%A7%E4%BB%A3%E7%A0%81%E4%B8%8E%E6%A0%87%E8%AF%86.pdf}%
% {\std{GB/T 7156-2003}\textsl{文献保密等级代码与标识}}
% \item \href{https://github.com/Haixing-Hu/typesetting-standard/raw/master/%E6%95%B0%E5%AD%97%E6%96%87%E5%AD%97/%E3%80%90GB:T%2016159-2012%E3%80%91%E6%B1%89%E8%AF%AD%E6%8B%BC%E9%9F%B3%E6%AD%A3%E8%AF%8D%E6%B3%95%E5%9F%BA%E6%9C%AC%E8%A7%84%E5%88%99.pdf}%
% {\std{GB/T 16159-2012}\textsl{汉语拼音正词法基本规则}},
% 该标准取代了%
% \href{https://github.com/Haixing-Hu/typesetting-standard/raw/master/%E6%95%B0%E5%AD%97%E6%96%87%E5%AD%97/%E3%80%90GB:T%2016159-1996%E3%80%91%E6%B1%89%E8%AF%AD%E6%8B%BC%E9%9F%B3%E6%AD%A3%E8%AF%8D%E6%B3%95%E5%9F%BA%E6%9C%AC%E8%A7%84%E5%88%99.pdf}%
% {\std{GB/T 16159-1996}}
% \item \href{https://github.com/Haixing-Hu/typesetting-standard/raw/master/%E5%9B%BE%E4%B9%A6%E3%80%81%E6%9C%9F%E5%88%8A%E3%80%81%E8%AE%BA%E6%96%87%E7%9A%84%E7%BC%96%E6%8E%92/%E3%80%90CY:T%2035-2001%E3%80%91%E7%A7%91%E6%8A%80%E6%96%87%E7%8C%AE%E7%9A%84%E7%AB%A0%E8%8A%82%E7%BC%96%E5%8F%B7%E6%96%B9%E6%B3%95.pdf}%
% {\std{CY/T 35-2001}\textsl{科技文献的章节编号方法}}
% \end{itemize}
%
% 上述要求和标准的电子版均可在对应的链接地址中找到。
% \section{安装}
%
% \subsection{下载}
%
% 可在{\smuthesis}项目主页上下载最新版本,亦可在代码库主页上反馈bug和意见建议:
% \begin{itemize}
% \item 代码库主页:\url{https://www.github.com/Aklari/smuthesis}
% \end{itemize}
%
% \subsection{模板的组成部分}
%
% \begin{table}
% \centering\noindent
% \begin{tabular*}{\textwidth}{p{4cm}p{\textwidth-4.5cm}}
% \toprule
% \textbf{文件(夹)} & \textbf{功能描述}\\
% \midrule
% |smuthesis.ins| & 模板驱动文件 \\
% |smuthesis.dtx| & 模板文档代码的混合文件\\
% |smuthesis.cls| & 模板类文件\\
% |smuthesis.cfg| & 模板配置文件\\
% |gbt7714-2005.bst| & 符合国标\std{GB/T 7714-2005}的参考文献样式文件\\
% |dtx-style.sty| & 用户手册样式文件\\
% |smuname.eps| & 南方医科大学校名图片\\
% |smulogo.eps| & 南方医科大学校徽图片\\
% \hline
% |sample.tex| & 示例文档,亦可作为学位论文的基本模板 \\
% |sample.bib| & 示例文档的参考文献数据库 \\
% |figures/| & 示例文档图片目录\\
% \hline
% |Makefile| & make 脚本 \\
% \hline
% |smuthesis.pdf| & 用户手册(本文档)\\
% \bottomrule
% \end{tabular*}
% \caption{{\smuthesis}的主要文件及其功能}\label{table:component}
% \end{table}
%
% 表\ref{table:component}列出了{\smuthesis}的主要文件及其功能。其中|smuthesis.cls|,
% |smuthesis.cfg|和|dtx-sty.sty|可以由|smuthesis.ins|和|smuthesis.dtx|生成,但为
% 了降低新手用户的使用难度,故将其一起发布。
%
% \subsection{准备工作}
%
% 表\ref{table:dependence}列出了{\smuthesis}模板用到的宏包。这些包在常见的{\TeX}系
% 统中都有(推荐使用{\texlive}),如果没有请到\url{www.ctan.org}下载。
%
% \begin{table}
% \centering\noindent
% \begin{tabular*}{\textwidth}{@{\extracolsep{\fill}}*{6}{l}}
% \hline
% |ifxetex| & |indentfirst| & |xeCJK| & |lastpage| & |geometry| & |graphicx| \\
% |subfig| & |caption| & |float| & |array| & |longtable| & |booktabs| \\
% |multirow| & |hyperref| & |enumitem| & |xcolor| & |amsmath| & |amsfonts| \\
% |amsthm| & |amssymb| & |bm| & |mathrsfs| & |txfonts| & |pifont| \\
% |setspace| & |wasysym| & |hypernat| & |fancyhdr| & |natbib| & |tabularx| \\
% |titlesec| & |glossaries| & |ifthen| & |makeidx| & |footmisc| & |CJKnumb| \\
% |url| & |etoolbox| & & & & \\
% \hline
% \end{tabular*}
% \caption{{\smuthesis}用到的宏包}\label{table:dependence}
% \end{table}
%
% \subsection{推荐的{\TeX}系统}
%
% 本模板当前版本v{\fileversion}{\ }({\filedate})在{\texlive}下编写,尚未在其他
% {\TeX}系统上测试。因此推荐用户使用{\texlive}。其安装包可以在下述网址下载:
% \begin{center}
% \url{http://tug.org/texlive/}。
% 一般使用texlive安装的宏包都完善,无需额外下载安装
% \end{center}
%
% \begin{note}
% 由于本模板采用{\XeLaTeX}引擎处理,所以{\TeX}源文件应使用\textbf{UTF-8}编码。
% \end{note}
%
% \subsection{开始安装}
%
% \subsubsection{生成模板}
%
% 默认的发行包中已经包含了所有文件,可以直接使用。如果对如何由|*.dtx|生成模板文件以及模板文
% 档不感兴趣,请跳过本小节。下述内容在manjaro linux上实机测试过,尚未在windows及macos上进行
%
% 模板解压缩后生成文件夹|smuthesis|。该文件夹中包括:
% \begin{itemize}
% \item 模板源文件:|smuthesis.ins|和|smuthesis.dtx|
% \item 参考文献样式:|gbt7714-2005.bst|
% \item 南方医科大学校名图片:|smuname.eps|
% \item 示例文档:|sample.tex|、|sample.bib|和|figure|目录
% \end{itemize}
%
% 在使用之前需要先生成模板文件和配置文件,具体命令细节请参考|README|和|Makefile|。下面是
% 在Linux系统中生成模板所需执行的|shell|命令:
%
% \begin{shell}
% $ cd smuthesis-VERSION
% # 清理以前执行make生成的旧文件
% $ make clean
% # 生成 smuthesis.cls 和 smuthesis.cfg
% $ make cls
% # 生成文档类手册
% $ make doc
% # 生成样例文档
% $ make sample
% \end{shell}
%
% \subsubsection{安装到{\TeX}系统中}
%
% 假设当前{\TeX}系统的texmf-local目录为|${TEXMFLOCAL}|,默认目录为|/usr/local/texlive/texmf-local/|。下面是在Linux或Mac系统中将模
% 板安装到本机的{\TeX}系统中所需执行的|shell|命令:
%
% \begin{shell}
% $ cd smuthesis
% # 建立smuthesis文档类目录
% $ mkdir -p ${TEXMFLOCAL}/tex/latex/smuthesis
% # 复制smuthesis文档类文件
% $ cp smuthesis.cls ${TEXMFLOCAL}/tex/latex/smuthesis/
% $ cp smuthesis.cfg ${TEXMFLOCAL}/tex/latex/smuthesis/
% $ cp smulogo.eps ${TEXMFLOCAL}/tex/latex/smuthesis/
% $ cp smuname.eps ${TEXMFLOCAL}/tex/latex/smuthesis/
% # 复制smuthesis文档类的源码,此过程可选
% $ cp smuthesis.ins ${TEXMFLOCAL}/tex/latex/smuthesis/
% $ cp smuthesis.dtx ${TEXMFLOCAL}/tex/latex/smuthesis/
% # 创建本地的BibTeX样式文件目录
% $ mkdir -p ${TEXMFLOCAL}/bibtex/bst
% # 复制GB/T 7714-2005参考文献样式
% $ cp gbt7714-2005.bst ${TEXMFLOCAL}/bibtex/bst/
% # 建立smuthesis文档类手册目录
% $ mkdir -p ${TEXMFLOCAL}/doc/latex/smuthesis
% # 复制smuthesis文档类手册和示例文档
% $ cp smuthesis.pdf ${TEXMFLOCAL}/doc/latex/smuthesis/
% $ cp sample.pdf ${TEXMFLOCAL}/doc/latex/smuthesis/
% # 刷新tex文件名数据库
% $ texhash
% \end{shell}
%
% \begin{note}
% 上面的某些命令可能需要管理员权限,或通过|sudo|执行。
% \end{note}
%
% 当然,也可以直接使用|Makefile|提供的|install|操作进行安装:
% \begin{shell}
% $ sudo make install
% \end{shell}
%
% \begin{note}
% |Makefile|使用了脚本|get_texmf_dir.sh|来获取当前机器上所安装的{\TeX}系统的本地
% |textmf|目录(通常是{\TeX}安装目录下的|textmf-local|目录)。用户最好在执行
% |make install|之前先执行一下|get_texmf_dir.sh|脚本,看看输出的目录路径是否正确。
% 如不正确,可以手工修改|Makefile|中对|TEXMFLOCAL|变量的定义。
% \end{note}
%
% \begin{note}
% 对于有兴趣的可以尝试使用此Makefile进行文件的生成,核心文件已生成
% \end{note}
% \section{使用说明}
%
% 本手册假定用户已经能处理一般的{\LaTeX}文档,并对{\BibTeX}有一定了解。如果你从来没有接
% 触过{\TeX}和{\LaTeX},建议先学习相关的基础知识。
%
% \subsection{\smuthesis{} 示例文件}
%
% 模板核心文件只有三个:|smuthesis.cls|,|smuthesis.cfg|和 |gbt7714-2005.bst|,但
% 是如果没有示例文档用户会发现很难下手。所以推荐新用户从模板自带的示例文档入手,
% 里面包括了文档写作用到的所有命令及其使用方法,只需要用自己的内容进行相应替换就
% 可以。对于不清楚的命令可以查阅本手册。具体内容可以参考模板附带的|sample.tex|和
% |sample.bib|。
%
% \subsection{选项}
%
% 本文档类提供了一些选项以方便使用:
% \begin{description}
% \item[winfonts, linuxfonts, macfonts, adobefonts] |winfonts|选项使得文档使
% 用Windows系统提供的字体;|linuxfonts|选项使得文档使用Linux系统提供的字
% 体;|macfonts|选项使得文档使用Mac系统提供的字体;|adobefonts|选项使得文档使
% 用Adobe提供的OTF中文字体,一般来说OTF字体的显示效果要优于ttf字体。
% 默认选项是|winfonts|,最好不要使用其他字体,可能会增加使用难度,其次可能不符合学校排版要求。
% \begin{example}
% \documentclass[winfonts]{smuthesis}
% \end{example}
% 表\ref{table:fontnames}中列出了默认配置下使用不同字体选项时所采用的实际字体
% 名称。系统中必须正确安装了相应的字体才能正常编译文档。\\
% 模板用到的字体可以在下面的代码库下载:\\
% \url{https://github.com/Haixing-Hu/latex-chinese-fonts}\\
% \begin{table}
% \centering\noindent
% \begin{tabular}[t]{ccccc}
% \toprule
% & \textbf{adobefonts} & \textbf{winfonts} & \textbf{linuxfonts} & \textbf{macfonts} \\
% \midrule
% \textbf{宋体} & {Adobe Song Std} & {SimSun} & {AR PL SungtiL GB} & {STSong} \\
% \textbf{黑体} & {Adobe Heiti Std} & {SimHei} & {WenQuanYi Zen Hei Mono} & {STHeiti} \\
% \textbf{楷书} & {Adobe Kaiti Std} & {KaiTi} & {AR PL KaitiM GB} & {STKaiti} \\
% \textbf{仿宋体} & {Adobe Fangsong Std} & {FangSong} & {STFangsong} & {STFangsong} \\
% \textbf{英文衬线字体(Serif)} & {Times} & {Times New Roman} & {Times} & {Times} \\
% \textbf{英文非衬线字体(Sans Serif)} & {Helvetica} & {Arial} & {Helvetica} & {Helvetica} \\
% \textbf{英文等宽字体(Monospace)} & {Courier} & {Courier New} & {Courier} & {Courier} \\
% \bottomrule
% \end{tabular}
% \caption{默认配置下不同字体选项所使用的实际字体名称}
% \label{table:fontnames}
% \end{table}
%
% \item[nobackinfo] 该选项用于控制是否在封面背面打印导师签名信息。如果设置了此选
% 项,则不在封面背面打印导师签名信息。此选项默认不被设置,一般情况下也无需设置
% 该选项。
%
% \begin{example}
% \documentclass[winfonts,nobackinfo]{smuthesis}
% \end{example}
%
% \item[phd, master, bachelor] 用于设置申请的学位级别。当选择|phd|时,生成南方医科大学博
% 士学位论文,包含国家图书馆格式的封面;选择|master|时,
% 生成南方医科大学硕士学位论文。
% \begin{example}
% \documentclass[winfonts,phd]{smuthesis}
% \end{example}
% \begin{note}
% 这三个选项必须设置一个且只能设置一个。
% \end{note}
%
% \end{description}
%
% \subsection{命令和环境}
%
% 文档类中的命令和环境分为三类:一是格式控制,二是内容替换,三是文档结构。格式控制如字体、字
% 号、字距和行距等;内容替换如文档名称、作者、项目、编号等;文档结构如中文摘要、中文关键词、
% 英文摘要、英文关键词、作者简历、致谢等。
%
% \subsubsection{格式控制命令}
%
% \myentry{中文字体}
% \DescribeMacro{\songti}
% \DescribeMacro{\heiti}
% \DescribeMacro{\kaishu}
% \DescribeMacro{\fangsong}
% 可采用下述命令选择中文字体
% \begin{itemize}
% \item \cs{songti} 切换宋体
% \item \cs{heiti} 切换黑体
% \item \cs{kaishu} 切换楷书
% \item \cs{fangsong} 切换仿宋体
% \end{itemize}
%
% \begin{example}
% {\songti 乾:元,亨,利贞}
% {\heiti 九二,见龙在田,利见大人}
% {\kaishu 九三,君子终日乾乾,夕惕若,厉,无咎}
% {\fangsong 九四,或跃在渊,无咎}
% \end{example}
%
% \myentry{字号}
% \DescribeMacro{\zihao}
% \cs{zihao}命令可用于选择字号。其语法为:
% \begin{syntax}
% \cs{zihao}\marg{n}
% \end{syntax}
% 其中参数\meta{n}为要使用的字号;在\meta{n}前加负号$-$表示小号字体。目前提供的字号包括:
% \begin{itemize}
% \item 初号(|\zihao{0}|)、小初号(|\zihao{-0}|)
% \item 一号(|\zihao{1}|)、小一号(|\zihao{-1}|)
% \item 二号(|\zihao{2}|)、小二号(|\zihao{-2}|)
% \item 三号(|\zihao{3}|)、小三号(|\zihao{-3}|)
% \item 四号(|\zihao{4}|)、小四号(|\zihao{-4}|)
% \item 五号(|\zihao{5}|)、小五号(|\zihao{-5}|)
% \item 六号(|\zihao{6}|)、小六号(|\zihao{-6}|)
% \item 七号(|\zihao{7}|)
% \item 八号(|\zihao{8}|)
% \end{itemize}
%
% \begin{example}
% {\zihao{2} 二号} {\zihao{3} 三号} {\zihao{4} 四号} {\zihao{-4} 小四}
% \end{example}
%
% \myentry{字距}
% \DescribeMacro{\ziju}
% \cs{ziju}命令可用于更改汉字之间默认的距离。其语法为:
% \begin{syntax}
% \cs{ziju}\marg{width}
% \end{syntax}
% 其中的参数\meta{width}只要是合格的{\TeX}距离即可。
%
% \begin{example}
% {\ziju{4bp}调整字距示例}
% \end{example}
%
% \myentry{缩进}
% \DescribeMacro{\indent}
% \DescribeMacro{\noindent}
% \cs{indent}命令将当前行正常的缩进两个汉字字宽的距离,同时在汉字大小和字距改变的情况都
% 可以自动修改缩进距离。
%
% \cs{noindent}则取消缩进。
%
% \myentry{破折号}
% \DescribeMacro{\zhdash}
% 中文破折号在CJK-{\LaTeX}里没有很好的处理,我们平时输入的都是两个小短线,比如这样,
% ``{中国——中华人民共和国}''。这不符合中文习惯。所以这里定义了一个命令生成更好看的破折号。
% 不过这似乎不是一个好的解决办法,比如不能用在\cs{section}等命令中使用。简单的办法是可以
% 提供一个不带破折号的段标题:
% \begin{syntax}
% \cs{section}\oarg{没有破折号精简标题}\marg{带破折号的标题}
% \end{syntax}
%
% \begin{example}
% 测试--中文破折号
% 测试{\zhdash}中文破折号
% \end{example}
%
% 上述例子的显示效果分别如下:
% \begin{itemize}
% \item 测试--中文破折号
% \item 测试{\zhdash}中文破折号
% \end{itemize}
%
% \subsubsection{封面内容替换命令}
% 分类号、密级、UDC、编号可先不填写,默认均为空。
%
% \myentry{分类号}
% \DescribeMacro{\classification}
% 命令\cs{classification}用于设置论文按照《中国图书资料分类法》的分类编号。具体的分类号需咨询学校图书馆的老师。
%
% \begin{example}
% \classification{616.2}
% \end{example}
%
% \myentry{密级}
% \DescribeMacro{\securityLevel}
% \DescribeMacro{\openLevel}
% \DescribeMacro{\controlLevel}
% \DescribeMacro{\confidentialLevel}
% \DescribeMacro{\clasifiedLevel}
% \DescribeMacro{\mostconfidentialLevel}
% 命令\cs{securityLevel}设置论文的密级。论文的密级必须按照\std{GB/T 7156-2003}标准
% 进行填写。
%
% 根据\std{GB/T 7156-2003}标准,文献保密等级分为$5$级,即“公开级”、“限制级”、
% “秘密级”、“机密级”、“绝密级”。本文档类中预定义了该标准中文献保密等级的五个等级的
% 代码常量:
% \begin{enumerate}
% \item \cs{openLevel},表示公开级:此级别的文献可在国内外发行和交换。
% \item \cs{controlLevel},表示限制级:此级别的文献内容不涉及国家秘密,但在一定时间内
% 限制其交流和使用范围。
% \item \cs{confidentialLevel},表示秘密级:此级别的文献内容涉及一般国家秘密。
% \item \cs{clasifiedLevel},表示机密级:此级别的文献内容涉及重要的国家秘密 。
% \item \cs{mostconfidentialLevel},表示绝密级:此级别的文献内容涉及最重要的国家秘密。
% \end{enumerate}
%
% 如果未设置\cs{securityLevel},其默认值将被设置为\cs{openLevel},即“公开级”。
%
% \begin{example}
% \securityLevel{\controlLevel}
% \end{example}
%
% \myentry{UDC}
% \DescribeMacro{\udc}
% 命令\cs{udc}用于设置论文按照《国际十进分类法UDC》的分类编号。
%
% 国际十进分类法(Universal Decimal Classification,简称UDC),又称为通用十进制
% 分类法,是世界上规模最大、用户最多、影响最广泛的一部文献资料分类法。自
% 1899--1905年比利时学者奥特勒和拉封丹共同主编、出版UDC法文第一版以来,现已有20
% 多种语言的各种详略版本。近百年来,UDC已被世界上几十个国家的10多万个图书馆和情
% 报机构采用。UDC目前已成为名符其实的国际通用文献分类法。
%
% 论文的具体UDC编号需咨询学校图书馆的老师,或在下面网址查询:
% \begin{center}
% \url{http://www.udcc.org/udcsummary/php/index.php?lang=chi}
% \end{center}
%
% \begin{example}
% \udc{616.2} %心内科是这个
% \end{example}
%
% \myentry{编号}
% \DescribeMacro{\Number}
% 命令\cs{Number}用于设置论文编号。
%
% \myentry{论文标题}
% \DescribeMacro{\Title}
% \DescribeMacro{\nlcTitlea}
% \DescribeMacro{\nlcTitleb}
% \DescribeMacro{\nleTitlea}
% \DescribeMacro{\nleTitleb}
% 命令\cs{nlcTitlea}、\cs{nlcTitleb}和\cs{nleTitlea}、\cs{nleTitleb}分别用于设置国家图书馆封面的
% 论文中文标题及英文标题的第一行、第二行。其中,\cs{nlcTitleb}和\cs{nleTitleb}亦为可选,
% 其默认值为空白。\cs{nlcTitlea}默认与\cs{title}保持一致,当设置\cs{title}时,中文标题仅显示一行,
% 多出的命令是为了让用户在论文标题较长时手动进行分割换行。
%
% \begin{example}
% \Title{这是中文标题}
% \nleTitlea{This is English title}
% \end{example}
%
% \begin{note}
% 这些|Title|命令的参数中都不能再出现换行。\\
% 在后续的扉页、中、英文摘要的标题默认会设置成与封面一样的内容及行数。
% \end{note}
%
% \myentry{论文作者名字}
% \DescribeMacro{\Name}
% 命令\cs{Name}用于设置论文作者的名字,默认设置为空。
%
% \begin{example}
% \Name{王也}
% \end{example}
%
% \myentry{其他信息}
% \DescribeMacro{\supervisorInfo}
% \DescribeMacro{\majorInfo}
% \DescribeMacro{\cultureInfo}
% \DescribeMacro{\submitDate}
% 命令\cs{supervisorInfo}用于设置论文作者的导师的姓名和职称,默认设置为空。
% 命令\cs{majorInfo}用于设置论文作者的专业名称,默认设置为空。
% 命令\cs{cultureInfo}用于设置论文作者的培养类型,可为专业型或学术型,默认设置为空。
% 命令\cs{submitDate}用于设置论文提交日期,例如:2023\hspace{0.5em}年\hspace{0.5em}5\hspace{0.5em}月\hspace{0.5em}10\hspace{0.5em}日,可复制本句,修改时间数字即可。默认设置为空。
%
% \begin{example}
% \supervisorinfo{xxx 教授}
% \majorInfo{内科学 (心血管内科)}
% \cultureInfo{学术型}
% \submitDate{2024\hspace{0.5em}年\hspace{0.5em}5\hspace{0.5em}月\hspace{0.5em}10\hspace{0.5em}日}
% \end{example}
%
% \begin{note}
% 此处设置的作者姓名、导师姓名、专业名称、培养类型均将用于同步扉页信息,扉页不再设置函数修改。
% \end{note}
%
% 至此封面内容替换已结束
%
% 本节描述论文扉页的内容替换命令
%
% \myentry{扉页页眉}
% \DescribeMacro{\grade}
% 命令\cs{grade}用于设置扉页页眉所需的年级信息,其余内容将自动生成。
%
% \begin{example}
% \grade{2021级}
% \end{example}
%
% \myentry{论文标题}
% \DescribeMacro{\titlePagecTitlea}
% \DescribeMacro{\titlePagecTitleb}
% 命令\cs{titlePagecTitlea}用于设置论文的中文标题。\cs{titlePagecTitleb}用于手动设置标题分行。命令\cs{titlePageeTitlea}、\cs{titlePageeTitleb}同理。此处设置默认将与封面保持一致,可不设置,也可自行修改。
% 若\cs{title}被设置,则勿设置此处中文标题,可能引起冲突。
% \begin{example}
% \titlePagecTitlea{这是标题}
% \titlePagecTitleb{这是需要分行的标题}
% \titlePageeTitlea{This is title}
% \titlePageeTitleb{This is title continued.}
% \end{example}
%
% \myentry{课题来源}
% \DescribeMacro{\source}
% 命令\cs{source}用于设置课题来源,如:国家自然科学基金 (编号)。默认设置为空。
%
% \begin{example}
% \source{国家自然科学基金 (编号)}
% \end{example}
%
% \myentry{所在学院}
% \DescribeMacro{\department}
% 命令\cs{department}用于设置所在学院。默认设置为空。
%
% \begin{example}
% \department{第一临床医学院}
% \end{example}
%
% \myentry{答辩委员会主席}
% \DescribeMacro{\chairman}
% 命令\cs{chairman}用于设置论文答辩委员会主席的姓名。\cs{chairmanTitle}用于设置职称。
%
% \begin{example}
% \chairman{王重阳}
% \chairmanTitle{教授}
% \end{example}
%
% \myentry{评阅人}
% \DescribeMacro{\reviewera}
% \DescribeMacro{\reviewerb}
% \DescribeMacro{\reviewerc}
% \DescribeMacro{\reviewerd}
% \DescribeMacro{\revieweraTitle}
% \DescribeMacro{\reviewerbTitle}
% \DescribeMacro{\reviewercTitle}
% \DescribeMacro{\reviewerdTitle}
% 命令\cs{reviewera}、\cs{reviewerb}、\cs{reviewerc}、\cs{reviewerd}分别用于设置
% 论文的第一、第二、第三和第四评阅人的姓名。\\
%命令\cs{revieweraTitle}、\cs{reviewerbTitle}、\cs{reviewercTitle}、\cs{reviewerdTitle}分别用于设置
% 论文的第一、第二、第三和第四评阅人的姓名。
%
% \begin{example}
% \reviewera{张三丰}
% \revieweraTitle{教授}
% \reviewerb{张无忌}
% \reviewerbTitle{副教授}
% \reviewerc{黄裳}
% \reviewercTitle{教授}
% \reviewerd{郭靖}
% \reviewerdTitle{研究员}
% \end{example}
%
% \myentry{答辩日期和城市}
% \DescribeMacro{\defend}
% 命令\cs{defend}用于设置答辩的时间和城市。
%
% \begin{example}
% \department{2024\hspace{0.5em}年\hspace{0.5em}5\hspace{0.5em}月\hspace{0.5em}11\hspace{0.5em}日\hspace{1em}广州}
% \end{example}
%
% 至此,扉页所需内容已替换完毕
%
% \subsubsection{中文摘要页内容替换命令}
%
% 本节描述论文的中文摘要页的内容替换命令。
%
% \myentry{标题}
% \DescribeMacro{\cAbstractTitlea}
% \DescribeMacro{\cAbstractTitleb}
% 命令\cs{cAbstractTitlea}和\cs{cAbstractTitleb}分别用于设置中文摘要页面的论文标题。默认与同步封面同步,也可自行修改。
%
% \begin{example}
% \cAbstractTitlea{这是一个标题}
% \cAbstractTitleb{这是需要分行的标题部分}
% \end{example}
%
% \myentry{指导教师}
% 由于指导教师可有多名,故此处不会自动与封面信息进行同步,需自行设置。最多可设置三名指导教师。
% \DescribeMacro{cTeachera}
% \DescribeMacro{cTeacherb}
% \DescribeMacro{cTeacherc}
% 命令\cs{cTeachera}、\cs{cTeacherb}、\cs{cTeacherc}分别用于设置三名指导教师的姓名及职称。默认设置均为空。
% \begin{example}
% \cTeachera{赵无忌副教授}
% \cTeacherb{黄裳教授}
% \end{example}
%
% \subsubsection{英文摘要页内容替换命令}
%
% 本节描述论文的英文摘要页的内容替换命令。
%
% \myentry{标题}
% \DescribeMacro{\eAbstractTitlea}
% \DescribeMacro{\eAbstractTitleb}
% 命令\cs{eAbstractTitlea}和\cs{eAbstractTitleb}分别用于设置英文摘要页面的论文标题的第一行和第二行,同上述中文摘要标题。
%
% \begin{example}
% \eAbstractTitlea{This is a title}
% \eAbstractTitleb{This is the title continued.}
% \end{example}
%
% \myentry{指导教师}
% 同上述中文摘要
% \DescribeMacro{\eName}
% \DescribeMacro{\eTeachera}
% \DescribeMacro{\eTeacherb}
% \DescribeMacro{\eTeacherc}
% 命令\cs{eName}、\cs{eTeachera}、\cs{eTeacherb}、\cs{eTeacherc}分别用于设置作者及最多三名指导教师的英文姓名及职称。默认设置均为空。
% \begin{example}
% \eName{Akla}
% \eTeachera{Prof.Zhang Sanfeng}
% \eTeacherb{Prof.Huang Chang}
% \end{example}
%
% 至此摘要部分内容替换均已设置完毕
%
% \subsubsection{文档结构命令和环境}
%
% 本节描述论文中可能用到的其他文档结构命令和环境。
%
% \myentry{生成封面}
% \DescribeMacro{\makenl}
% 命令\cs{makenl}用于生成论文的国家图书馆封面。此命令必须被用在{\TeX}文档
% 的\cs{begin{document}}命令之后和\cs{frontmatter}命令之前。
%
% \begin{example}
% \makenl
% \end{example}
%
% \myentry{生成扉页}
% \DescribeMacro{\makeTitle}
% 命令\cs{makeTitle}用于生成论文的中文封面。此命令必须被用在{\TeX}文档的
% \cs{begin{document}}命令之后和\cs{frontmatter}命令之前。
%
% \begin{example}
% \makeTitle
% \end{example}
%
% \myentry{中文摘要}
% \DescribeEnv{cAbstract}
% \env{cAbstract}为中文摘要环境。此环境必须被用在{\TeX}文档的\cs{frontmatter}命令之后和
% \cs{mainmatter}命令之前。
%
% \begin{example}
% \begin{cAbstract}
% 本文基于小世界理论,研究了数据中心的网络模型。………………
% \end{cAbstract}
% \end{example}
%
% \myentry{中文关键词}
% \DescribeMacro{\cKeywords}
% 命令\cs{cKeywords}用于设置中文关键词。此命令必须被用在\env{cAbstract}环境中。关键词
% 之间用中文全角分号隔开。
%
% \begin{example}
% \begin{cAbstract}
% 本文基于小世界理论,研究了数据中心的网络模型。………………
% \cKeywords{数据中心;网络模型;小世界理论}
% \end{cAbstract}
% \end{example}
%
% \myentry{英文摘要}
% \DescribeEnv{eAbstract}
% \env{eAbstract}为英文摘要环境。此环境必须被用在{\TeX}文档的
% \env{cAbstract}环境之后和\cs{mainmatter}命令之前。
%
% \begin{example}
% \begin{eAbstract}
% In this paper, we studied the network model of data centers,
% based on the theory of small worlds. ....
% \end{eAbstract}
% \end{example}
%
% \myentry{英文关键词}
% \DescribeMacro{\eKeywords}
% 命令\cs{eKeywords}用于设置英文关键词。此命令必须被用在\env{eAbstract}
% 环境中。关键词之间用英文半角逗号隔开。
%
% \begin{example}
% \begin{eAbstract}
% In this paper, we studied the network model of data centers,
% based on the theory of small worlds. ....
% \eKeywords{Data Center, Network Model, Small World}
% \end{eAbstract}
% \end{example}
%
% \myentry{目录}
% \DescribeMacro{\tableofcontents}
% 命令\cs{tableofcontents}用于生成论文目录。此命令必须被用在{\TeX}文档的
% \env{eAbstract}环境之后和\cs{mainmatter}命令之前。
%
% \begin{example}
% \tablefcContents
% \end{example}
%
% \myentry{生成论文原创性及版权说明}
% \DescribeMacro{\makeLicense}
% 命令\cs{makeLicense}用于生成论文原创性及版权说明。该授权书中的一些字段将根据
% 用户所设置的文档属性自动填写,其他字段需由作者将论文打印出来后用笔手工填写。此命令应该
% 用于{\TeX}文档的\cs{end{document}}命令之前。
% \begin{example}
% \makelicense
% \end{example}
%
% \subsubsection{其它命令和环境}
%
% \myentry{列表环境}
% \DescribeEnv{itemize}
% \DescribeEnv{enumerate}
% \DescribeEnv{description}
% 为了适合中文习惯,{\smuthesis}文档类使用|paralist|宏包重新定义了|itemize|、
% |enumerate|和|description|这三个常用的列表环境。一方面满足了多余空间的清楚,另
% 一方面可以自己指定标签的样式和符号。
%
% 使用的细节请参看|paralist|文档,此处不再赘述。
%
% \subsection{数学环境}
%
% {\smuthesis}宏包预定义了一些数学定理环境,完全保留|smuthesis|的设置,医学很少用到专业数学环境,此处仅简要概述,如表\ref{table:math-env}所示。
%
% \begin{table}
% \noindent\centering
% \begin{tabular}{*{7}{l}}
% \hline
% axiom & theorem & definition & proposition & lemma & conjecture & notation \\
% 公理 & 定理 & 定义 & 命题 & 引理 & 猜想 & 记号 \\
% \hline
% proof & corollary & example & exercise & assumption & remark & problem \\
% 证明 & 推论 & 例子 & 练习 & 假设 & 评注 & 问题\\
% \hline
% postulate & hypothesis & principle & algorithm & & & \\
% 公设 & 假说 & 定律 & 算法 & & & \\
% \hline
% \end{tabular}
% \caption{预定义的数学定理环境}\label{table:math-env}
% \end{table}
%
% 例如:
% \begin{example}
% \begin{definition}
% 小世界网络是指其平均路径长度和其节点总数成对数关系的网络。
% \end{definition}
% \end{example}
% 上述代码将产生(自动编号):
% \begin{flushleft}
% {\heiti 定义~1.1~~~} {小世界网络是指其平均路径长度和其节点总数成对数关系的网络。}
% \end{flushleft}
%
% 列举出来的数学环境毕竟是有限的,如果想用{\heiti 胡说}这样的数学环境,那么很容易定义:
% \begin{example}
% \newtheorem{nonsense}{胡说}[chapter]
% \end{example}
%
% 然后这样使用:
% \begin{example}
% \begin{nonsense}
% 契丹武士要来中原夺武林秘笈。\zhdash 慕容博
% \end{nonsense}
% \end{example}
% 上述代码将产生(自动编号):
% \begin{flushleft}
% {\heiti 胡说~1.1~~~} {契丹武士要来中原夺武林秘笈。\zhdash 慕容博}
% \end{flushleft}
%
% \subsection{自定义以及其它}
%
% 文档类的配置文件|smuthesis.cfg|中定义了很多固定词汇,一般无须修改。如果有特殊需求,
% 推荐在导言区使用\cs{renewcommand}。当然,导言区里可以直接使用中文。
%
% \section{实现细节}
%
% \subsection{定义选项}
%
% {\smuthesis}宏包的默认选项为|winfonts|。
% \begin{macrocode}
%<*cls>
\newif\ifsmut@winfonts\smut@winfontstrue
\newif\ifsmut@adobefonts\smut@adobefontsfalse
\newif\ifsmut@linuxfonts\smut@linuxfontsfalse
\newif\ifsmut@macfonts\smut@macfontsfalse
\newif\ifsmut@backinfo\smut@backinfofalse
\newif\ifsmut@phd\smut@phdfalse
\newif\ifsmut@master\smut@masterfalse
\newif\ifsmut@bachelor\smut@bachelorfalse
\DeclareOption{adobefonts}{\smut@adobefontstrue
\smut@winfontsfalse
\smut@linuxfontsfalse
\smut@macfontsfalse}
\DeclareOption{winfonts}{\smut@winfontstrue
\smut@adobefontsfalse
\smut@linuxfontsfalse
\smut@macfontsfalse}
\DeclareOption{linuxfonts}{\smut@linuxfontstrue
\smut@adobefontsfalse
\smut@winfontsfalse
\smut@macfontsfalse}
\DeclareOption{macfonts}{\smut@macfontstrue
\smut@adobefontsfalse
\smut@winfontsfalse
\smut@linuxfontsfalse}
\DeclareOption{nobackinfo}{\smut@backinfotrue}
\DeclareOption{phd}{\smut@phdtrue
\smut@masterfalse
\smut@bachelorfalse}
\DeclareOption{master}{\smut@mastertrue
\smut@phdfalse
\smut@bachelorfalse}
\DeclareOption{bachelor}{\smut@bachelortrue
\smut@phdfalse
\smut@masterfalse}
% \end{macrocode}
%
% 把没有定义的选项传递给底层的文档类,在这里为|book|。
%
% \begin{macrocode}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{book}}
% \end{macrocode}
%
% 处理选项:
% \begin{macrocode}
\ProcessOptions\relax
% \end{macrocode}
%
% \subsection{底层文档类}
%
% 文档基于标准{\LaTeX}的|book|类。正文使用小四字号(对应于12.05pt,这里近似使用12pt),
% 纸张使用A4,双面打印。
% \begin{macrocode}
\LoadClass[12pt,a4paper,doubleside]{book}
% \end{macrocode}
% \subsection{装载宏包}
% 使用本文档类所写的文档需要使用{\XeLaTeX}引擎处理,因此首先要检查引擎是否正确。
% \begin{macrocode}
\RequirePackage{ifxetex}
\RequireXeTeX
% \end{macrocode}
%
% 使用|lastpage|宏包来获得最后一页的页码,从而生成“第3页,共20页”这样的页码标签。
% \begin{macrocode}
\RequirePackage{lastpage}
% \end{macrocode}
%
% 使用|geometry|宏包定义页面布局,定义段间距。
% \begin{macrocode}
\RequirePackage{geometry}
% \end{macrocode}
%
% 使用|titlesec|宏包设置标题格式。
% \begin{macrocode}
\RequirePackage{titlesec}
% \end{macrocode}
%
% 使用|graphicx|宏包支持插入图片。
% \begin{macrocode}
\RequirePackage{graphicx}
% \end{macrocode}
%
% 如果插入的图片没有指定扩展名,那么依次搜索下面的扩展名所对应的文件
% \begin{macrocode}
\DeclareGraphicsExtensions{.pdf,.eps,.jpg,.png}
% \end{macrocode}
%
% |caption|宏包处理浮动图形和表格的标题样式。
% \begin{macrocode}
\RequirePackage{caption}
% \end{macrocode}
%
% |float|宏包为浮动图形和表格环境提供了一个H选项,强制将其放在当前位置。
% \begin{macrocode}
\RequirePackage{float}
% \end{macrocode}
%
% 用|subfig|宏包支持插入子图和子表。
% \begin{macrocode}
\RequirePackage{subfig}
% \end{macrocode}
%
% 使用|array|宏包扩展表格的列选项。
% \begin{macrocode}
\RequirePackage{array}
% \end{macrocode}
%
% 使用|longtable|宏包处理长表格。
% \begin{macrocode}
\RequirePackage{longtable}
% \end{macrocode}
%
% |booktabs|宏包可生成三线表,支持\cs{toprule},\cs{midrule},\cs{bottomrulle}等命令。
% \begin{macrocode}
\RequirePackage{booktabs}
% \end{macrocode}
%
% |multirow|宏包支持在表格中跨行。
% \begin{macrocode}
\RequirePackage{multirow}
% \end{macrocode}
%
% |enumitem|宏包支持自定义列表环境。
% \begin{macrocode}
\RequirePackage{enumitem}
% \end{macrocode}
%
% |xcolor|宏包提供色彩控制。
% \begin{macrocode}
\RequirePackage{xcolor}
% \end{macrocode}
%
% |amsmath|宏包提供数学公式支持。
% \begin{macrocode}
\RequirePackage{amsmath}
% \end{macrocode}
%
% |amsthm|宏包支持自定义数学定理环境。
% \begin{macrocode}
\RequirePackage{amsthm}
% \end{macrocode}
%
% |amsfonts|宏包、|amssymb|宏包、|bm|宏包和|mathrsfs|宏包提供数学符号和字体支持。
% \begin{macrocode}
\RequirePackage{amsfonts}
\RequirePackage{amssymb}
\RequirePackage{bm}
\RequirePackage{mathrsfs}
% \end{macrocode}
%
% |wasysym|宏包提供特殊符号支持。
% \begin{macrocode}
\RequirePackage{wasysym}
% \end{macrocode}
%
% |pifont|宏包提供带圈的数字符号。
% \begin{macrocode}
\RequirePackage{pifont}
% \end{macrocode}
%
% |txfonts|宏包用自己的typewriter字体替换系统Courier字体,它必须在{\AmSTeX}之后引入。
% \begin{macrocode}
\RequirePackage{txfonts}
% \end{macrocode}
%
% |setspace|宏包支持行距控制。它需要在|hyperref|宏包之前加载,避免脚注超链接失效。
% \begin{macrocode}
\RequirePackage{setspace}
% \end{macrocode}
%
% |fancyhdr|宏包支持自定义页眉页脚。
% \begin{macrocode}
\RequirePackage{fancyhdr}
% \end{macrocode}
%
% |shortvrb|提供了一个\cs{MakeShortVerb}命令,可将某个符号定义为\cs{verb}命令的缩写。
% \begin{macrocode}
\RequirePackage{shortvrb}
% \end{macrocode}
%
% 使用|xltxtra|宏包来获取{\XeLaTeX}的符号。
% \begin{macrocode}
\RequirePackage{xltxtra}
% \end{macrocode}
%
% 使用|xeCJK|宏包处理中文。宏包选项|CJKnumber|表示调用|CJKnumber|宏包处理中文数
% 字;|CJKchecksingle|表示避免单个汉字单独占一行。|xeCJK|宏包必须放在|amssymb|之后,
% 否则会有冲突。
% \begin{note}
% 由于TeX Live升级到2014版后,直接用|xeCJK|的|CJKnumber|选项会出现bug,我们需单独导入
% |CJKnumb|宏包;但|xeCJK|的|CJKnumber|选项依然需要,否则在Tex Live 2012下编译会报错。
% \end{note}
%
% \begin{macrocode}
\RequirePackage[CJKnumber,CJKchecksingle]{xeCJK}
\RequirePackage{CJKnumb}
% \end{macrocode}
%
% 让{\XeLaTeX}能够处理dash的惯例(使用"--"和"---"获得较长的dash)。
% \begin{macrocode}
\defaultfontfeatures{Mapping=tex-text}
% \end{macrocode}
%
% 设置中文标点格式,使用|plain|方案。其他可选方案参见|xeCJK|文档。
% \begin{macrocode}
\punctstyle{plain}
% \end{macrocode}
%
% |xeCJKfntef|宏包提供了中文下划线命令\cs{CJKunderline},它将在制作论文封面时用到。
% \begin{macrocode}
\RequirePackage{xeCJKfntef}
% \end{macrocode}
%
% 设置中文下划线颜色为黑色。
% \begin{macrocode}
\xeCJKsetup{ underline/format = \color{black} }
% \end{macrocode}
%
% 使用|indentfirst|宏包支持首行缩进。
% \begin{macrocode}
%\RequirePackage{indentfirst}
% \end{macrocode}
%
% |url|宏包支持超链接排版,我们为它提供|hyphens|选项,从而使得长链接可在连字符处自动折行。
% 注意|url|宏包必须在|hyperref|宏包之前载入,否则其选项不起作用。
% \begin{macrocode}
\RequirePackage[hyphens]{url}
% \end{macrocode}
%
% |hyperref|宏包可根据交叉引用生成超链接,同时生成PDF文档的书签。
% \begin{macrocode}
\RequirePackage{hyperref}
% \end{macrocode}
%
% 设置|hyperref|宏包参数。|hyperref|配合{\XeTeX}使用时不能开启Unicode选项。
% \begin{macrocode}
\hypersetup{%
unicode=false,
hyperfootnotes=true,
hyperindex=true,
pageanchor=true,
CJKbookmarks=true,
bookmarksnumbered=true,
bookmarksopen=true,
bookmarksopenlevel=0,
breaklinks=true,
colorlinks=false,
plainpages=false,
pdfpagelabels,
pdfborder=0 0 0%
}
% \end{macrocode}
%
% 设置URL样式,使其与上下文一致。
% \begin{macrocode}
\urlstyle{same}
% \end{macrocode}
%
% 美化参考文献排序和引用格式的宏包|natbib|。
% \begin{macrocode}
\RequirePackage[sort&compress,numbers]{natbib}
% \end{macrocode}
%
% |hypernat|可以让|hyperref|和|natbib|混合使用,但它需要放在这两者之后。
% \begin{macrocode}
\RequirePackage{hypernat}
% \end{macrocode}
%
% |tabularx|宏包支持自动扩展的列宽,但它需要在|hyperref|之后引入才不会导致正文
% 的footnote的超链接失效。
% \begin{macrocode}
\RequirePackage{tabularx}
% \end{macrocode}
%
% |makeidx|宏包支持建立索引。
% \begin{macrocode}
\RequirePackage{makeidx}
% \end{macrocode}
%
% |glossaries|宏包可用于制作术语表。但该宏包必须在|hyperref|之后载入。
% \begin{macrocode}
\RequirePackage{glossaries}
% \end{macrocode}
%
% |ifthen|宏包提供了\cs{ifthenelse}命令,本文档类将使用该命令定义一些其他命令。
% \begin{macrocode}
\RequirePackage{ifthen}
% \end{macrocode}
%
% |footmisc|宏包提供了对脚注样式的控制功能。
% \begin{macrocode}
\RequirePackage[perpage,symbol*]{footmisc}
%</cls>
% \end{macrocode}
%
% |etoolbox|宏包提供了一些工具宏。
% \begin{macrocode}
\RequirePackage{etoolbox}
% \end{macrocode}
%
% 定义论文中部分标题的字符串常量
%
% 定义常用数学定理环境的字符串常量:
% \begin{macrocode}
%<*cfg>
\newcommand*{\smut@cap@definition}{定义}
\newcommand*{\smut@cap@notation}{记号}
\newcommand*{\smut@cap@theorem}{定理}
\newcommand*{\smut@cap@lemma}{引理}
\newcommand*{\smut@cap@corollary}{推论}
\newcommand*{\smut@cap@proposition}{命题}
\newcommand*{\smut@cap@fact}{事实}
\newcommand*{\smut@cap@assumption}{假设}
\newcommand*{\smut@cap@conjecture}{猜想}
\newcommand*{\smut@cap@hypothesis}{假说}
\newcommand*{\smut@cap@axiom}{公理}
\newcommand*{\smut@cap@postulate}{公设}
\newcommand*{\smut@cap@principle}{定律}
\newcommand*{\smut@cap@problem}{问题}
\newcommand*{\smut@cap@exercise}{练习}
\newcommand*{\smut@cap@example}{例}
\newcommand*{\smut@cap@remark}{评注}
\newcommand*{\smut@cap@proof}{证明}
\newcommand*{\smut@cap@solution}{解}
\newcommand*{\smut@cap@algorithm}{算法}
% \end{macrocode}
%
% 定义学位颁发机构的校徽和校名图片文件名:
% \begin{macrocode}
\newcommand*{\smut@cap@institute@logo}{smulogo.eps}
\newcommand*{\smut@cap@institute@name}{smuname.eps}
% \end{macrocode}
%
% \subsection{字段默认值定义}
%
% 定义封面中要填写的字段的默认值:
% \begin{macrocode}
\newcommand*{\smut@value@nlc@classification}{}
\newcommand*{\smut@value@nlc@securityLevel}{}
\newcommand*{\smut@value@nlc@udc}{}
\newcommand*{\smut@value@nlc@Number}{}
\newcommand*{\smut@value@nlc@Title}{}
\newcommand*{\smut@value@nlc@nlcTitlea}{}
\newcommand*{\smut@value@nlc@nlcTitleb}{}
\newcommand*{\smut@value@nlc@nleTitlea}{}
\newcommand*{\smut@value@nlc@nleTitleb}{}
\newcommand*{\smut@value@nlc@Name}{}
\newcommand*{\smut@value@nlc@supervisorInfo}{}
\newcommand*{\smut@value@nlc@majorInfo}{}
\newcommand*{\smut@value@nlc@cultureInfo}{}
\newcommand*{\smut@value@nlc@submitDate}{}
% \end{macrocode}
%
% 定义南方医科大学学位论文扉页中要填写的字段的默认值:
% \begin{macrocode}
\ifsmut@phd
\newcommand*{\smut@value@degree}{博士}
\newcommand*{\smut@value@type}{研究生}
\else
\ifsmut@master
\newcommand*{\smut@value@degree}{硕士}
\newcommand*{\smut@value@type}{研究生}
\else
\ifsmut@bachelor
\newcommand*{\smut@value@degree}{学士}
\newcommand*{\smut@value@type}{本科生}
\else
\ClassError{smuthesis}{No degree was selected.}{}
\fi
\fi
\fi
\newcommand*{\smut@value@grade}{}
\newcommand*{\smut@value@titlePagecTitlea}{}
\newcommand*{\smut@value@titlePagecTitleb}{}
\newcommand*{\smut@value@titlePageeTitlea}{}
\newcommand*{\smut@value@titlePageeTitleb}{}
\newcommand*{\smut@value@source}{}
\newcommand*{\smut@value@department}{}
\newcommand*{\smut@value@chairman}{}
\newcommand*{\smut@value@chairmanTitle}{}
\newcommand*{\smut@value@reviewera}{}
\newcommand*{\smut@value@reviewerb}{}
\newcommand*{\smut@value@reviewerc}{}
\newcommand*{\smut@value@reviewerd}{}
\newcommand*{\smut@value@revieweraTitle}{}
\newcommand*{\smut@value@reviewerbTitle}{}
\newcommand*{\smut@value@reviewercTitle}{}
\newcommand*{\smut@value@reviewerdTitle}{}
\newcommand*{\smut@value@defend}{}
% \end{macrocode}
%
% 定义南方医科大学学位论文中文摘要页中要填写的字段的默认值:
% \begin{macrocode}
\newcommand*{\smut@value@cAbstract@cAbstractTitlea}{\smut@value@title}
\newcommand*{\smut@value@cAbstract@cAbstractTitleb}{}
\newcommand*{\smut@value@cAbstract@cTeachera}{}
\newcommand*{\smut@value@cAbstract@cTeacherb}{}
\newcommand*{\smut@value@cAbstract@cTeacherc}{}
\newcommand*{\smut@value@cAbstract@cKeywords}{}
% \end{macrocode}
%
% 定义南方医科大学学位论文英文摘要页中要填写的字段的默认值:
% \begin{macrocode}
\newcommand*{\smut@value@eAbstract@eAbstractTitlea}{}
\newcommand*{\smut@value@eAbstract@eAbstractTitleb}{}
\newcommand*{\smut@value@eAbstract@eName}{}
\newcommand*{\smut@value@eAbstract@eTeachera}{}
\newcommand*{\smut@value@eAbstract@eTeacherb}{}
\newcommand*{\smut@value@eAbstract@eTeacherc}{}
\newcommand*{\smut@value@eAbstract@eKeywords}{}
% \end{macrocode}
%
% \subsection{格式控制常量定义}
%
% 定义Windows下宋体、黑体、楷书和仿宋体四种中文字体的名称。默认采用微软字体。
% \begin{macrocode}
\newcommand*{\smut@zhfn@songti@win}{SimSun}
\newcommand*{\smut@zhfn@cusong@win}{FZCuSong-B09S}
\newcommand*{\smut@zhfn@heiti@win}{SimHei}
\newcommand*{\smut@zhfn@kaishu@win}{KaiTi}
\newcommand*{\smut@zhfn@fangsong@win}{FangSong}
% \end{macrocode}
%
% 定义Windows下英文字体的名称。默认采用Windows自带的字体。
% \begin{macrocode}
\newcommand*{\smut@enfn@main@win}{Times New Roman}
\newcommand*{\smut@enfn@sans@win}{Arial}
\newcommand*{\smut@enfn@mono@win}{Courier New}
% \end{macrocode}
%
%
% 定义Linux下宋体、黑体、楷书和仿宋体四种中文字体的名称。默认采用文鼎宋体、楷体;
% 文泉黑体;以及华文仿宋体(需要单独安装)。
% \begin{macrocode}
\newcommand*{\smut@zhfn@songti@linux}{AR PL SungtiL GB}
\newcommand*{\smut@zhfn@cusong@linux}{FZCuSong-B09S}
\newcommand*{\smut@zhfn@heiti@linux}{WenQuanYi Zen Hei Mono}
\newcommand*{\smut@zhfn@kaishu@linux}{AR PL KaitiM GB}
\newcommand*{\smut@zhfn@fangsong@linux}{STFangSong}
% \end{macrocode}
%
% 定义Linux下英文字体的名称。默认采用的字体若未安装请自行安装。
% \begin{macrocode}
\newcommand*{\smut@enfn@main@linux}{Times}
\newcommand*{\smut@enfn@sans@linux}{Helvetica}
\newcommand*{\smut@enfn@mono@linux}{Courier}
% \end{macrocode}
%
% 定义Mac下宋体、黑体、楷书和仿宋体四种中文字体的名称。默认采用华文字体。
% \begin{macrocode}
\newcommand*{\smut@zhfn@songti@mac}{STSong}
\newcommand*{\smut@zhfn@cusong@mac}{FZCuSong-B09S}
\newcommand*{\smut@zhfn@heiti@mac}{STHeiti}
\newcommand*{\smut@zhfn@kaishu@mac}{STKaiti}
\newcommand*{\smut@zhfn@fangsong@mac}{STFangsong}
% \end{macrocode}
%
% 定义Mac下英文字体的名称。默认采用Mac自带的字体。
% \begin{macrocode}
\newcommand*{\smut@enfn@main@mac}{Times}
\newcommand*{\smut@enfn@sans@mac}{Helvetica}
\newcommand*{\smut@enfn@mono@mac}{Courier}
% \end{macrocode}
%
% 定义Adoble提供的宋体、黑体、楷书和仿宋体四种中文字体的名称。Adoble的宋体、黑体和仿宋体
% 可以在其网站免费下载,地址为
% \begin{center}
% \url{https://supportdownloads.adobe.com/detail.jsp?ftpID=4883}
% \end{center}
% 但Adobe的楷体只随Adobe Creative Suite软件提供。不过,所有Adobe中文字体都可以在这里
% 下载:
% \begin{center}
% \url{https://github.com/Haixing-Hu/latex-chinese-fonts}
% \end{center}
%
% \begin{macrocode}
\newcommand*{\smut@zhfn@songti@adobe}{Adobe Song Std}
\newcommand*{\smut@zhfn@cusong@adobe}{FZCuSong-B09S}
\newcommand*{\smut@zhfn@heiti@adobe}{Adobe Heiti Std}
\newcommand*{\smut@zhfn@kaishu@adobe}{Adobe Kaiti Std}
\newcommand*{\smut@zhfn@fangsong@adobe}{Adobe Fangsong Std}
% \end{macrocode}
%
% 定义英文字体的名称。默认采用Mac自带的字体。
% \begin{macrocode}
\newcommand*{\smut@enfn@main@adobe}{Times}
\newcommand*{\smut@enfn@sans@adobe}{Helvetica}
\newcommand*{\smut@enfn@mono@adobe}{Courier}
%</cfg>
% \end{macrocode}
%
% \subsection{载入字符串常量配置}
%
% 在进行其他配置之前先载入预定义的字符串常量配置。
% \begin{macrocode}
%<*cls>
\input{smuthesis.cfg}
% \end{macrocode}
%
% \subsection{字体设置}
%
% 首先根据文档选项选择正确的中文字体名称。
% \begin{macrocode}
\ifsmut@adobefonts
\newcommand*{\smut@zhfn@songti}{\smut@zhfn@songti@adobe}
\newcommand*{\smut@zhfn@cusong}{\smut@zhfn@cusong@adobe}
\newcommand*{\smut@zhfn@heiti}{\smut@zhfn@heiti@adobe}
\newcommand*{\smut@zhfn@kaishu}{\smut@zhfn@kaishu@adobe}
\newcommand*{\smut@zhfn@fangsong}{\smut@zhfn@fangsong@adobe}
\newcommand*{\smut@enfn@main}{\smut@enfn@main@adobe}
\newcommand*{\smut@enfn@sans}{\smut@enfn@sans@adobe}
\newcommand*{\smut@enfn@mono}{\smut@enfn@mono@adobe}
\else
\ifsmut@winfonts
\newcommand*{\smut@zhfn@songti}{\smut@zhfn@songti@win}
\newcommand*{\smut@zhfn@cusong}{\smut@zhfn@cusong@win}
\newcommand*{\smut@zhfn@heiti}{\smut@zhfn@heiti@win}
\newcommand*{\smut@zhfn@kaishu}{\smut@zhfn@kaishu@win}
\newcommand*{\smut@zhfn@fangsong}{\smut@zhfn@fangsong@win}
\newcommand*{\smut@enfn@main}{\smut@enfn@main@win}
\newcommand*{\smut@enfn@sans}{\smut@enfn@sans@win}
\newcommand*{\smut@enfn@mono}{\smut@enfn@mono@win}
\else
\ifsmut@linuxfonts
\newcommand*{\smut@zhfn@songti}{\smut@zhfn@songti@linux}
\newcommand*{\smut@zhfn@cusong}{\smut@zhfn@cusong@linux}
\newcommand*{\smut@zhfn@heiti}{\smut@zhfn@heiti@linux}
\newcommand*{\smut@zhfn@kaishu}{\smut@zhfn@kaishu@linux}
\newcommand*{\smut@zhfn@fangsong}{\smut@zhfn@fangsong@linux}
\newcommand*{\smut@enfn@main}{\smut@enfn@main@linux}
\newcommand*{\smut@enfn@sans}{\smut@enfn@sans@linux}
\newcommand*{\smut@enfn@mono}{\smut@enfn@mono@linux}
\else
\ifsmut@macfonts
\newcommand*{\smut@zhfn@songti}{\smut@zhfn@songti@mac}
\newcommand*{\smut@zhfn@cusong}{\smut@zhfn@cusong@mac}
\newcommand*{\smut@zhfn@heiti}{\smut@zhfn@heiti@mac}
\newcommand*{\smut@zhfn@kaishu}{\smut@zhfn@kaishu@mac}
\newcommand*{\smut@zhfn@fangsong}{\smut@zhfn@fangsong@mac}
\newcommand*{\smut@enfn@main}{\smut@enfn@main@mac}
\newcommand*{\smut@enfn@sans}{\smut@enfn@sans@mac}
\newcommand*{\smut@enfn@mono}{\smut@enfn@mono@mac}
\else
\ClassError{smuthesis}{No fonts was selected.}{}
\fi
\fi
\fi
\fi
% \end{macrocode}
%
% 接下来定义文档使用的中文字体:
% \begin{macrocode}
\setCJKfamilyfont{song}{\smut@zhfn@songti}
\setCJKfamilyfont{cusong}{\smut@zhfn@cusong}
\setCJKfamilyfont{hei}{\smut@zhfn@heiti}
\setCJKfamilyfont{kai}{\smut@zhfn@kaishu}
\setCJKfamilyfont{fangsong}{\smut@zhfn@fangsong}
\setCJKsansfont{\smut@zhfn@heiti}
\setCJKmonofont{\smut@zhfn@fangsong}
% \end{macrocode}
%
% 定义文档使用的英文字体。
% \begin{macrocode}
\setmainfont{\smut@enfn@main}
\setsansfont{\smut@enfn@sans}
\setmonofont{\smut@enfn@mono}
% \end{macrocode}
%
% 定义中文字体选择命令。
% \begin{macrocode}
\newcommand*{\songti}{\CJKfamily{song}}
\newcommand*{\cusong}{\CJKfamily{cusong}}
\newcommand*{\heiti}{\CJKfamily{hei}}
\newcommand*{\kaishu}{\CJKfamily{kai}}
\newcommand*{\fangsong}{\CJKfamily{fangsong}}
% \end{macrocode}
%
% \begin{table}
% \centering
% \subtable[科学出版社编写的《著译编辑手册》(1994年)中定义的中文字号大小]{
% \label{table:fontsize:standard}
% \noindent
% \begin{tabular}{ccc}
% \toprule
% \textbf{字号} & \textbf{大小(pt)} & \textbf{大小(mm)} \\
% \midrule
% 七号 & 5.25 & 1.845 \\
% 六号 & 7.875 & 2.768 \\
% 小五 & 9 & 3.163 \\
% 五号 & 10.5 & 3.69 \\
% 小四 & 12 & 4.2175 \\
% 四号 & 13.75 & 4.83 \\
% 三号 & 15.75 & 5.53 \\
% 二号 & 21 & 7.38 \\
% 一号 & 27.5 & 9.48 \\
% 小初 & 36 & 12.65 \\
% 初号 & 42 & 14.76 \\
% \bottomrule
% \end{tabular}
% }
% \qquad
% \subtable[Microsoft Word中定义的中文字号大小,其中$1$bp=$72.27/72$pt]{
% \label{table:fontsize:word}
% \noindent
% \begin{tabular}{cccc}
% \toprule
% \textbf{字号} & \textbf{大小(bp)} & \textbf{大小(mm)} & \textbf{大小(pt)} \\
% \midrule
% 初号 & 42 & 14.82 & 42.1575 \\
% 小初 & 36 & 12.70 & 36.135 \\
% 一号 & 26 & 9.17 & 26.0975 \\
% 小一 & 24 & 8.47 & 24.09 \\
% 二号 & 22 & 7.76 & 22.0825 \\
% 小二 & 18 & 6.35 & 18.0675 \\
% 三号 & 16 & 5.64 & 16.06 \\
% 小三 & 15 & 5.29 & 15.05625 \\
% 四号 & 14 & 4.94 & 14.0525 \\
% 小四 & 12 & 4.23 & 12.045 \\
% 五号 & 10.5 & 3.70 & 10.59375 \\
% 小五 & 9 & 3.18 & 9.03375 \\
% 六号 & 7.5 & 2.56 & \\
% 小六 & 6.5 & 2.29 & \\
% 七号 & 5.5 & 1.94 & \\
% 八号 & 5 & 1.76 & \\
% \bottomrule
% \end{tabular}
% }
% \caption{中文字号对应的字体大小}
% \label{table:fontsize}
% \end{table}
%
% 下面定义中文字号对应的大小,其标准参见表\ref{table:fontsize:standard}和
% 表\ref{table:fontsize:word}。
% \begin{macrocode}
\newcommand*{\smut@fs@eight}{5.02} % 八号字 5bp
\newcommand*{\smut@fs@eightskip}{6.02}
\newcommand*{\smut@fs@seven}{5.52} % 七号字 5.5bp
\newcommand*{\smut@fs@sevenskip}{6.62}
\newcommand*{\smut@fs@ssix}{6.52} % 小六号 6.5bp
\newcommand*{\smut@fs@ssixskip}{7.83}
\newcommand*{\smut@fs@six}{7.53} % 六号字 7.5bp
\newcommand*{\smut@fs@sixskip}{9.03}
\newcommand*{\smut@fs@sfive}{9.03} % 小五号 9bp
\newcommand*{\smut@fs@sfiveskip}{10.84}
\newcommand*{\smut@fs@five}{10.54} % 五号 10bp
\newcommand*{\smut@fs@fiveskip}{12.65}
\newcommand*{\smut@fs@sfour}{12.05} % 小四号 12bp
\newcommand*{\smut@fs@sfourskip}{14.45}
\newcommand*{\smut@fs@four}{14.05} % 四号字 14bp
\newcommand*{\smut@fs@fourskip}{16.86}
\newcommand*{\smut@fs@sthree}{15.06} % 小三号 15bp
\newcommand*{\smut@fs@sthreeskip}{18.07}
\newcommand*{\smut@fs@three}{16.06} % 三号字 16bp
\newcommand*{\smut@fs@threeskip}{19.27}
\newcommand*{\smut@fs@stwo}{18.07} % 小二号 18bp
\newcommand*{\smut@fs@stwoskip}{21.68}
\newcommand*{\smut@fs@two}{22.08} % 二号字 22bp
\newcommand*{\smut@fs@twoskip}{26.50}
\newcommand*{\smut@fs@sone}{24.09} % 小一号 24bp
\newcommand*{\smut@fs@soneskip}{28.91}
\newcommand*{\smut@fs@one}{26.10} % 一号字 26bp
\newcommand*{\smut@fs@oneskip}{31.32}
\newcommand*{\smut@fs@szero}{36.14} % 小初号 36bp
\newcommand*{\smut@fs@szeroskip}{43.36}
\newcommand*{\smut@fs@zero}{42.16} % 初号字 42bp
\newcommand*{\smut@fs@zeroskip}{50.59}
% \end{macrocode}
%
% 声明不同字号下的数学字体大小。
% \begin{macrocode}
\DeclareMathSizes{\smut@fs@eight}
{\smut@fs@eight}
{5}
{5}
\DeclareMathSizes{\smut@fs@seven}
{\smut@fs@seven}
{5}
{5}
\DeclareMathSizes{\smut@fs@ssix}
{\smut@fs@ssix}
{5}
{5}
\DeclareMathSizes{\smut@fs@six}
{\smut@fs@six}
{5}
{5}
\DeclareMathSizes{\smut@fs@sfive}
{\smut@fs@sfive}
{6}
{5}
\DeclareMathSizes{\smut@fs@five}
{\smut@fs@five}
{7}
{5}
\DeclareMathSizes{\smut@fs@sfour}
{\smut@fs@sfour}
{8}
{6}
\DeclareMathSizes{\smut@fs@four}
{\smut@fs@four}
{\smut@fs@five}
{\smut@fs@six}
\DeclareMathSizes{\smut@fs@sthree}
{\smut@fs@sthree}
{\smut@fs@sfour}
{\smut@fs@sfive}
\DeclareMathSizes{\smut@fs@three}
{\smut@fs@three}
{\smut@fs@four}
{\smut@fs@five}
\DeclareMathSizes{\smut@fs@stwo}
{\smut@fs@stwo}
{\smut@fs@sthree}
{\smut@fs@sfour}
\DeclareMathSizes{\smut@fs@two}
{\smut@fs@two}
{\smut@fs@three}
{\smut@fs@four}
\DeclareMathSizes{\smut@fs@sone}
{\smut@fs@sone}
{\smut@fs@stwo}
{\smut@fs@sthree}
\DeclareMathSizes{\smut@fs@one}
{\smut@fs@one}
{\smut@fs@two}
{\smut@fs@three}
\DeclareMathSizes{\smut@fs@szero}
{\smut@fs@szero}
{\smut@fs@sone}
{\smut@fs@stwo}
\DeclareMathSizes{\smut@fs@zero}
{\smut@fs@zero}
{\smut@fs@one}
{\smut@fs@two}
% \end{macrocode}
%
% 定义字号选择命令。字号前面加负号表示采用对应的小体字号,例如|\zihao{-3}|表示小
% 三号。
% \begin{note}
% 为了让|\zihao{-0}|能正确表示小初号,在判断参数正负的时候把参数后面再接一个字符`1',从
% 而将``-0''变为``-01'',而``-01''转换为数字为$-1$,故可正确判断其是否小于零。
% \end{note}
% \begin{macrocode}
\def\smut@zihao{}
\DeclareRobustCommand*{\zihao}[1]{%
\def\smut@zihao{#1}%
\ifnum #11<0%
\@tempcnta=-#1
\ifcase\@tempcnta%
\fontsize\smut@fs@szero\smut@fs@szeroskip%
\or \fontsize\smut@fs@sone\smut@fs@soneskip%
\or \fontsize\smut@fs@stwo\smut@fs@stwoskip%
\or \fontsize\smut@fs@sthree\smut@fs@sthreeskip%
\or \fontsize\smut@fs@sfour\smut@fs@sfourskip%
\or \fontsize\smut@fs@sfive\smut@fs@sfiveskip%
\or \fontsize\smut@fs@ssix\smut@fs@ssixskip%
\else \ClassError{smuthesis}{%
Undefined Chinese font size in command \protect\zihao}{%
The old font size is used if you continue.}%
\fi%
\else%
\@tempcnta=#1
\ifcase\@tempcnta%
\fontsize\smut@fs@zero\smut@fs@zeroskip%
\or \fontsize\smut@fs@one\smut@fs@oneskip%
\or \fontsize\smut@fs@two\smut@fs@twoskip%
\or \fontsize\smut@fs@three\smut@fs@threeskip%
\or \fontsize\smut@fs@four\smut@fs@fourskip%
\or \fontsize\smut@fs@five\smut@fs@fiveskip%
\or \fontsize\smut@fs@six\smut@fs@sixskip%
\or \fontsize\smut@fs@seven\smut@fs@sevenskip%
\or \fontsize\smut@fs@eight\smut@fs@eightskip%
\else \ClassError{smuthesis}{%
Undefined Chinese font size in command \protect\zihao}{%
The old font size is used if you continue.}%
\fi%
\fi%
\selectfont\ignorespaces}
% \end{macrocode}
%
% 修改常用字体大小选择命令。
%
% \begin{macrocode}
\renewcommand{\tiny}{% 小六号 6.5bp
\@setfontsize\tiny{\smut@fs@ssix}{\smut@fs@ssixskip}}
\renewcommand{\scriptsize}{% 六号字 7.5bp
\@setfontsize\scriptsize{\smut@fs@six}{\smut@fs@sixskip}}
\renewcommand{\footnotesize}{% 小五号 9bp
\@setfontsize\footnotesize{\smut@fs@sfive}{\smut@fs@sfiveskip}%
\abovedisplayskip 6\p@ \@plus2\p@ \@minus4\p@
\abovedisplayshortskip \z@ \@plus\p@
\belowdisplayshortskip 3\p@ \@plus\p@ \@minus2\p@
\def\@listi{\leftmargin\leftmargini
\topsep 3\p@ \@plus\p@ \@minus\p@
\parsep 2\p@ \@plus\p@ \@minus\p@
\itemsep \parsep}%
\belowdisplayskip \abovedisplayskip}
\renewcommand{\small}{% 五号 10bp
\@setfontsize\small{\smut@fs@five}{\smut@fs@fiveskip}%
\abovedisplayskip 8.5\p@ \@plus3\p@ \@minus4\p@
\abovedisplayshortskip \z@ \@plus2\p@
\belowdisplayshortskip 4\p@ \@plus2\p@ \@minus2\p@
\def\@listi{\leftmargin\leftmargini
\topsep 4\p@ \@plus2\p@ \@minus2\p@
\parsep 2\p@ \@plus\p@ \@minus\p@
\itemsep \parsep}%
\belowdisplayskip \abovedisplayskip}
\renewcommand{\normalsize}{% 小四号 12bp
\@setfontsize\normalsize{\smut@fs@sfour}{\smut@fs@sfourskip}%
\abovedisplayskip 10\p@ \@plus2\p@ \@minus5\p@
\abovedisplayshortskip \z@ \@plus3\p@
\belowdisplayshortskip 6\p@ \@plus3\p@ \@minus3\p@
\belowdisplayskip \abovedisplayskip
\let\@listi\@listI}
\renewcommand{\large}{% 小三号 15bp
\@setfontsize\large{\smut@fs@sthree}{\smut@fs@sthreeskip}}
\renewcommand{\Large}{% 小二号 18bp
\@setfontsize\Large{\smut@fs@stwo}{\smut@fs@stwoskip}}
\renewcommand{\LARGE}{% 小一号 24bp
\@setfontsize\LARGE{\smut@fs@sone}{\smut@fs@soneskip}}
\renewcommand{\huge}{% 一号 26bp
\@setfontsize\huge{\smut@fs@one}{\smut@fs@oneskip}}
\renewcommand{\Huge}{% 小初号 36bp
\@setfontsize\Huge{\smut@fs@szero}{\smut@fs@szeroskip}}
% \end{macrocode}
%
% 定义中文字距修改命令,直接修改\cs{CJKglue}即可。
% \begin{macrocode}
\newcommand*{\ziju}[1]{\renewcommand*{\CJKglue}{\hskip {#1}}}
% \end{macrocode}
%
% 修改\cs{textsc}命令,使其可在中文编码下正常工作。
% \begin{macrocode}
\renewcommand{\textsc}[1]{{\usefont{OT1}{cmr}{m}{sc}{#1}}}
% \end{macrocode}
%
% \subsection{数学公式和定理}
%
% 按照\std{CY/T 35-2001}规范的要求,重定义公式、图、表的编号格式。例如:
% \begin{itemize}
% \item 图\dashnumber{1}{2}
% \item 表\dashnumber{2}{3}
% \item 附注 1)
% \item 文献[4]
% \item 式(\dashnumber{6}{3})
% \end{itemize}
% 子图和子表的应用序号外加小括号,例如
% \begin{itemize}
% \item 图\dashnumber{1}{2}(a)
% \item 表\dashnumber{2}{3}(b)
% \end{itemize}
% \begin{macrocode}
\newcommand{\dashnumber}[2]%
{{#1}\kern.07em\rule[.5ex]{.4em}{.15ex}\kern.07em{#2}}
\renewcommand*{\thefigure}{\dashnumber{\thechapter}{\arabic{figure}}}
\renewcommand*{\thetable}{\dashnumber{\thechapter}{\arabic{table}}}
\renewcommand*{\theequation}{\dashnumber{\thechapter}{\arabic{equation}}}
\renewcommand*{\thesubfigure}{(\alph{subfigure})}
\renewcommand*{\thesubtable}{(\alph{subtable})}
% \end{macrocode}
%
% 定义常用的数学定理环境及其样式。
% \begin{macrocode}
\newtheoremstyle{plain}% name
{1em}% Space above, empty = `usual value'
{1em}% Space below
{\normalfont}% Body font
{}% Indent amount
{\normalfont\bfseries}% Thm head font
{}% Punctuation after thm head
{1em}% Space after thm head: \newline = linebreak
{}% Thm head spec
\newtheorem{definition}{\smut@cap@definition}[chapter]
\newtheorem{notation}[definition]{\smut@cap@notation}
\newtheorem{theorem}{\smut@cap@theorem}[chapter]
\newtheorem{lemma}[theorem]{\smut@cap@lemma}
\newtheorem{corollary}[theorem]{\smut@cap@corollary}
\newtheorem{proposition}[theorem]{\smut@cap@proposition}
\newtheorem{fact}[theorem]{\smut@cap@fact}
\newtheorem{assumption}[theorem]{\smut@cap@assumption}
\newtheorem{conjecture}[theorem]{\smut@cap@conjecture}
\newtheorem{hypothesis}{\smut@cap@hypothesis}[chapter]
\newtheorem{axiom}{\smut@cap@axiom}[chapter]
\newtheorem{postulate}{\smut@cap@postulate}[chapter]
\newtheorem{principle}{\smut@cap@principle}[chapter]
\newtheorem{problem}{\smut@cap@problem}[chapter]
\newtheorem{exercise}{\smut@cap@exercise}[chapter]
\newtheorem{example}{\smut@cap@example}[chapter]
\newtheorem{remark}{\smut@cap@remark}[chapter]
\renewenvironment{proof}[1][\smut@cap@proof]{\par
\pushQED{\qed}%
\normalfont \topsep6\p@\@plus6\p@\relax
\trivlist
\item[\hskip\labelsep\textbf{#1}\@addpunct{:}]\ignorespaces
}{\popQED\endtrivlist\@endpefalse}
\newenvironment{solution}[1][\smut@cap@solution]{\par
\normalfont \topsep6\p@\@plus6\p@\relax
\trivlist
\item[\hskip\labelsep\textbf{#1}\@addpunct{:}]\ignorespaces
}{\endtrivlist\@endpefalse}
\newtheorem{algorithm}{\smut@cap@algorithm}[chapter]
% \end{macrocode}
%
% 修改上面定义的各定理环境的编号样式:
% \begin{macrocode}
\renewcommand*{\thedefinition}{\dashnumber{\thechapter}{\arabic{definition}}}
\renewcommand*{\thetheorem}{\dashnumber{\thechapter}{\arabic{theorem}}}
\renewcommand*{\theaxiom}{\dashnumber{\thechapter}{\arabic{axiom}}}
\renewcommand*{\theproblem}{\dashnumber{\thechapter}{\arabic{problem}}}
\renewcommand*{\theexercise}{\dashnumber{\thechapter}{\arabic{exercise}}}
\renewcommand*{\theexample}{\dashnumber{\thechapter}{\arabic{example}}}
\renewcommand*{\theremark}{\dashnumber{\thechapter}{\arabic{remark}}}
% \end{macrocode}
%
% \subsection{设置浮动环境格式}
%
% 默认情况下,{\LaTeX}要求每页的文字至少占据$20\%$,否则该页就只单独放置一个浮动环境。而
% 这通常不是我们想要的。我们将这个要求降低到$5\%$。
% \begin{macrocode}
\renewcommand*{\textfraction}{0.05}
% \end{macrocode}
% 有时如果多个浮动环境连续放在一起,{\LaTeX}会将它们分在几个不同页,即使它们可在同一页放
% 得下。我们可以通过修改\cs{topfraction}和\cs{bottomfraction}分别设置顶端和底端的浮动
% 环境的最大比例。
% \begin{macrocode}
\renewcommand*{\topfraction}{0.9}
\renewcommand*{\bottomfraction}{0.8}
% \end{macrocode}
% 有时{\LaTeX}会把一个浮动环境单独放在一页,我们要求这个环境至少要占据$85\%$才能单独放在
% 一页。
% \begin{note}
% \cs{floatpagefraction}的数值必须小于\cs{topfraction}。
% \end{note}
% \begin{macrocode}
\renewcommand*{\floatpagefraction}{0.85}
% \end{macrocode}
%
% \subsection{中文标题名称}
%
% 设置常见的中文标题名称。
% \begin{macrocode}
\newcommand*{\abstractname}{摘\hspace{1em}要}
\renewcommand*{\contentsname}{目\hspace{1em}录}
\renewcommand*{\listfigurename}{插图清单}
\renewcommand*{\listtablename}{附表清单}
\newcommand*{\listsymbolname}{符号清单}
\newcommand*{\listequationname}{公式清单}
\renewcommand*{\glossaryname}{术\hspace{0.5em}语\hspace{0.5em}表}
\renewcommand*{\indexname}{索引}
\newcommand*{\equationname}{公式}
\renewcommand*{\bibname}{参考文献}
\renewcommand*{\figurename}{图}
\renewcommand*{\tablename}{表}
\renewcommand*{\appendixname}{附录}
% \end{macrocode}
%
% \subsection{中文标题格式}
%
% 设置章节格式如下:
% \begin{description}
% \item[零级节标题] 命令为\cs{chapter},格式为三号宋体加粗,居中排列,段前空4ex,段后空3ex;
% \item[一级节标题] 命令为\cs{section},格式为四号宋体加粗,左排列,段前空3.5ex,段后空2.3ex;
% \item[二级节标题] 命令为\cs{subsection},格式为小四号宋体加粗,左排列,段前空3.0ex,段后空1.5ex;
% \item[三级节标题] 命令为\cs{subsubsection},格式为小四号宋体加粗,左排列,段前空2.5ex,段后空1.5ex;
% \item[四级节标题] 命令为\cs{paragraph},格式为小四号宋体,左排列,段前空2.0ex,段后空1ex;
% \item[五级节标题] 命令为\cs{subparagraph},格式为小六号黑体,左排列,段前空1.5ex,段后空1ex;
% \end{description}
%
% 使用|titlesec|宏包提供的\cs{titleformat}和\cs{titlespacing}命令可以方便地设置标题
% 的样式:
% \begin{macrocode}
\titleformat{\chapter}[hang]
{\centering\cusong\zihao{-3}}
{}{0em}{}
\titlespacing{\chapter}
{0pt}
{*4}
{*3}
\titleformat{\section}[hang]
{\songti\zihao{4}\bfseries}
{\thesection}{1em}{}
\titlespacing{\section}
{0pt}
{*3.5}
{*2.3}
\titleformat{\subsection}[hang]
{\songti\zihao{-4}\bfseries}
{\thesubsection}{1em}{}
\titlespacing{\subsection}
{0pt}
{*3}
{*1.5}
\titleformat{\subsubsection}[hang]
{\zihao{-4}\songti\bfseries}
{\thesubsubsection}{1em}{}
\titlespacing{\subsubsection}
{0pt}
{*2.5}
{*1.5}
\titleformat{\paragraph}[hang]
{\zihao{-4}\songti}
{}{0em}{}
\titlespacing{\paragraph}
{0pt}
{*2}
{*1}
\titleformat{\subparagraph}[hang]
{\zihao{-6}\heiti}
{}{0em}{}
\titlespacing{\subparagraph}
{0pt}
{*1.5}
{*1}
% \end{macrocode}
%
% 设置章节标题编号最多到第4层(即\cs{subsubsection}),超过第四层的章节不再自动编号。
% \begin{macrocode}
\setcounter{secnumdepth}{4}
% \end{macrocode}
%
% 修改章节编号的样式:
% \begin{macrocode}
\renewcommand{\thechapter}{}
\renewcommand{\thesection}{\chinese{section}、}
\renewcommand{\thesubsection}{\arabic{section}\thinspace.\thinspace\arabic{subsection}}
\renewcommand{\thesubsubsection}{\thesubsection\thinspace.\thinspace\arabic{subsubsection}}
% \end{macrocode}
%
% \subsection{浮动环境}
%
% 设置浮动环境标题的字体大小。根据学位论文格式要求,插图和表格标题字体需要比正文字体略小。
% \begin{macrocode}
\captionsetup{font=small}
% \end{macrocode}
%
% 根据学位论文格式要求,表格的标题必须位于表格上方,插图的标题必须位于插图下方。
% \begin{macrocode}
\captionsetup[table]{position=above}
\captionsetup[figure]{position=below}
\floatstyle{plaintop}
\restylefloat{table}
% \end{macrocode}
%
% \subsection{页幅设置}
%
% 正文统一用小四号字,间距为固定值20pt。\cs{linestrech}的值为$1$时为单倍行距, $1.2$时是
% 一倍半行距, 而为$1.6$时是双倍行距。其实不同尺寸的字体行间距都不相同,而是成比例关系。这
% 个20pt是对正文主要字体来说的。
%
% 在{\TeX}中基本的行间距是\cs{baselineskip}, 对于12pt的字体,这个值等于14.5pt,
% 而真正的行间距是\cs{baselineskip}$\times$\cs{baselinestretch},
% \cs{baselinestretch}默认为$1$, 但我们可以重新设置它的值,如
% |\renewcommand{\baselinestretch}{1.38}|就得到真正的行间距为14.5pt*1.38≈20pt。
% 而这样定义之后,对不同尺寸的字体都会按同样的比例因子1.38放大行间距,使得全文排
% 版能协调一致。
% \begin{macrocode}
\renewcommand*{\baselinestretch}{1.38}
% \end{macrocode}
%
% 修改|tabular|环境,设置表格中的行间距为正文行间距。
% \begin{macrocode}
\let\smut@oldtabular\tabular
\let\smut@endoldtabular\endtabular
\renewenvironment{tabular}%
{\bgroup%
\renewcommand{\arraystretch}{1.38}%
\smut@oldtabular}%
{\smut@endoldtabular\egroup}
% \end{macrocode}
%
% 文章用A4纸标准大小的白纸打印,页眉:3.0cm,页脚:3.0cm,页边距上下:3.8cm,左
% 右:3.2cm。
% \begin{macrocode}
\geometry{headheight=3.0cm,headsep=3mm,footskip=13mm}
\geometry{top=3.8cm,bottom=3.8cm,left=3.2cm,right=3.2cm}
% \end{macrocode}
%
% 设置每一段的首行缩进两个汉字。
% \begin{note}
% 直接将|parindent|设置为|2em|并不能正确地设置段首缩进为恰好两个中文字符。因此我们采用下面的
% 网页提供办法:\\
% \url{https://github.com/ElegantLaTeX/ElegantLaTeX/blob/master/CJKindent.md}
% \end{note}
%
% 首先,我们需要计算出当前字符的宽度:
% \begin{macrocode}
\def\smut@CJK@charwidth{\hskip \f@size \p@}
% \end{macrocode}
% 接下来,我们需要考虑到字符间距,计算出当前相邻两字符中心的距离:
% \begin{macrocode}
\newdimen\smut@CJK@chardimen
\settowidth\smut@CJK@chardimen{\smut@CJK@charwidth\CJKglue}
% \end{macrocode}
% 最后,我们设置段首缩进长度:
% \begin{macrocode}
\newcommand{\smut@CJK@setfontspace}{%
\settowidth\smut@CJK@chardimen{\smut@CJK@charwidth\CJKglue}%
\ifdim\parindent=0pt\relax\else\parindent2\smut@CJK@chardimen\fi%
}
\renewcommand*{\indent}{\smut@CJK@setfontspace\parindent2\smut@CJK@chardimen}
\AtBeginDocument{\indent}
% \end{macrocode}
%
% \subsection{页眉页脚}
%
% 我们使用|fancyhdr|宏包来设置页眉页脚。|fancyhdr|宏包提供了一个|fancy|页面风格,
% \cs{fancyhead}或\cs{fancyfoot}命令定义的样式。
%
% 首先我们按照如下规则修改|fancy|风格的页眉页脚设置,注意学位论文始终是双面打印的:
% \begin{itemize}
% \item 令偶数页的页眉显示:章标题
% \item 令奇数页的页眉显示:硕(博)士学位论文
% \item 无论奇偶页,页眉下都有一条分割线;
% \item 无论奇偶页,页脚都显示页码,页脚上都无分割线。
% \end{itemize}
%
% 设置|fancy|风格下的页脚,令页脚显示页码;令页脚分割线宽度为$0$:
% \begin{macrocode}
\renewcommand{\footrulewidth}{0pt}
\fancyfoot[C]{\thepage}
% \end{macrocode}
%
% 设置|fancy|风格下的页眉,令偶数页显示章标题,奇数页显示硕(博)士学位论文,令页眉的分
% 割线宽度为$1$:
% \begin{macrocode}
\fancyhead[CE]{\kaishu\leftmark}
\fancyhead[CO]{\kaishu\smut@value@degree{}学位论文}
\renewcommand{\headrulewidth}{1pt}
% \end{macrocode}
% 设置全局使用|fancy|风格。
% \begin{macrocode}
\pagestyle{fancy}
% \end{macrocode}
%
% 重新定义|chaptermark|,让其显示当前章信息和当前节信息。注意下面的重定义必须放
% 在第一次调用|\pagestyle{fancy}|之后,因为第一次调用该命令会设置\cs{chaptermark}。
% \begin{macrocode}
\renewcommand{\chaptermark}[1]{\markboth{%
\bfseries\if@mainmatter\fi{#1}%
}{}}
% \end{macrocode}
%
% 重新定义|sectionmark|,让其显示当前节信息。注意下面的重定义必须放在第一次调用
% |\pagestyle{fancy}|之后,因为第一次调用该命令会设置\cs{sectionmark}。
% \begin{macrocode}
\renewcommand{\sectionmark}[1]{\markright{%
\bfseries\if@mainmatter\fi{#1}%
}}
% \end{macrocode}
%
% 另一个麻烦的问题是:默认的|fancy|风格会在每一章最后的空白页(由于是双面打印)
% 也加上页眉页脚,但我们通常不希望如此。解决方法是修改{\LaTeX}内部的\cs{cleardoublepage}
% 命令的定义如下:
% \begin{macrocode}
\def\cleardoublepage{\clearpage\if@twoside \ifodd\c@page\else
\hbox{}\thispagestyle{empty}\newpage\if@twocolumn\hbox{}\newpage\fi\fi\fi}
% \end{macrocode}
%
%章节的起始页(即包含“第XX章”标题的页面)的页眉页脚默认将使用|plain|风
% 格,而章节的后继页面的页眉页脚将使用|fancy|风格的默认定义或用户通过
% \cs{fancyhead}或\cs{fancyfoot}命令定义的样式。
%
% 我们需要修改|plain|风格的页眉页脚,将其页脚默认的页码去掉。
% \begin{macrocode}
\fancypagestyle{plain}{%
\thispagestyle{empty}
\fancyhead[CE]{\leftmark}
\fancyhead[CO]{\smut@value@degree{}学位论文}
\renewcommand{\headrulewidth}{1pt}
\renewcommand{\footrulewidth}{0pt} % and the footer line
}
% \end{macrocode}
%
% \subsection{列表环境}
%
% {\LaTeX}默认的列表:|enumerate|,|itemize|,和|description|都不符合中文习惯。
% 符合中文习惯的列表需要满足:
% \begin{enumerate}
% \item 列表标签要与正文的左边界对齐;
% \item 列表文本左侧要和左边界对齐;
% \item 列表项的间距应当等于正文中的段落间距,通常为$0$;
% \item 列表文本的右侧与正文的右边界对齐。
% \end{enumerate}
% 因此需要重新设置默认的列表的格式。
% \begin{macrocode}
\setlist{%
topsep=0.3em, % 列表顶端的垂直空白
partopsep=0pt, % 列表环境前面紧接着一个空白行时其顶端的额外垂直空白
itemsep=0ex plus 0.1ex, % 列表项之间的额外垂直空白
parsep=0pt, % 列表项内的段落之间的垂直空白
leftmargin=1.5em, % 环境的左边界和列表之间的水平距离
rightmargin=0em, % 环境的右边界和列表之间的水平距离
labelsep=0.5em, % 包含标签的盒子与列表项的第一行文本之间的间隔
labelwidth=2em, % 包含标签的盒子的正常宽度;若实际宽度更宽,则使用实际宽度。
}
% \end{macrocode}
%
% 设置无序列表的标签符号。
% \begin{macrocode}
\setlist[itemize,1]{label=$\medbullet$}
\setlist[itemize,2]{label=$\blacksquare$}
\setlist[itemize,3]{label=$\Diamondblack$}
% \end{macrocode}
%
% \subsection{引用}
%
% 默认的引用环境|quote|和|quotation|都不符合中文习惯,我们将其重新定义如下:
% \begin{macrocode}
\renewenvironment{quote}%
{\list{}{\leftmargin=4em\rightmargin=4em}\item[]}%
{\endlist}
\renewenvironment{quotation}%
{\list{}{\leftmargin=4em\rightmargin=4em}\item[]}%
{\endlist}
% \end{macrocode}
%
% \subsection{目次}
%
% 前置部分的封面在后面详细介绍,首先看目次。其具体要求为:目次页由论文的章、节、条、项、
% 附录等的序号、名称和页码组成,另页排在序之后。目次页标注学位论文的前三级目录。
% 标题统一用“目次”,宋体小3字号字加粗居中,段前、段后间距为1行; 各章(一级目录)名称用
% 黑体4号字,段前间距为0.5行,段后间距为0行; 其它(二、三级目录)用宋体小四号字,
% 段前、段后间距为0行。
%
% \begin{macro}{\nchapter}
% 用于产生没有编号但在目次中列出的章。
% \begin{macrocode}
\newcommand\nchapter[1]{%
\if@mainmatter%
\@mainmatterfalse%
\chapter{#1}%
\@mainmattertrue%
\else
\chapter{#1}%
\fi
}
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{\@dottedtocline}
% 改变缺省的目次中的点线为中文习惯。
% \begin{macrocode}
\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}
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{\l@part}
% 改变缺省的目次中的点线为中文习惯。
% \begin{macrocode}
\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}
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{\l@chapter}
% 改变缺省的目次中的点线为中文习惯。
% \begin{macrocode}
\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}
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{\tableofcontents}
% 修改\cs{tableofcontents}命令用于生成目录页,并将目次页本身也被加入目录中。
% \begin{macrocode}
\renewcommand*{\tableofcontents}{%
\thispagestyle{fancy}
\fancyhead{}
\fancyhead[CE]{\kaishu 目录}
\fancyhead[CO]{\kaishu\smut@value@degree{}学位论文}
\if@twocolumn
\@restonecoltrue\onecolumn
\else
\@restonecolfalse
\fi
\nchapter{\contentsname}%
\@mkboth{\MakeUppercase\contentsname}{\MakeUppercase\contentsname}%
\@starttoc{toc}%
\if@restonecol\twocolumn\fi
}
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{\listoftables}
% 修改\cs{listoftables}命令,使得附表清单被加入目次中。
% \begin{macrocode}
\renewcommand*{\listoftables}{%
\if@twocolumn
\@restonecoltrue\onecolumn
\else
\@restonecolfalse
\fi
\nchapter{\listtablename}%
\@mkboth{\MakeUppercase\listtablename}{\MakeUppercase\listtablename}%
\@starttoc{lot}%
\if@restonecol\twocolumn\fi
}
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{\listoffigures}
% 修改\cs{listoffigures}命令,使得插图清单被加入目次中。
% \begin{macrocode}
\renewcommand*{\listoffigures}{%
\if@twocolumn
\@restonecoltrue\onecolumn
\else
\@restonecolfalse
\fi
\nchapter{\listfigurename}%
\@mkboth{\MakeUppercase\listfigurename}{\MakeUppercase\listfigurename}%
\@starttoc{lof}%
\if@restonecol\twocolumn\fi
}
% \end{macrocode}
% \end{macro}
%
% \subsection{参考文献}
%
% \begin{environment}{thebibliography}
% 修改|thebibliography|环境用于在目次中加入参考文献页。
% \begin{macrocode}
\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}
% \end{macrocode}
% \end{environment}
%
% 使用|gbt7714-2005.bst|作为参考文献样式。
% \begin{macrocode}
\bibliographystyle{gbt7714-2005}
% \end{macrocode}
%
% 使用符合\std{GB/T 7714-2005}规范的参考文献引用样式。
% \begin{macrocode}
\setcitestyle{super,square}
% \end{macrocode}
%
% 修改|natbib|内部的\cs{NAT@citesuper}命令,使其生成的上标引用编号可以正确地把
% \cs{cite}命令的可选参数(通常是引文页码)也作为上标放在引文编号方框之后。
% \begin{macrocode}
\renewcommand\NAT@citesuper[3]{%
\ifNAT@swa%
\if*#2*\else#2\NAT@spacechar\fi%
\unskip\kern\p@\textsuperscript{\NAT@@open#1\NAT@@close#3}%
\else #1\fi\endgroup%
}
% \end{macrocode}
%
% 重新定义\cs{ref}命令,使其前面自动加一个``\textasciitilde''。因为|hyperref|宏包会通
% 过\cs{AtBeginDocument}修改\cs{ref}的定义,因此我们对\cs{ref}的修改也必须使用
% \cs{AtBeginDocument}命令进行。同时我们需要修改\cs{eqref},使其括号前后不出现空隙。
% \begin{macrocode}
\AtBeginDocument{%
\let\oldref\ref%
\renewcommand*{\ref}[1]{\thinspace\oldref{#1}}%
\renewcommand*{\eqref}[1]{(\oldref{#1})}
}
% \end{macrocode}
%
% \subsection{脚注}
%
% 使用|footmisc|宏包和|pifont|宏包设置符合\std{GB/T 7713.1-2006}规范的脚注样式。注意,
% 由于|pifont|宏包提供的特殊符号的限制,一页之中最多只能有$10$个脚注。
% \begin{macrocode}
\DefineFNsymbols*{circlednumber}[text]{%
{\ding{192}} %
{\ding{193}} %
{\ding{194}} %
{\ding{195}} %
{\ding{196}} %
{\ding{197}} %
{\ding{198}} %
{\ding{199}} %
{\ding{200}} %
{\ding{201}} %
}%
\setfnsymbol{circlednumber}
% \end{macrocode}
%
% \subsection{封面字段设置}
%
% 国家图书馆封面字段设置:
% \begin{macrocode}
\newcommand*{\classification}[1]{%
\renewcommand*{\smut@value@nlc@classification}{#1}}
\newcommand*{\securityLevel}[1]{%
\renewcommand*{\smut@value@nlc@securityLevel}{#1}}
\newcommand*{\openLevel}{\smut@cap@nlc@openLevel}
\newcommand*{\controlLevel}{\smut@cap@nlc@controlLevel}
\newcommand*{\confidentialLevel}{\smut@cap@nlc@confidentialLevel}
\newcommand*{\clasifiedLevel}{\smut@cap@nlc@clasifiedLevel}
\newcommand*{\mostconfidentialLevel}{\smut@cap@nlc@mostconfidentialLevel}
\newcommand*{\udc}[1]{%
\renewcommand*{\smut@value@nlc@udc}{#1}}
\newcommand*{\Number}[1]{%
\renewcommand*{\smut@value@nlc@Number}{#1}}
\newcommand*{\Title}[1]{%
\renewcommand*{\smut@value@nlc@Title}{#1}}
\newcommand*{\nlcTitlea}[1]{%
\renewcommand{\smut@value@nlc@nlcTitlea}{#1}}
\newcommand*{\nlcTitleb}[1]{%
\renewcommand{\smut@value@nlc@nlcTitleb}{#1}}
\newcommand*{\nleTitlea}[1]{%
\renewcommand{\smut@value@nlc@nleTitlea}{#1}}
\newcommand*{\nleTitleb}[1]{%
\renewcommand{\smut@value@nlc@nleTitleb}{#1}}
\newcommand*{\Name}[1]{%
\renewcommand*{\smut@value@nlc@Name}{#1}}
\newcommand*{\supervisorInfo}[1]{%
\renewcommand{\smut@value@nlc@supervisorInfo}{#1}}
\newcommand*{\majorInfo}[1]{%
\renewcommand{\smut@value@nlc@majorInfo}{#1}}
\newcommand*{\cultureInfo}[1]{%
\renewcommand{\smut@value@nlc@cultureInfo}{#1}}
\newcommand*{\submitDate}[1]{%
\renewcommand{\smut@value@nlc@submitDate}{#1}}
% \end{macrocode}
%
% 扉页字段设置:
% \begin{macrocode}
\newcommand*{\grade}[1]{%
\renewcommand{\smut@value@grade}{#1}}
\newcommand*{\titlePagecTitlea}[1]{%
\renewcommand{\smut@value@titlePagecTitlea}{#1}}
\newcommand*{\titlePagecTitleb}[1]{%
\renewcommand{\smut@value@titlePagecTitleb}{#1}}
\newcommand*{\titlePageeTitlea}[1]{%
\renewcommand{\smut@value@titlePageeTitlea}{#1}}
\newcommand*{\titlePageeTitleb}[1]{%
\renewcommand{\smut@value@titlePageeTitleb}{#1}}
\newcommand*{\source}[1]{%
\renewcommand{\smut@value@source}{#1}}
\newcommand*{\department}[1]{%
\renewcommand{\smut@value@department}{#1}}
\newcommand*{\chairman}[1]{%
\renewcommand{\smut@value@chairman}{#1}}
\newcommand*{\chairmanTitle}[1]{%
\renewcommand{\smut@value@chairmanTitle}{#1}}
\newcommand*{\reviewera}[1]{%
\renewcommand{\smut@value@reviewera}{#1}}
\newcommand*{\reviewerb}[1]{%
\renewcommand{\smut@value@reviewerb}{#1}}
\newcommand*{\reviewerc}[1]{%
\renewcommand{\smut@value@reviewerc}{#1}}
\newcommand*{\reviewerd}[1]{%
\renewcommand{\smut@value@reviewerd}{#1}}
\newcommand*{\revieweraTitle}[1]{%
\renewcommand{\smut@value@revieweraTitle}{#1}}
\newcommand*{\reviewerbTitle}[1]{%
\renewcommand{\smut@value@reviewerbTitle}{#1}}
\newcommand*{\reviewercTitle}[1]{%
\renewcommand{\smut@value@reviewercTitle}{#1}}
\newcommand*{\reviewerdTitle}[1]{%
\renewcommand{\smut@value@reviewerdTitle}{#1}}
\newcommand*{\defend}[1]{%
\renewcommand{\smut@value@defend}{#1}}
% \end{macrocode}
%
% \subsection{生成封面}
%
% \begin{macro}{\smutunderline}
% 定义封面中用到的生成下划线的宏。
% \begin{macrocode}
\newcommand{\smut@underline}[2][\textwidth]%
{\CJKunderline{\makebox[#1]{#2}}}
\def\smutunderline{\@ifnextchar[\smut@underline\CJKunderline}
% \end{macrocode}
% \end{macro}
%
% 定义生成国家图书馆封面的命令。由于标题有下划线,
% 所以需要定义中文标题是一行还是两行。英文标题由于字母很多一般都是两行
%
% \begin{macrocode}
\newcommand*{\smut@coverTable@oneLineTitle}{
{\heiti\zihao{4}\smutunderline[310pt]{\smut@value@nlc@Title}}\\
\bfseries
\smutunderline[380pt]{\smut@value@nlc@nleTitlea}\\
\smutunderline[380pt]{\smut@value@nlc@nleTitleb}\\
}
\newcommand*{\smut@coverTable@twoLineTitle}{
{\heiti\zihao{4}
\smutunderline[380pt]{\smut@value@nlc@nlcTitlea}\\
\smutunderline[380pt]{\smut@value@nlc@nlcTitleb}\\
}\bfseries
\smutunderline[380pt]{\smut@value@nlc@nleTitlea}\\
\smutunderline[380pt]{\smut@value@nlc@nleTitleb}\\
}
% \end{macrocode}
%
% \begin{macro}{\makenlctitle}
% 注意我们使用了前面修改过的\cs{cleardoublepage}命令来插入
% 无页眉页脚的空白页。
% \begin{macrocode}
\newcommand*{\makenlctitle}{%
\pdfbookmark[0]{封面}{nlc}
\thispagestyle{empty}
\begin{center}
{\kaishu\zihao{3}
\begin{tabular}{p{2cm}p{3.5cm}p{4em}p{1.5cm}p{3.5cm}}
\makebox[3em][s]{分类号} & \smutunderline[3.5cm]{\smut@value@nlc@classification} & & \makebox[2em][s]{密级} & \smutunderline[3.5cm]{\smut@value@nlc@securityLevel} \\
\makebox[3em][s]{U\hspace{0.3em}D\hspace{0.3em}C} & \smutunderline[3.5cm]{\smut@value@nlc@udc} & & \makebox[2em][s]{编号} & \smutunderline[3.5cm]{\smut@value@nlc@Number}
\end{tabular}
}
\vskip\stretch{2}
\includegraphics[width=14cm]{\smut@cap@institute@name}
\vskip\stretch{2}
{\kaishu\zihao{1}\bfseries\makebox[12cm][s]{{\smut@value@degree}学位论文}}
\vskip\stretch{2}
\ifdefempty{\smut@value@nlc@Title}{\smut@coverTable@twoLineTitle}{\smut@coverTable@oneLineTitle}
\vskip\stretch{2}
{\heiti\zihao{3}\smutunderline[150pt]{\smut@value@nlc@Name}}\\
\vskip\stretch{4}
{\heiti\zihao{-4}
\begin{tabular}{p{6.2em}c}
\makebox[6em][s]{导师姓名} & \smutunderline[24em]{\smut@value@nlc@supervisorInfo}\\
\makebox[6em][s]{专业名称} & \smutunderline[24em]{\smut@value@nlc@majorInfo}\\
\makebox[6em][s]{培养类型} & \smutunderline[24em]{\smut@value@nlc@cultureInfo}\\
\makebox[6em][s]{论文提交日期} & \smutunderline[24em]{\smut@value@nlc@submitDate}\\
\end{tabular}
}
\end{center}
\cleardoublepage
}
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{\makeTitle}
% 重新定义{\LaTeX}提供的\cs{makeTitle}命令,使其生成南京大学学术论文所需的扉页。
% 注意我们使用了前面修改过的\cs{cleardoublepage}命令来插入无页眉页脚的空白页。
% \begin{macrocode}
\newcommand*{\makeTitle}{%
\pdfbookmark[0]{扉页}{titlePage}
\thispagestyle{empty}
\begin{center}
{\fangsong\zihao{-4} 南方医科大学\smut@value@grade\smut@value@degree{}学位论文}
\vskip 5mm
{\heiti\zihao{-2}\bfseries
\smut@value@titlePagecTitlea \\
\smut@value@titlePagecTitleb}
\par
{\bfseries\smut@value@titlePageeTitlea\\
\smut@value@titlePageeTitleb}
\par
\vskip 8mm
{\kaishu\zihao{4}\makebox[16em][l]{课题来源:\smut@value@source}}
\vskip 5mm
{\kaishu\zihao{4}
\begin{tabular}{p{7.3em}p{7.3em}}
\makebox[7em][s]{学位申请人}: & \smut@value@nlc@Name \\
\makebox[7em][s]{导师姓名}: & \smut@value@nlc@supervisorInfo \\
\makebox[7em][s]{专业名称}: & \smut@value@nlc@majorInfo \\
\makebox[7em][s]{培养类型}: & \smut@value@nlc@cultureInfo\\
\makebox[7em][s]{培养层次}: & \smut@value@degree \\
\makebox[7em][s]{所在学院}: & \smut@value@department \\
\end{tabular}
\vskip 5mm
\begin{tabular}{p{7.3em}p{0.5em}p{4.3em}l}
\makebox[7em][s]{答辩委员会主席}:& & \makebox[6em][l]{\smut@value@chairman} & \smut@value@chairmanTitle\\
\makebox[7em][s]{答辩委员会委员}:& & \makebox[6em][l]{\smut@value@reviewera} & \smut@value@revieweraTitle\\
& & \makebox[6em][l]{\smut@value@reviewerb} & \smut@value@reviewerbTitle\\
& & \makebox[6em][l]{\smut@value@reviewerc} & \smut@value@reviewercTitle\\
& & \makebox[6em][l]{\smut@value@reviewerd} & \smut@value@reviewerdTitle\\
\end{tabular}
}
\vskip 10mm
{\kaishu\zihao{3}\smut@value@defend}
\end{center}
\ifsmut@backinfo
\clearpage
\thispagestyle{empty}
\clearpage
\else
\cleardoublepage
\fi
}
% \end{macrocode}
% \end{macro}
%
% \subsection{摘要页}
%
% \begin{macro}{\cAbstractTitlea}
% 用于设置中文摘要页论文标题的第一行。
% \begin{macrocode}
\newcommand*{\cAbstractTitlea}[1]{%
\renewcommand{\smut@value@cAbstract@cAbstractTitlea}{#1}%
}
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{\cAbstractTitleb}
% 用于设置中文摘要页论文标题的第二行。
% \begin{macrocode}
\newcommand*{\cAbstractTitleb}[1]{%
\renewcommand{\smut@value@cAbstract@cAbstractTitleb}{#1}%
}
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{\cTeachera}
% 用于设置中文摘要页第一位指导老师。
% \begin{macrocode}
\newcommand*{\cTeachera}[1]{%
\renewcommand{\smut@value@cAbstract@cTeachera}{#1}%
}
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{\cTeacherb}
% 用于设置中文摘要页第二位指导老师。
% \begin{macrocode}
\newcommand*{\cTeacherb}[1]{%
\renewcommand{\smut@value@cAbstract@cTeacherb}{#1}%
}
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{\cTeacherc}
% 用于设置中文摘要页第三位指导老师。
% \begin{macrocode}
\newcommand*{\cTeacherc}[1]{%
\renewcommand{\smut@value@cAbstract@cTeacherc}{#1}%
}
% \end{macrocode}
% \end{macro}
%
% \begin{environment}{cAbstract}
% 定义中文摘要环境。该环境自动生成南京大学中文摘要页。注意我们使用了前面修改过的
% \cs{cleardoublepage}命令来插入无页眉页脚的空白页。
% \begin{macrocode}
\newenvironment{cAbstract}{%
\thispagestyle{fancy}
\fancyhead[CE]{\kaishu 摘\hspace{2em}要}
\fancyhead[CO]{\kaishu\smut@value@degree{}学位论文}
\begin{center}
{\heiti\zihao{2}%
\smut@value@cAbstract@cAbstractTitlea\\
\smut@value@cAbstract@cAbstractTitleb
}
\par
{\cusong\zihao{-3}
\begin{tabular}{p{6em}p{6em}}
\makebox[6em][r]{\smut@value@degree\smut@value@type:} & \smut@value@nlc@Name\\
\makebox[6em][r]{指导教师:} & \smut@value@cAbstract@cTeachera\\
& \smut@value@cAbstract@cTeacherb\\
& \smut@value@cAbstract@cTeacherc\\
\end{tabular}
}
\par
{\cusong\zihao{4} 摘\hspace{1em}要\\}
\end{center}
\normalsize\par%
}{%
\cleardoublepage
}
% \end{macrocode}
% \end{environment}
%
% \begin{macro}{\cKeywords}
% 定义生成中文摘要关键词的命令。此命令必须放在\env{cAbstract}环境内的末尾使用。中
% 文关键词之间应以中文全角分号隔开,末尾不需要加标点。
% \begin{macrocode}
\newcommand{\cKeywords}[1]{%
\renewcommand*{\smut@value@cAbstract@cKeywords}{#1}%
\par\vspace{2ex}\noindent%
{\cusong\zihao{-4}关键词{:}}~{#1}%
}
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{\eAbstractTitlea}
% 用于设置英文摘要页论文标题的第一行。
% \begin{macrocode}
\newcommand*{\eAbstractTitlea}[1]{%
\renewcommand{\smut@value@eAbstract@eAbstractTitlea}{#1}%
}
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{\eAbstractTitleb}
% 用于设置英文摘要页论文标题的第二行。
% \begin{macrocode}
\newcommand*{\eAbstractTitleb}[1]{%
\renewcommand{\smut@value@eAbstract@eAbstractTitleb}{#1}%
}
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{\eTeachera}
% 用于设置英文摘要页第一位指导老师。
% \begin{macrocode}
\newcommand*{\eTeachera}[1]{%
\renewcommand{\smut@value@eAbstract@eTeachera}{#1}%
}
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{\eTeacherb}
% 用于设置英文摘要页第二位指导老师。
% \begin{macrocode}
\newcommand*{\eTeacherb}[1]{%
\renewcommand{\smut@value@eAbstract@eTeacherb}{#1}%
}
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{\eTeacherc}
% 用于设置英文摘要页第三位指导老师。
% \begin{macrocode}
\newcommand*{\eTeacherc}[1]{%
\renewcommand{\smut@value@eAbstract@eTeacherc}{#1}%
}
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{\eName}
% 用于设置英文摘要页姓名。
% \begin{macrocode}
\newcommand*{\eName}[1]{%
\renewcommand{\smut@value@eAbstract@eName}{#1}%
}
% \end{macrocode}
% \end{macro}
%
% \begin{environment}{eAbstract}
% 定义英文摘要环境。该环境自动生成南京大学英文摘要页。注意我们使用了前面修改过的
% \cs{cleardoublepage}命令来插入无页眉页脚的空白页。
% \begin{macrocode}
\newenvironment{eAbstract}{%
\thispagestyle{fancy}
\fancyhead[CE]{ABSTRACT}
\fancyhead[CO]{\kaishu\smut@value@degree{}学位论文}
\begin{center}
{\bfseries\zihao{2}
\smut@value@eAbstract@eAbstractTitlea\\ \smut@value@eAbstract@eAbstractTitleb \\
\par
}
{\zihao{3}\bfseries
\begin{tabular}{p{10em}p{13em}}
\zihao{3}\bfseries
\makebox[10em][r]{Name:} & \smut@value@eAbstract@eName\\
\makebox[10em][r]{Supervisor:} & \smut@value@eAbstract@eTeachera\\
& \smut@value@eAbstract@eTeacherb\\
& \smut@value@eAbstract@eTeacherc\\
\end{tabular}
}
\par
{\zihao{3}\bfseries ABSTRACT}
\end{center}
\normalsize\par%
}{%
\cleardoublepage
}
% \end{macrocode}
% \end{environment}
%
% \begin{macro}{\eKeywords}
% 定义生成英文摘要关键词的命令。此命令必须放在\env{eAbstract}环境内的末尾
% 使用。英文关键词之间应以英文半角逗号隔开,末尾不需要加标点。
% \begin{macrocode}
\newcommand{\eKeywords}[1]{%
\renewcommand*{\smut@value@eAbstract@eKeywords}{#1}%
\par\vspace{2ex}\noindent%
{\bfseries\zihao{-4} Keywords{:}}~~{#1}%
}
% \end{macrocode}
% \end{macro}
%
% \subsection{学位论文出版授权书}
%
% \begin{macro}{\makeLicense}
% 该命令用于生成《学位论文原创性及出版授权书》。该授权书中的一些字段将根据用户所设置的文
% 档属性自动填写。
% \begin{macrocode}
\newcommand*{\makeLicense}{%
\phantomsection
\addcontentsline{toc}{chapter}{\protect{}南方医科大学学位论文原创性声明}
\thispagestyle{fancy}
\fancyhead{}
\fancyhead[CE]{\kaishu 南方医科大学学位论文原创性声明}
\begin{center}
{\songti\zihao{3}
南方医科大学学位论文原创性声明
}
\end{center}
{\fangsong\zihao{-4}
\par 本人郑重声明:所呈交的论文是本人在导师的指导下独立进行研究所取得的研究成果。除了文中特别加以标注引用的内容外,本论文不包含任何其他个人或集体已经发表或撰写的成果作品。对本文的研究做出重要贡献的个人和集体,均已在文中以明确方式标明。除与外单位合作项目将予以明确方式规定外,本研究已发表与未发表成果的知识产权均归属南方医科大学。\\
本人承诺承担本声明的法律效果。\\
\par
\par 作者签名:\hspace{10em}日期:\hspace{5em}年\hspace{3em}月\hspace{3em}日\\
}
\begin{center}
{\songti\zihao{3}
学位论文版权使用授权书
}
\end{center}
{\fangsong\zihao{-4}
\par 本学位论文作者完全了解学校有关保留、使用学位论文的规定,同意学校保留并向国家有关部门或机构送交论文的复印件和电子版,允许论文被查阅和借阅。本人授权南方医科大学可以将本学位论文的全部或部分内容编入有关数据库进行检索,可以采用影印、缩印或扫描等复制手段保存和汇编本学位论文。\\
\par
\par 本学位论文属于(请在以下相应方框内打“√”):\\
\par\hspace{2em}1、保密{\Large\Square},在\hspace{3em}年解密后适用本授权书。\\
\par\hspace{2em}2、不保密{\Large\Square}。\\
\par
\par 作者签名:\hspace{10em}日期:\hspace{5em}年\hspace{3em}月\hspace{3em}日\\
\par 导师签名:\hspace{10em}日期:\hspace{5em}年\hspace{3em}月\hspace{3em}日\\
}
}
% \end{macrocode}
% \end{macro}
%
% \subsection{其他自定义命令和环境}
%
% \begin{macro}{\smuthesis}
% 定义{\smuthesis}文档类的logo。
% \begin{macrocode}
\newcommand{\smuthesis}{\texttt{smu-Thesis}}
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{\zhdash}
% 定义中文破折号。
% \begin{macrocode}
\newcommand{\zhdash}{\kern0.3ex\rule[0.8ex]{2em}{0.1ex}\kern0.3ex}
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{\cell}
% \cs{cell}\marg{width}\marg{height}\marg{text}用于定义一个宽度为\meta{width},
% 高度为\meta{height},内容为\meta{text}的的单元格。该单元格可放在表格中,用于控
% 制表格单元格的大小。
% \begin{macrocode}
\newcommand{\cell}[3]{\parbox[c][#2][c]{#1}{\makebox[#1]{#3}}}
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{C}
% 定义一个新的表格列模式,|C{width}|,表示将内容居中,且列宽度为|width|。
%
% |array|环境中的\cs{centering}命令会改变\cs{newline}的定义,因此我们需要用
% \cs{arraybackslash}将其恢复;另外,我们也可能会在列内容中使用\cs{newline},因此在
% \cs{centering}后重新定义了\cs{newline}。
%
% \begin{macrocode}
\newcolumntype{C}[1]{>{\centering\let\newline\\%
\arraybackslash\hspace{0pt}}p{#1}}
% \end{macrocode}
% \end{macro}
%
% \begin{environment}{arabicenum}
% 阿拉伯数字列表环境。该列表最多三层。
% \begin{macrocode}
\newlist{arabicenum}{enumerate}{3}
\setlist[arabicenum,1]{label=\textnormal%
{\textnormal{(\arabic*)}}}
\setlist[arabicenum,2]{label=\textnormal%
{\textnormal{(\arabic{arabicenumi}.\arabic*)}}}
\setlist[arabicenum,3]{label=\textnormal%
{\textnormal{(\arabic{arabicenumi}.\arabic{arabicenumii}.\arabic*)}}}
% \end{macrocode}
% \end{environment}
%
% \begin{environment}{romanenum}
% 罗马数字列表环境。该列表最多两层。
% \begin{macrocode}
\newlist{romanenum}{enumerate}{2}
\setlist[romanenum,1]{label={\textnormal{\roman*.}}}
\setlist[romanenum,2]{label={\textnormal{\alph*\,)}}}
% \end{macrocode}
% \end{environment}
%
% \begin{environment}{alphaenum}
% 小写字母列表环境。该列表最多两层。
% \begin{macrocode}
\newlist{alphaenum}{enumerate}{2}
\setlist[alphaenum,1]{label={\textnormal{\alph*\,)}}}
\setlist[alphaenum,2]{label={\textnormal{\alph{alphaenumi}.\arabic*\,)}}}
% \end{macrocode}
% \end{environment}
%
% \begin{environment}{caseenum}
% 情况分类列表环境。该列表最多两层。
% \begin{macrocode}
\newlist{caseenum}{enumerate}{2}
\setlist[caseenum,1]{label={\textnormal{\smut@cap@case\arabic*.}}}
\setlist[caseenum,2]{label={\textnormal{\smut@cap@subcase\arabic{caseenumi}.\arabic*.}}}
\setlist[caseenum]{leftmargin=*}
% \end{macrocode}
% \end{environment}
%
% \begin{environment}{stepenum}
% 步骤列表环境。该列表最多两层。
% \begin{macrocode}
\newlist{stepenum}{enumerate}{2}
\setlist[stepenum,1]{label={\textnormal{\smut@cap@step\arabic*.}}}
\setlist[stepenum,2]{label={\textnormal{\smut@cap@substep\arabic{stepenumi}.\arabic*.}}}
\setlist[stepenum]{leftmargin=*}
% \end{macrocode}
% \end{environment}
%
% \subsection{设置PDF文档属性}
%
% \begin{macro}{\smut@setpdfinfo}
% 此命令设置PDF文档属性,依赖于|hyperref|宏包。
% \begin{macrocode}
\newcommand*{\smut@setpdfinfo}{\hypersetup{%
pdftitle={\smut@value@nlc@Title},
pdfauthor={\smut@value@nlc@Name},
pdfsubject={\smut@value@nlc@majorInfo},
pdfkeywords={\smut@value@cAbstract@cKeywords},
pdfcreator={\smut@value@nlc@Name},
pdfproducer={XeLaTeX with the smu-Thesis document class}}
}
% \end{macrocode}
% \end{macro}
%
% 在文档的\cs{begin{document}}之后立即调用\cs{smut@setpdfinfo}命令设置PDF文档属性。
% \begin{macrocode}
\AtBeginDocument{\smut@setpdfinfo}
%</cls>
% \end{macrocode}
% \StopEventually{\PrintIndex}
% \Finale
%
% \iffalse
% \begin{macrocode}
%<*dtx-style>
\ProvidesPackage{dtx-style}
\RequirePackage{amssymb}
\RequirePackage{calc}
\RequirePackage{array,longtable}
\RequirePackage{fancybox,fancyvrb}
\RequirePackage{xcolor}
\RequirePackage{txfonts}
\RequirePackage{xltxtra}
\RequirePackage{subfigure}
\RequirePackage{marvosym}
\RequirePackage{booktabs}
\RequirePackage{paralist}
\RequirePackage{enumitem}
\RequirePackage{titlesec}
\RequirePackage{titling}
\RequirePackage{fancyhdr}
\RequirePackage{geometry}
\RequirePackage{indentfirst}
\RequirePackage[CJKnumber,CJKchecksingle]{xeCJK}
\RequirePackage[hyphens]{url} % must be load before hypdoc package
\RequirePackage{hypdoc} % it will load hyperref package
\RequirePackage[normalem]{ulem}
\hypersetup{%
unicode=false,
hyperfootnotes=true,
hyperindex=true,
pageanchor=true,
CJKbookmarks=true,
bookmarksnumbered=true,
bookmarksopen=true,
bookmarksopenlevel=0,
breaklinks=true,
colorlinks=false,
plainpages=false,
pdfpagelabels,
pdfborder=0 0 0%
}
\newcommand{\env}[1]{\texttt{#1}}
% 设置超链接为蓝色
\hypersetup{colorlinks=true,urlcolor=blue}
% 定义英文字体名称。
\newcommand*{\smut@enfn@main}{Times New Roman}
\newcommand*{\smut@enfn@sans}{Arial}
\newcommand*{\smut@enfn@mono}{Courier New}
% 选择中文字体
\newcommand*{\smut@zhfn@songti}{Adobe Song Std}
\newcommand*{\smut@zhfn@cusong}{FZCuSong-B09S}
\newcommand*{\smut@zhfn@heiti}{Adobe Heiti Std}
\newcommand*{\smut@zhfn@kaishu}{Adobe Kaiti Std}
\newcommand*{\smut@zhfn@fangsong}{Adobe Fangsong Std}
% 定义中文字体
\setCJKfamilyfont{song}{\smut@zhfn@songti}
\setCJKfamilyfont{cusong}{\smut@zhfn@cusong}
\setCJKfamilyfont{hei}{\smut@zhfn@heiti}
\setCJKfamilyfont{kai}{\smut@zhfn@kaishu}
\setCJKfamilyfont{fangsong}{\smut@zhfn@fangsong}
%\setCJKmainfont[BoldFont={\smut@zhfn@heiti},
% ItalicFont={\smut@zhfn@kaishu}]{\smut@zhfn@songti}
\setCJKsansfont{\smut@zhfn@heiti}
\setCJKmonofont{\smut@zhfn@fangsong}
% 定义文档使用的英文字体
\setmainfont{\smut@enfn@main}
\setsansfont{\smut@enfn@sans}
\setmonofont{\smut@enfn@mono}
% 定义中文字体选择命令
\newcommand*{\songti}{\CJKfamily{song}}
\newcommand*{\cusong}{\CJKfamily{cusong}}
\newcommand*{\heiti}{\CJKfamily{hei}}
\newcommand*{\kaishu}{\CJKfamily{kai}}
\newcommand*{\fangsong}{\CJKfamily{fangsong}}
\renewcommand{\contentsname}{目\hspace{2em}录}
\renewcommand{\abstractname}{摘\hspace{2em}要}
\renewcommand{\indexname}{索\hspace{2em}引}
\renewcommand{\figurename}{图}
\renewcommand{\tablename}{表}
\renewcommand{\refname}{参考文献}
\setlength{\parskip}{4pt plus1pt minus0pt}
\setlength{\topsep}{0pt}
\setlength{\partopsep}{0pt}
\setlength{\parindent}{2em}
\addtolength{\oddsidemargin}{-1cm}
\advance\textwidth 1.5cm
\addtolength{\topmargin}{-1cm}
\addtolength{\headsep}{0.3cm}
\addtolength{\textheight}{2.3cm}
\newcommand{\zhdash}{\kern0.3ex\rule[0.8ex]{2em}{0.1ex}\kern0.3ex}
\renewcommand{\baselinestretch}{1.3}
\DefineVerbatimEnvironment{shell}{Verbatim}%
{frame=single,framerule=0.1mm,rulecolor=\color{black},%
framesep=2mm,fontsize=\small,gobble=1}
\DefineVerbatimEnvironment{example}{Verbatim}%
{frame=single,framerule=0.1mm,rulecolor=\color{black},%
framesep=2mm,baselinestretch=1.2,fontsize=\small,gobble=1}
\long\def\myentry#1{\vskip5pt\par\noindent\llap{{\color{blue}\fangsong #1}}%
\marginpar{\strut}\hskip\parindent}
% 使用|titlesec|宏包提供的\titleformat命令设置标题格式:
\titleformat*{\section}{\Large\bfseries}
\titleformat*{\subsection}{\large\bfseries}
\titleformat*{\subsubsection}{\normalsize\bfseries}
\titleformat*{\paragraph}{\normalsize\bfseries}
\titleformat*{\subparagraph}{\normalsize\bfseries}
% 使用|titling|宏包设置标题的字体
\pretitle{\begin{center}\huge\bfseries}
\posttitle{\par\end{center}\vskip 1em}
\preauthor{\begin{center}
\large \lineskip 0.5em}
\postauthor{\par\end{center}}
\predate{\begin{center}\large}
\postdate{\par\end{center}}
% 修改\cs{tableofcontents}命令用于生成目次页。
\renewcommand{\tableofcontents}{%
\if@twocolumn
\@restonecoltrue\onecolumn
\else
\@restonecolfalse
\fi
\section*{\hfill\contentsname\hfill}%
\@mkboth{\MakeUppercase\contentsname}{\MakeUppercase\contentsname}%
\@starttoc{toc}%
\if@restonecol\twocolumn\fi
}
% 增加一种新的表格列对齐方式 C{width},表示该列内容居中且宽度为width
\newcolumntype{C}[1]{>{\centering\let\newline\\%
\arraybackslash\hspace{0pt}}p{#1}}
% \dangericon 表示警告的图标
\font\manfnt=manfnt
\newcommand*{\dangericon}{\manfnt\char127}
% note 环境表示需特别注意的内容
\newenvironment{note}
{\vskip1.5ex\par\noindent\llap{\dangericon\hskip2mm}\textbf{注意:}}
{\vskip1.5ex}
% syntax 环境表示语法描述
\newenvironment{syntax}
{\begin{center}}
{\end{center}}
\newenvironment{suggestion}
{\par\noindent\textbf{建议:}}{}
% 重新设置默认的列表的格式。
\setlist{%
topsep=0.3em, % 列表顶端的垂直空白
partopsep=0pt, % 列表环境前面紧接着一个空白行时其顶端的额外垂直空白
itemsep=0ex plus 0.1ex, % 列表项之间的额外垂直空白
parsep=0pt, % 列表项内的段落之间的垂直空白
leftmargin=1.5em, % 环境的左边界和列表之间的水平距离
rightmargin=0em, % 环境的右边界和列表之间的水平距离
labelsep=0.5em, % 包含标签的盒子与列表项的第一行文本之间的间隔
labelwidth=2em, % 包含标签的盒子的正常宽度;若实际宽度更宽,则使用实际宽度。
}
% 设置无序列表的标签符号。
\setlist[itemize,1]{label=$\bullet$}
\setlist[itemize,2]{label=$\blacksquare$}
\setlist[itemize,3]{label=$\Diamondblack$}
% 默认的|fancy|风格会在每一章最后的空白页(由于是双面打印)也加上页眉页脚,但我
% 们通常不希望如此。解决方法是修改{\LaTeX}内部的\cleardoublepage命令的定义如下:
\makeatletter
\def\cleardoublepage{\clearpage\if@twoside \ifodd\c@page\else
\hbox{}\thispagestyle{empty}\newpage\if@twocolumn\hbox{}\newpage\fi\fi\fi}
\makeatother
% 文章用A4纸标准大小的白纸打印,页眉:2.6cm,页脚:2.4cm,页边距上下:3.5cm,左
% 右:3.2cm。
\geometry{headheight=2.6cm,headsep=3mm,footskip=13mm}
\geometry{top=3.5cm,bottom=3.5cm,left=3.2cm,right=3.2cm}
% \std{code}表示国家标准编号
\newcommand*{\std}[1]{{\normalfont #1}}
% 增加环境命令: \env{name} 表示名为 name 的环境
%% \newcommand{\env}[1]{\texttt{#1}}
% 修改\tableofcontents命令用于生成目次页,将目次页本身也被加入目次中。
\makeatletter
\renewcommand*{\tableofcontents}{%
\if@twocolumn
\@restonecoltrue\onecolumn
\else
\@restonecolfalse
\fi
\section*{\hfill\contentsname\hfill}%
\@mkboth{\MakeUppercase\contentsname}{\MakeUppercase\contentsname}%
\addcontentsline{toc}{section}{\contentsname}%
\@starttoc{toc}%
\if@restonecol\twocolumn\fi
}
\makeatother
% 设置索引页面的样式
\IndexPrologue{\clearpage\section*{\hfill\indexname\hfill}%
\markboth{\indexname}{\indexname}%
\addcontentsline{toc}{section}{\indexname}%
斜体数字表示对应项的描述所在页面的页码, %
带下划线的数字表示对应项的定义所在的代码行号,%
其他数字表示对应项所被引用的代码行号。%
}
% 设置索引页面的栏数
\setcounter{IndexColumns}{2}
\newcommand{\dashnumber}[2]%
{{#1}\kern.07em\rule[.5ex]{.4em}{.1ex}\kern.07em{#2}}
%</dtx-style>
% \end{macrocode}
% \fi
\endinput
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。