├── .gitignore ├── Makefile ├── README.md ├── examples ├── Makefile ├── SConstruct ├── abstract.tex ├── achievements.tex ├── acknowledgments.tex ├── appendix01.tex ├── biography.tex ├── ch01-intro.tex ├── ch02-options.tex ├── ch03-frontmatter.tex ├── ch04-mainmatter.tex ├── ch05-backmatter.tex ├── ch06-bibliography.tex ├── ch07-conclusions.tex ├── photo.png ├── refs.bib ├── thesis-bachelor.tex ├── thesis-doctor.tex ├── thesis-master.tex └── thesis-masterpro.tex ├── xdubadge-gr.eps ├── xdubadge.eps ├── xdulogo.eps └── xduthesis.dtx /.gitignore: -------------------------------------------------------------------------------- 1 | # cls and cfg files generated for testing 2 | xduthesis.cls 3 | xduthesis.cfg 4 | # documentation 5 | xduthesis.pdf 6 | 7 | # latex generated fiels 8 | *.aux 9 | *.bbl 10 | *.blg 11 | *.fls 12 | *.glo 13 | *.gls 14 | *.idx 15 | *.ilg 16 | *.ind 17 | *.lof 18 | *.log 19 | *.lot 20 | *.out 21 | *.toc 22 | 23 | # packaging files 24 | *.tar.gz 25 | xduthesis*.zip 26 | 27 | # Emacs generated files 28 | auto/ 29 | 30 | # SCons generated files 31 | .sconsign.dblite 32 | 33 | # Example directory 34 | examples/thesis-*.pdf 35 | examples/xdu*.eps 36 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | NAME = xduthesis 2 | SHELL = bash 3 | PWD = $(shell pwd) 4 | TEMP := $(shell mktemp -u -d -t xduthesis.XXXXXXXXXX) 5 | TDIR = $(TEMP)/$(NAME) 6 | VERS = $(shell ltxfileinfo -v $(NAME).dtx) 7 | LOCAL = $(shell kpsewhich --var-value TEXMFLOCAL) 8 | UTREE = $(shell kpsewhich --var-value TEXMFHOME) 9 | all: $(NAME).pdf clean 10 | $(MAKE) -C examples all 11 | $(NAME).pdf: $(NAME).dtx 12 | xelatex -shell-escape -recorder -interaction=batchmode $(NAME).dtx >/dev/null 13 | if [ -f $(NAME).glo ]; then makeindex -q -s gglo.ist -o $(NAME).gls $(NAME).glo; fi 14 | if [ -f $(NAME).idx ]; then makeindex -q -s gind.ist -o $(NAME).ind $(NAME).idx; fi 15 | xelatex --recorder --interaction=nonstopmode $(NAME).dtx > /dev/null 16 | xelatex --recorder --interaction=nonstopmode $(NAME).dtx > /dev/null 17 | clean: 18 | $(RM) $(NAME).{aux,fls,glo,gls,hd,idx,ilg,ind,ins,log,out,toc} 19 | $(MAKE) -C examples clean 20 | distclean: clean 21 | $(RM) $(NAME).{pdf,cls,cfg} 22 | $(MAKE) -C examples distclean 23 | inst: all 24 | mkdir -p $(UTREE)/{tex,source,doc}/xelatex/$(NAME) 25 | cp $(NAME).dtx $(UTREE)/source/xelatex/$(NAME) 26 | cp $(NAME).cls $(UTREE)/tex/xelatex/$(NAME) 27 | cp $(NAME).cfg $(UTREE)/tex/xelatex/$(NAME) 28 | cp xdu{badge,badge-gr,logo}.eps $(UTREE)/tex/xelatex/$(NAME) 29 | cp $(NAME).pdf $(UTREE)/doc/xelatex/$(NAME) 30 | cp examples/thesis-doctor.pdf $(UTREE)/doc/xelatex/$(NAME) 31 | install: all 32 | sudo mkdir -p $(LOCAL)/{tex,source,doc}/xelatex/$(NAME) 33 | sudo cp $(NAME).dtx $(LOCAL)/source/xelatex/$(NAME) 34 | sudo cp $(NAME).cls $(LOCAL)/tex/xelatex/$(NAME) 35 | sudo cp $(NAME).cfg $(LOCAL)/tex/xelatex/$(NAME) 36 | sudo cp xdu{badge,badge-gr,logo}.eps $(LOCAL)/tex/xelatex/$(NAME) 37 | sudo cp $(NAME).pdf $(LOCAL)/doc/xelatex/$(NAME) 38 | sudo cp examples/thesis-doctor.pdf $(LOCAL)/doc/xelatex/$(NAME) 39 | zip: all README.md 40 | mkdir -p $(TEMP)/{tex,source,doc}/xelatex/$(NAME) 41 | cp $(NAME).dtx $(TEMP)/source/xelatex/$(NAME) 42 | cp $(NAME).cls $(TEMP)/tex/xelatex/$(NAME) 43 | cp $(NAME).cfg $(TEMP)/tex/xelatex/$(NAME) 44 | cp xdu{badge,badge-gr,logo}.eps $(TEMP)/tex/xelatex/$(NAME) 45 | cp $(NAME).pdf $(TEMP)/doc/xelatex/$(NAME) 46 | cp README.md $(TEMP)/doc/xelatex/$(NAME) 47 | cp examples/thesis-doctor.pdf $(TEMP)/doc/xelatex/$(NAME) 48 | mkdir $(TEMP)/doc/xelatex/$(NAME)/examples 49 | cp examples/*.tex $(TEMP)/doc/xelatex/$(NAME)/examples 50 | cp examples/refs.bib $(TEMP)/doc/xelatex/$(NAME)/examples 51 | cp examples/photo.png $(TEMP)/doc/xelatex/$(NAME)/examples 52 | cd $(TEMP); zip -Drq $(PWD)/$(NAME).tds.zip tex source doc 53 | mkdir -p $(TDIR)/examples 54 | cp $(NAME).{pdf,dtx} README.md $(TDIR) 55 | cp xdu{badge,badge-gr,logo}.eps $(TDIR) 56 | cp examples/thesis-doctor.pdf $(TDIR)/examples 57 | cp examples/*.tex $(TDIR)/examples 58 | cp examples/refs.bib $(TDIR)/examples 59 | cp examples/photo.png $(TDIR)/examples 60 | $(RM) $(PWD)/$(NAME)-$(VERS).zip 61 | cd $(TEMP); zip -Drq $(PWD)/$(NAME)-$(VERS).zip $(NAME) 62 | $(RM) -r $(TEMP) 63 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # 西安电子科技大学学位论文模板 2 | 3 | 本项目提供了使用 XeLaTeX排版西安电子科技大学各级学位(本科、硕士和博士)论文的模 4 | 板。目的是为习惯于使用 TeX的毕业生能够更多的关注于论文的撰写与修改,提高毕业学位 5 | 论文内容的质量。 6 | 7 | ## 更新状态 8 | 9 | 已按照研究生院2014年研究生学位论文版式要求对模板进行了修改。 10 | 11 | 由于我目前工作非常忙,能用于修改模板的时间非常有限,因此非常欢迎有能力的同学把你 12 | 的修改发给我,我可以整合进这个模板。也不必是完整的修改,任何一个小部分的修改都非 13 | 常欢迎。 14 | 15 | ### 基本正确(待确认)格式包括: 16 | 17 | - 论文封面 18 | - 中文扉页 19 | - 英文扉页 20 | - 中文摘要 21 | - 中文关键词及论文类型 22 | - 英文摘要 23 | - 英文关键词及论文类型 24 | - 插图与表格索引 25 | - 符号对照表(给出了可用示例) 26 | - 缩略语对照表(给出了可用示例) 27 | - 页眉页脚 28 | - 正文各级标题 29 | - 一级标题(章) 30 | - 二级标题(节) 31 | - 一级标题(小节) 32 | - 正文 33 | - ~~作者简介(给出了简单示例)~~ 34 | 35 | ## 安装说明 36 | 37 | 本模板开发和测试所使用的 TeX 发行版是 texlive ,其他比较新的 TeX发行版也应该能够 38 | 正常工作。鉴于本模板在 texlive上进行开发和完整测试,因此建议安装 texlive 2012或更 39 | 高版本环境使用。本模板是基于 `XeLaTeX` 和 `xeCJK`宏包的,因此无论你使用哪 个 TeX 40 | 发行版,务必要安装 `XeLaTeX` 及 `xeCJK`宏包。 41 | 42 | 安装本模板的过程非常简单,在下载 43 | `*-relase.tar.gz` 文件解压,从中提取 `examples`目录中的文件,按照你自己的需要进行 44 | 修改即可。 45 | 46 | 如果希望从源代码自己进行安装,则需要下载 `*-sources.tar.gz`文件,执行命令: 47 | 48 | xelatex xduthesis.ins 49 | 50 | 就会生成模板文件 `xduthesis.cls` 与 `xduthesis.cfg` 。这两个文件与`xdu*.eps` 文件 51 | 一起,就构成了可以使用的模板宏包。你可以把这些文件放在 52 | `/tex/xelatex/xduthesis`目录下使用,也可以直接把它们放在你的论文 的 53 | TeX文件所在目录下。需要注意的是,选择将模板文件放在 54 | `/tex/xelatex/xduthesis` 目录下时,需要在拷贝文件之后执行: 55 | 56 | mktexlsr 57 | 58 | 命令。 59 | 60 | ## 文件说明 61 | 62 | 模板中的各个文件功能如下: 63 | 64 | - `xduthesis.dtx` 模板文件及说明文档 65 | - `xduthesis.ins` 模板安装配置文件 66 | - `xdulogo.eps` 校徽 67 | - `xdubadge.eps` 本科学位论文使用的校名图案 68 | - `xdubadge-gr.eps` 研究生学位论文使用的校名图案 69 | - `version` 模板版本号 70 | - `build.sh` 用于生成本模板发文件的shell脚本 71 | - `examples` 使用模板的示例文件,同时也是模板说明文件 72 | - `thesis-bachelor.tex` 本科学位论文主文档 73 | - `thesis-master.tex` 硕士学位论文主文档 74 | - `thesis-masterpro.tex` 专业硕士学位论文主文档 75 | - `thesis-doctor.tex` 博士学位论文主文档 76 | - `abstract.tex` 摘要 77 | - `ch01-intro.tex` 模板总体说明 78 | - `ch02-options.tex` 模板选项介绍 79 | - `ch03-frontmatter.tex` 论文前置部分使用说明 80 | - `ch04-mainmatter.tex` 论文主体部分使用说明 81 | - `ch05-backmatter.tex` 论文后置部分使用说明 82 | - `ch06-bibliography.tex` 参考文献排版指南 83 | - `refs.bib` BIBTeX格式的参考文献数据库 84 | - `ch07-conclusions.tex` 说明总结 85 | - `appendix01.tex` 论文附录部分排版示例 86 | - `acknowledgments.tex` 致谢示例 87 | - `achievements.tex` 在学期间成果 88 | - `biography.tex` 作者简介 89 | - `photo.png` 作者照片 90 | - `SConstruct` 用于自动编译论文的 scons 脚本 91 | 92 | ## 相关项目 93 | 94 | 本项目中部分排版代码参考了 [xdlinux](https://github.com/xdlinux)维护的西电本科 毕 95 | 业设计论文模板[xdba-thesis](https://github.com/xdlinux/xdba-thesis) ,对此表示感 96 | 谢。 97 | 98 | ## 其它 99 | 100 | 如果你使用这份模板为你节约了时间,希望你能够在学位论文的致谢部分提及。 101 | 102 | ## Introduction 103 | 104 | This is a XeLaTeX template for writing theses to apply academic degrees 105 | in Xidian University. The template is designed according to the official 106 | requirements on typesetting theses. The template currently supports all 107 | levels of degrees from bachelor to doctor, including both academic 108 | master and professional master. But it is not guaranteed that you will 109 | pass the typesetting check and obtain your degree by using this 110 | template. 111 | 112 | ## Copyright 113 | 114 | xduthesis: XeLaTeX template for writing Xidian University Thesis\ 115 | Author: Fei Qi\ 116 | E-mail: \ 117 | License: Released under the LaTeX Project Public License v1.3c or later\ 118 | See: 119 | 120 | Copyright (C) 2008-2016 by Fei Qi 121 | 122 | This work may be distributed and/or modified under the conditions of the 123 | LaTeX Project Public License (LPPL), either version 1.3c of this license 124 | or (at your option) any later version. The latest version of this 125 | license is in the file: 126 | 127 | 128 | 129 | This work is "maintained" (as per LPPL maintenance status) by Fei Qi. 130 | 131 | This work consists of the file xduthesis.dtx and a Makefile. Running 132 | "make" generates the derived files xduthesis.pdf and xduthesis.cls. 133 | Running "make inst" installs the files in the user's TeX tree. Running 134 | "make install" installs the files in the local TeX tree. 135 | -------------------------------------------------------------------------------- /examples/Makefile: -------------------------------------------------------------------------------- 1 | MODES = bachelor master masterpro doctor 2 | TEXFNS := $(wildcard [ac]*.tex) 3 | EGFNS = $(addsuffix .pdf, $(addprefix thesis-, $(MODES))) 4 | BIBTEX = bibtex 5 | LATEX = xelatex 6 | CLEANEXT= aux bbl bcf blg fls lof log lot out run.xml toc 7 | all: $(EGFNS) 8 | $(EGFNS): %.pdf: %.tex refs.bib $(TEXFNS) 9 | $(LATEX) -shell-escape -recorder -interaction=batchmode $< >/dev/null 10 | $(BIBTEX) $(basename $@).aux >/dev/null 11 | $(LATEX) --recorder --interaction=nonstopmode $< > /dev/null 12 | $(LATEX) --recorder --interaction=nonstopmode $< > /dev/null 13 | .PHONY: clean distclean 14 | clean: 15 | for ext in $(CLEANEXT); do \ 16 | for mode in $(MODES); do $(RM) thesis-$$mode.$$ext; done; done 17 | distclean: clean 18 | for fn in $(EGFNS); do $(RM) $$fn; done 19 | -------------------------------------------------------------------------------- /examples/SConstruct: -------------------------------------------------------------------------------- 1 | ## ---------------------------------------------------------------------- 2 | ## START OF FILE 3 | ## ---------------------------------------------------------------------- 4 | ## 5 | ## Filename: SConstruct 6 | ## Author: Fred Qi 7 | ## Created: 2009-06-06 23:38:27(+0800) 8 | ## 9 | ## ---------------------------------------------------------------------- 10 | ### CHANGE LOG 11 | ## ---------------------------------------------------------------------- 12 | ## Last-Updated: 2014-11-27 13:09:37(+0300) [by Fred Qi] 13 | ## Update #: 28 14 | ## ---------------------------------------------------------------------- 15 | 16 | import os 17 | 18 | env = Environment(ENV = os.environ, 19 | PDFLATEX = 'xelatex') 20 | 21 | tmpl = Glob( 'xduthesis.c*' ) 22 | 23 | pdf = env.PDF(Glob('thesis-*.tex')) 24 | Depends(pdf, ['abstract.tex', 'refs.bib']) 25 | Depends(pdf, Glob('ch*.tex')) 26 | 27 | ## ---------------------------------------------------------------------- 28 | ### END OF FILE 29 | ## ---------------------------------------------------------------------- 30 | -------------------------------------------------------------------------------- /examples/abstract.tex: -------------------------------------------------------------------------------- 1 | %% ---------------------------------------------------------------------- 2 | %% START OF FILE 3 | %% ---------------------------------------------------------------------- 4 | %% 5 | %% Filename: abstract.tex 6 | %% Author: Fred Qi 7 | %% Created: 2008-06-25 11:34:44(+0800) 8 | %% 9 | %% ---------------------------------------------------------------------- 10 | %%% CHANGE LOG 11 | %% ---------------------------------------------------------------------- 12 | %% Last-Updated: 2016-02-09 15:17:07(-0700) [by Fred Qi] 13 | %% Update #: 62 14 | %% ---------------------------------------------------------------------- 15 | 16 | \begin{cabstract} 17 | 摘要部分使用以下四个环境进行排版, 18 | \begin{itemize} 19 | \item \texttt{cabstract} 20 | \item \texttt{ckeywords} 21 | \item \texttt{eabstract} 22 | \item \texttt{ekeywords} 23 | \end{itemize} 24 | 分别用于排版\textit{中文摘要}、\textit{中文关键词}、\textit{英文摘 25 | 要}和\textit{英文关键词}。具体使用示例参见~\texttt{examples/abstract.tex}文件。 26 | 请注意不同学位论文对于关键词分割符的要求。 27 | 28 | 在研究生学位论文中,需要提供中英文的\textit{论文类型}信息,请使用命令 29 | \texttt{cthesistype} 和 \texttt{ethesistype} 。 30 | \end{cabstract} 31 | 32 | \begin{ckeywords} 33 | 关键词一; 关键词二; 关键词三; 关键词四; 关键词五 34 | \end{ckeywords} 35 | 36 | \cthesistype{应用基础技术} 37 | 38 | 39 | \begin{eabstract} 40 | The following four environments are designed for typesetting abstracts in both 41 | Chinese and English, 42 | \begin{itemize} 43 | \item \texttt{cabstract} 44 | \item \texttt{ckeywords} 45 | \item \texttt{eabstract} 46 | \item \texttt{ekeywords}, 47 | \end{itemize} 48 | which are for \textit{Chinese abstract}, \textit{Chinese keywords}, 49 | \textit{English abstract}, and \textit{English keywords}, respectively. An 50 | example of using these environments is available in the file 51 | \texttt{examples/abstract.tex}。Please note the different requirements on the 52 | separation symbol between sequencing keywords. 53 | 54 | In graduate thesis, the information of thesis type is required. Please use the 55 | command \texttt{cthesistype} and \texttt{ethesistype} to typeset. 56 | \end{eabstract} 57 | 58 | \begin{ekeywords} 59 | Keyword 1, Keyword 2, Keyword 3, Keyword 4, Keyword 5 60 | \end{ekeywords} 61 | 62 | \ethesistype{Applied Basic Technology} 63 | 64 | %% ---------------------------------------------------------------------- 65 | %%% END OF FILE 66 | %% ---------------------------------------------------------------------- -------------------------------------------------------------------------------- /examples/achievements.tex: -------------------------------------------------------------------------------- 1 | %%% achievements.tex --- 2 | %% 3 | %% Filename: achievements.tex 4 | %% Author: Fred Qi 5 | %% Created: 2012-11-26 14:13:57(-0700) 6 | %% 7 | %% Last-Updated: 2016-02-09 14:14:23(-0700) [by Fred Qi] 8 | %% Update #: 8 9 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 10 | %% 11 | %%% Commentary: 12 | %% 13 | %% 14 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 15 | %% 16 | %%% Change Log: 17 | %% 18 | %% 19 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 20 | 21 | \chapter*{作者简介} 22 | \label{chap:author} 23 | 24 | % Some dirty tricks 25 | \section*{\textbf{\normalsize 1. 基本情况}} 26 | 27 | 某某某,男,某某省某某市人,XXXX 年 XX 月出生,西安电子科技大学某某学院某某专 28 | 业 XXXX 级 硕士(或博士)研究生。 29 | 30 | \section*{\textbf{\normalsize 2. 教育背景}} 31 | 32 | \begin{description} 33 | \item[XXXX.XX -- 今] 西安电子科技大学某某学院某某专业,某某专业硕士研究生 34 | \item[XXXX.XX -- XXXX.XX] 某某大学某某学院某某专业,获工学学士学位 35 | \end{description} 36 | 37 | \section*{\textbf{\normalsize 3. 攻读博士/硕士学位期间的研究成果}} 38 | 39 | \noindent\textbf{\small 3.1 发表的学术论文} 40 | 41 | \begin{enumerate}[{[}1{]}] \wuhao 42 | \item XXX, XXX, XXX. et al. Title of your paper [J]. Publication Title, 2016, 43 | 10(1): 104--110. (SCI: 672CZ, EI: 03187452127) 44 | \item XXX,XXX,XXX.论文题目[J].期刊名称,发表年份,卷(期): 935--939.(EI: 45 | 02226959521) 46 | \end{enumerate} 47 | 48 | \noindent\textbf{\small 3.2 发明专利和科研情况} 49 | 50 | \begin{enumerate}[{[}1{]}] \wuhao 51 | \item XXX,XXX,XXX等.专利名称[P].国别,专利种类, 专利号, 2006.8. 52 | \item XXX,XXX,XXX等.科研项目名称.陕西省科技进步三等奖, 2003.12. 53 | \item XXX项目,项目名称,起止时间,完成情况,作者贡献. 54 | \end{enumerate} 55 | 56 | 57 | %% Another example contributed by Xin Wu 2014-11-26 58 | %% -------------------------------------------------------------------- 59 | 60 | % \chapter*{作者简介} 61 | % \setlength{\parindent}{1.2em} 62 | % \linespread{1.5} 63 | 64 | % \noindent\textbf{1. 基本情况} 65 | 66 | % {\wuhao男,陕西西安人,1982年8月出生,西安电子科技大学电子工程学院信号与信息处理专业2007级博士研究生。} 67 | % \vspace{4ex} 68 | 69 | % \noindent\textbf{2. 教育背景} 70 | % %将以下命令写入 cls 中方可使用 entry list 环境 by Xin Wu 2014-11-26 71 | % %----------------------------------------- 72 | % %\newenvironment{entrylist}{% 73 | % % \begin{tabular*}{\textwidth}{ll}}{% 74 | % % \end{tabular*} 75 | % %} 76 | % %\newcommand{\entry}[2]{#1&\parbox[t]{11.2cm}{#2\vspace{\parsep}}\\} 77 | % %----------------------------------------- 78 | % \vspace{1ex} 79 | 80 | % \setlength{\parindent}{0.7em} 81 | % {\wuhao 82 | % \begin{entrylist} 83 | % \entry {2000.08 $\sim$ 2004.07} {就读于西安电子科技大学电子工程学院电子信息工程专业,获工学学士学位} 84 | % \entry {2001.08 $\sim$ 2005.07}{就读于西安电子科技大学电子工程学院电子信息工程专业,获工学硕士士学位} 85 | % \entry {2008.08 $\sim$}{西安电子科技大学电子工程学院信号与信息处理专业博士研究生} 86 | % \end{entrylist}} 87 | % \vspace{4ex} 88 | 89 | % \noindent\textbf{3. 攻读博士学位期间的研究成果} 90 | % \setlength{\parindent}{1.2em} 91 | % \setlength{\parindent}{1em} 92 | 93 | % \wuhao{ 94 | % \textbf{3.1 发表的学术论文} 95 | % \begin{enumerate}[{[}1{]}] 96 | % \item XXX, XXX, XXX. et al. Rapid development technique for drip irrigation emitters[J]. RP Journal,2003,9 (2): 104-110.(SCI: 672CZ, EI: 03187452127) 97 | % \item XXX,XXX,XXX.基于快速成型制造的滴管快速制造技术研究[J].西安交通大学学报,2001,15(9):935-939.(EI:02226959521) 98 | % \end{enumerate} 99 | 100 | % \textbf{3.2 发明专利和科研情况} 101 | 102 | % \begin{enumerate}[{[}1{]}] 103 | % \item XXX,XXX,XXX等.专利名称[P].国别,专利种类,专利号,2006.8. 104 | % \item XXX,XXX,XXX等.科研项目名称.陕西省科技进步三等奖,2003,12. 105 | % \item XXX项目,项目名称,起止时间,完成情况,作者贡献. 106 | % \end{enumerate} 107 | % } 108 | 109 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 110 | %%% achievements.tex ends here 111 | -------------------------------------------------------------------------------- /examples/acknowledgments.tex: -------------------------------------------------------------------------------- 1 | %%% acknowledgments.tex --- 2 | %% 3 | %% Filename: acknowledgments.tex 4 | %% Author: Fred Qi 5 | %% Created: 2012-11-26 14:09:16(-0700) 6 | %% 7 | %% Last-Updated: 2016-02-09 14:09:58(-0700) [by Fred Qi] 8 | %% Update #: 8 9 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 10 | %% 11 | %%% Commentary: 12 | %% 13 | %% 14 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 15 | %% 16 | %%% Change Log: 17 | %% 18 | %% 19 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 20 | 21 | \begin{acknowledgments} 22 | 23 | 在此论文完成之际,... 谨向 ... 的人表示由衷的感谢! 24 | 25 | 首先,我要衷心感谢我的指导老师... 26 | 27 | ... 28 | 29 | 感谢齐飞副教授提供的 \xduthesis{} 模版,它的存在让我的论文写作轻松自在了许多, 30 | 让我的论文格式规整漂亮了许多。 31 | 32 | \end{acknowledgments} 33 | 34 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 35 | %%% acknowledgments.tex ends here 36 | -------------------------------------------------------------------------------- /examples/appendix01.tex: -------------------------------------------------------------------------------- 1 | %% ---------------------------------------------------------------------- 2 | %% START OF FILE 3 | %% ---------------------------------------------------------------------- 4 | %% 5 | %% Filename: appendix01.tex 6 | %% Author: Fred Qi 7 | %% Created: 2013-01-18 20:20:46(+0800) 8 | %% 9 | %% ---------------------------------------------------------------------- 10 | %%% CHANGE LOG 11 | %% ---------------------------------------------------------------------- 12 | %% Last-Updated: 2015-05-14 20:59:33(+0300) [by Fred Qi] 13 | %% Update #: 32 14 | %% ---------------------------------------------------------------------- 15 | 16 | 17 | \chapter[2014年版研究生学位论文撰写要求]{西安电子科技大学研究生学位论文撰写要 18 | 求\\(2014年修订)} 19 | \label{cha:guidance-graduates} 20 | 21 | 学位论文是体现作者从事科学研究取得的创造性成果和创新见解,并以此为内容撰写的、作 22 | 为提出申请授予相应的学位评审用的学术论文。为统一规范我校研究生学位论文撰写和编辑 23 | 格式,按照国家标准《学位论文编写规则》 (GB/T 7713.1--2006)规定,现对我校研究生 24 | 学位论文撰写要求如下: 25 | 26 | \section{研究生学位论文撰写的总体要求} 27 | 28 | 研究生学位论文必须是学位申请者本人在导师的指导下独立完成的学术成果,要求立论正确, 29 | 推理严谨,数据可靠,层次分明,文字通畅,不得抄袭和剽窃他人成果。研究生学位论文的 30 | 撰写语言为中文和英文两种,硕士学位论文篇幅一般不低于3万字,博士学位论文篇幅一般 31 | 不低于5万字。 32 | 33 | 研究生学位论文中使用的术语、符号、代号必须全文统一并符合规范化要求,计量单位一律 34 | 采用国务院1984年2月27日发布的《中华人民共和国法定计量单位》标准。 35 | 36 | \section{研究生学位论文撰写的内容要求} 37 | 38 | 我校研究生学位论文包括以下几个部分: 39 | 40 | \subsection{封面} 41 | 42 | \begin{enumerate} 43 | \item 题目:题目是以最恰当、最简明的词语反映论文中最重要的特定内容的逻辑组合,力 44 | 求简短切题。中文题目(包括副标题和标点符号)一般不超过20个字,英文题目一般不超 45 | 过10个实词。 46 | \item 责任者姓名:包括论文作者姓名、指导教师姓名及职称(博士学位论文、学术型和同 47 | 等学力硕士学位论文)以及学校、企业导师姓名及职称(专业学位硕士学位论文)。 48 | \item 一级学科和二级学科(博士学位论文、学术型和同等学力硕士学位论文):学科名称 49 | 的填写必须严格按照国务院学位委员会1997年颁布的《授予博士、硕士学位和培养研究生 50 | 的学科、专业目录》的规定填写。 51 | \item 领域(专业学位硕士学位论文):按照专业学位领域填写,如电子与通信工程、计算 52 | 机技术、机械工程等。 53 | \item 申请学位类别:按照学科门类和学位层次填写,如工学博士、工学硕士、工程硕士、 54 | 工商管理硕士等。 55 | \item 提交学位论文日期:填写学位论文送审的日期。 56 | \end{enumerate} 57 | 58 | 学位论文题目居于封面空白处中间位置,字体为宋体,字号为二号加粗。作者姓名、导师姓 59 | 名职称、一级学科、二级学科、领域、申请学位类别、提交学位论文日期的标题字体为黑体, 60 | 字号为四号加粗,具体内容的字体为宋体,字号为四号加粗。博士学位论文封面中缝字体为 61 | 黑体,字号为小四号加粗。 62 | 63 | \subsection{题名页} 64 | 65 | 包括中文题名页和英文题名页,主要由学校代码、分类号、学号、密级、“论文题目”、“作 66 | 者姓名”、“一级学科”、“二级学科”(博士学位论文、学术型和同等学力硕士学位论文)、 67 | “领域”(专业学位硕士学位论文)、“申请学位类别”、“指导教师姓名、职称”(博士学位论 68 | 文、学术型和同等学力硕士学位论文)、“学校、企业导师姓名、职称”(专业学位硕士学位 69 | 论文)以及“论文提交日期”等部分组成。撰写方式见《西安电子科技大学博士/硕士/专业学 70 | 位硕士学位论文模板》范例。 71 | 72 | \begin{enumerate} 73 | \item 学校代码:指本单位编号,我校代码是“10701”。 74 | \item 分类号:指在《中国图书资料分类法》中的分类号(填写前四位即可),可在校图书 75 | 馆网站上查询。 76 | \item 学号:按照入学时研究生院编制的统一编号填写。 77 | \item 密级:密级由导师确定,分为公开和秘密两种。 78 | \end{enumerate} 79 | 80 | 中文题名页中的学校代码、分类号、学号和密级的字体为宋体,字号为五号加粗;学位论文 81 | 题目字体为宋体,字号为二号加粗;作者姓名、导师姓名职称、一级学科、二级学科、领域、 82 | 申请学位类别、提交学位论文日期的标题和具体内容的字体为宋体,标题字号为四号加粗, 83 | 具体内容的字号为四号不加粗。 84 | 85 | 英文题名页中的学科填写一级学科(专业学位填写领域),学位论文题目字体为Times New 86 | Roman,字号二号加粗,其他内容的字体为Times New Roman,字号三号。 87 | 88 | \subsection{声明} 89 | 90 | 是对学位论文创新性和使用授权的声明和说明,论文提交图书馆和存档时作者本人和指导教 91 | 师必须签名确认。 92 | 93 | \subsection{摘要} 94 | 95 | 摘要是学位论文的内容不加注释和评论的简短陈述,简明扼要陈述学位论文的研究目的、内 96 | 容、方法、成果和结论,重点突出学位论文的创造性成果和观点。摘要包括中文摘要和英文 97 | 摘要,中文摘要力求精炼准确,硕士学位论文中文摘要字数一般为1000字左右,博士学位论 98 | 文中文摘要字数一般为1500字左右。英文摘要内容与中文摘要内容保持一致,翻译力求简明 99 | 精准。摘要页的下方注明论文的关键词和论文类型,关键词一般为3~5个,关键词和关键词 100 | 之间用逗号并空一格;论文类型一般分为2种:应用基础研究类和基础研究类。全日制工程 101 | 硕士学位论文类型分为8种:工程(规划)设计、调研报告、应用基础技术、实用新型技术、 102 | 应用软件技术、技术报告、工程(项目)管理和案例分析以及技术论文,具体要求见《西安 103 | 电子科技大学全日制工程硕士学位论文写作要求及范文》。 104 | 105 | 中文摘要标题字体为宋体,字号为三号加粗,上下各空一行;正文字体为宋体,字号为小四 106 | 号;关键词和正文之间空一行,关键词和论文类型字体为宋体,字号为五号,标题加粗。英 107 | 文摘要标题字体为Times New Roman,字号为三号加粗,上下各空一行;正文的每一段落首 108 | 行不空格,段落与段落之间空一行;正文字体为Times New Roman,字号为小四号;关键词 109 | 和论文类型字体为Times New Roman,字号为五号,标题加粗。 110 | 111 | \subsection{插图索引} 112 | 113 | 学位论文中插图的目录索引。插图索引标题字体为宋体,字号为三号加粗,上下各空一行; 114 | 正文内容字体为宋体,字号为小四号。 115 | 116 | \subsection{表格索引} 117 | 118 | 学位论文中表格的目录索引。表格索引标题字体为宋体,字号为三号加粗,上下各空一行; 119 | 正文内容字体为宋体,字号为小四号。 120 | 121 | \subsection{符号对照表} 122 | 123 | 学位论文中符号代表的意义及单位(或量纲)的说明。符号对照表标题字体为宋体,字号为 124 | 三号加粗,上下各空一行;正文内容字体为宋体,字号为小四号。 125 | 126 | \subsection{缩略语对照表} 127 | 128 | 学位论文中缩略语代表意义的说明。缩略语对照表标题字体为宋体,字号为三号加粗,上下 129 | 各空一行;正文内容中文字体为宋体,字号为小四号,英文字体为Times New Roman,字号 130 | 为小四号。 131 | 132 | \subsection{目录} 133 | 134 | 目录是学位论文的提纲,是论文各组成部分的小标题,应分别依次列出并注明页码。各级标 135 | 题分别以第一章、1.1、1.1.1等数字依次标出,目录中最多列出三级标题,正文中如果确需 136 | 四级标题,用1)、2)形式标出。学位论文的前置部分(摘要、插图索引、表格索引、符号 137 | 对照表、缩略语对照表)和学位论文的主体部分(正文、参考文献、致谢、作者简介)都要 138 | 在目录中列出。 139 | 140 | 目录标题字体为宋体,字号为三号加粗,上下各空一行;目录内容字体为宋体,字号为小四 141 | 号。 142 | 143 | \subsection{正文} 144 | 145 | 正文是学位论文的主体和核心部分。正文的一级标题居中排列,字体为宋体,字号为三号加 146 | 粗,上下各空一行;二级标题段前不空格,字体为宋体,字号为小三号,段前设置为“自动”; 147 | 三级标题段前空2字符,字体为宋体,字号为四号;正文内容字体为宋体,字号为小四号。 148 | 正文一般包括以下几个方面: 149 | 150 | \paragraph{1.绪论} 151 | 152 | 绪论是学位论文主体部分的开端,切忌与摘要雷同或成为摘要的注解。绪论除了要说明论文 153 | 的研究目的、研究方法和研究结果外,还应评述与论文研究内容相关的国内外研究现状和相 154 | 关领域中已有的研究成果;其次还要介绍本项研究工作的前提和任务、理论依据、实验基础、 155 | 涉及范围、预期结果以及该论文在已有基础上所要解决的问题。 156 | 157 | \paragraph{2.各章节} 158 | 159 | 各章节一般由标题、文字叙述、图、表、公式等构成,章节内容总体要求立论正确,逻辑清 160 | 晰,数据可靠,层次分明,文字通畅,编排规范。论文中若有与指导教师或他人共同研究的 161 | 成果,必须明确标注;如果引用他人的结论,必须明确注明出处,并与参考文献保持一致。 162 | 163 | (1)图:包括曲线图、示意图、流程图、框图等。图序号一律用阿拉伯数字分章依序编码, 164 | 如:图1.3、图2.11。每一个图应有简短确切的图名,连同图序号置于图的正下方。图名称 165 | 字体为宋体,字号为五号。图中坐标上标注的符号和缩略词必须与正文保持一致。引用图应 166 | 在图题右上角标出文献来源;曲线图的纵横坐标必须标注“量、标准规定符号、单位”,这三 167 | 者只有在不必要标明(如无量纲等)的情况下方可省略。 168 | 169 | (2)表:包括分类项目和数据,一般要求分类项目由左至右横排,数据从上到下竖列。分 170 | 类项目横排中必须标明符号或单位,竖列的数据栏中不要出现“同上”、“同左”等词语,一律 171 | 要填写具体的数字或文字。表序号一律用阿拉伯数字分章依序编码,如:表2.5、表10.3。 172 | 每一表应有简短确切的题名,连同表序号置于表的正上方。表名称字体为宋体,字号为五号。 173 | 174 | (3)公式:正文中的公式、算式、方程式等必须编排序号,序号一律用阿拉伯数字分章依序 175 | 编码,如:(3-32)、(6-21)。对于较长的公式,另起行居中横排,只可在符号处( 176 | 如:+、-、*、/、$<$ $>$等)转行。公式序号标注于该式所在行(当有续行时,应标注于最后一 177 | 行)的最右边。连续性的公式在“=”处排列整齐。大于999的整数或多于三位的小数,一律用 178 | 半个阿拉伯数字符的小间隔分开;小于1的数应将0置于小数点之前。 179 | 180 | (4)计量单位:学位论文中出现的计量单位一律采用国务院1984年2月27日发布的《中华人 181 | 民共和国法定计量单位》标准。 182 | 183 | \paragraph{3. 结论} 184 | 是学位论文最终和总体的结论,不是正文中各段的小结的简单重复,应准确、精炼、完整, 185 | 其中要着重阐述作者研究的创造性成果以及在本研究领域中的重大意义,还可提出有待进一 186 | 步研究和探讨的问题。 187 | 188 | \subsection{参考文献} 189 | 190 | 参考文献是文中引用的有具体文字来源的文献集合,博士学位论文参考文献一般不少于80篇, 191 | 硕士学位论文参考文献一般不少于30篇。参考文献标题字体为宋体,字号为三号加粗,上下 192 | 各空一行;参考文献若是中文文献,字体为宋体,字号为五号,若是英文文献,字体为 193 | Times New Roman,字号为五号。学位论文的撰写要本着严谨求实的科学态度,凡有引用他 194 | 人成果之处,引用处右上角用方括号标注阿拉伯数字编排的序号(必须与参考文献一致), 195 | 同时所有引用的文献必须用全称,不能缩写,并按论文中所引用的顺序列于文末。引用文献 196 | 的作者不超过3位时全部列出,超过时列前3位,后加“等”字或“et al.”。参考文献的著录要 197 | 符合《文后参考文献著录规则》(GB/T7714-2005)要求: 198 | 199 | \begin{enumerate} 200 | \item 期刊(报纸)参考文献:[序号] 主要责任者.文献名称[文献类型标 201 | 志].期刊(报纸)名,年份, 卷(期):引文页码. 202 | \item 专著参考文献:[序号] 主要责任者.专著名称[文献类型标志].其他责任者.出版地:出 203 | 版单位,出版年份:引文页码. 204 | \item 专利参考文献:[序号] 主要责任者.专利名称[文献类型标志].国别,专利种类,专利 205 | 号,出版日期. 206 | \item 技术标准参考文献:[序号] 起草责任者.标准代号-标准顺序号-发布年.标准名称[文 207 | 献类型标志].出版地:出版单位,出版年份. 208 | \item 电子参考文献:[序号] 主要责任者.题名[文献类型标志].[引用日期].获取和访问路 209 | 径. 210 | \item 会议论文集参考文献:[序号] 析出责任者.析出题名[文献类型标志]//编者.论文 211 | 集名.(供选择项:会议名,会址,开会年)出版地:出版者,出版年份:引文页码. 212 | \item 学位论文参考文献:[序号] 主要责任者.文献题名[文献类型标志].保存地: 213 | 保存单位,年份. 214 | \item 国际、国家标准参考文献:[序号] 标准代号.标准名称[文献类型标志].出版 215 | 地:出版者,出版年. 216 | \item 报告类参考文献:[序号] 主要责任者.文献题名[文献类型标志].报告地:报告 217 | 会主办单位,年份. 218 | \end{enumerate} 219 | 220 | 参考文献著录中的文献类别代码: 221 | \begin{enumerate} 222 | \item 普通图书:M 223 | \item 会议录:C 224 | \item 汇编:G 225 | \item 报纸:N 226 | \item 期刊:J 227 | \item 学位论文:D 228 | \item 报告:R 229 | \item 标准:S 230 | \item 专利:P 231 | \item 数据库:DB 232 | \item 计算机程序:CP 233 | \item 电子公告:EB 234 | \end{enumerate} 235 | 236 | 参考文献的具体著录方式参见《西安电子科技大学博士/硕士/专业学位硕士学位论文模板》 237 | 范例。 238 | 239 | \subsection{致谢} 240 | 241 | 作者对完成论文提供帮助和支持的组织和个人表示感谢的文字记载。 242 | 243 | \subsection{作者简介} 244 | 245 | 对作者的简要介绍,主要包括个人基本情况、教育背景、攻读博士/硕士学位期间的研究成 246 | 果等三个部分内容。攻读博士/硕士学位期间的研究成果是指本人攻读博士/硕士学位期间发 247 | 表(或录用)的学术论文,获得的科研成果、专利以及参与的科研项目等,分别按时间顺序 248 | 列出。其中,发表论文、发明专利、科研获奖只列出作者排名前3名的,参与的科研项目按 249 | 重要程度最多列出5项。此部分内容严格按照《西安电子科技大学博士/硕士/专业学位硕士 250 | 学位论文模板》范例书写。 251 | 252 | \subsection{其他} 253 | 254 | 学位论文中如果需要注释,可作为脚注在页下分别著录,切忌在文中注释;如果有附录部分, 255 | 可编写在正文之后,与正文连续编页码,每一附录均另页起,附录依次用大写英文字母A、B、 256 | C……编序号,如:附录A、附录B等。 257 | 258 | \section{ 研究生学位论文的编辑、打印、装订要求} 259 | 260 | \subsection{学位论文封面的编辑和打印要求} 261 | 262 | 学位论文的封面由研究生院按国家规定统一制定印刷,封面内容必须打印,不得手写。 263 | 264 | \subsection{学位论文的版面设置要求} 265 | 266 | \begin{enumerate} 267 | \item 行间距:固定值20磅(题名页除外); 268 | \item 字符间距:标准; 269 | \item 页眉设置:单面页码页眉标题为章节题目,每一章节的起始页必须在单面页码,双面 270 | 页码页眉标题统一为“西安电子科技大学博/硕士学位论文”,页眉标题居中排列,字体为 271 | 宋体,字号为五号。 272 | \item 页码设置:学位论文的前置部分和主体部分分开设置页码,前置部分的页码用罗马数 273 | 字标识,字体为Times New Roman,字号为小五号;主体部分的页码用阿拉伯数字标识, 274 | 字体为宋体,字号为小五号。页码统一居于页面底端中部,不加任何修饰; 275 | \item 页面设置:为了便于装订,要求每页纸的四周留有足够的空白边缘,其中页边距为 276 | 上3厘米、下2厘米;内侧3厘米、外侧2厘米;装订线为1厘米;页眉2厘米,页脚1.75厘 277 | 米。 278 | \end{enumerate} 279 | 280 | \section{学位论文的打印、装订要求} 281 | 282 | \begin{enumerate} 283 | \item 打印:学位论文必须用A4纸页面排版,双面打印; 284 | \item 装订:依次按照中文题名页、英文 285 | 题名页、声明、摘要、插图索引、表格索引、符号对照表、缩略语对照表、目录、正文、 286 | 附录(可选)、参考文献、致谢、作者简介的顺序,用学校统一印制的学位论文封面装订 287 | 成册。盲审论文必须删除致谢部分以及封面和研究成果中的作者和指导教师姓名。 288 | \end{enumerate} 289 | \section{其他说明} 290 | 291 | \begin{enumerate} 292 | \item 学位论文模板为简单范例,仅供参考,论文的编辑、排版、打印等以本撰写要求为 293 | 准; 294 | \item 本规定由研究生院负责解释,从申请2014年12月毕业和授位的研究生开始执行,其它 295 | 有关规定同时废止。学位申请人员必须严格按照本规定撰写学位论文,不遵照本规定 296 | 者, 一律不予送审学位论文。研究生毕业论文撰写要求参照学位论文撰写要求执行。 297 | \end{enumerate} 298 | 299 | \begin{flushright} 300 | 研究生院\\ 2014年11月 301 | \end{flushright} 302 | 303 | \chapter{公式推导} 304 | 305 | \section{一些常用公式} 306 | \label{sec:someeq} 307 | 308 | $$ c^{2} = a^{2} + b^{2} $$ 309 | 310 | \section{一些重要公式} 311 | \label{sec:importanteq} 312 | 313 | $$ E=mc^{2}$$ 314 | 315 | $$ e^{i\theta} = \frac{cos\theta + i \sin\theta}{2} $$ 316 | 317 | 318 | %% ---------------------------------------------------------------------- 319 | %%% END OF FILE 320 | %% ---------------------------------------------------------------------- -------------------------------------------------------------------------------- /examples/biography.tex: -------------------------------------------------------------------------------- 1 | %% ---------------------------------------------------------------------- 2 | %% START OF FILE 3 | %% ---------------------------------------------------------------------- 4 | %% 5 | %% Filename: biography.tex 6 | %% Author: Fred Qi 7 | %% Created: 2012-12-14 17:52:29(+0800) 8 | %% 9 | %% ---------------------------------------------------------------------- 10 | %%% CHANGE LOG 11 | %% ---------------------------------------------------------------------- 12 | %% Last-Updated: 2016-02-09 15:16:51(-0700) [by Fred Qi] 13 | %% Update #: 22 14 | %% ---------------------------------------------------------------------- 15 | 16 | \begin{cauthorbio}{\includegraphics[height=1.25in]{photo}} 17 | 某某某,某省某市人。XXXX年毕业于某某某大学、获学士学位。简要介绍攻读硕士、博士学位 18 | 经历。主要研究方向:略。指导老师:某某某~教授。 19 | 20 | 代表性成果及经历:(获奖、专利、专著、论文等信息、参与或完成实际工程、访学经历)。 21 | 22 | 2012年版研究生学位论文中要求提供学位申请人的中英文科研简历,并提供照片。 23 | 在2014年修改后无此要求。排版学术简历的环境在模板中保留了下来,供必要的时候使 24 | 用。 25 | 26 | 用于排版中英文简历的环境分别为 27 | \begin{itemize} 28 | \item \texttt{cauthorbio} 29 | \item \texttt{eauthorbio}. 30 | \end{itemize} 31 | 需要注意的是中文简历需要提供作者脸部照片。具体使用方法 32 | 见\texttt{examples/biography.tex}。 33 | % \vspace{1cm} 34 | \end{cauthorbio} 35 | 36 | \begin{eauthorbio} 37 | \hspace{0.6cm} Author biography in English. 38 | 39 | There is a requirement to provide the author's biography with a portrait photo 40 | in the thesis writing guidelines published in 2012. But this requirement was 41 | removed in the guidelines updated in 2014. However, the environments for 42 | typesetting the author's biography was kept in the template for later use. 43 | 44 | The environments designed for biography are 45 | \begin{itemize} 46 | \item \texttt{cauthorbio} 47 | \item \texttt{eauthorbio}. 48 | \end{itemize} 49 | Please note that the two environment are designed differently since the 50 | Chinese version are with the author's portrait photo. An example is provided 51 | in the file \texttt{examples/biography.tex}. 52 | \end{eauthorbio} 53 | 54 | %% ---------------------------------------------------------------------- 55 | %%% END OF FILE 56 | %% ---------------------------------------------------------------------- -------------------------------------------------------------------------------- /examples/ch01-intro.tex: -------------------------------------------------------------------------------- 1 | %% ---------------------------------------------------------------------- 2 | %% START OF FILE 3 | %% ---------------------------------------------------------------------- 4 | %% 5 | %% Filename: ch01-intro.tex 6 | %% Author: Fred Qi 7 | %% Created: 2011-03-14 18:22:25(+0800) 8 | %% 9 | %% ---------------------------------------------------------------------- 10 | %%% CHANGE LOG 11 | %% ---------------------------------------------------------------------- 12 | %% Last-Updated: 2014-11-24 16:57:28(+0300) [by Fred Qi] 13 | %% Update #: 43 14 | %% ---------------------------------------------------------------------- 15 | 16 | \chapter{\texorpdfstring{\XeLaTeX{}}{XeLaTeX}模板简介} 17 | \label{cha:intro} 18 | 19 | 本模板的示例论文体例结构仅供学习使用本模板之用,并不是撰写学位论文的所必需遵守的 20 | 模式。具体写作时请根据自己所做的工作内容组织文章结构。 21 | 22 | \section{学位论文格式要求} 23 | \label{sec:motivation} 24 | 25 | 在这里介绍论文工作的目标,即做什么,为什么做。 26 | 27 | \section{\texorpdfstring{\XeLaTeX{}}{XeLaTeX}模板简介} 28 | \label{sec:related-works} 29 | 30 | 本文后续部分安排如下,本模板的示例论文体例结构仅供学习使用本模板之用,并不是撰写 31 | 学位论文的所必需遵守的模式。具体写作时请根据自己所做的工作内容组织文章结构。 32 | 33 | \section{本文组织结构} 34 | \label{sec:organization} 35 | 36 | \subsection{文章结构} 37 | \label{sec:suborganization} 38 | 39 | 本文后续部分安排如下,本模板的示例论文体例结构仅供学习使用本模板之用,并不是撰写 40 | 学位论文的所必需遵守的模式。具体写作时请根据自己所做的工作内容组织文章结构。 41 | 42 | 43 | %%% Local Variables: 44 | %%% TeX-master: "thesis-doctor.tex" 45 | %%% End: 46 | %% ---------------------------------------------------------------------- 47 | %%% END OF FILE 48 | %% ---------------------------------------------------------------------- -------------------------------------------------------------------------------- /examples/ch02-options.tex: -------------------------------------------------------------------------------- 1 | %% ---------------------------------------------------------------------- 2 | %% START OF FILE 3 | %% ---------------------------------------------------------------------- 4 | %% 5 | %% Filename: ch02-options.tex 6 | %% Author: Fred Qi 7 | %% Created: 2012-12-26 09:15:56(+0800) 8 | %% 9 | %% ---------------------------------------------------------------------- 10 | %%% CHANGE LOG 11 | %% ---------------------------------------------------------------------- 12 | %% Last-Updated: 2015-05-14 20:48:32(+0300) [by Fred Qi] 13 | %% Update #: 77 14 | %% ---------------------------------------------------------------------- 15 | 16 | 17 | \chapter{\texorpdfstring{\XeLaTeX{}}{XeLaTeX}% 18 | 论文模板的功能选项} 19 | \label{cha:options} 20 | 21 | 本章介绍本论文模板提供的可用功能选项。在使用模板时,最先声明的是使用文档类与及选 22 | 项,典型的形式如下: 23 | \begin{lstlisting}[emph={doctor,print}, emphstyle=\textbf] 24 | \documentclass[doctor,print]{xduthesis} 25 | \end{lstlisting} 26 | 其中使用逗号分割开的内容\texttt{doctor,print}为模板的调用选项。下面分别进行介绍。 27 | 28 | \section{学位选项} 29 | \label{sec:degree} 30 | 31 | 学校对不同学位论文模板格式有不同的规定。为此提供学位选项使模板按照对应学位论文的 32 | 格式要求进行排版。目前模板支持从本科到博士各个阶段的学位论文格式,提供了下述选 33 | 项: 34 | 35 | \begin{description} 36 | \item [\texttt{bachelor}] 学士学位论文(即本科毕业设计论文) 37 | \item [\texttt{master}] 学术型硕士学位论文 38 | \item [\texttt{masterpro}] 专业型硕士学位论文 39 | \item [\texttt{doctor}] 博士学位论文 40 | \end{description} 41 | 42 | \section{打印选项} 43 | \label{sec:print} 44 | 45 | 使用\texttt{print}选项后论文章节排版为单开(即章的首页保持为奇数页);为双面打印 46 | 方便,还在需要的部分插入了空白页;论文中的超链接使用黑色,以便清晰打印。在电脑上 47 | 保存与查看时,可以不选该选项。 48 | 49 | 该选项默认为关闭,此时章节排版连续,章节之间不会插入空白页;论文中的公式、图表及 50 | 参考文献等引用会加入超链接,实现跳转;超链接使用彩色显示。这些设置非常便于在电脑 51 | 上查看,建议在编辑阶段使用。当最终打印交付纸质版本时, 52 | 请\textbf{务必}打开\texttt{print}选项,以便生成符合学校排版要求的论文。 53 | 54 | 电子阅读的时代已经到来,\texttt{print}开关选项的设置是为了更多的使用电子文档的便 55 | 利特性。因此后续的某些特性可能会导致与学校排版要求的不一致。请以打印选项开启的排 56 | 版结果为准检查。 57 | 58 | 59 | \section{其他选项} 60 | \label{sec:others} 61 | 62 | 63 | \begin{description} 64 | \item [\texttt{english}] 此选项供使用英文撰写学位论文时使用。启用此选项后,论文 65 | 中除页眉页脚中的“西安电子科技大学某某学位论文”字样保持中文之外,其他部分均使用 66 | 英文。 67 | \item [\texttt{msfonts}] 如果操作系统中安装了微软公司的中文字体时,使用相应字体排版 68 | 论文。为确保论文能够正确排版,需要确认操作系统中安装了宋体(SimSun)、黑体 69 | (SimHei)、以及楷体(Kaiti\_GB2312)等字体。进行确认时可以使用命令 \texttt{fc-list 70 | :lang=zh-cn} 查看确认。此选项不能与 \texttt{adobefonts} 选项同时使用。 71 | \item [\texttt{adobefonts}] 如果操作系统中安装了 Adobe 公司的中文字体时,使用相 72 | 应字体排版论文。为了正确排版论文,需要安装宋体(Adobe Song Std)与黑体(Adobe 73 | Heiti Std)两种字体。此选项与 \texttt{msfonts} 不可同时使用。此选项为默认使用的 74 | 字体选项。 75 | \item [\texttt{secret}] 是否为涉密论文,目前此选项对论文排版没有作用。只要使 76 | 用 \texttt{$\backslash$secretlevel} 命令设置了密级,论文封面的相应部分就会显示 77 | 密级。 78 | \end{description} 79 | % \DeclareOption{secret}{\xdu@secrettrue} 80 | % \DeclareOption{english}{\xdu@englishtrue} 81 | % \DeclareOption{print}{\xdu@printtrue} 82 | % \DeclareOption{msfonts}{\xdu@msfontstrue} 83 | % \DeclareOption{adobefonts}{\xdu@msfontsfalse} 84 | 85 | 86 | %% ---------------------------------------------------------------------- 87 | %%% END OF FILE 88 | %% ---------------------------------------------------------------------- -------------------------------------------------------------------------------- /examples/ch03-frontmatter.tex: -------------------------------------------------------------------------------- 1 | %% ---------------------------------------------------------------------- 2 | %% START OF FILE 3 | %% ---------------------------------------------------------------------- 4 | %% 5 | %% Filename: ch03-frontmatter.tex 6 | %% Author: Fred Qi 7 | %% Created: 2012-12-26 09:12:47(+0800) 8 | %% 9 | %% ---------------------------------------------------------------------- 10 | %%% CHANGE LOG 11 | %% ---------------------------------------------------------------------- 12 | %% Last-Updated: 2016-02-08 16:55:23(-0700) [by Fred Qi] 13 | %% Update #: 53 14 | %% ---------------------------------------------------------------------- 15 | 16 | 17 | \chapter{论文的前置部分} 18 | \label{cha:frontmatter} 19 | 20 | 论文的前置部分是指~\LaTeX{}~文档中命令\texttt{$\backslash$mainmatter}之前的部分。 21 | 研究生学位论文的前置部分包括如下内容: 22 | \begin{itemize} 23 | \item 封面 24 | \item 题名页(中英文) 25 | \item 声明(学位论文创新性声明和使用授权说明) 26 | \item 摘要(中英文) 27 | \item 插图索引 28 | \item 表格索引 29 | \item 符号对照表 30 | \item 缩略语对照表 31 | \item 目录 32 | \end{itemize} 33 | 关于这些内容的具体写作要求,请参考2014年版《西安电子科技大学研究生学位论文撰写要 34 | 求》。为方便起见,本文档附录~\ref{cha:guidance-graduates}提供了该要求的内容。 35 | 36 | {\color{red} \textbf{TODO}\\ 37 | 增加本科学位论文前置部分内容的说明,补充本科毕业设计论文撰写要求。} 38 | 39 | 论文前置部分多为表格式的内容,需要使用模板的同学提供相应的内容。为实现论文前置部 40 | 分的正确排版,本模板定义了一系列的命令与环境。 41 | 42 | \section{需要填写的内容} 43 | \label{sec:db-commands} 44 | 45 | 需要填写的内容 46 | 47 | \begin{description} 48 | \item [\texttt{universitycode}] 学校代码 49 | \item [\texttt{catelognumber}] 分类号 50 | \item [\texttt{classid}] 班号 51 | \item [\texttt{studentid}] 学号 52 | \item [\texttt{secretlevel}] 密级 53 | \item [\texttt{ctitle}] 中文题目 54 | \item [\texttt{etitle}] 英文题目 55 | \item [\texttt{cschool}] 学院/系别 56 | \item [\texttt{cmajor}] 专业 57 | \item [\texttt{cfirstdiscipline}] 一级学科 58 | \item [\texttt{efirstdiscipline}] 一级学科英文 59 | \item [\texttt{cseconddiscipline}] 二级学科 60 | \item [\texttt{eseconddiscipline}] 二级学科英文 61 | \item [\texttt{cauthor}] 作者名 62 | \item [\texttt{eauthor}] 作者名英文(拼音) 63 | \item [\texttt{cdegree}] 学位 64 | \item [\texttt{edegree}] 学位英文 65 | \item [\texttt{csupervisor}] 导师姓名 66 | \item [\texttt{esupervisor}] 导师姓名英文(拼音) 67 | \item [\texttt{ccosupervisor}] 副导师/合作导师/企业导师姓名 68 | \item [\texttt{ecosupervisor}] 副导师/合作导师/企业导师姓名英文(拼音) 69 | \item [\texttt{cdate}] 论文提交日期 70 | \item [\texttt{edate}] 论文提交日期英文 71 | \item [\texttt{cthesistype}] 论文类型 72 | \item [\texttt{ethesistype}] 论文类型英文 73 | \end{description} 74 | 75 | \section{论文封面} 76 | \label{sec:cover} 77 | 78 | \section{作者简介} 79 | \label{sec:author} 80 | 81 | \section{中文摘要} 82 | \label{sec:abstract-chs} 83 | 84 | 85 | \section{英文摘要} 86 | \label{sec:abstract-eng} 87 | 88 | \section{目录} 89 | \label{sec:toc} 90 | 91 | \texttt{$\backslash$tableofcontents} 92 | 93 | 94 | %% ---------------------------------------------------------------------- 95 | %%% END OF FILE 96 | %% ---------------------------------------------------------------------- -------------------------------------------------------------------------------- /examples/ch04-mainmatter.tex: -------------------------------------------------------------------------------- 1 | %% ---------------------------------------------------------------------- 2 | %% START OF FILE 3 | %% ---------------------------------------------------------------------- 4 | %% 5 | %% Filename: ch04-mainmatter.tex 6 | %% Author: Fred Qi 7 | %% Created: 2012-12-26 09:20:28(+0800) 8 | %% 9 | %% ---------------------------------------------------------------------- 10 | %%% CHANGE LOG 11 | %% ---------------------------------------------------------------------- 12 | %% Last-Updated: 2015-04-11 14:11:37(+0300) [by Fred Qi] 13 | %% Update #: 19 14 | %% ---------------------------------------------------------------------- 15 | 16 | \chapter{论文主体部分} 17 | \label{cha:mainmatter} 18 | 19 | 论文主体部分为各章节内容,通常结论一章,相关背景知识一章,具体方法两至四章,结论 20 | 一章。 21 | 22 | 各章节使用下述命令即可 23 | \begin{itemize} 24 | \item \texttt{chapter} 25 | \item \texttt{section} 26 | \item \texttt{subsection} 27 | \item \texttt{subsubsection} (必要的时候可以使用,通常不建议使用) 28 | \end{itemize} 29 | 30 | 31 | \section{测试插图、表格及其索引} 32 | \label{sec:testing} 33 | 34 | \begin{figure} 35 | \centering 36 | 37 | \caption{插图测试A} 38 | \label{fig:test:a} 39 | \end{figure} 40 | 41 | \subsection{随机小节} 42 | \label{sec:random-tf} 43 | 44 | \begin{table} 45 | \centering 46 | \begin{tabular}{ccccc} 47 | \hline 48 | Col 1 & Col 2 & Col 3 & Col 4 & Col 5\\ 49 | \hline 50 | \end{tabular} 51 | \caption{表格测试A} 52 | \label{tab:test} 53 | \end{table} 54 | 55 | 56 | \begin{table} 57 | \centering 58 | \begin{tabular}{ccccc} 59 | \hline 60 | \end{tabular} 61 | \caption{表格测试B} 62 | \label{tab:test:b} 63 | \end{table} 64 | 65 | 66 | \begin{figure} 67 | \centering 68 | 69 | \caption{插图测试B} 70 | \label{fig:test:b} 71 | \end{figure} 72 | 73 | 74 | \begin{figure} 75 | \centering 76 | 77 | \caption{Testing for English version list of figures with a very long caption.} 78 | \label{fig:test:english} 79 | \end{figure} 80 | 81 | 82 | \begin{table} 83 | \centering 84 | \begin{tabular}{cc} 85 | 86 | \end{tabular} 87 | \caption{A table for testing the English version list of tables with long 88 | caption. Try to make this caption longer than one line.} 89 | \label{tab:test:english} 90 | \end{table} 91 | 92 | 93 | \begin{table} 94 | \centering 95 | \begin{tabular}{cc} 96 | 97 | \end{tabular} 98 | \caption[Short table caption]{A table for testing the English version list of 99 | tables with long caption.} 100 | \label{tab:test:eng-short} 101 | \end{table} 102 | 103 | 104 | %% ---------------------------------------------------------------------- 105 | %%% END OF FILE 106 | %% ---------------------------------------------------------------------- -------------------------------------------------------------------------------- /examples/ch05-backmatter.tex: -------------------------------------------------------------------------------- 1 | %% ---------------------------------------------------------------------- 2 | %% START OF FILE 3 | %% ---------------------------------------------------------------------- 4 | %% 5 | %% Filename: ch05-backmatter.tex 6 | %% Author: Fred Qi 7 | %% Created: 2012-12-26 13:08:53(+0800) 8 | %% 9 | %% ---------------------------------------------------------------------- 10 | %%% CHANGE LOG 11 | %% ---------------------------------------------------------------------- 12 | %% Last-Updated: 2012-12-26 13:10:54(+0800) [by Fred Qi] 13 | %% Update #: 9 14 | %% ---------------------------------------------------------------------- 15 | 16 | 17 | \chapter{论文后置部分} 18 | \label{cha:backmatter} 19 | 20 | 主要包括: 21 | \begin{itemize} 22 | \item 表格索引(可选,非学位论文要求的必须部分) 23 | \item 图片索引(可选,非学位论文要求的必须部分) 24 | \item 公式索引(可选,非学位论文要求的必须部分) 25 | \item 参考文献 26 | \item 致谢 27 | \item 在学期间申请学位人员所取得的研究成果 28 | \end{itemize} 29 | 30 | %% ---------------------------------------------------------------------- 31 | %%% END OF FILE 32 | %% ---------------------------------------------------------------------- -------------------------------------------------------------------------------- /examples/ch06-bibliography.tex: -------------------------------------------------------------------------------- 1 | %% ---------------------------------------------------------------------- 2 | %% START OF FILE 3 | %% ---------------------------------------------------------------------- 4 | %% 5 | %% Filename: ch06-bibliography.tex 6 | %% Author: Fred Qi 7 | %% Created: 2012-12-26 13:11:58(+0800) 8 | %% 9 | %% ---------------------------------------------------------------------- 10 | %%% CHANGE LOG 11 | %% ---------------------------------------------------------------------- 12 | %% Last-Updated: 2012-12-26 13:37:34(+0800) [by Fred Qi] 13 | %% Update #: 6 14 | %% ---------------------------------------------------------------------- 15 | 16 | 17 | \chapter{参考文献} 18 | \label{cha:bibliography} 19 | 20 | 参考文献是把自己工作放入整个研究领域以至整个科学领域的参照,是他人完整理解整个论 21 | 文工作的桥梁。参考文献格式严格来讲,应该遵照国家标准执行。由于西安电子科技大学与 22 | IEEE研究领域相同,故目前使用IEEE会刊的参考文献格式。 23 | 24 | 25 | 在这里介绍与论文内容相关的他人工作。通常需要引用一些文献。下面内容可以做为引用文 26 | 献的例子\footnote{文献格式的工作尚未开始,拟基于\texttt{biblatex}实现文献引用,工 27 | 作量较大。}。 28 | 29 | 文献\onlinecite{lastname11:_examp_artic}给出了期刊文章的例 30 | 子,文献\onlinecite{ln111:_examp_confer_artic_title}则给出了会议文章的例子,另外 31 | 一个是学术专著\cite{book11:_examp_book_title}的例子。对期刊与会议文章,为避免期刊 32 | 名或会议名过长,常采用其缩写形式。IEEE给出了其期刊的标准缩写格式,如文 33 | 献\onlinecite{naseem_linear_2010}所给出的示例。这段内容请给 34 | 合~\texttt{refs.bib}~进行阅读。 35 | 36 | %% ---------------------------------------------------------------------- 37 | %%% END OF FILE 38 | %% ---------------------------------------------------------------------- -------------------------------------------------------------------------------- /examples/ch07-conclusions.tex: -------------------------------------------------------------------------------- 1 | %% ---------------------------------------------------------------------- 2 | %% START OF FILE 3 | %% ---------------------------------------------------------------------- 4 | %% 5 | %% Filename: ch06-conclusions.tex 6 | %% Author: Fred Qi 7 | %% Created: 2012-12-26 13:11:10(+0800) 8 | %% 9 | %% ---------------------------------------------------------------------- 10 | %%% CHANGE LOG 11 | %% ---------------------------------------------------------------------- 12 | %% Last-Updated: 2012-12-26 13:11:25(+0800) [by Fred Qi] 13 | %% Update #: 1 14 | %% ---------------------------------------------------------------------- 15 | 16 | 17 | \chapter{结论} 18 | \label{cha:conclusions} 19 | 20 | 21 | 22 | %% ---------------------------------------------------------------------- 23 | %%% END OF FILE 24 | %% ---------------------------------------------------------------------- -------------------------------------------------------------------------------- /examples/photo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredqi/xduthesis/3ad323e2bf49f5b6dc2e407821a12dba2c6e8302/examples/photo.png -------------------------------------------------------------------------------- /examples/refs.bib: -------------------------------------------------------------------------------- 1 | 2 | @Article{lastname11:_examp_artic, 3 | author = {FirstName LastName and FN2 LN2}, 4 | title = {Example Journal Article Title}, 5 | journal = {Example Journal}, 6 | year = 2011, 7 | volume = 15, 8 | number = 3, 9 | pages = {41--48}, 10 | month = {Mar.}} 11 | 12 | @article{naseem_linear_2010, 13 | title = {Linear Regression for Face Recognition}, 14 | volume = {32}, 15 | issn = {0162-8828}, 16 | doi = {10.1109/TPAMI.2010.128}, 17 | number = {11}, 18 | journal = IEEE_J_PAMI, 19 | author = {I. Naseem and R. Togneri and M. Bennamoun}, 20 | year = {2010}, 21 | keywords = {face recognition}, 22 | pages = {2106--2112} 23 | } 24 | 25 | @InProceedings{ln111:_examp_confer_artic_title, 26 | author = {FN1 LN1}, 27 | title = {Example Conference Article Title}, 28 | booktitle = {Example Conference Proceeding Title}, 29 | pages = {33--100}, 30 | year = 2011, 31 | address = {City, Nation}, 32 | month = {Feb.}} 33 | 34 | @Book{book11:_examp_book_title, 35 | author = {Author Book}, 36 | title = {Example Book Title}, 37 | publisher = {The Publisher}, 38 | year = 2011} 39 | 40 | @article{Marr75, 41 | title = {Approaches to Biological Information Processing}, 42 | volume = {190}, 43 | issn = {4217}, 44 | journal = {Science}, 45 | author = {Conrad, M. and Dal Cin, M. and Marr, D.}, 46 | month = {Aug.}, 47 | year = {1975}, 48 | pages = {875--876}, 49 | } 50 | 51 | @article{Marr76, 52 | title = {Early Processing of Visual Information}, 53 | volume = {275}, 54 | number = {942}, 55 | journal = {Philosophical Transactions of the Royal Society of London. 56 | Series B, Biological Sciences}, 57 | author = {D. Marr}, 58 | month = {Oct.}, 59 | year = {1976}, 60 | pages = {483--519}, 61 | } 62 | 63 | @article{Kastner00, 64 | title = {Mechanisms of visual attention in the human cortex}, 65 | volume = {23}, 66 | journal = {Annual review of neuroscience}, 67 | author = {Kastner, S. and Ungerleider, L. G.}, 68 | year = {2000}, 69 | pages = {315--341}, 70 | } 71 | 72 | @ARTICLE{Koch85, 73 | author = {C. Koch and S. Ullman}, 74 | title = {Shifts in Selection in Visual Attention: Toward the Underlying Neural 75 | Circuitry}, 76 | journal = {Human Neurobiology}, 77 | month = {}, 78 | year = {1985}, 79 | volume = {4}, 80 | pages = {219--227}, 81 | number = {4}, 82 | } 83 | 84 | @ARTICLE{Privitera00, 85 | author = {Claudio M. Privitera and Lawrence W. Stark}, 86 | title = {Algorithms for Defining Visual Region-of-Interesting: Comparison With 87 | Eye Fixations}, 88 | journal = IEEE_J_TPAMI, 89 | month = {Sep.}, 90 | year = {2000}, 91 | volume = {22}, 92 | pages = {970--982}, 93 | number = {9}, 94 | } 95 | 96 | @ARTICLE{Itti98, 97 | author = {Laurent Itti and Christof Koch and Ernst Niebur}, 98 | title = {A model of saliency-based visual attention for rapid scene analysis}, 99 | journal = IEEE_J_TPAMI, 100 | month = {Nov.}, 101 | year = {1998}, 102 | volume = {20}, 103 | pages = {1254--1259}, 104 | number = {11}, 105 | } 106 | 107 | @ARTICLE{Bruce09, 108 | author = {Neil D. B. Bruce and John K. Tsotsos}, 109 | title = {Saliency, attention, and visual search: An information theoretic approach}, 110 | journal = {J. Vision}, 111 | month = {Mar.}, 112 | year = {2009}, 113 | volume = {9}, 114 | pages = {1--24}, 115 | number = {3}, 116 | } -------------------------------------------------------------------------------- /examples/thesis-bachelor.tex: -------------------------------------------------------------------------------- 1 | %% ---------------------------------------------------------------------- 2 | %% START OF FILE 3 | %% ---------------------------------------------------------------------- 4 | %% 5 | %% Filename: thesis-bachelor.tex 6 | %% Author: Fred Qi 7 | %% Created: 2008-06-25 11:13:31(+0800) 8 | %% 9 | %% ---------------------------------------------------------------------- 10 | %%% CHANGE LOG 11 | %% ---------------------------------------------------------------------- 12 | %% Last-Updated: 2016-02-09 14:49:44(-0700) [by Fred Qi] 13 | %% Update #: 123 14 | %% ---------------------------------------------------------------------- 15 | \documentclass[bachelor,print]{xduthesis} 16 | 17 | % 这里是可能用到的其他宏包,根据自己论文撰写的需要添加 18 | \usepackage{listings} 19 | \lstset{language=TeX, basicstyle=\ttfamily} 20 | 21 | \begin{document} 22 | 23 | %%%%%%%%%%%%%%% 24 | %% 论文前置部分 25 | %%%%%%%%%%%%%%% 26 | \frontmatter 27 | 28 | % 论文相关信息(封面) 29 | \classid{000000} 30 | \studentid{00000000} 31 | 32 | \cschool{某某某某学院} 33 | \ctitle{论文题目} 34 | \cauthor{作者姓名} 35 | \cmajor{专业名称} 36 | \csupervisor{某某某~教授} 37 | 38 | % 中英文摘要声明 39 | \input{abstract} 40 | 41 | % 生成论文的封面、声明页、中英文摘要 42 | \makecover 43 | 44 | % 论文目录 45 | \tableofcontents 46 | 47 | %%%%%%%%%%%%%%% 48 | %% 论文正文 49 | %%%%%%%%%%%%%%% 50 | \mainmatter 51 | 52 | \input{ch01-intro} 53 | \input{ch02-options} 54 | \input{ch03-frontmatter} 55 | \input{ch04-mainmatter} 56 | \input{ch05-backmatter} 57 | \input{ch06-bibliography} 58 | \input{ch07-conclusions} 59 | 60 | %%%%%%%%%%%%%%% 61 | %% 论文后置部分 62 | %%%%%%%%%%%%%%% 63 | \backmatter 64 | 65 | %% 插图索引 66 | % \listoffigures 67 | %% 表格索引 68 | % \listoftables 69 | 70 | % 参考文献 71 | \bibliographystyle{IEEEtran} 72 | \bibliography{IEEEabrv,refs} 73 | 74 | %% 附录,建议放在参考文献之后,致谢与成果部分之前 75 | \begin{appendix} 76 | \input{appendix01} 77 | \end{appendix} 78 | 79 | %% 致谢 80 | \input{acknowledgments} 81 | %% 在学期间取得的成果 82 | \input{achievements} 83 | 84 | \end{document} 85 | 86 | 87 | %%% Local Variables: 88 | %%% TeX-master: t 89 | %%% End: 90 | %% ---------------------------------------------------------------------- 91 | %%% END OF FILE 92 | %% ---------------------------------------------------------------------- -------------------------------------------------------------------------------- /examples/thesis-doctor.tex: -------------------------------------------------------------------------------- 1 | %% ---------------------------------------------------------------------- 2 | %% START OF FILE 3 | %% ---------------------------------------------------------------------- 4 | %% 5 | %% Filename: thesis-doctor.tex 6 | %% Author: Fred Qi 7 | %% Created: 2008-06-25 11:13:31(+0800) 8 | %% 9 | %% ---------------------------------------------------------------------- 10 | %%% CHANGE LOG 11 | %% ---------------------------------------------------------------------- 12 | %% Last-Updated: 2016-02-09 15:12:33(-0700) [by Fred Qi] 13 | %% Update #: 163 14 | %% ---------------------------------------------------------------------- 15 | \documentclass[doctor,print]{xduthesis} 16 | 17 | % 这里是可能用到的其他宏包,根据自己论文撰写的需要添加 18 | \usepackage{listings} 19 | \lstset{language=TeX, basicstyle=\ttfamily} 20 | 21 | \begin{document} 22 | 23 | % 定义所有的图片文件在 figs 子目录下 24 | \graphicspath{{figs/}} 25 | 26 | %%%%%%%%%%%%%%% 27 | %% 论文前置部分 28 | %%%%%%%%%%%%%%% 29 | \frontmatter 30 | 31 | % 论文相关信息(封面) 32 | \universitycode{10701} % 学校代码 33 | \studentid{0000000000} % 学号 34 | \catelognumber{XX000.00} % 分类号 35 | \secretlevel{公开} % 密级 36 | 37 | \ctitle{中文博士学位论文题目} % 中文题目 38 | \etitle{Dissertation Title in English} % 英文题目 39 | 40 | \cauthor{作者姓名} % 作者姓名 41 | \eauthor{Firstname Lastname} % 英文作者姓名 42 | \csupervisor{某某某~教授} % 导师姓名、职称 43 | \esupervisor{Prof. Firstname Lastname} % 英文导师姓名、职称 44 | 45 | \cfirstdiscipline{一级学科名称} % 一级学科名称 46 | \efirstdiscipline{First discipline in English} % 英文一级学科名称 47 | \cseconddiscipline{二级学科名称} 48 | \cdegree{工学博士} 49 | \edegree{Doctor} 50 | \cdate{0000年00月} % 提交学位论文时间 51 | \edate{Month Year} % 英文提交学位论文时间 52 | 53 | %% 作者中英文简介 % Deleted in 2014 54 | % \input{biography} 55 | 56 | % 中英文摘要声明 57 | \input{abstract} 58 | 59 | % 生成论文的封面、声明页、中英文摘要 60 | \makecover 61 | 62 | % 插图索引 63 | \listoffigures 64 | % 表格索引 65 | \listoftables 66 | 67 | \chapter*{符号对照表} 68 | 69 | \begin{tabular}{rl} 70 | 符号 & 符号名称 \\ 71 | X & 某某符号\\ 72 | \end{tabular} 73 | 74 | \chapter*{缩略语对照表} 75 | 76 | \begin{tabular}{cll} 77 | 缩略语 & 英文全称 & 中文对照\\ 78 | XXX & XXX & 某某某 \\ 79 | XXX & XXX & 某某某 \\ 80 | XXX & XXX & 某某某 \\ 81 | \end{tabular} 82 | 83 | % 论文目录 84 | \tableofcontents 85 | 86 | %%%%%%%%%%%%%%% 87 | %% 论文正文 88 | %%%%%%%%%%%%%%% 89 | \mainmatter 90 | 91 | 92 | \input{ch01-intro} 93 | \input{ch02-options} 94 | \input{ch03-frontmatter} 95 | \input{ch04-mainmatter} 96 | \input{ch05-backmatter} 97 | \input{ch06-bibliography} 98 | \input{ch07-conclusions} 99 | 100 | %%%%%%%%%%%%%%% 101 | %% 论文后置部分 102 | %%%%%%%%%%%%%%% 103 | \backmatter 104 | 105 | %% 参考文献 106 | \bibliographystyle{IEEEtran} 107 | \bibliography{IEEEabrv,refs} 108 | 109 | %% 附录,建议放在参考文献之后,致谢与成果部分之前 110 | \begin{appendix} 111 | \input{appendix01} 112 | \end{appendix} 113 | 114 | %% 致谢 115 | \input{acknowledgments} 116 | %% 在学期间取得的成果 117 | \input{achievements} 118 | 119 | 120 | \end{document} 121 | 122 | %%% Local Variables: 123 | %%% TeX-master: t 124 | %%% End: 125 | %% ---------------------------------------------------------------------- 126 | %%% END OF FILE 127 | %% ---------------------------------------------------------------------- -------------------------------------------------------------------------------- /examples/thesis-master.tex: -------------------------------------------------------------------------------- 1 | %% ---------------------------------------------------------------------- 2 | %% START OF FILE 3 | %% ---------------------------------------------------------------------- 4 | %% 5 | %% Filename: thesis-master.tex 6 | %% Author: Fred Qi 7 | %% Created: 2012-01-14 23:26:12(+0800) 8 | %% 9 | %% ---------------------------------------------------------------------- 10 | %%% CHANGE LOG 11 | %% ---------------------------------------------------------------------- 12 | %% Last-Updated: 2016-02-09 15:05:34(-0700) [by Fred Qi] 13 | %% Update #: 132 14 | %% ---------------------------------------------------------------------- 15 | 16 | \documentclass[master,print]{xduthesis} 17 | 18 | % 这里是可能用到的其他宏包,根据自己论文撰写的需要添加 19 | \usepackage{listings} 20 | \lstset{language=TeX, basicstyle=\ttfamily} 21 | 22 | \begin{document} 23 | 24 | %%%%%%%%%%%%%%% 25 | %% 论文前置部分 26 | %%%%%%%%%%%%%%% 27 | \frontmatter 28 | 29 | % 论文相关信息(封面) 30 | \universitycode{10701} % 学校代码 31 | \studentid{0000000000} % 学号 32 | \catelognumber{XX000.00} % 分类号 33 | \secretlevel{公开} % 密级 34 | 35 | \ctitle{硕士学位论文\\中文题目} 36 | \etitle{Title of the Thesis for Master's Degree in English} 37 | 38 | \cauthor{作者姓名} % 作者姓名 39 | \eauthor{Firstname Lastname} % 英文作者姓名 40 | \csupervisor{某某某~教授} % 导师姓名、职称 41 | \esupervisor{Prof. Firstname Lastname} % 英文导师姓名、职称 42 | 43 | \cfirstdiscipline{一级学科名称} % 一级学科名称 44 | \efirstdiscipline{First discipline in English} % 英文一级学科名称 45 | \cseconddiscipline{二级学科名称} 46 | \cdegree{工学硕士} 47 | \edegree{Master} 48 | \cdate{0000年00月} % 提交学位论文时间 49 | \edate{Month Year} % 英文提交学位论文时间 50 | 51 | %% 作者中英文简介 % 2014年版格式要求已经删除 52 | % \input{biography} 53 | 54 | % 中英文摘要声明 55 | \input{abstract} 56 | 57 | % 生成论文的封面、声明页、中英文摘要 58 | \makecover 59 | 60 | 61 | % 插图索引 62 | \listoffigures 63 | % 表格索引 64 | \listoftables 65 | 66 | \chapter*{符号对照表} 67 | 68 | \begin{tabular}{rl} 69 | 符号 & 符号名称 \\ 70 | X & 某某符号\\ 71 | \end{tabular} 72 | 73 | \chapter*{缩略语对照表} 74 | 75 | \begin{tabular}{cll} 76 | 缩略语 & 英文全称 & 中文对照\\ 77 | XXX & XXX & 某某某 \\ 78 | XXX & XXX & 某某某 \\ 79 | XXX & XXX & 某某某 \\ 80 | \end{tabular} 81 | 82 | 83 | % 论文目录 84 | \tableofcontents 85 | 86 | %%%%%%%%%%%%%%% 87 | %% 论文正文 88 | %%%%%%%%%%%%%%% 89 | \mainmatter 90 | 91 | \input{ch01-intro} 92 | \input{ch02-options} 93 | \input{ch03-frontmatter} 94 | \input{ch04-mainmatter} 95 | \input{ch05-backmatter} 96 | \input{ch06-bibliography} 97 | \input{ch07-conclusions} 98 | 99 | % 附录,建议放在参考文献之后,致谢与成果部分之前 100 | \begin{appendix} 101 | \input{appendix01} 102 | \end{appendix} 103 | 104 | %%%%%%%%%%%%%%% 105 | %% 论文后置部分 106 | %%%%%%%%%%%%%%% 107 | \backmatter 108 | 109 | % 参考文献 110 | \bibliographystyle{IEEEtran} 111 | \bibliography{IEEEabrv,refs} 112 | 113 | \input{acknowledgments} 114 | 115 | \input{achievements} 116 | 117 | \end{document} 118 | 119 | %% ---------------------------------------------------------------------- 120 | %%% END OF FILE 121 | %% ---------------------------------------------------------------------- -------------------------------------------------------------------------------- /examples/thesis-masterpro.tex: -------------------------------------------------------------------------------- 1 | %% ---------------------------------------------------------------------- 2 | %% START OF FILE 3 | %% ---------------------------------------------------------------------- 4 | %% 5 | %% Filename: thesis-masterpro.tex 6 | %% Author: Fred Qi 7 | %% Created: 2012-01-14 23:26:12(+0800) 8 | %% 9 | %% ---------------------------------------------------------------------- 10 | %%% CHANGE LOG 11 | %% ---------------------------------------------------------------------- 12 | %% Last-Updated: 2016-02-09 15:13:01(-0700) [by Fred Qi] 13 | %% Update #: 124 14 | %% ---------------------------------------------------------------------- 15 | 16 | \documentclass[masterpro,print]{xduthesis} 17 | 18 | % 这里是可能用到的其他宏包,根据自己论文撰写的需要添加 19 | \usepackage{listings} 20 | \lstset{language=TeX, basicstyle=\ttfamily} 21 | 22 | \begin{document} 23 | 24 | %%%%%%%%%%%%%%% 25 | %% 论文前置部分 26 | %%%%%%%%%%%%%%% 27 | \frontmatter 28 | 29 | % 论文相关信息(封面) 30 | \universitycode{10701} % 学校代码 31 | \studentid{0000000000} % 学号 32 | \catelognumber{XX000.00} % 分类号 33 | \secretlevel{公开} % 密级 34 | 35 | \ctitle{硕士学位论文\\中文题目} 36 | \etitle{Title of the Thesis for Master's Degree in English} 37 | 38 | \cauthor{作者姓名} % 作者姓名 39 | \eauthor{Firstname Lastname} % 英文作者姓名 40 | \csupervisor{某某某~教授} % 导师姓名、职称 41 | \ccosupervisor{某某某~研究员} % 企业导师姓名、职称 42 | \esupervisor{Prof. Firstname Lastname} % 英文导师姓名、职称 43 | \ecosupervisor{Title Firstname Lastname} % 英文企业导师姓名、职称 44 | 45 | \cfirstdiscipline{电子与通信工程} % 一级学科名称 46 | \efirstdiscipline{Electronics and Communication Engineering} % 英文一级学科名称 47 | \cdegree{工程硕士} 48 | \edegree{Master} 49 | \cdate{0000年00月} % 提交学位论文时间 50 | \edate{Month Year} % 英文提交学位论文时间 51 | 52 | %% 作者中英文简介 % 2014年版格式要求已经删除 53 | % \input{biography} 54 | 55 | % 中英文摘要声明 56 | \input{abstract} 57 | 58 | % 生成论文的封面、声明页、中英文摘要 59 | \makecover 60 | 61 | 62 | % 插图索引 63 | \listoffigures 64 | % 表格索引 65 | \listoftables 66 | 67 | \chapter*{符号对照表} 68 | 69 | \begin{tabular}{rl} 70 | 符号 & 符号名称 \\ 71 | X & 某某符号\\ 72 | \end{tabular} 73 | 74 | \chapter*{缩略语对照表} 75 | 76 | \begin{tabular}{cll} 77 | 缩略语 & 英文全称 & 中文对照\\ 78 | XXX & XXX & 某某某 \\ 79 | XXX & XXX & 某某某 \\ 80 | XXX & XXX & 某某某 \\ 81 | \end{tabular} 82 | 83 | 84 | % 论文目录 85 | \tableofcontents 86 | 87 | %%%%%%%%%%%%%%% 88 | %% 论文正文 89 | %%%%%%%%%%%%%%% 90 | \mainmatter 91 | 92 | \input{ch01-intro} 93 | \input{ch02-options} 94 | \input{ch03-frontmatter} 95 | \input{ch04-mainmatter} 96 | \input{ch05-backmatter} 97 | \input{ch06-bibliography} 98 | \input{ch07-conclusions} 99 | 100 | % 附录,建议放在参考文献之后,致谢与成果部分之前 101 | \begin{appendix} 102 | \input{appendix01} 103 | \end{appendix} 104 | 105 | %%%%%%%%%%%%%%% 106 | %% 论文后置部分 107 | %%%%%%%%%%%%%%% 108 | \backmatter 109 | 110 | % 参考文献 111 | \bibliographystyle{IEEEtran} 112 | \bibliography{IEEEabrv,refs} 113 | 114 | \input{acknowledgments} 115 | 116 | \input{achievements} 117 | 118 | \end{document} 119 | 120 | %% ---------------------------------------------------------------------- 121 | %%% END OF FILE 122 | %% ---------------------------------------------------------------------- -------------------------------------------------------------------------------- /xduthesis.dtx: -------------------------------------------------------------------------------- 1 | % \iffalse meta-comment 2 | % Local Variables: 3 | % mode: doctex 4 | % TeX-master: t 5 | % End: 6 | %<*internal> 7 | \def\nameofplainTeX{plain} 8 | \ifx\fmtname\nameofplainTeX\else 9 | \expandafter\begingroup 10 | \fi 11 | % 12 | %<*install> 13 | \input docstrip.tex 14 | \keepsilent 15 | \askforoverwritefalse 16 | \preamble 17 | ---------:| --------------------------------------------------------------- 18 | xduthesis:| XeLaTeX template for writing Xidian University Thesis 19 | Author:| Fei Qi 20 | E-mail:| fred.qi@ieee.org 21 | License:| Released under the LaTeX Project Public License v1.3c or later 22 | See:| http://www.latex-project.org/lppl.txt 23 | 24 | \endpreamble 25 | \postamble 26 | 27 | Copyright (C) 2008-2016 by Fei Qi 28 | 29 | This work may be distributed and/or modified under the 30 | conditions of the LaTeX Project Public License (LPPL), either 31 | version 1.3c of this license or (at your option) any later 32 | version. The latest version of this license is in the file: 33 | 34 | http://www.latex-project.org/lppl.txt 35 | 36 | This work is "maintained" (as per LPPL maintenance status) by 37 | Fei Qi. 38 | 39 | This work consists of the file xduthesis.dtx and a Makefile. 40 | Running "make" generates the derived files xduthesis.pdf and xduthesis.cls. 41 | Running "make inst" installs the files in the user's TeX tree. 42 | Running "make install" installs the files in the local TeX tree. 43 | 44 | \endpostamble 45 | 46 | \usedir{tex/xelatex/xduthesis} 47 | \generate{ 48 | \file{\jobname.cls}{\from{\jobname.dtx}{class}} 49 | \file{\jobname.cfg}{\from{\jobname.dtx}{config}} 50 | } 51 | % 52 | %\endbatchfile 53 | %<*internal> 54 | \usedir{source/xelatex/xduthesis} 55 | \generate{ 56 | \file{\jobname.ins}{\from{\jobname.dtx}{install}} 57 | } 58 | \nopreamble\nopostamble 59 | % \usedir{doc/xelatex/xduthesis} 60 | % \generate{ 61 | % \file{README.rst}{\from{\jobname.dtx}{readme}} 62 | % } 63 | \ifx\fmtname\nameofplainTeX 64 | \expandafter\endbatchfile 65 | \else 66 | \expandafter\endgroup 67 | \fi 68 | % 69 | % \fi 70 | % 71 | % \CheckSum{1988} 72 | % 73 | % \iffalse 74 | %<*driver> 75 | \ProvidesFile{xduthesis.dtx}[2015/09/11 1.0.0 Xidian University Thesis Template] 76 | % 77 | %\NeedsTeXFormat{LaTeX2e}[1999/12/01] 78 | %\ProvidesClass{xduthesis} 79 | %\ProvidesFile{xduthesis.cfg} 80 | % [2015/09/11 1.0.0 Xidian University Thesis Template] 81 | %<*driver> 82 | \documentclass{ltxdoc} 83 | \usepackage{amssymb} 84 | \usepackage{url} 85 | \usepackage{metalogo} 86 | \usepackage[normalem]{ulem} 87 | \usepackage{xeCJK} 88 | \setCJKmainfont[BoldFont={Adobe Heiti Std}]{Adobe Song Std} 89 | \usepackage{indentfirst} 90 | % \usepackage[a4paper,margin=25mm,left=50mm,nohead]{geometry} 91 | \usepackage[numbered]{hypdoc} 92 | \setlength{\parskip}{4pt plus1pt minus0pt} 93 | \setlength{\topsep}{0pt} 94 | \setlength{\partopsep}{0pt} 95 | \setlength{\parindent}{20pt} 96 | \addtolength{\oddsidemargin}{-1cm} 97 | \advance\textwidth 1.5cm 98 | \addtolength{\topmargin}{-1cm} 99 | \addtolength{\headsep}{0.3cm} 100 | \addtolength{\textheight}{2.3cm} 101 | \renewcommand{\baselinestretch}{1.3} 102 | 103 | \makeatletter 104 | \def\tableofcontents{\renewcommand{\baselinestretch}{1.0}\@starttoc{toc}} 105 | \def\DescribeOption#1{\SpecialOptionIndex{#1}} 106 | \def\DescribeMacro{\Describe@Macro} 107 | \def\Describe@Macro#1{\PrintDescribeMacro{#1}\SpecialUsageIndex{#1}} 108 | \def\PrintDescribeMacro#1{{\color{-red!75!green!50!blue!55}\MacroFont \string #1\hskip1em }} 109 | \def\ps@headings{% 110 | \let\@oddfoot\@empty 111 | \def\@oddhead{\vbox{\hbox 112 | to\textwidth{\llap{\fbox{\rightmark\rule[-2pt]{0pt}{13pt}}}\hfil\thepage}\vskip-0.7pt 113 | \hbox to \textwidth{\hrulefill}}}% 114 | \let\@evenfoot\@oddfoot 115 | \let\@evenhead\@oddhead 116 | \let\@mkboth\markboth 117 | \def\sectionmark##1{% 118 | \markright{\ifnum \c@secnumdepth >\m@ne 119 | \thesection\quad 120 | \fi 121 | ##1}} 122 | \def\subsectionmark##1{% 123 | \markright{\ifnum \c@secnumdepth >\m@ne 124 | \thesubsection\quad 125 | \fi 126 | ##1}} 127 | \def\subsubsectionmark##1{% 128 | \markright{\ifnum \c@secnumdepth >\m@ne 129 | \thesubsubsection\quad 130 | \fi 131 | ##1}}} 132 | \renewcommand\section{\@startsection {section}{1}{\z@}% 133 | {-3.5ex \@plus -1ex \@minus -.2ex}% 134 | {2.3ex \@plus.2ex}% 135 | {\normalfont\Large\bfseries}} 136 | \renewcommand\subsection{\@startsection{subsection}{2}{\z@}% 137 | {-3.25ex\@plus -1ex \@minus -.2ex}% 138 | {1.5ex \@plus .2ex}% 139 | {\normalfont\large\bfseries}} 140 | \renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}% 141 | {-3.25ex\@plus -1ex \@minus -.2ex}% 142 | {1.5ex \@plus .2ex}% 143 | {\normalfont\normalsize\bfseries}} 144 | \renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}% 145 | {3.25ex \@plus1ex \@minus.2ex}% 146 | {-1em}% 147 | {\normalfont\normalsize\bfseries}} 148 | \renewcommand\subparagraph{\@startsection{subparagraph}{5}{\parindent}% 149 | {3.25ex \@plus1ex \@minus .2ex}% 150 | {-1em}% 151 | {\normalfont\normalsize\bfseries}} 152 | \makeatother 153 | 154 | \EnableCrossrefs 155 | \CodelineIndex 156 | \RecordChanges 157 | \begin{document} 158 | \DocInput{\jobname.dtx} 159 | \clearpage 160 | \end{document} 161 | % 162 | % \fi 163 | % 164 | % \pagestyle{empty} 165 | % 166 | % \GetFileInfo{xduthesis.dtx} 167 | % \MakeShortVerb{\|} 168 | % 169 | % \changes{v0.9.9}{2014/04/19}{Naming changed from xdthesis to xduthesis.} 170 | % \changes{v0.9.4}{2012/01/10}{Made the full support for the master option.} 171 | % \changes{v0.9.3a}{2011/12/13}{Fixed line space and chapter space in TOC.} 172 | % \changes{v0.9.3}{2011/04/20}{Fixed the error on \texttt{$\backslash$nobreakspace}.} 173 | % \changes{v0.9.2}{2009/06/17}{Using full Chinese punctuation.} 174 | % \changes{v0.9.1}{2009/06/15}{Template for Bachelor's thesis release candidate.} 175 | % \changes{v0.9}{2009/06/10}{Template realy works for Bachelor's thesis.} 176 | % \changes{v0.2}{2009/06/06}{Defined styles of fonts, names, and titles and floats formats.} 177 | % \changes{v0.1}{2008/06/24}{The \XeLaTeX\ template for writing thesis of Xidian starts.} 178 | % 179 | % \def\xduthesis{\texttt{XDU}-\texttt{Thesis}} 180 | % \def\xduthesis{$\mathbb{XDU}$-$\mathcal{THESIS}$} 181 | % \def\pkg#1{\texttt{#1}} 182 | % \def\xdu{西安电子科技大学} 183 | % 184 | % \DoNotIndex{\begin,\end,\begingroup,\endgroup} 185 | % \DoNotIndex{\ifx,\ifdim,\ifnum,\ifcase,\else,\or,\fi} 186 | % \DoNotIndex{\let,\def,\xdef,\newcommand,\renewcommand} 187 | % \DoNotIndex{\expandafter,\csname,\endcsname,\relax,\protect} 188 | % \DoNotIndex{\Huge,\huge,\LARGE,\Large,\large,\normalsize} 189 | % \DoNotIndex{\small,\footnotesize,\scriptsize,\tiny} 190 | % \DoNotIndex{\normalfont,\bfseries,\slshape,\interlinepenalty} 191 | % \DoNotIndex{\hfil,\par,\hskip,\vskip,\vspace,\quad} 192 | % \DoNotIndex{\centering,\raggedright} 193 | % \DoNotIndex{\c@secnumdepth,\@startsection,\@setfontsize} 194 | % \DoNotIndex{\ ,\@plus,\@minus,\p@,\z@,\@m,\@M,\@ne,\m@ne} 195 | % \DoNotIndex{\@@par,\DeclareOperation,\RequirePackage,\LoadClass} 196 | % \DoNotIndex{\AtBeginDocument,\AtEndDocument} 197 | % 198 | % \IndexPrologue{\section*{索~~~~引}} 199 | % \GlossaryPrologue{\section*{修改记录}} 200 | % 201 | % \renewcommand{\abstractname}{摘~~要} 202 | % \renewcommand{\contentsname}{目~~录} 203 | % 204 | % \title{\xduthesis:\xdu{}学位论文模板\thanks{Xidian University \XeLaTeX{} 205 | % Thesis Template.}} 206 | % \author{齐飞\\[5pt] \texttt{fred.qi@ieee.org}} 207 | % \date{v\fileversion\ (\filedate)} 208 | % 209 | % \maketitle\thispagestyle{empty} 210 | % 211 | % \begin{abstract} 212 | % 本宏包旨在建立一个简单易用的、符合西安电子科技大学各级学位撰写格式要求的论文 213 | % 模板。目前已经完整支持从学士到硕士及博士学位论文的最新格式。目前研究生论文 214 | % (硕士、博士学位论文)符合研究生院2014年发布的学位论文版式要求。 215 | % \end{abstract} 216 | % 217 | % \vskip2cm 218 | % \def\abstractname{免责声明} 219 | % \begin{abstract} 220 | % \noindent 221 | % \begin{enumerate} 222 | % \item 本模板的发布遵守~\LaTeX{} Project Public License (v1.3c) 223 | % \footnote{\url{http://www.latex-project.org/lppl.txt}},使用前请认真阅读协议内容。 224 | % \item 本模板为作者根据\xdu{}教务处颁布的《本科生毕业设计(论文)工作手册》、研 225 | % 究生院颁布的《西安电子科技大学研究生学位论文撰写标准》编写而成,旨在 226 | % 供\xdu{}毕业生撰写学位论文使用。 227 | % \item 此模板仅为写作指南的参考实现,不保证格式审查老师不提任何意见。任何由于使 228 | % 用本模板而引起的论文格式审查问题均与本模板作者无关。 229 | % \item 任何个人或组织以本模板为基础进行修改、扩展而生成的新的专用模板,请严格遵 230 | % 守~\LaTeX{} Project Public License 协议。由于违犯协议而引起的任何纠纷争端均与 231 | % 本模板作者无关。 232 | % \end{enumerate} 233 | % \end{abstract} 234 | % 235 | % \clearpage 236 | % \begin{multicols}{2}[ 237 | % \section*{\contentsname} 238 | % \setlength{\columnseprule}{.4pt} 239 | % \setlength{\columnsep}{18pt}] 240 | % \tableofcontents 241 | % \end{multicols} 242 | % 243 | % \clearpage 244 | % \pagenumbering{arabic} 245 | % \pagestyle{headings} 246 | % 247 | % \section{模板介绍} 248 | % 249 | % 本模板为作者根据\xdu{}教务处颁布的《本科生毕业设计(论文)工作手册》以及研究生 250 | % 院颁布的《西安电子科技大学研究生学位论文撰写标准》编写而成,旨在供\xdu{}毕业生 251 | % 撰写学位论文使用。目前模板支持从学士到硕士、博士等三级学位论文的排版。 252 | % 253 | % 模板在~\texttt{examples} 目录下提供了学士学位论 254 | % 文(\texttt{thesis-bachelor.tex})、硕士学位论文(\texttt{thesis-master.tex})、专 255 | % 业硕士学位论文(\texttt{thesis-masterpro.tex})以及博士学位论 256 | % 文(\texttt{thesis-doctor.tex})的使用示例。用户可以选择自己需要的样例,并在样例 257 | % 的基础上修改使用。这此论文样例的实际内容为模板的使用说明,建议在使用模板前认真 258 | % 阅读。为方便用户阅读,该说明按照博士学位论文版式进行了编译,并随模板一同发布(文 259 | % 件\texttt{thesis-doctor.pdf})。 260 | % 261 | % 模板在~\texttt{texlive} (\url{https://www.tug.org/texlive/}) 下进行了详细的测试, 262 | % 能够正常工作。对于其他~\XeLaTeX{}~的发布版本,由于没有进行完整测试,暂时无法确 263 | % 定模板的是否能够正常工作。 264 | % 265 | % \xduthesis{} 的主页是:\url{https://github.com/fredqi/xduthesis}。用户可以到该 266 | % 主页查看模板的开发进展、下载最新版本。如果在使用中遇到问题,请在页面 267 | % \url{https://github.com/fredqi/xduthesis/issues} 报告您所遇到的问题。希望在报 268 | % 告错误时能够提供测试代码,以便更快的定位和排查错误。 269 | % 270 | % \section*{致谢} 271 | % \label{sec:thanks} 272 | % 273 | % \changes{v0.9.8}{2012/12/26}{补充致谢信息} 274 | % 275 | % 本模板经过多年不断积累完善,终于达到了可以正式发布的状态。在此对本模板开发、测 276 | % 试做出贡献与帮助的人一并表示谢意。\pkg{xeCJK}宏包是本模板中文字体支持的基础,模 277 | % 板中的很多格式在实现方式上参考了\pkg{thuthesis}宏包,在此对这两个宏包的开发人员 278 | % 孙文昌、刘海洋\footnote{leoliu.pku@gmail.com}、李 279 | % 清\footnote{sobenlee@gmail.com}与薛瑞尼\footnote{xueruini@gmail.com}等人表示深 280 | % 挚的谢意。 281 | % 282 | % 本模板的本科学位论文封面部分参考了\textrm{bigeagle}等人开发维护 283 | % 的\pkg{XDBA-thesis}论文模板,在此表示感谢。研究生论文封面由陆丹 284 | % 峰\footnote{killucs@foxmail.com}参照\pkg{XDBA-thesis}实现了第一个可用版本,在此 285 | % 亦表示感谢。 286 | % 287 | % 在本模板开发过程中,我所指导的硕士生陆丹峰、韩钧宇和谷跃胜、本科毕业生王蓬金、 288 | % 赵亚龙、博士生吴金建等人先后试用了功能尚不完善、实现存在严重缺陷的开发版本,为 289 | % 本模板的进一步开发完善提供了宝贵的意见,在此一并表示感谢。 290 | % 291 | % 292 | % \StopEventually{\PrintChanges\PrintIndex} 293 | % \clearpage 294 | % 295 | % \section{实现细节} 296 | % 297 | % \subsection{基本信息} 298 | % 299 | % \subsection{定义选项} 300 | % \label{sec:defoption} 301 | % 302 | % \changes{v0.9.9}{2014/04/19}{Added option english.} 303 | % \changes{v0.9.4a}{2012/02/07}{Added option print.} 304 | % 定义论文类型以及是否涉密 305 | % \begin{macrocode} 306 | %<*class> 307 | \hyphenation{XDU-Thesis} 308 | \def\xduthesis{$\mathbb{XDU}$-$\mathcal{THESIS}$} 309 | \def\version{1.0.0} 310 | \newif\ifxdu@bachelor\xdu@bachelorfalse 311 | \newif\ifxdu@master\xdu@masterfalse 312 | \newif\ifxdu@masterpro\xdu@masterprofalse 313 | \newif\ifxdu@doctor\xdu@doctorfalse 314 | \newif\ifxdu@secret\xdu@secretfalse 315 | \newif\ifxdu@english\xdu@englishfalse 316 | \newif\ifxdu@mkabstract\xdu@mkabstractfalse 317 | \newif\ifxdu@print\xdu@printfalse 318 | \newif\ifxdu@msfonts\xdu@msfontsfalse 319 | \DeclareOption{bachelor}{\xdu@bachelortrue} 320 | \DeclareOption{master}{\xdu@mastertrue} 321 | \DeclareOption{masterpro}{\xdu@masterprotrue} 322 | \DeclareOption{doctor}{\xdu@doctortrue} 323 | \DeclareOption{secret}{\xdu@secrettrue} 324 | \DeclareOption{english}{\xdu@englishtrue} 325 | \DeclareOption{print}{\xdu@printtrue} 326 | \DeclareOption{msfonts}{\xdu@msfontstrue} 327 | \DeclareOption{adobefonts}{\xdu@msfontsfalse} 328 | \AtEndOfClass{% 329 | \ifxdu@doctor\relax\else 330 | \ifxdu@bachelor\relax\else 331 | \ifxdu@master\relax\else 332 | \ifxdu@masterpro\relax\else 333 | \ClassError{xduthesis}% 334 | {Please specify a thesis option: bachelor, master, masterpro or doctor.}{} 335 | \fi 336 | \fi 337 | \fi 338 | \fi} 339 | % \end{macrocode} 340 | % 341 | % \begin{macrocode} 342 | \ExecuteOptions{} 343 | \ProcessOptions 344 | \ifxdu@print 345 | \LoadClass[12pt, a4paper, openright]{book} 346 | \else 347 | \LoadClass[12pt, a4paper, openany]{book} 348 | \fi 349 | % 350 | % \end{macrocode} 351 | % 352 | % \subsection{装载宏包} 353 | % \label{sec:loadpackage} 354 | % 355 | % \changes{v0.9.4a}{2012/02/07}{Added package calc for paper layout setup.} 356 | % 设置页边距等引用宏包 357 | % \begin{macrocode} 358 | %<*class> 359 | \RequirePackage{calc} 360 | % \end{macrocode} 361 | % 参考文献引用宏包。 362 | % \begin{macrocode} 363 | \RequirePackage[numbers,super,sort&compress]{natbib} 364 | % \end{macrocode} 365 | % 366 | % \begin{macrocode} 367 | \ifxdu@print 368 | \RequirePackage[xetex,colorlinks=true,allcolors=black]{hyperref} 369 | \else 370 | \RequirePackage[xetex,colorlinks=true]{hyperref} 371 | \fi 372 | % \end{macrocode} 373 | % 引用的宏包和相应的定义。 374 | % \pkg{hypernat} 让~\pkg{hyperref} 和~\pkg{natbib} 协调的工作。应该 375 | % 在~\pkg{natbib} 和~\pkg{hyperref} 之后加载,参看其文档。 376 | % \begin{macrocode} 377 | % \RequirePackage{hypernat} 378 | % \end{macrocode} 379 | % 380 | % 首行缩进。 381 | % \begin{macrocode} 382 | \RequirePackage{indentfirst} 383 | % \end{macrocode} 384 | % 385 | % \changes{v0.9.1}{2009/06/15}{引用\pkg{paralist},缩小列表环境的行距} 386 | % 更好的列表环境。 387 | % \begin{macrocode} 388 | \RequirePackage[neverdecrease]{paralist} 389 | % \end{macrocode} 390 | % 391 | % 页眉页脚。 392 | % \begin{macrocode} 393 | % \RequirePackage{fancyhdr} 394 | % \end{macrocode} 395 | % 396 | % AMS\LaTeX{} 宏包,用来排出更加漂亮的公式 397 | % \begin{macrocode} 398 | \RequirePackage{amsmath, amssymb} 399 | % \end{macrocode} 400 | % 401 | % 图形支持宏包。 402 | % \begin{macrocode} 403 | \RequirePackage{graphicx} 404 | % \end{macrocode} 405 | % 406 | % 并排图形。\pkg{subfigure} 已经不再推荐,用新的~\pkg{subfig}。加入~|config| 选项以便兼容 407 | % ~\pkg{subfigure} 的命令。 408 | % 浮动图形和表格标题样式。\pkg{caption2} 已经不推荐使用,采用新的~\pkg{caption}。它会自动被 409 | % ~\pkg{subfig} 装载进来。所以可以在后面看到~\cs{captionsetup} 的命令。 410 | % \begin{macrocode} 411 | \RequirePackage{subfig} 412 | % 下划线(虚线) 413 | % \dashuline{dashing} dashed underline like dashing 414 | \RequirePackage[normalem]{ulem} 415 | % \end{macrocode} 416 | % 417 | % 载入标题格式宏包。 418 | % \begin{macrocode} 419 | \RequirePackage{ifthen} 420 | \RequirePackage{titlesec,titletoc} 421 | % \end{macrocode} 422 | % 本模板是基于\XeLaTeX{}的。 423 | % \begin{macrocode} 424 | \RequirePackage[BoldFont]{xeCJK} 425 | % 426 | % \changes{v0.9.8}{2013/03/14}{增加msfonts选项以使用微软字体} 427 | % \changes{v0.9.1}{2009/06/17}{使用全角格式中文标点符号} 428 | % 429 | \punctstyle{quanjiao} 430 | \def\CJK@null{\kern\CJKnullspace\Unicode{48}{7}\kern\CJKnullspace} 431 | \defaultfontfeatures{Mapping=tex-text} % after fontspec 432 | \ifxdu@msfonts 433 | \setCJKmainfont{SimSun} 434 | \setCJKsansfont{SimHei} 435 | \setCJKmonofont{KaiTi_GB2312} 436 | \setCJKfamilyfont{song}{SimSun} 437 | \setCJKfamilyfont{hei}{SimHei} 438 | \setCJKfamilyfont{fs}{FangSong_GB2312} 439 | \setCJKfamilyfont{kai}{KaiTi_GB2312} 440 | \setCJKfamilyfont{li}{Adobe Kaiti Std} 441 | \setCJKfamilyfont{you}{LiSu} 442 | \else 443 | \setCJKmainfont{Adobe Song Std} 444 | \setCJKsansfont{Adobe Heiti Std} 445 | \setCJKfamilyfont{song}{Adobe Song Std} 446 | \setCJKfamilyfont{hei}{Adobe Heiti Std} 447 | % \setCJKmonofont{Adobe Kaiti Std} 448 | % \setCJKfamilyfont{fs}{Adobe Fangsong Std} 449 | % \setCJKfamilyfont{kai}{Adobe Kaiti Std} 450 | \fi 451 | \setmainfont{Times New Roman} 452 | \setsansfont{Arial} 453 | \setmonofont{Courier Std} 454 | % \changes{v0.9.3}{2011/04/20}{引用宏包顺序调整,以避免\texttt{nobreakspace}的问题} 455 | % \changes{v0.9.7}{2012/12/11}{\texttt{xeCJK}与\texttt{xltxtra}冲突导致标点出错} 456 | \RequirePackage{xunicode,metalogo} 457 | % 458 | % \end{macrocode} 459 | % 460 | % \subsection{主文档格式} 461 | % \label{sec:mainbody} 462 | % \subsubsection{Three matters} 463 | % 464 | % \begin{macrocode} 465 | %<*class> 466 | \renewcommand\frontmatter{% 467 | \xdu@clearpage% 468 | \@mainmatterfalse 469 | \ifxdu@bachelor\pagenumbering{roman}\else\pagenumbering{Roman}\fi 470 | \pagestyle{xdu@front}} 471 | \renewcommand\mainmatter{% 472 | \xdu@clearpage 473 | \@mainmattertrue 474 | \pagenumbering{arabic} 475 | \pagestyle{xdu@headings}} 476 | \renewcommand\backmatter{% 477 | \xdu@clearpage 478 | \@mainmattertrue} 479 | % 480 | % \end{macrocode} 481 | % 482 | % \subsubsection{字体} 483 | % \label{sec:fonts} 484 | % Ref 2: 485 | % WORD 中的字号对应该关系如下: 486 | % \begin{verbatim} 487 | % 初号 = 42bp = 14.82mm = 42.1575pt 488 | % 小初 = 36bp = 12.70mm = 36.135 pt 489 | % 一号 = 26bp = 9.17mm = 26.0975pt 490 | % 小一 = 24bp = 8.47mm = 24.09pt 491 | % 二号 = 22bp = 7.76mm = 22.0825pt 492 | % 小二 = 18bp = 6.35mm = 18.0675pt 493 | % 三号 = 16bp = 5.64mm = 16.06pt 494 | % 小三 = 15bp = 5.29mm = 15.05625pt 495 | % 四号 = 14bp = 4.94mm = 14.0525pt 496 | % 小四 = 12bp = 4.23mm = 12.045pt 497 | % 五号 = 10.5bp = 3.70mm = 10.59375pt 498 | % 小五 = 9bp = 3.18mm = 9.03375pt 499 | % 六号 = 7.5bp = 2.56mm 500 | % 小六 = 6.5bp = 2.29mm 501 | % 七号 = 5.5bp = 1.94mm 502 | % 八号 = 5bp = 1.76mm 503 | % 504 | % 1bp = 72.27/72 pt 505 | % \end{verbatim} 506 | % 507 | % \begin{macro}{\song} 508 | % \begin{macro}{\songti} 509 | % \begin{macro}{\hei} 510 | % \begin{macro}{\heiti} 511 | % 512 | % \begin{macrocode} 513 | %<*class> 514 | \newcommand{\song}{\CJKfamily{song}} % 宋体 515 | \def\songti{\song} 516 | \newcommand{\hei}{\CJKfamily{hei}} % 黑体 517 | \def\heiti{\hei} 518 | % \end{macrocode} 519 | % \end{macro} 520 | % \end{macro} 521 | % \end{macro} 522 | % \end{macro} 523 | % 524 | % \begin{macro}{\chuhao} 525 | % \begin{macro}{\xiaochu} 526 | % \begin{macro}{\yihao} 527 | % \begin{macro}{\xiaoyi} 528 | % \begin{macro}{\erhao} 529 | % \begin{macro}{\xiaoer} 530 | % \begin{macro}{\sanhao} 531 | % \begin{macro}{\xiaosan} 532 | % \begin{macro}{\sihao} 533 | % \begin{macro}{\banxiaosi} 534 | % \begin{macro}{\xiaosi} 535 | % \begin{macro}{\dawu} 536 | % \begin{macro}{\wuhao} 537 | % \begin{macro}{\xiaowu} 538 | % \begin{macro}{\liuhao} 539 | % \begin{macro}{\xiaoliu} 540 | % \begin{macro}{\qihao} 541 | % \begin{macro}{\bahao} 542 | % \begin{macrocode} 543 | \newlength\xdu@linespace 544 | \newcommand{\xdu@choosefont}[2]{% 545 | \setlength{\xdu@linespace}{#2*\real{#1}}% 546 | \fontsize{#2}{\xdu@linespace}\selectfont} 547 | \def\xdu@define@fontsize#1#2{% 548 | \expandafter\newcommand\csname #1\endcsname[1][\baselinestretch]{% 549 | \xdu@choosefont{##1}{#2}}} 550 | \xdu@define@fontsize{chuhao}{42bp} 551 | \xdu@define@fontsize{xiaochu}{36bp} 552 | \xdu@define@fontsize{yihao}{26bp} 553 | \xdu@define@fontsize{xiaoyi}{24bp} 554 | \xdu@define@fontsize{erhao}{22bp} 555 | \xdu@define@fontsize{xiaoer}{18bp} 556 | \xdu@define@fontsize{sanhao}{16bp} 557 | \xdu@define@fontsize{xiaosan}{15bp} 558 | \xdu@define@fontsize{sihao}{14bp} 559 | \xdu@define@fontsize{banxiaosi}{13bp} 560 | \xdu@define@fontsize{xiaosi}{12bp} 561 | \xdu@define@fontsize{dawu}{11bp} 562 | \xdu@define@fontsize{wuhao}{10.5bp} 563 | \xdu@define@fontsize{xiaowu}{9bp} 564 | \xdu@define@fontsize{liuhao}{7.5bp} 565 | \xdu@define@fontsize{xiaoliu}{6.5bp} 566 | \xdu@define@fontsize{qihao}{5.5bp} 567 | \xdu@define@fontsize{bahao}{5bp} 568 | % \end{macrocode} 569 | % \end{macro} 570 | % \end{macro} 571 | % \end{macro} 572 | % \end{macro} 573 | % \end{macro} 574 | % \end{macro} 575 | % \end{macro} 576 | % \end{macro} 577 | % \end{macro} 578 | % \end{macro} 579 | % \end{macro} 580 | % \end{macro} 581 | % \end{macro} 582 | % \end{macro} 583 | % \end{macro} 584 | % \end{macro} 585 | % \end{macro} 586 | % \end{macro} 587 | % 588 | % 定义行距,正文小四号(12pt)字,行距为1.5倍行距 589 | % \begin{macrocode} 590 | \renewcommand\normalsize{\@setfontsize\normalsize{12bp}{18bp}} 591 | \renewcommand\baselinestretch{1.2} 592 | % 593 | % \end{macrocode} 594 | % 595 | % \subsubsection{页面设置} 596 | % \label{sec:layout} 597 | % 598 | % \begin{macrocode} 599 | %<*class> 600 | \setlength{\textwidth}{\paperwidth} 601 | \addtolength{\textwidth}{-6cm} 602 | \setlength{\textheight}{\paperheight} 603 | \ifxdu@bachelor 604 | \addtolength{\textheight}{-4.5cm} 605 | \setlength{\topmargin}{1.45cm-1in} 606 | \setlength{\headheight}{20pt} 607 | \setlength{\headsep}{0.6cm} 608 | \setlength{\footskip}{18pt} 609 | \else 610 | \addtolength{\textheight}{-5.5cm} 611 | \setlength\voffset{3cm-1in} 612 | \setlength{\topmargin}{-5ex} 613 | \setlength{\headheight}{3ex} 614 | \setlength{\headsep}{2ex} 615 | \setlength{\footskip}{5ex} 616 | \addtolength{\textheight}{-3ex} 617 | \fi 618 | \setlength\marginparwidth{0cm} 619 | \setlength\marginparsep{0cm} 620 | \setlength{\oddsidemargin}{4cm-1in} 621 | \setlength{\evensidemargin}{2cm-1in} 622 | % \setlength{\topskip}{0pt} 623 | % \setlength{\skip\footins}{15pt} 624 | % 625 | % \end{macrocode} 626 | % 627 | % \subsubsection{页眉页脚} 628 | % \label{sec:headerfooter} 629 | % 630 | % \changes{v1.0.0}{2014/11/25}{2014版研究生学位论文页眉页脚格式} 631 | % \changes{v0.9.7}{2012/12/12}{增加博士学位论文页眉与页脚格式支持} 632 | % \changes{v0.9.8}{2012/12/18}{修正论文题目中换行破坏右侧页眉的问题} 633 | % 634 | % 新的一章最好从奇数页开始(openright),所以必须保证它前面那页如果没有内容也必 635 | % 须没有页眉页脚。code stolen from fancyhdr 636 | % 637 | % \begin{macrocode} 638 | %<*class> 639 | \def\xdu@clearpage{% 640 | \clearpage% 641 | \if@openright% 642 | \ifodd\c@page\relax\else% 643 | \null\thispagestyle{xdu@empty}\newpage% 644 | \fi% 645 | \fi} 646 | % \end{macrocode} 647 | % 648 | % 649 | % 定义页眉和页脚。chapter 自动调用~thispagestyle{xdu@front},所以要重新定 650 | % 义~xdu@front。 651 | % \begin{macro}{\ps@xdu@empty} 652 | % \begin{macro}{\ps@xdu@front} 653 | % \begin{macro}{\ps@xdu@headings} 654 | % 定义页眉页脚格式: 655 | % \begin{itemize} 656 | % \item \texttt{xdu@empty} :无页眉页脚 657 | % \item \texttt{xdu@front} :页眉中无页码 658 | % \item \texttt{xdu@headings}:页眉中显示页码 659 | % \end{itemize} 660 | % \begin{macrocode} 661 | \ifxdu@bachelor% 662 | \def\ps@xdu@header@rules{\vskip2pt\rule{\textwidth}{0.6pt}} 663 | \else 664 | \def\ps@xdu@header@rules{ 665 | \vskip4pt\rule{\textwidth}{0.6pt}% 666 | \vskip0.8pt\rule{\textwidth}{0.6pt}} 667 | \fi 668 | \def\ps@xdu@header@lefttext{% 669 | \hbox to\textwidth{% 670 | \hfil{\wuhao\noindent\leftmark}\hfil% 671 | {\ifxdu@bachelor\xiaowu\thepage\hskip1pt\fi}}} 672 | \def\ps@xdu@header@righttext{% 673 | \hbox to\textwidth{% 674 | {\ifxdu@bachelor\xiaowu\thepage\hskip1pt\fi}% 675 | \hfil{\let\\=\relax\wuhao\rightmark}\hfil}} 676 | \def\ps@xdu@footer@text{% 677 | \ifxdu@bachelor\relax\else% 678 | \hbox to\textwidth{\hfil{\xiaowu\thepage}\hfil}\fi} 679 | % \def\ps@xdu@foot@doctor{\vbox{\vskip10pt\rule{\textwidth}{1mm}% 680 | % \vskip1pt\rule{\textwidth}{0.75pt}\vskip1pt% 681 | % \hbox to\textwidth{\hfil{\wuhao\ps@xdu@pagefoot}\hfil}}} 682 | \def\ps@xdu@empty{% 683 | \let\@oddhead\@empty% 684 | \let\@evenhead\@empty% 685 | \let\@oddfoot\@empty% 686 | \let\@evenfoot\@empty} 687 | \def\ps@xdu@front{% 688 | \def\@oddhead{\vbox{\ps@xdu@header@lefttext\ps@xdu@header@rules}}% 689 | \def\@evenhead{\vbox{\ps@xdu@header@righttext\ps@xdu@header@rules}}% 690 | \def\@oddfoot{\ps@xdu@footer@text}% 691 | \def\@evenfoot{\ps@xdu@footer@text}% 692 | } 693 | \def\ps@xdu@headings{% 694 | \def\@oddhead{\vbox{\ps@xdu@header@lefttext\ps@xdu@header@rules}}% 695 | \def\@evenhead{\vbox{\ps@xdu@header@righttext\ps@xdu@header@rules}}% 696 | \def\@oddfoot{\ps@xdu@footer@text}% 697 | \def\@evenfoot{\ps@xdu@footer@text}% 698 | } 699 | % \end{macrocode} 700 | % \end{macro} 701 | % \end{macro} 702 | % \end{macro} 703 | % 704 | % 705 | % \changes{v0.9.8}{2013/03/14}{修正电子存储方式页眉} 706 | % 707 | % 其实可以直接写到~\cs{chapter} 的定义里面。 708 | % \begin{macrocode} 709 | \ifxdu@bachelor\ifxdu@english 710 | \renewcommand{\chaptermark}[1]{% 711 | \ifodd\c@page% 712 | \markboth{#1}{\xdu@etitle}% 713 | \else% 714 | \markboth{\xdu@etitle}{#1}% 715 | \fi} 716 | \else 717 | \renewcommand{\chaptermark}[1]{% 718 | \ifodd\c@page% 719 | \markboth{#1}{\xdu@ctitle}% 720 | \else% 721 | \markboth{\xdu@ctitle}{#1}% 722 | \fi} 723 | \fi\else 724 | \renewcommand{\chaptermark}[1]{% 725 | \ifodd\c@page% 726 | \markboth{#1}{\xdu@xidian@str\xdu@thesis@str}% 727 | \else% 728 | \markboth{\xdu@xidian@str\xdu@thesis@str}{#1}% 729 | \fi} 730 | \fi 731 | \renewcommand{\sectionmark}[1]{} 732 | % 733 | % \end{macrocode} 734 | % 735 | % \changes{v0.9.1}{2009/06/15}{增加首行按照两个中文字符缩进} 736 | % \subsubsection{段落} 737 | % \label{sec:paragraph} 738 | % 739 | % 用于中文段落缩进和正文版式 740 | % \begin{macrocode} 741 | %<*class> 742 | \newlength\xdu@CJK@twochars 743 | \newcommand{\xdu@unicode}[2]{\char\numexpr#1*256+#2\relax} 744 | \def\xdu@CJK@space{\xdu@unicode{48}{7}} 745 | \def\CJKindent{% 746 | \settowidth\xdu@CJK@twochars{\xdu@CJK@space\xdu@CJK@space}% 747 | \parindent\xdu@CJK@twochars} 748 | % \end{macrocode} 749 | % 750 | % 段落之间的竖直距离 751 | % \begin{macrocode} 752 | \setlength{\parskip}{0pt \@plus0pt \@minus0pt} 753 | % \end{macrocode} 754 | % 755 | % 调整默认列表环境间的距离,以符合中文习惯。 756 | % \begin{macro}{xdu@item@space} 757 | % \begin{macrocode} 758 | \def\xdu@item@space{% 759 | \let\itemize\compactitem 760 | \let\enditemize\endcompactitem 761 | \let\enumerate\compactenum 762 | \let\endenumerate\endcompactenum 763 | \let\description\compactdesc 764 | \let\enddescription\endcompactdesc} 765 | % 766 | % \end{macrocode} 767 | % \end{macro} 768 | % 769 | % \subsubsection{中文标题定义} 770 | % \label{sec:theor} 771 | % 772 | % \changes{v0.2.9.10}{2014/11/24}{根据2014研究生论文版式修正标题样式} 773 | % \changes{v0.2}{2009/06/06}{加入中文标题的定义} 774 | % 775 | % \begin{macrocode} 776 | %<*config> 777 | \ifxdu@english 778 | \renewcommand{\bibname}{References} 779 | \newcommand{\xdu@ackname}{Acknowledgments} 780 | \renewcommand{\chaptername}{Chapter {\@arabic\c@chapter}} 781 | \else 782 | \renewcommand\contentsname{目录} 783 | \renewcommand\listfigurename{插图索引} 784 | \renewcommand\listtablename{表格索引} 785 | \renewcommand\appendixname{附录} 786 | \newcommand\listequationname{公式索引} 787 | \newcommand\equationname{公式} 788 | \renewcommand\bibname{参考文献} 789 | \renewcommand\indexname{索引} 790 | \renewcommand\figurename{图} 791 | \renewcommand\tablename{表} 792 | \def\xdu@CJKnumber#1{\ifcase#1{零}\or% 793 | {一}\or{二}\or{三}\or{四}\or{五}\or% 794 | {六}\or{七}\or{八}\or{九}\or{十}\or% 795 | {十一}\or{十二}\or{十三}\or{十四}\or{十五}\or% 796 | {十六}\or{十七}\or{十八}\or{十九}\or{二十}\fi} 797 | \newcommand\CJKprepartname{第} 798 | \newcommand\CJKpartname{部分} 799 | \newcommand\CJKthepart{\CJKnumber{\@arabic\c@part}} 800 | \newcommand\CJKprechaptername{第} 801 | \newcommand\CJKchaptername{章} 802 | \newcommand\CJKthechapter{\xdu@CJKnumber{\@arabic\c@chapter}} 803 | \newcommand{\CJKthechaptername}[1]{% 804 | \CJKprechaptername\xdu@CJKnumber{\@arabic#1}\CJKchaptername} 805 | \renewcommand{\chaptername}{\CJKprechaptername\CJKthechapter\CJKchaptername} 806 | \newcommand{\xdu@ackname}{致谢} 807 | \fi 808 | \newcommand{\cabstractname}{摘要} 809 | \newcommand{\eabstractname}{ABSTRACT} 810 | \newcommand{\xdu@ckeywords@title}{关\hfill{}键\hfill{}词:} 811 | \newcommand{\xdu@cthesistype@title}{论文类型:} 812 | \newcommand{\xdu@ekeywords@title}{Keywords:} 813 | \newcommand{\xdu@ethesistype@title}{Type of Dissertation:} 814 | % 815 | % \end{macrocode} 816 | 817 | % \subsubsection{章节标题} 818 | % \label{sec:titleandtoc} 819 | % 820 | % \changes{v0.9.8}{2013/03/13}{修正无编号章节的页眉} 821 | % \changes{v0.9.8}{2013/03/13}{修正章标题之后的空白} 822 | % \changes{v0.9.8}{2013/03/11}{修正无编号章标题段前段后空白} 823 | % \changes{v0.9.8}{2013/03/11}{去掉了章标题段首空格} 824 | % \changes{v0.9.8}{2013/01/19}{增加附录环境} 825 | % 826 | % 章标题与章名之间空一个半角空格,居中书写,单倍行距,段前空\texttt{4ex},段后空 827 | % \texttt{3ex}。 828 | % 829 | % \begin{macrocode} 830 | %<*class> 831 | \newlength{\xdu@chapter@before} 832 | \newlength{\xdu@chapter@after} 833 | \ifxdu@bachelor 834 | \setlength{\xdu@chapter@before}{15mm} 835 | \setlength{\xdu@chapter@after}{4ex} 836 | \else 837 | \setlength{\xdu@chapter@before}{7ex} 838 | \setlength{\xdu@chapter@after}{5ex} 839 | \fi 840 | \renewcommand\chapter{% 841 | \xdu@clearpage% 842 | \if@mainmatter\thispagestyle{xdu@headings}% 843 | \else\thispagestyle{xdu@front}\fi% 844 | \phantomsection% 845 | \global\@topnum\z@% 846 | \secdef\@chapter\@schapter} 847 | \def\@chapter[#1]#2{% 848 | \if@mainmatter\refstepcounter{chapter}\fi 849 | \ifxdu@english% 850 | \addcontentsline{toc}{chapter}{\xiaosi\bfseries\@chapapp~#1}% 851 | \chaptermark{\@chapapp~#1}% 852 | \else% 853 | \addcontentsline{toc}{chapter}{\xiaosi\song\bfseries\@chapapp\hskip1ex#1}% 854 | \chaptermark{\@chapapp\hskip2ex#1}% 855 | \fi% 856 | \@makechapterhead{#2}} 857 | \def\@makechapterhead#1{\noindent% 858 | \parbox[b]{\textwidth}{\vskip\xdu@chapter@before}% 859 | {\centering \sanhao\song\bfseries% 860 | \ifnum \c@secnumdepth > \m@ne% 861 | \@chapapp\hskip1ex% 862 | \fi% 863 | \interlinepenalty\@M% 864 | #1\par\nobreak% 865 | \vskip\xdu@chapter@after% 866 | \nointerlineskip}} 867 | \def\@schapter#1{% 868 | \addcontentsline{toc}{chapter}{\xiaosi\song\bfseries#1}% 869 | \chaptermark{#1}% 870 | \@makeschapterhead{#1} 871 | \@afterheading} 872 | \def\@makeschapterhead#1{\noindent% 873 | \parbox[b]{\textwidth}{\vskip\xdu@chapter@before}% 874 | {\sanhao\song\bfseries\centering% 875 | \interlinepenalty\@M 876 | #1\par\nobreak% 877 | \vskip\xdu@chapter@after% 878 | \nointerlineskip}} 879 | % \end{macrocode} 880 | % \begin{macro}{\section} 881 | % 882 | % 一级节标题,例如:2.1 实验装置与实验方法 883 | % 节标题序号与标题名之间空一个汉字符(下同)。 884 | % 采用宋体四号(14pt)字书写。 885 | % 886 | % \begin{macrocode} 887 | \ifxdu@bachelor 888 | \renewcommand\section{\par% 889 | \ifdim\prevdepth=-1000pt\dimen0=1ex% 890 | \else\dimen0=3ex\fi% 891 | \@startsection {section}{1}{\z@}% 892 | {\dimen0}% 893 | {2ex}% 894 | {\sihao[1.429]\filcenter}} 895 | \else 896 | \titleformat{\section}[block]{\xiaosan}{\thesection}{1ex}{} 897 | \titlespacing{\section}{0pt}{2ex}{2ex} 898 | \fi 899 | % \end{macrocode} 900 | % \end{macro} 901 | % 902 | % \begin{macro}{\subsection} 903 | % 二级节标题,例如:2.1.1 实验方法 904 | % 节标题序号与标题名之间空一个汉字符(下同)。 905 | % 采用宋体小四号(12pt)字居左书写。 906 | % \begin{macrocode} 907 | \ifxdu@bachelor 908 | \titleformat{\subsection}[block]{\xiaosi}{\thesubsection}{1ex}{} 909 | \titlespacing{\subsection}{0em}{2ex}{2ex} 910 | \else 911 | \titleformat{\subsection}[block]{\sihao}{\thesubsection}{1ex}{} 912 | \titlespacing{\subsection}{\xdu@CJK@twochars}{2ex}{2ex} 913 | \fi 914 | % 915 | % \end{macrocode} 916 | % \end{macro} 917 | % 918 | % 919 | %\subsubsection{目录格式} 920 | %\label{sec:tableofcontents} 921 | % 922 | % \changes{v0.9.8}{2013/03/13}{修正小节目录点间距} 923 | % \changes{v0.9.8}{2013/03/12}{修正目录点间距、PDF书签} 924 | % 925 | % \begin{macrocode} 926 | %<*class> 927 | \renewcommand{\tableofcontents}{% 928 | % \xdu@clearpage% 929 | % \phantomsection% 930 | % \@makeschapterhead{\contentsname}% 931 | % \chaptermark{\contentsname}% 932 | \chapter*{\contentsname}% 933 | \@starttoc{toc}} 934 | \newlength\xdu@dot@space 935 | \setlength\xdu@dot@space{3bp} 936 | \titlecontents{chapter}[0pt]{}% 937 | {\contentslabel{0pt}}% 938 | {\hspace*{0pt}}% 939 | {\titlerule*[\xdu@dot@space]{.}\bfseries\contentspage} 940 | \dottedcontents{section}[4em]{}{2.1em}{\xdu@dot@space} 941 | \dottedcontents{subsection}[6.8em]{}{2.7em}{\xdu@dot@space} 942 | % 943 | % \end{macrocode} 944 | % 945 | % \subsubsection{封面和封底} 946 | % \label{sec:cover} 947 | % 948 | % 方便的定义封面的一些替换命令。 949 | % 950 | % \changes{v0.9.9}{2014/04/20}{Cleaned unused codes for master's thesis.} 951 | % \changes{v0.9.5}{2012/06/23}{引入 \cs{xdu@define@term} 定义封面命令} 952 | % 953 | % \begin{macro}{\xdu@define@term} 954 | % \begin{macrocode} 955 | %<*class> 956 | \def\xdu@define@term#1{ 957 | \expandafter\gdef\csname #1\endcsname##1{% 958 | \expandafter\gdef\csname xdu@#1\endcsname{##1}} 959 | \csname #1\endcsname{}} 960 | % \end{macrocode} 961 | % \end{macro} 962 | % 963 | % \begin{macro}{\subjectcode} 964 | % \begin{macro}{\catalognumber} 965 | % \begin{macro}{\classid} 966 | % \begin{macro}{\studentid} 967 | % \begin{macro}{\secretlevel} 968 | % \begin{macro}{\ctitle} 969 | % \begin{macro}{\cschool} 970 | % \begin{macro}{\cmajor} 971 | % \begin{macro}{\cfirstdiscipline} 972 | % \begin{macro}{\efirstdiscipline} 973 | % \begin{macro}{\cseconddiscipline} 974 | % \begin{macro}{\eseconddiscipline} 975 | % \begin{macro}{\cauthor} 976 | % \begin{macro}{\csupervisor} 977 | % \begin{macro}{\ccosupervisor} 978 | % \begin{macro}{\ecosupervisor} 979 | % \begin{macro}{\cdate} 980 | % \begin{macro}{\edate} 981 | % \begin{macro}{\etitle} 982 | % \begin{macrocode} 983 | \xdu@define@term{universitycode} 984 | \xdu@define@term{catelognumber} 985 | \xdu@define@term{classid} 986 | \xdu@define@term{studentid} 987 | \xdu@define@term{secretlevel} 988 | \xdu@define@term{ctitle} 989 | \xdu@define@term{etitle} 990 | \xdu@define@term{cschool} 991 | \xdu@define@term{cmajor} 992 | \xdu@define@term{cfirstdiscipline} 993 | \xdu@define@term{efirstdiscipline} 994 | \xdu@define@term{cseconddiscipline} 995 | \xdu@define@term{eseconddiscipline} 996 | \xdu@define@term{cauthor} 997 | \xdu@define@term{eauthor} 998 | \xdu@define@term{cdegree} 999 | \xdu@define@term{edegree} 1000 | \xdu@define@term{csupervisor} 1001 | \xdu@define@term{esupervisor} 1002 | \xdu@define@term{ccosupervisor} 1003 | \xdu@define@term{ecosupervisor} 1004 | \xdu@define@term{cdate} 1005 | \xdu@define@term{edate} 1006 | \xdu@define@term{cthesistype} 1007 | \xdu@define@term{ethesistype} 1008 | % 1009 | % \end{macrocode} 1010 | % \end{macro} 1011 | % \end{macro} 1012 | % \end{macro} 1013 | % \end{macro} 1014 | % \end{macro} 1015 | % \end{macro} 1016 | % \end{macro} 1017 | % \end{macro} 1018 | % \end{macro} 1019 | % \end{macro} 1020 | % \end{macro} 1021 | % \end{macro} 1022 | % \end{macro} 1023 | % \end{macro} 1024 | % \end{macro} 1025 | % \end{macro} 1026 | % \end{macro} 1027 | % \end{macro} 1028 | % \end{macro} 1029 | % 1030 | % \begin{macrocode} 1031 | %<*config> 1032 | \def\xdu@universitycode@prefix{学校代码} 1033 | \def\xdu@catelognumber@prefix{分类号} 1034 | \def\xdu@classid@prefix{班级} 1035 | \def\xdu@studentid@prefix{学号} 1036 | \def\xdu@secretlevel@prefix{密级} 1037 | \def\xdu@ctitle@prefix{\ifxdu@bachelor{题目}\else{题{\xiaowu(中、英文)}目}\fi} 1038 | \def\xdu@cschool@prefix{学院} 1039 | \def\xdu@cmajor@prefix{专业} 1040 | \def\xdu@cauthor@prefix{\ifxdu@bachelor{学生姓名}\else{作者姓名}\fi} 1041 | \def\xdu@csupervisor@prefix{\ifxdu@bachelor{导师姓名}% 1042 | \else\ifxdu@masterpro{学校导师姓名、职称}\else{导师姓名、职称}\fi\fi} 1043 | \def\xdu@ccosupervisor@prefix{\ifxdu@masterpro{企业导师姓名、职称}\else\relax\fi} 1044 | \def\xdu@cfirstdiscipline@prefix{\ifxdu@masterpro{领\hskip2em{}域}\else{一级学科}\fi} 1045 | \def\xdu@cseconddiscipline@prefix{二级学科} 1046 | \def\xdu@cdegree@prefix{\ifxdu@masterpro{学位类别}\else{申请学位类别}\fi} 1047 | \def\xdu@cdate@titlepage@prefix{提交学位论文日期} 1048 | \def\xdu@cdate@prefix{提交日期} 1049 | \def\xdu@thesis@str{% 1050 | \ifxdu@bachelor{本科毕业设计论文}\else% 1051 | \ifxdu@master{硕士学位论文}\else% 1052 | \ifxdu@doctor{博士学位论文}\else% 1053 | \ifxdu@masterpro{硕士学位论文}\fi% 1054 | \fi\fi\fi} 1055 | % 1056 | % \end{macrocode} 1057 | % 1058 | % \changes{v1.0.0}{2014/11/26}{2014研究生论文封面} 1059 | % \changes{v0.9.8}{2013/03/14}{修正研究生论文封面行距} 1060 | % \changes{v0.9.6}{2012/06/27}{完成了本科毕业设计封面设计} 1061 | % \changes{v0.9.7}{2012/12/12}{完成了研究生论文封面的设计} 1062 | % \changes{v0.9.7}{2012/12/13}{改进了封面论文题目显示机制,允许题目中使用换行} 1063 | % 1064 | % \begin{macrocode} 1065 | %<*class> 1066 | \def\xdu@urule#1#2{\hskip2pt\underline{\hb@xt@#1{\hss#2\hss}}\hskip3pt} 1067 | \def\xdu@put@prefix#1#2{\makebox[#1][s]{#2}} 1068 | \def\xdu@titlepage{% 1069 | \ifxdu@bachelor% 1070 | \xdu@titlepage@bachelor% 1071 | \else% 1072 | \xdu@titlepage@graduate% 1073 | \fi} 1074 | \newcommand{\xdu@titlepage@bachelor}{ 1075 | \parbox[b]{0.9\linewidth}{% 1076 | \xiaosi[1.5]\song\bf\ignorespaces\flushright% 1077 | \xdu@put@prefix{3em}{\xdu@classid@prefix}\enskip% 1078 | \xdu@urule{32mm}{\xdu@classid}\par% 1079 | \xdu@put@prefix{3em}{\xdu@studentid@prefix}\enskip% 1080 | \xdu@urule{32mm}{\xdu@studentid}} 1081 | \begin{center} 1082 | \ifxdu@print\vspace{132mm}\else\vspace{18mm} 1083 | \includegraphics[width=77mm]{xdubadge}\par 1084 | \vspace{15mm} 1085 | \parbox[t]{\linewidth}{\chuhao\hei\centering\xdu@thesis@str}\par 1086 | \vspace{15mm} 1087 | \includegraphics[width=44mm]{xdlogo}\par 1088 | \vspace{18mm}\fi 1089 | \begin{minipage}{122mm} 1090 | \flushleft\xiaosan[2.5]\song% 1091 | \xdu@put@prefix{25mm}{\bf\xdu@ctitle@prefix} 1092 | \xdu@urule{95mm}{}\par 1093 | \xdu@put@prefix{25mm}{}\xdu@urule{95mm}{}\par 1094 | \xdu@put@prefix{25mm}{\bf\xdu@cschool@prefix} 1095 | \xdu@urule{95mm}{\xdu@cschool}\par 1096 | \xdu@put@prefix{25mm}{\bf\xdu@cmajor@prefix} 1097 | \xdu@urule{95mm}{\xdu@cmajor}\par 1098 | \xdu@put@prefix{25mm}{\bf\xdu@cauthor@prefix} 1099 | \xdu@urule{95mm}{\xdu@cauthor}\par 1100 | \xdu@put@prefix{25mm}{\bf\xdu@csupervisor@prefix} 1101 | \xdu@urule{95mm}{\xdu@csupervisor} 1102 | \end{minipage} 1103 | \vskip-87mm\hskip25mm 1104 | \begin{minipage}{85mm} 1105 | \sanhao\heiti\centering\ignorespaces\xdu@ctitle 1106 | \end{minipage} 1107 | \end{center} 1108 | } 1109 | \newcommand{\xdu@titlepage@graduate}{ 1110 | \ifxdu@print% 1111 | \parbox{\textwidth}{\vskip143mm} 1112 | \else% 1113 | \parbox{\textwidth}{\vskip35mm} 1114 | \begin{center} 1115 | \includegraphics[width=77mm]{xdubadge-gr}\par 1116 | \vskip15mm 1117 | \parbox[t]{\linewidth}{\chuhao\hei\centering\xdu@thesis@str}\par 1118 | \vskip15mm 1119 | \includegraphics[width=44mm]{xdlogo}\par 1120 | \end{center} 1121 | \fi 1122 | \vskip44mm\noindent 1123 | \xdu@put@prefix{5em}{\heiti\sihao\bfseries\xdu@cauthor@prefix} 1124 | \xdu@urule{12em}{\song\sihao\bfseries\xdu@cauthor} 1125 | \ifxdu@masterpro 1126 | \xdu@put@prefix{10.5em}{\heiti\sihao\bfseries\xdu@csupervisor@prefix} 1127 | \xdu@urule{6.5em}{\song\sihao\bfseries\xdu@csupervisor}\par 1128 | \else 1129 | \xdu@put@prefix{8em}{\heiti\sihao\bfseries\xdu@csupervisor@prefix} 1130 | \xdu@urule{9em}{\song\sihao\bfseries\xdu@csupervisor}\par 1131 | \fi 1132 | \vskip3ex\noindent 1133 | \xdu@put@prefix{5em}{\heiti\sihao\bfseries\xdu@cfirstdiscipline@prefix} 1134 | \xdu@urule{12em}{\song\sihao\bfseries\xdu@cfirstdiscipline} 1135 | \ifxdu@masterpro 1136 | \xdu@put@prefix{10.5em}{\heiti\sihao\bfseries\xdu@ccosupervisor@prefix} 1137 | \xdu@urule{6.5em}{\song\sihao\bfseries\xdu@ccosupervisor}\par 1138 | \else 1139 | \xdu@put@prefix{5em}{\heiti\sihao\bfseries\xdu@cseconddiscipline@prefix} 1140 | \xdu@urule{12em}{\song\sihao\bfseries\xdu@cseconddiscipline}\par 1141 | \fi 1142 | \vskip3ex\noindent 1143 | \xdu@put@prefix{7em}{\heiti\sihao\bfseries\xdu@cdegree@prefix} 1144 | \xdu@urule{10em}{\song\sihao\bfseries\xdu@cdegree} 1145 | \xdu@put@prefix{9em}{\heiti\sihao\bfseries\xdu@cdate@titlepage@prefix} 1146 | \xdu@urule{8em}{\song\sihao\bfseries\xdu@cdate}\par 1147 | \vskip-79mm\noindent 1148 | \begin{minipage}{\textwidth} 1149 | \centering\song\erhao\bfseries\xdu@ctitle\par 1150 | \end{minipage} 1151 | } 1152 | \newcommand{\xdu@cheadpage@bachelor}{} 1153 | \newcommand{\xdu@eheadpage@bachelor}{} 1154 | \newcommand{\xdu@cheadpage@graduate}{ 1155 | \noindent 1156 | \parbox[b]{\textwidth}{ 1157 | \vskip4ex 1158 | \song\wuhao\bfseries\ignorespaces\centering 1159 | \xdu@put@prefix{4em}{\xdu@universitycode@prefix}% 1160 | \xdu@urule{8em}{\xdu@universitycode}% 1161 | \hfill{}% 1162 | \xdu@put@prefix{4em}{\xdu@studentid@prefix}% 1163 | \xdu@urule{8em}{\xdu@studentid} 1164 | \par\vskip1ex 1165 | \xdu@put@prefix{4em}{\xdu@catelognumber@prefix}% 1166 | \xdu@urule{8em}{\xdu@catelognumber}% 1167 | \hfill 1168 | \xdu@put@prefix{4em}{\xdu@secretlevel@prefix}% 1169 | \xdu@urule{8em}{\xdu@secretlevel}} 1170 | \vskip17mm\noindent 1171 | \begin{center} 1172 | \begingroup\hei\bfseries\yihao\xdu@xidian@str\par\endgroup 1173 | \vskip17mm 1174 | \begingroup\song\erhao\bfseries\xdu@thesis@str\par\endgroup 1175 | \end{center} 1176 | \vskip65mm 1177 | \begingroup\song\sihao[2] 1178 | \newlength\xdu@headpage@hangpos 1179 | \setlength\xdu@headpage@hangpos{0.5\textwidth-4em} 1180 | \noindent\hangindent\xdu@headpage@hangpos\\ 1181 | \begingroup\bfseries\xdu@cauthor@prefix\endgroup{:}\xdu@cauthor\\ 1182 | \begingroup\bfseries\xdu@cfirstdiscipline@prefix\endgroup{:} 1183 | \xdu@cfirstdiscipline\\ 1184 | \ifxdu@masterpro 1185 | \begingroup\bfseries\xdu@cdegree@prefix\endgroup{:}\xdu@cdegree\\ 1186 | \begingroup\bfseries\xdu@csupervisor@prefix\endgroup{:}\xdu@csupervisor\\ 1187 | \begingroup\bfseries\xdu@ccosupervisor@prefix\endgroup{:}\xdu@ccosupervisor\\ 1188 | \else 1189 | \begingroup\bfseries\xdu@cseconddiscipline@prefix\endgroup{:} 1190 | \xdu@cseconddiscipline\\ 1191 | \begingroup\bfseries\xdu@cdegree@prefix\endgroup{:}\xdu@cdegree\\ 1192 | \begingroup\bfseries\xdu@csupervisor@prefix\endgroup{:}\xdu@csupervisor\\ 1193 | \fi 1194 | \begingroup\bfseries\xdu@cdate@prefix\endgroup{:}\xdu@cdate\par 1195 | \endgroup 1196 | \vskip-110mm\noindent 1197 | \begin{minipage}{\textwidth} 1198 | \centering\song\erhao\bfseries\xdu@ctitle\par 1199 | \end{minipage} 1200 | } 1201 | \newcommand{\xdu@eheadpage@graduate}{ 1202 | \noindent\parbox{\textwidth}{% 1203 | \ifxdu@doctor\vskip155mm\else\vskip178mm\fi} 1204 | \noindent 1205 | \begin{minipage}{1.0\linewidth} 1206 | \noindent\centering\sanhao[1.57] 1207 | A \ifxdu@doctor dissertation \else thesis \fi submitted to\\ 1208 | XIDIAN UNIVERSITY\\ 1209 | in partial fulfillment of the requirements\\ 1210 | for the degree of \xdu@edegree% 1211 | \ifxdu@doctor\relax\else\\in \xdu@efirstdiscipline\fi 1212 | \end{minipage} 1213 | \ifxdu@doctor\vskip27mm\else\vskip18mm\fi 1214 | \begin{minipage}{1.0\linewidth} 1215 | \noindent\centering\sanhao[1.57] 1216 | By\\ 1217 | \xdu@eauthor\\ 1218 | \ifxdu@doctor(\xdu@efirstdiscipline)\\\fi 1219 | Supervisor: \xdu@esupervisor% 1220 | \ifxdu@masterpro\hskip1em\xdu@ecosupervisor\fi\\ 1221 | \xdu@edate 1222 | \end{minipage} 1223 | \vskip-225mm\noindent 1224 | \begin{minipage}{\textwidth} 1225 | \noindent\centering\erhao\bfseries\xdu@etitle\par 1226 | \end{minipage} 1227 | } 1228 | \ifxdu@bachelor 1229 | \let\xdu@cheadpage\xdu@cheadpage@bachelor 1230 | \let\xdu@eheadpage\xdu@eheadpage@bachelor 1231 | \else 1232 | \let\xdu@cheadpage\xdu@cheadpage@graduate 1233 | \let\xdu@eheadpage\xdu@eheadpage@graduate 1234 | \fi 1235 | % 1236 | % \end{macrocode} 1237 | % 1238 | % 1239 | % \changes{v0.9.9}{2014/04/26}{纯英文论文中不出现作者简介} 1240 | % \changes{v0.9.7}{2012/12/14}{增加研究论文作者简介} 1241 | % 1242 | % \begin{macrocode} 1243 | %<*config> 1244 | \ifxdu@english 1245 | \def\xdu@authorbio@title{Author Biography} 1246 | \else 1247 | \def\xdu@authorbio@title{作者简介} 1248 | \fi 1249 | % 1250 | % \end{macrocode} 1251 | % 1252 | % \begin{macro}{\xdu@make@authorbio} 1253 | % \begin{macrocode} 1254 | %<*class> 1255 | \long\@xp\def\@xp\collect@@body\@xp#\@xp1\@xp\end\@xp#\@xp2\@xp{% 1256 | \collect@@body{#1}\end{#2}} 1257 | \long\@xp\def\@xp\push@begins\@xp#\@xp1\@xp\begin\@xp#\@xp2\@xp{% 1258 | \push@begins{#1}\begin{#2}} 1259 | \long\@xp\def\@xp\addto@envbody\@xp#\@xp1\@xp{% 1260 | \addto@envbody{#1}} 1261 | \newcommand{\xdu@@cauthorbio}[1]{\long\gdef\xdu@cauthorbio{#1}} 1262 | \newenvironment{cauthorbio}[1]{\long\gdef\xdu@bio@photo{#1}% 1263 | \collect@body\xdu@@cauthorbio}{} 1264 | \newcommand{\xdu@@eauthorbio}[1]{\long\gdef\xdu@eauthorbio{#1}} 1265 | \newenvironment{eauthorbio}{\collect@body\xdu@@eauthorbio}{} 1266 | % 照片区域大小 IEEEtran格式 1267 | \def\xdu@bio@photowidth{1.00in} % width of the biography photo area 1268 | \def\xdu@bio@photodepth{1.25in} % depth (height) of the biography photo area 1269 | % 为放置照片留出的空白区域大小 1270 | \def\xdu@bio@hangwidth{1.15in} % width cleared for the biography photo area 1271 | \def\xdu@bio@hangdepth{1.25in} % depth cleared for the biography photo area 1272 | \newdimen\@xdtmpdimenA 1273 | \newdimen\@xdtmpdimenB 1274 | \newcount\@xdtmpcountA 1275 | \def\xdu@make@authorbio{% 1276 | \begin{center} 1277 | \ifxdu@english% 1278 | \sanhao[2]\bfseries{\xdu@authorbio@title} 1279 | \else 1280 | \sanhao[2]\hei{\xdu@authorbio@title} 1281 | \fi 1282 | \end{center} 1283 | \vskip2ex% 1284 | \def\xdu@temp@photobox{\mbox{% 1285 | \begin{minipage}[b][\xdu@bio@photodepth][c]{\xdu@bio@photowidth}% 1286 | \centering \xdu@bio@photo% 1287 | \end{minipage}}} 1288 | \settoheight{\@xdtmpdimenA}{\xdu@temp@photobox} 1289 | \@xdtmpdimenB=\xdu@bio@hangdepth% 1290 | % countA has the hang depth 1291 | \@xdtmpcountA=\@xdtmpdimenB 1292 | % calculates lines needed to produce the hang depth 1293 | \divide\@xdtmpcountA by \baselineskip 1294 | \advance\@xdtmpcountA by 1% ensure we overestimate 1295 | % reference the top of the photo area to the top of a capital T 1296 | \settoheight{\@xdtmpdimenB}{\mbox{T}}% 1297 | \noindent\makebox[0pt][l]{\hspace{-\xdu@bio@hangwidth}% 1298 | \raisebox{\@xdtmpdimenB}[0pt][0pt]{% 1299 | \raisebox{-\xdu@bio@photodepth}[0pt][0pt]{\xdu@temp@photobox}}}% 1300 | \hangindent\xdu@bio@hangwidth% 1301 | \hangafter-\@xdtmpcountA% 1302 | \ifxdu@english% 1303 | \xdu@eauthorbio\par% 1304 | \else 1305 | \indent\xdu@cauthorbio\par% 1306 | \fi 1307 | \ifnum \prevgraf <\@xdtmpcountA\relax% detect when the biography text is shorter than the photo 1308 | \advance\@xdtmpcountA by -\prevgraf% calculate how many lines we need to pad 1309 | \advance\@xdtmpcountA by -1\relax% we compensate for the fact that we indented an extra line 1310 | \@xdtmpdimenA=\baselineskip% calculate the length of the padding 1311 | \multiply\@xdtmpdimenA by \@xdtmpcountA% 1312 | \noindent\rule{0pt}{\@xdtmpdimenA}% insert an invisible support strut 1313 | \fi% 1314 | \ifxdu@english\relax\else\xdu@eauthorbio\par\fi% 1315 | } 1316 | % 1317 | % \end{macrocode} 1318 | % \end{macro} 1319 | % 1320 | % 1321 | % 封面中论文诚信声明部分。 1322 | % 1323 | % \changes{v0.9.7}{2012/12/12}{增加各级学位论文诚信声明页} 1324 | % 1325 | %<*config> 1326 | \def\xdu@xidian@str{西安电子科技大学} 1327 | \def\xdu@declaration@title{% 1328 | \ifxdu@bachelor{毕业设计(论文)诚信声明书}% 1329 | \else{学位论文独创性(或创新性)声明}\fi} 1330 | \def\xdu@authorization@title{\ifxdu@bachelor{}% 1331 | \else{关于论文使用授权的说明}\fi} 1332 | \def\xdu@declaration@str{ 1333 | \ifxdu@bachelor{本人声明:本人所提交的毕业论文《\xdu@ctitle》是本人在指导教师指 1334 | 导下独立研究、写作的成果,论文中所引用他人的无论以何种方式发布的文字、研究成 1335 | 果, 均在论文中加以说明;有关教师、同学和其他人员对本文的写作、修订提出过并为 1336 | 我在论文中加以采纳的意见、建议,均已在我的致谢辞中加以说明并深致谢意。\par{} 1337 | 本论文和资料若有不实之处,本人承担一切相关责任。} 1338 | \else{秉承学校严谨的学风和优良的科学道德,本人声明所呈交的论文是我 1339 | 个人在导师指导下进行的研究工作及取得的研究成果。尽我所知,除了文中特别加以标 1340 | 注和致谢中所罗列的内容以外,论文中不包含其他人已经发表或撰写过的研究成果; 也 1341 | 不包含为获得西安电子科技大学或其它教育机构的学位或证书而使用过的材料。与我一 1342 | 同工作的同志对本研究所做的任何贡献均已在论文中做了明确的说明并表示了谢 1343 | 意。\par{} 1344 | 学位论文若有不实之处,本人承担一切法律责任。} 1345 | \fi} 1346 | \def\xdu@authorization@str{ 1347 | \ifxdu@bachelor\relax 1348 | \else{本人完全了解西安电子科技大学有关保留和使用学位论文的规定,即: 1349 | 研究生在校攻读学位期间论文工作的知识产权单位属于西安电子科技大学。学校有权保 1350 | 留送交论文的复印件,允许查阅、借阅论文;学校可以公布论文的全部或部分内容,允 1351 | 许采用影印、缩印或其它复制手段保存论文。同时本人保证,获得学位后结合学位论文 1352 | 研究成果撰写的文章,署名单位为西安电子科技大学。\par{}% 1353 | 保密的学位论文在\underline{\hskip2em}年解密后适用本授权书。} 1354 | \fi} 1355 | \def\xdu@author@presig{\ifxdu@bachelor{论文作者:}\else{本人签名:}\fi} 1356 | \def\xdu@supervisor@presig{\ifxdu@bachelor{指导教师已阅:}% 1357 | \else{导师签名:}\fi} 1358 | \def\xdu@date@presig{\ifxdu@bachelor{日期}\else{日  期:}\fi} 1359 | % 1360 | % 1361 | % \begin{macro}{\xdu@make@declaration} 1362 | % \begin{macrocode} 1363 | %<*class> 1364 | \def\xdu@make@declaration{% 1365 | \song\xiaosi[1.5] 1366 | {\centering\bfseries\ifxdu@bachelor\sanhao\else\sihao[1.6]\fi% 1367 | \xdu@xidian@str\par\xdu@declaration@title\par} 1368 | \vskip4ex\xdu@declaration@str\vskip3ex 1369 | \xdu@put@prefix{5em}{\xdu@author@presig}\underline{\hskip30mm}\hskip25mm 1370 | \ifxdu@bachelor 1371 | \xdu@put@prefix{2em}{\xdu@date@presig}\underline{\hskip30mm}\par 1372 | \else 1373 | \xdu@put@prefix{5em}{\xdu@date@presig}\underline{\hskip30mm}\par 1374 | \fi 1375 | \vskip16ex 1376 | \ifxdu@bachelor\relax\else 1377 | {\centering\bfseries\ifxdu@bachelor\sanhao\else\sihao[1.6]\fi% 1378 | \xdu@xidian@str\par\xdu@authorization@title\par} 1379 | \vskip4ex\xdu@authorization@str\par\vskip3ex 1380 | \xdu@put@prefix{5em}{\xdu@author@presig}\underline{\hskip30mm}\hskip25mm 1381 | \xdu@put@prefix{5em}{\xdu@supervisor@presig}\underline{\hskip30mm}\par 1382 | \vskip3ex 1383 | \xdu@put@prefix{5em}{\xdu@date@presig}\underline{\hskip30mm}\hskip25mm 1384 | \xdu@put@prefix{5em}{\xdu@date@presig}\underline{\hskip30mm}\par 1385 | \fi 1386 | } 1387 | % \end{macrocode} 1388 | % \end{macro} 1389 | % 1390 | % \begin{macro}{\makecover} 1391 | % \changes{v0.9.5}{2012/06/23}{分成几个小模块来搞,不然这个 macro 太大了,看不过来} 1392 | % 1393 | % \begin{macrocode} 1394 | \newcommand{\makecover}{ 1395 | \begin{titlepage} 1396 | \xdu@titlepage 1397 | \end{titlepage} 1398 | \xdu@clearpage 1399 | \thispagestyle{xdu@empty} 1400 | \xdu@cheadpage 1401 | \xdu@clearpage 1402 | \thispagestyle{xdu@empty} 1403 | \xdu@eheadpage 1404 | \xdu@clearpage 1405 | \addtolength{\topmargin}{15pt} 1406 | \thispagestyle{xdu@empty} 1407 | \xdu@make@declaration 1408 | \xdu@clearpage 1409 | \addtolength{\topmargin}{-15pt} 1410 | \setcounter{page}{1} 1411 | \xdu@makeabstract 1412 | } 1413 | % 1414 | % \end{macrocode} 1415 | % \end{macro} 1416 | % 1417 | % \subsubsection{数学相关} 1418 | %\label{sec:maths} 1419 | % 1420 | % \begin{macrocode} 1421 | %<*class> 1422 | \renewcommand\theequation{\ifnum \c@chapter>\z@ \thechapter% 1423 | -\fi\@arabic\c@equation} 1424 | % 1425 | % \end{macrocode} 1426 | % 1427 | % \subsubsection{浮动对象以及表格} 1428 | % \label{sec:float} 1429 | % 1430 | % 设置浮动对象和文字之间的距离 1431 | % 1432 | % \changes{v0.9.8}{2013/03/14}{设置图表长标题居中对齐} 1433 | % \changes{v0.2}{2009/06/06}{增加\cs{subfloat}} 1434 | % 1435 | % \begin{macrocode} 1436 | %<*class> 1437 | \let\old@tabular\@tabular 1438 | \def\xdu@tabular{\wuhao\old@tabular} 1439 | \ifxdu@english 1440 | \DeclareCaptionLabelFormat{xdu@cap}{{\wuhao#1~\rmfamily#2}} 1441 | \else 1442 | \DeclareCaptionLabelFormat{xdu@cap}{{\wuhao#1\rmfamily#2}} 1443 | \fi 1444 | \DeclareCaptionLabelSeparator{xdu@sep}{\hspace{1em}} 1445 | \DeclareCaptionFont{xdu@capfont}{\wuhao} 1446 | \captionsetup{labelformat=xdu@cap, 1447 | labelsep=xdu@sep, 1448 | font=xdu@capfont, 1449 | justification=centering} 1450 | \captionsetup[table]{position=top, belowskip={1pc-\intextsep}, aboveskip=1pc} 1451 | \captionsetup[figure]{position=bottom, belowskip={1pc-\intextsep}, aboveskip=1pc} 1452 | \captionsetup[subfloat]{font=xdu@capfont,captionskip=6bp,% 1453 | nearskip=6bp,farskip=0bp,topadjust=0bp} 1454 | \renewenvironment{table}{% 1455 | \renewcommand* {\@floatboxreset}{% 1456 | \reset@font\@setminipage} 1457 | \dawu\@float{table}% 1458 | }{% 1459 | \end@float\normalsize 1460 | } 1461 | % 1462 | % \end{macrocode} 1463 | 1464 | % \subsubsection{摘要格式} 1465 | % \label{sec:abstractformat} 1466 | % 1467 | % \changes{v1.0.0}{2014/11/24}{按照2014研究生论文版式修改摘要模板} 1468 | % \changes{v0.9.9}{2014/04/20}{Fixed fragile {e,c}abstract environments.} 1469 | % 1470 | % \begin{macro}{\xdu@makeabstract} 1471 | % 中文摘要部分的标题为"摘要",用宋体三号字加精力。 1472 | % \begin{macrocode} 1473 | %<*class> 1474 | \newcommand{\xdu@@cabstract}[1]{\long\gdef\xdu@cabstract{#1}} 1475 | \newenvironment{cabstract}{\collect@body\xdu@@cabstract}{} 1476 | \newcommand{\xdu@@eabstract}[1]{\long\gdef\xdu@eabstract{#1}} 1477 | \newenvironment{eabstract}{\collect@body\xdu@@eabstract}{} 1478 | \newcommand{\xdu@@ckeywords}[1]{\long\gdef\xdu@ckeywords{#1}} 1479 | \newenvironment{ckeywords}{\collect@body\xdu@@ckeywords}{} 1480 | \newcommand{\xdu@@ekeywords}[1]{\long\gdef\xdu@ekeywords{#1}} 1481 | \newenvironment{ekeywords}{\collect@body\xdu@@ekeywords}{} 1482 | \newcommand{\xdu@makeabstract}{% 1483 | \xdu@mkabstracttrue% 1484 | % 摘要内容用小四号字书写,两端对齐,汉字用宋体,外文字用Times New Roman 体,标点 1485 | % 符号一律用中文输入状态下的标点符号 1486 | \expandafter \ifx \csname xdu@cabstract\endcsname% 1487 | \relax\else% 1488 | \chapter*{\cabstractname}% 1489 | \normalsize\par\xdu@cabstract\vskip12bp% 1490 | %本科关键词为悬挂缩进 1491 | \ifxdu@bachelor% 1492 | \setbox0=\hbox{\hei\xdu@ckeywords@title\hspace{1em}}% 1493 | \noindent\hangindent\wd0\hangafter1 1494 | \expandafter \ifx \csname xdu@ckeywords\endcsname% 1495 | \relax\box0{\hei}% 1496 | \else\box0{\hei\xdu@ckeywords}\fi% 1497 | \else%% 硕士、博士论文格式相同 1498 | \begingroup\song\wuhao 1499 | \setbox0=\hbox{\bfseries\xdu@cthesistype@title}% 1500 | \setbox1=\hbox to \wd0 {\bfseries\xdu@ckeywords@title}% 1501 | \noindent\hangindent\wd0\hangafter1 1502 | \expandafter \ifx \csname xdu@ckeywords\endcsname% 1503 | \relax\box1{\bfseries}% 1504 | \else\box1{\xdu@ckeywords}\fi% 1505 | \par\noindent\box0{\bfseries}\xdu@cthesistype% 1506 | \endgroup% 1507 | \fi% 1508 | \fi% 1509 | % 英文摘要部分的标题为“ABSTRACT”,用Times New Roman 体三号字。 1510 | \expandafter \ifx \csname xdu@eabstract\endcsname \relax% 1511 | \else% 1512 | \chapter*{\bfseries\eabstractname}% 1513 | \normalsize\par\xdu@eabstract\vskip12bp% 1514 | % 关键词为悬挂缩进(本科、硕士、博士论文格式相同) 1515 | \begingroup\ifxdu@bachelor\normalsize\else\wuhao\fi 1516 | \setbox0=\hbox{\bfseries\xdu@ekeywords@title\hskip1em}% 1517 | \noindent\hangindent\wd0\hangafter1% 1518 | \expandafter \ifx \csname xdu@ekeywords\endcsname% 1519 | \relax\box0{\ifxdu@bachelor\bfseries\fi}% 1520 | \else\box0{\ifxdu@bachelor\bfseries\fi\xdu@ekeywords}\fi% 1521 | \ifxdu@bachelor\relax\else% 1522 | \par\noindent {\bfseries\xdu@ethesistype@title}% 1523 | \hskip1em\xdu@ethesistype 1524 | \endgroup 1525 | \fi% 1526 | \fi 1527 | \xdu@mkabstractfalse% 1528 | } 1529 | % 1530 | % \end{macrocode} 1531 | % \end{macro} 1532 | % 1533 | % 1534 | % \subsubsection{插图索引/表格索引} 1535 | % \label{sec:floatlists} 1536 | % 1537 | % \changes{v1.0.0}{2014/11/24}{按照2014研究生论文版式增加插图与表格索引} 1538 | % 1539 | % \begin{macro}{listoffigures} 1540 | % \begin{macro}{listoftables} 1541 | % \begin{macrocode} 1542 | %<*class> 1543 | \def\@tocrmarg{2em} 1544 | \def\@dotsep{1} % 目录点间的距离 1545 | \def\@dottedtocline#1#2#3#4#5{% 1546 | \ifnum #1>\c@tocdepth \else 1547 | \vskip \z@ \@plus.2\p@ 1548 | {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip 1549 | \parindent #2\relax\@afterindenttrue 1550 | \interlinepenalty\@M 1551 | \leavevmode 1552 | \@tempdima #3\relax 1553 | \advance\leftskip \@tempdima \null\nobreak\hskip -\leftskip 1554 | {#4}\nobreak\hskip2pt 1555 | \leaders\hbox{$\m@th\mkern \@dotsep mu\hbox{.}\mkern \@dotsep mu$}\hfill 1556 | \nobreak{\normalfont \normalcolor #5}% 1557 | \par}% 1558 | \fi} 1559 | \def\xdu@starttoc#1{% #1: float type, prepend type name in \listof*** entry. 1560 | \let\oldnumberline\numberline 1561 | \def\numberline##1{\oldnumberline{\csname #1name\endcsname% 1562 | \ifxdu@english~\else\hskip.2em\fi ##1}} 1563 | \@starttoc{\csname ext@#1\endcsname} 1564 | \let\numberline\oldnumberline} 1565 | \def\xdu@listof#1{% #1: float type 1566 | \@ifstar 1567 | {\chapter*[]{\csname list#1name\endcsname}\xdu@starttoc{#1}} 1568 | {\chapter*{\csname list#1name\endcsname}\xdu@starttoc{#1}}} 1569 | \renewcommand\listoffigures{\xdu@listof{figure}} 1570 | \ifxdu@english 1571 | \renewcommand*\l@figure{\@dottedtocline{1}{0em}{5em}} 1572 | \else 1573 | \renewcommand*\l@figure{\@dottedtocline{1}{0em}{3.2em}} 1574 | \fi 1575 | \renewcommand\listoftables{\xdu@listof{table}} 1576 | \let\l@table\l@figure 1577 | % 1578 | % \end{macrocode} 1579 | % \end{macro} 1580 | % \end{macro} 1581 | % 1582 | % 1583 | % \subsubsection{参考文献} 1584 | % \label{sec:ref} 1585 | % 1586 | % \begin{macro}{\onlinecite} 1587 | % 正文引用模式。依赖于\pkg{natbib}宏包,修改其中的命令。 1588 | % \begin{macrocode} 1589 | %<*class> 1590 | \bibpunct{[}{]}{,}{s}{}{,} 1591 | \renewcommand\NAT@citesuper[3]{\ifNAT@swa 1592 | \unskip\kern\p@\textsuperscript{\NAT@@open #1\NAT@@close}% 1593 | \if*#3*\else\ (#3)\fi\else #1\fi\endgroup} 1594 | \DeclareRobustCommand\onlinecite{\@onlinecite} 1595 | \def\@onlinecite#1{\begingroup\let\@cite\NAT@citenum\citep{#1}\endgroup} 1596 | % \end{macrocode} 1597 | % \end{macro} 1598 | % 1599 | % 参考文献的正文部分用五号字。 1600 | % 行距采用固定值16磅,段前空3磅,段后空0磅。 1601 | % 1602 | % \begin{environment}{thebibliography} 1603 | % 修改默认的thebibliography环境,增加一些调整代码。 1604 | % \begin{macrocode} 1605 | \renewenvironment{thebibliography}[1]{% 1606 | \chapter*{\bibname}% 1607 | \wuhao[1.5]% 1608 | \list{\@biblabel{\@arabic\c@enumiv}}% 1609 | {\renewcommand{\makelabel}[1]{##1\hfill} 1610 | \settowidth\labelwidth{1.1cm} 1611 | \setlength{\labelsep}{0.6em} 1612 | \setlength{\itemindent}{0pt} 1613 | \setlength{\leftmargin}{\labelwidth+\labelsep} 1614 | \addtolength{\itemsep}{-0.7em} 1615 | \usecounter{enumiv}% 1616 | \let\p@enumiv\@empty 1617 | \renewcommand\theenumiv{\@arabic\c@enumiv}}% 1618 | \sloppy 1619 | \clubpenalty4000 1620 | \@clubpenalty \clubpenalty 1621 | \widowpenalty4000% 1622 | \interlinepenalty4000% 1623 | \sfcode`\.\@m} 1624 | {\def\@noitemerr 1625 | {\@latex@warning{Empty `thebibliography' environment}}% 1626 | \endlist} 1627 | % 1628 | % \end{macrocode} 1629 | % \end{environment} 1630 | % 1631 | % \subsubsection{致谢} 1632 | % \label{sec:ack} 1633 | % 1634 | % \begin{macrocode} 1635 | %<*class> 1636 | \ifxdu@english 1637 | \newenvironment{acknowledgments}{\chapter*{\bfseries\xdu@ackname}}{} 1638 | \else 1639 | \newenvironment{acknowledgments}{\chapter*{\xdu@ackname}}{} 1640 | \fi 1641 | % 1642 | % \end{macrocode} 1643 | % 1644 | % \subsubsection{附录} 1645 | % \label{sec:appendix} 1646 | % 1647 | % \begin{macrocode} 1648 | %<*class> 1649 | \let\xdu@appendix\appendix 1650 | \renewenvironment{appendix}{ 1651 | \xdu@appendix 1652 | \gdef\@chapapp{\appendixname~\thechapter} 1653 | }{} 1654 | % 1655 | % \end{macrocode} 1656 | % 1657 | % \begin{macrocode} 1658 | %\AtEndOfClass{\input{xduthesis.cfg}}% 1659 | % \end{macrocode} 1660 | % 1661 | % 把 CJK 环境放到合适的位置,以免导致其它宏包的命令位于 CJK 环境中而出现问题(比 1662 | % 如 natbib 的``Multiple-defined labels'',同时自动开启 CJK。 1663 | % \begin{macrocode} 1664 | %<*class> 1665 | \AtBeginDocument{\CJKindent} 1666 | \AtEndOfClass{\sloppy\xdu@item@space} 1667 | % 1668 | % \end{macrocode} 1669 | % 1670 | % \Finale 1671 | \endinput --------------------------------------------------------------------------------