texlive[62980] Master/texmf-dist: bithesis (8apr22)

commits+karl at tug.org commits+karl at tug.org
Fri Apr 8 23:43:40 CEST 2022


Revision: 62980
          http://tug.org/svn/texlive?view=revision&revision=62980
Author:   karl
Date:     2022-04-08 23:43:40 +0200 (Fri, 08 Apr 2022)
Log Message:
-----------
bithesis (8apr22)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/bithesis/README.md
    trunk/Master/texmf-dist/doc/latex/bithesis/bithesis.pdf
    trunk/Master/texmf-dist/doc/latex/bithesis/contributing-zh.md
    trunk/Master/texmf-dist/doc/latex/bithesis/contributing.md
    trunk/Master/texmf-dist/doc/latex/bithesis/dtx-style.sty
    trunk/Master/texmf-dist/source/latex/bithesis/bithesis.dtx
    trunk/Master/texmf-dist/source/latex/bithesis/bithesis.ins
    trunk/Master/texmf-dist/tex/latex/bithesis/bitart.cls
    trunk/Master/texmf-dist/tex/latex/bithesis/bitbook.cls

Added Paths:
-----------
    trunk/Master/texmf-dist/tex/latex/bithesis/bitgrad.cls

Removed Paths:
-------------
    trunk/Master/texmf-dist/doc/latex/bithesis/README-zh.md

Deleted: trunk/Master/texmf-dist/doc/latex/bithesis/README-zh.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/bithesis/README-zh.md	2022-04-07 23:49:53 UTC (rev 62979)
+++ trunk/Master/texmf-dist/doc/latex/bithesis/README-zh.md	2022-04-08 21:43:40 UTC (rev 62980)
@@ -1,88 +0,0 @@
-<div align="center">
-  <img src="./assets/bithesis_icon.svg" alt="BIThesis Icon">
-
-📖 _非官方本科生毕业设计毕业论文 LaTeX 模板(以及更多)_
-
-![BIThesis](./assets/bithesis_badge_solid.svg)
-[![English version](./assets/english.svg)](./README-en.md)
-[![Latexmk](https://badgen.net/badge/compiler/Latexmk?color=blue&labelColor=2b2b2b)](https://mg.readthedocs.io/latexmk.html)
-[![License](https://badgen.net/github/license/BITNP/BIThesis?color=008080&labelColor=2b2b2b)](./LICENSE)
-[![Join on Slack](https://img.shields.io/badge/Slack%20Community-BIThesis-black?logo=slack&style=social&logoColor=2eb67d)](https://join.slack.com/t/bithesis/shared_invite/zt-epmzkyk0-fJRsUS36AlwMNB2AI_Q~Vw)
-
-</div>
-
-<h2>欢迎</h2>
-
-BIThesis 是针对北京理工大学本科同学毕业设计、毕业论文制作的一个非官方的 LaTeX 模板,BIThesis 同时也包括其他本科学习中涉及到的文献综述、实验报告等的 LaTeX 模板。
-
-**我们正在对项目持续更新!目前,你完全可以使用现有的版本开始你的毕业设计开题报告的写作;不过与此同时,我们也在持续推进代码的升级和更新(主要是不影响使用的底层逻辑)。更多开发计划请访问我们的 [Roadmap](https://github.com/BITNP/BIThesis/projects)。想帮助这个项目持续前进?参见我们的[贡献者指南](./contributing-zh.md)。**
-
-> 本项目获得了 [北京理工大学教务部](http://jwc.bit.edu.cn/)、[北京理工大学计算机学院](http://cs.bit.edu.cn/) 的认可、背书与大力支持。详见:[致谢 - 官方赞助](https://bithesis.bitnp.net/Guide/5-Acknowledgements/Acknowledgements.html#%E5%AE%98%E6%96%B9%E8%B5%9E%E5%8A%A9-official-sponsors)。
-
-<h2>Slack 社区</h2>
-
-> 订阅更新,询问问题,提出需求……来参加 Slack 上面的北理 BIThesis 官方社区!
-
-[![Join on Slack](./assets/slack.svg)](https://join.slack.com/t/bithesis/shared_invite/zt-epmzkyk0-fJRsUS36AlwMNB2AI_Q~Vw)
-
-<h2>内容</h2>
-
-- [开发者指南](#开发者指南)
-- [贡献者指南](#%e8%b4%a1%e7%8c%ae%e8%80%85%e6%8c%87%e5%8d%97)
-- [贡献者](#%e8%b4%a1%e7%8c%ae%e8%80%85)
-- [相关项目](#%e7%9b%b8%e5%85%b3%e9%a1%b9%e7%9b%ae)
-- [发布状态](#%e5%8f%91%e5%b8%83%e7%8a%b6%e6%80%81)
-
-
-
-## 开发者指南
-
-### 生成 .cls 文件
-
-```Bash
-make cls
-```
-
-### 生成宏包手册
-
-```Bash
-make doc
-```
-
-### 与 scaffold 联调开发
-
-将 `BITNP/BIThesis` 与 `BITNP/BIThesis-scaffold` 放在同一级目录下,
-然后进入 `BIThesis` 目录。
-
-```Bash
-# 请首先确保 entr 正确安装
-ls bithesis.dtx | entr -s 'yes -y y | make doc && make copy'
-```
-
-## 贡献者指南
-
-详情请查看[贡献者指南](./contributing-zh.md)。
-
-## 贡献者
-
-参见[Github Contributors](https://github.com/BITNP/BIThesis/graphs/contributors) 与 [BIThesis - 致谢](https://bithesis.bitnp.net/Guide/5-Acknowledgements/Acknowledgements.html)。
-
-## 相关项目
-
-- [北京理工大学硕士(博士)学位论文 LaTeX 模板](https://github.com/BIT-thesis/LaTeX-template)
-- [fduthesis(复旦大学论文模板)](https://github.com/stone-zeng/fduthesis)
-- [上海交通大学 XeLaTeX 学位论文及课程论文模板](https://github.com/sjtug/SJTUThesis)
-- ……
-
-## 发布状态
-
-| CI             | Build status                                                                                                                                                                              |
-| :------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| GitHub Release | ![GitHub Release](https://github.com/BITNP/BIThesis/workflows/Release/badge.svg?branch=master)                                                                                            |
-| Netlify Deploy | [![Netlify Status](https://api.netlify.com/api/v1/badges/81f7b49b-59a1-46bc-ba52-02f8be71d247/deploy-status)](https://app.netlify.com/sites/vigorous-hoover-a697eb/deploys)               |
-
----
-
-📖 **BIThesis** ©BITNP/BIThesis. Released under the [LaTeX Project Public License](LICENSE).
-
-Authored by Spencer Woo. Maintained with help from [contributors](https://github.com/BITNP/BIThesis/graphs/contributors).

Modified: trunk/Master/texmf-dist/doc/latex/bithesis/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/bithesis/README.md	2022-04-07 23:49:53 UTC (rev 62979)
+++ trunk/Master/texmf-dist/doc/latex/bithesis/README.md	2022-04-08 21:43:40 UTC (rev 62980)
@@ -1,3 +1,4 @@
+<!-- This README aims to be packed into bithesis LaTeX package -->
 <div align="center">
   <img src="assets/bithesis_icon.svg" alt="BIThesis Icon">
 
@@ -13,9 +14,9 @@
 
 <h2>Welcome</h2>
 
-BIThesis is an unofficial LaTeX template set for your **bachelor graduation thesis** and corresponding reports here at BIT. Hand-crafted following the specifications made by the _[Dept. of Undergraduate Academic Affairs](http://jwc.bit.edu.cn/)_ of _[Beijing Institute of Technology](http://http://www.bit.edu.cn/)_.
+BIThesis is an unofficial LaTeX template set for your **bachelor graduation thesis** and corresponding reports here at BIT. Hand-crafted following the specifications made by the _[Dept. of Undergraduate Academic Affairs](https://jwc.bit.edu.cn/)_ of _[Beijing Institute of Technology](https://www.bit.edu.cn/)_.
 
-> This project is supported by the _[Dept. of Undergraduate Academic Affairs, BIT](http://jwc.bit.edu.cn/)_ and the _[School of Computer Science and Technology, BIT](http://cs.bit.edu.cn/)_. See [Acknowledgements - Official Sponsors](https://bithesis.bitnp.net/Guide/5-Acknowledgements/Acknowledgements.html#%E5%AE%98%E6%96%B9%E8%B5%9E%E5%8A%A9-official-sponsors).
+> This project is supported by the _[Dept. of Undergraduate Academic Affairs, BIT](https://jwc.bit.edu.cn/)_ and the _[School of Computer Science and Technology, BIT](https://cs.bit.edu.cn/)_. See [Acknowledgements - Official Sponsors](https://bithesis.bitnp.net/Guide/5-Acknowledgements/Acknowledgements.html#%E5%AE%98%E6%96%B9%E8%B5%9E%E5%8A%A9-official-sponsors).
 
 <h2>Slack Community</h2>
 

Modified: trunk/Master/texmf-dist/doc/latex/bithesis/bithesis.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/bithesis/contributing-zh.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/bithesis/contributing-zh.md	2022-04-07 23:49:53 UTC (rev 62979)
+++ trunk/Master/texmf-dist/doc/latex/bithesis/contributing-zh.md	2022-04-08 21:43:40 UTC (rev 62980)
@@ -12,26 +12,22 @@
 
 ## Guidance
 
-**[我不想看下面的内容,我只是想问个小问题!!!](#加入我们的-slack-频道)**
+**[我不想看下面的内容,我只是想问个小问题!!!](#加入我们的-QQ-群)**
 
 |                | 普通使用者                      | 开发者                                          |
 | ----------     | ------------------------------- | -------------------------------------------     |
-| 提出问题       | [Slack](#加入我们的-slack-频道) | [Slack](#加入我们的-slack-频道)                 |
-| 提交 Bug       | [Slack](#加入我们的-slack-频道) | [Github - Issues](#在-github-上提交-bug)        |
-| 有好的想法     | [Slack](#加入我们的-slack-频道) | [Slack](#加入我们的-slack-频道)                 |
+| 提出问题       | [QQ 群](#加入我们的-qq-群) | [QQ 群](#加入我们的-qq-群)                 |
+| 提交 Bug       | [QQ 群](#加入我们的-qq-群) | [Github - Issues](#在-github-上提交-bug)        |
+| 有好的想法     | [QQ 群](#加入我们的-qq-群) | Github - Issues                 |
 | 提交 PR        |                                 | [Github - Pull Request](#提交-pull-request)     |
-| 有信心维护代码 |                                 | [加入 Slack 并联系我们](#加入我们的-slack-频道) |
+| 有信心维护代码 |                                 | [加入QQ 群并联系我们](#加入我们的-qq-群) |
 
-## 加入我们的 Slack 频道
+## 加入我们的 QQ 群
 
-在我们提供的[官方 Slack 频道][slack channel invitation]中有**很多活跃的维护者**和**友好的社区氛围**。在这里你能获得很多与本项目有关的帮助。
+在我们提供的[QQ 群(737548118)][QQ chat group invitation]中有**很多活跃的维护者**和**友好的社区氛围**。在这里你能获得很多与本项目有关的帮助。
 
-[![点击这里加入 Slack](/assets/slack.svg)](https://join.slack.com/t/bithesis/shared_invite/zt-epmzkyk0-fJRsUS36AlwMNB2AI_Q~Vw)
+[![Join on QQ Chat Group](https://img.shields.io/badge/QQ%E7%BE%A4-737548118-green)](https://jq.qq.com/?_wv=1027&k=KYDrmS5z)
 
-- 使用 `#community` 频道来**讨论问题**、**提出你的建议**或者**寻求帮助**。
-- 使用 `#random` 频道来**水群**:laughing:!
-- 使用 `#announcement` 频道获取和本项目相关的**最新资讯和使用方法**!
-
 > 提示:关于具体如何提出问题并没有明确的要求。总之请提供尽可能详细的信息,并且思考一下这个问题是不是已经被解决了。
 
 ## 在 Github 上提交 Bug
@@ -54,5 +50,5 @@
 寻找更细致的流程请参考
 _[Github Help](https://help.github.com/en/github/collaborating-with-issues-and-pull-requests)_。
 
-[slack channel invitation]: https://join.slack.com/t/bithesis/shared_invite/zt-epmzkyk0-fJRsUS36AlwMNB2AI_Q~Vw
+[QQ chat group invitation]: https://jq.qq.com/?_wv=1027&k=KYDrmS5z
 [issue reporting link]: https://github.com/BITNP/BIThesis/issues/new

Modified: trunk/Master/texmf-dist/doc/latex/bithesis/contributing.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/bithesis/contributing.md	2022-04-07 23:49:53 UTC (rev 62979)
+++ trunk/Master/texmf-dist/doc/latex/bithesis/contributing.md	2022-04-08 21:43:40 UTC (rev 62980)
@@ -11,27 +11,23 @@
 
 ## Guidance
 
-**[I don't want to read this whole thing, I just have a small question!!!](#join-our-slack-channel)**
+**[I don't want to read this whole thing, I just have a small question!!!](#join-our-QQ-chat-group)**
 
 |                 | For Users                        | For Developers                                 |
 | --------------- | -------------------------------- | ---------------------------------------------- |
-| Have a Question | [Slack](#join-our-slack-channel) | [Slack](#join-our-slack-channel)               |
-| Bug Report      | [Slack](#join-our-slack-channel) | [Github - Issues](#bug-report-on-github)       |
-| Feature Request | [Slack](#join-our-slack-channel) | [Slack](#join-our-slack-channel)               |
+| Have a Question | [QQ Chat Group](#join-our-QQ-chat-group) | [QQ Chat Group](#join-our-QQ-chat-group)               |
+| Bug Report      | [QQ Chat Group](#join-our-QQ-chat-group) | [Github - Issues](#bug-report-on-github)       |
+| Feature Request | [QQ Chat Group](#join-our-QQ-chat-group) | [QQ Chat Group](#join-our-QQ-chat-group)               |
 | Pull Request    |                                  | [Github - Pull Request](#pull-request-process) |
 
-## Join Our Slack Channel
+## Join Our QQ Chat Group
 
-We provide an [official Slack channel][slack channel invitation]
+We provide an [QQ Chat Group][QQ chat group invitation]
 with **a bunch of active maintainers** and **a friendly community**
 to give helpful advice **if you have any questions**.
 
-[![Join on Slack](/assets/slack.svg)](https://join.slack.com/t/bithesis/shared_invite/zt-epmzkyk0-fJRsUS36AlwMNB2AI_Q~Vw)
+[![Join on QQ Chat Group](https://img.shields.io/badge/QQ%E7%BE%A4-737548118-green)](https://jq.qq.com/?_wv=1027&k=KYDrmS5z)
 
-- use `#community` channel to **report a bug**, **feature request** and **asking for help**.
-- use `#random` channel to have **unrelated discussion**:laughing:!
-- use `#announcement` channel if you don't want to miss the **updated news and features**!
-
 > note: there is no detailed rules about how to ask question, just provide enough information and
 rethink before write.
 
@@ -56,5 +52,5 @@
 For more information, refer to the
 _[Github Help](https://help.github.com/en/github/collaborating-with-issues-and-pull-requests)_.
 
-[slack channel invitation]: https://join.slack.com/t/bithesis/shared_invite/zt-epmzkyk0-fJRsUS36AlwMNB2AI_Q~Vw
+[QQ chat group invitation]: https://jq.qq.com/?_wv=1027&k=KYDrmS5z
 [issue reporting link]: https://github.com/BITNP/BIThesis/issues/new

Modified: trunk/Master/texmf-dist/doc/latex/bithesis/dtx-style.sty
===================================================================
--- trunk/Master/texmf-dist/doc/latex/bithesis/dtx-style.sty	2022-04-07 23:49:53 UTC (rev 62979)
+++ trunk/Master/texmf-dist/doc/latex/bithesis/dtx-style.sty	2022-04-08 21:43:40 UTC (rev 62980)
@@ -6,7 +6,7 @@
 %%
 %% bithesis.dtx  (with options: `dtx-style')
 %% 
-%%     Copyright (C) 2021
+%%     Copyright (C) 2022
 %%     Association of Bit Network Pioneer and any individual authors listed in the documentation.
 %% ------------------------------------------------------------------------------
 %% 

Modified: trunk/Master/texmf-dist/source/latex/bithesis/bithesis.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/bithesis/bithesis.dtx	2022-04-07 23:49:53 UTC (rev 62979)
+++ trunk/Master/texmf-dist/source/latex/bithesis/bithesis.dtx	2022-04-08 21:43:40 UTC (rev 62980)
@@ -1,19 +1,19 @@
 % \iffalse meta-comment
 %
-% Copyright (C) 2021
+% Copyright (C) 2022
 % Association of Bit Network Pioneer and any individual authors listed elsewhere in this file.
 % -----------------------------------
 %
-% This file may be distributed and/or modified under the
-% conditions of the LaTeX Project Public License, either version 1.3
-% of this license or (at your option) any later version.
-% The latest version of this license is in:
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either
+% version 1.3c of this license or (at your option) any later
+% version. This version of this license is in
+%    http://www.latex-project.org/lppl/lppl-1-3c.txt
+% and the latest version of this license is in
+%    http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of
+% LaTeX version 2020/11/27 or later.
 %
-%     http://www.latex-project.org/lppl.txt
-%
-% and version 1.3 or later is part of all distributions of LaTeX
-% version 2020/11/27 or later.
-%
 % \fi
 %
 % \iffalse
@@ -20,10 +20,11 @@
 %<cls>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
 %<book>\ProvidesClass{bitbook}
 %<article>\ProvidesClass{bitart}
-%<cls> [2021/09/07 v1.1.0 BIT Thesis Templates]
+%<graduate>\ProvidesClass{bitgrad}
+%<cls> [2022/04/01 v2.0.0 BIT Thesis Templates]
 %
 %<*driver>
-\ProvidesFile{bithesis.dtx}[2021/09/07 1.1.0 BIT Thesis Templates]
+\ProvidesFile{bithesis.dtx}[2022/04/01 2.0.0 BIT Thesis Templates]
 \documentclass{ltxdoc}
 \usepackage{dtx-style}
 
@@ -116,17 +117,21 @@
 % \section{项目简介}
 % \subsection{历史与贡献者们}
 % \begin{itemize}
-% \item 2019 - 2020 年,\BIThesis 最早由 2016 级的武上博、王赞、唐誉铭、牟思睿和詹熠莎等人维护。
+%   \item 2019 - 2020 年,\BIThesis 最早由 2016 级的武上博、王赞、唐誉铭、牟思睿和詹熠莎等人维护。
 %   \begin{itemize}
 %     \item 在此期间,\BIThesis 从无到有诞生了,包括使用手册、在线文档和开箱即用的模板。
 %     \item 同时,2017 级的赵池等同学完成了一系列 \BIThesisLaTeX 的视频教程。
 %   \end{itemize}
-% \item 2020 - 2021 年,2017 级的冯开宇、杨思云、郝正亮和顾骁等人接管了维护开发工作。
+%   \item 2020 - 2021 年,2017 级的冯开宇、杨思云、郝正亮和顾骁等人接管了维护开发工作。
 %   \begin{itemize}
 %     \item 在此期间,冯开宇将原来的 .tex 文件制作成了宏包,并发布到 CTAN 上。
 %     \item 项目代码也随之被拆分成了 \BIThesisMacroPackage,\BIThesisWiki 和 \BIThesisScaffold。
 %   \end{itemize}
-% \item 2021 - 2022 年,2021 级(硕士研究生)的冯开宇针对 2021 年毕业季收到的反馈对该项目进行维护升级(前向兼容)。
+%   \item 2021 - 2022 年,2021 级(硕士研究生)的冯开宇针对 2021、2022 毕业季收到的反馈对该项目进行维护升级(前向兼容)。
+%   \begin{itemize}
+%      \item 在此期间,冯开宇合入了杨雅婷等人在 2017 年开发的研究生学位论文模板。
+%      \item 在项目架构上,BIThesis-scaffold 合入 BIThesis 以便于进一步维护。 
+%   \end{itemize}
 % \end{itemize}
 % \subsection{\BIThesis 是什么?}
 % \BIThesis 之名是英文单词 Beijing Institution of Technology(北京理工大学)的首字母缩写“BIT” 与“Thesis”结合而成。在纯文本环境下,该名字应写作“BIThesis”。
@@ -158,7 +163,8 @@
 % \toprule
 % 类别                   & 文件          & 说明                             \\ \midrule
 % \multirow{2}{*}{文档类} & bitart.cls  & 对应 ctxart.cls,提供实验报告模板、开题报告模板。 \\
-%                      & bitbook.cls & 对应 ctexbook.cls ,提供本科毕业模板。     \\ \cmidrule(l){2-3} 
+%                      & bitbook.cls & 对应 ctexbook.cls ,提供本科生毕业设计模板。     \\ \cmidrule(l){2-3} 
+%                    & bitgrad.cls & 对应 ctexbook.cls ,提供研究生毕业设计模板。(全体硕士及2020级以前博士适用)     \\ \cmidrule(l){2-3}
 % \end{tabular}
 % \end{table}
 % \subsection{\BIThesis 宏包的安装和更新}
@@ -230,9 +236,9 @@
 
 \ProcessOptions\relax
 
+\PassOptionsToPackage{AutoFakeBold,AutoFakeSlant}{xeCJK}
+\LoadClass[UTF8,zihao=-4,oneside,openany]{ctexbook}
 
-\LoadClass[UTF8,AutoFakeBold,AutoFakeSlant,zihao=-4,oneside,openany]{ctexbook}
-
 \RequirePackage[a4paper,left=3cm,right=2.6cm,top=3.5cm,bottom=2.9cm]{geometry}
 % 目前 29mm 最接近 Word 排版
 \RequirePackage{xeCJK}
@@ -469,7 +475,8 @@
 \ExecuteOptions{lab-report}
 \ProcessOptions\relax
 
-\LoadClass[UTF8,AutoFakeBold,AutoFakeSlant,zihao=-4]{ctexart}%
+\PassOptionsToPackage{AutoFakeBold,AutoFakeSlant}{xeCJK}
+\LoadClass[UTF8,zihao=-4]{ctexart}%
 
 \if at bit@labreport
   \RequirePackage[a4paper,left=3.18cm,right=3.18cm,top=2.54cm,bottom=2.54cm,includeheadfoot]{geometry}%
@@ -612,6 +619,876 @@
 %    \begin{macrocode}
 %</article>
 %    \end{macrocode}
+%    \begin{macrocode}
+%<*graduate>
+%    \end{macrocode}
+%    \begin{macrocode}
+
+%% ==================================================
+%% BIT-thesis-grd.cls for BIT Thesis
+%% modified by yang yating
+%% version: 1.4
+%% last update: Mar 25th, 2018
+%% ==================================================
+
+%% math packages -- conflict with xunicode
+\RequirePackage{amsmath,amsthm,amsfonts,amssymb,bm,mathrsfs}
+% 直立希腊字母字体
+\RequirePackage{upgreek}
+
+\DeclareOption*{\PassOptionsToClass{\CurrentOption}{ctexbook}}
+\newif\ifBIT at master\BIT at masterfalse
+\newif\ifBIT at doctor\BIT at doctorfalse
+\newif\ifBIT at istwoside\BIT at istwosidefalse
+\DeclareOption{twoside}{\BIT at istwosidetrue}
+\DeclareOption{master}{\BIT at mastertrue}
+\DeclareOption{doctor}{\BIT at doctortrue}
+
+\ProcessOptions\relax
+\ifBIT at istwoside
+\LoadClass[zihao=-4,a4paper,UTF8,space=auto]{ctexbook}
+\else
+\LoadClass[zihao=-4,a4paper,oneside,openany,UTF8,space=auto]{ctexbook}
+\fi
+
+%%
+%% the setup of ctex package
+%%
+\def\contentsname{目\BITspace 录}
+\def\listfigurename{插\BITspace 图}
+\def\listtablename{表\BITspace 格}
+
+%%
+%% 封面标题
+%%
+\def\BIT at label@major{学~~~~科~~~~专~~~~业}
+\def\BIT at label@title{论文题目}
+\def\BIT at label@author{作~~~~者~~~~姓~~~~名}
+\def\BIT at label@classification{中图分类号:}
+\def\BIT at label@confidential{密级}
+\def\BIT at label@UDC{UDC\!分类号:}
+\def\BIT at label@serialnumber{编号}
+\def\BIT at label@thesis{学位论文}
+\def\BIT at label@advisor{指~~~~导~~~~教~~~~师}
+\def\BIT at label@degree{申~~~~请~~~~学~~~~位}
+\def\BIT at label@submitdate{论文提交日期}
+\def\BIT at label@defenddate{论~文~答~辩~日~期}
+\def\BIT at label@institute{学~~~~院~~~~名~~~~称}
+\def\BIT at label@school{学~位~授~予~单~位}
+\def\BIT at label@chairman{答辩委员会主席}
+
+%%
+%% 封面内容
+%%
+
+\def\BIT at value@classification{}
+\def\BIT at value@confidential{}
+\def\BIT at value@UDC{}
+\def\BIT at value@serialnumber{}
+\def\BIT at value@school{}
+\def\BIT at value@degree{}
+\def\BIT at value@title{~~~~~(论~文~题~目)~~~~~}
+\def\BIT at value@vtitle{竖排论文题目}
+\def\BIT at value@titlemark{\BIT at value@title}
+\def\BIT at value@author{(作~者~姓~名)}
+\def\BIT at value@advisor{(姓名、专业技术职务、学位)}
+\def\BIT at value@advisorinstitute{(单位)}
+\def\BIT at value@major{}
+\def\BIT at value@studentnumber{} % _ added by wei.jianwen at gmail.com
+\def\BIT at value@submitdate{}
+\def\BIT at value@defenddate{}
+\def\BIT at value@institute{}
+\def\BIT at value@chairman{}
+\def\BIT at label@statement{}
+
+%% 设置圆圈的格式 或使用\textcircled
+\usepackage{tikz}
+\usepackage{etoolbox}
+\newcommand{\circled}[2][]{\tikz[baseline=(char.base)]
+    {\node[shape = circle, draw, inner sep = 1pt]
+    (char) {\phantom{\ifblank{#1}{#2}{#1}}};
+    \node at (char.center) {\makebox[0pt][c]{#2}};}}
+\robustify{\circled}
+
+%% 论文原创性声明
+\def\BIT at label@original{研究成果声明}
+\def\BIT at label@authorization{关于学位论文使用权的说明}
+\def\BIT at label@authorsign{作者签名:}
+\def\BIT at label@Supervisorsign{导师签名:}
+\def\BIT at label@originalDate{签字日期:}
+\def\BIT at label@originalcontent{\BITspace\BITspace 本人郑重声明:所提交的学位论文是我本人在指导教师的指导下进行的研究工作获得的研究成果。尽我所知,文中除特别标注和致谢的地方外,学位论文中不包含其他人已经发表或撰写过的研究成果,也不包含为获得北京理工大学或其它教育机构的学位或证书所使用过的材料。与我一同工作的合作者对此研究工作所做的任何贡献均已在学位论文中作了明确的说明并表示了谢意。\par 特此申明。}
+\def\BIT at label@authorizationcontent{\BITspace\BITspace 本人完全了解北京理工大学有关保管、使用学位论文的规定,其中包括:\circled{1} 学校有权保管、并向有关部门送交学位论文的原件与复印件;\circled{2} 学校可以采用影印、缩印或其它复制手段复制并保存学位论文;\circled{3} 学校可允许学位论文被查阅或借阅;\circled{4} 学校可以学术交流为目的,复制赠送和交换学位论文;\circled{5} 学校可以公布学位论文的全部或部分内容(保密学位论文在解密后遵守此规定)。}
+
+%%
+%% 英语封面标题
+%%
+\def\BIT at label@englishadvisor{Supervisor:}
+\def\BIT at label@englishstatement{Submitted in total fulfilment
+  of the requirements for the degree of \BIT at value@englishdegree \\
+  in \BIT at value@englishmajor}
+\def\BIT at label@englishauthor{Candidate Name:}
+\def\BIT at label@englishadvisor{Faculty Mentor:}
+\def\BIT at label@englishchairman{Chair, Thesis Committee:}
+\def\BIT at label@englishinstitute{School or Department:}
+\def\BIT at label@englishdegree{Degree Applied:}
+\def\BIT at label@englishmajor{Major:}
+\def\BIT at label@englishschool{Degree by:}
+\def\BIT at label@englishdate{The Date of Defence:}
+
+
+%%
+%% 英语封面内容
+%%
+\def\BIT at value@englishtitle{(English Title of Thesis)}
+\def\BIT at value@englishauthor{(Author Name)}
+\def\BIT at value@englishadvisor{(Supervisor Name)}
+\def\BIT at value@englishinstitute{(Institute Name)}
+\def\BIT at value@englishscholl{(BIT)}
+\def\BIT at value@englishchair{(someone)}
+\def\BIT at value@englishdate{}
+\def\BIT at value@englishdegree{}
+\def\BIT at value@englishmajor{}
+
+
+
+\def\BIT at label@abstract{摘要}
+\def\BIT at label@englishabstract{Abstract}
+\def\BIT at label@keywords{关键词:}
+\def\BIT at label@englishkeywords{Key Words:~}
+\def\BIT at label@conclusion{结论}
+\def\BIT at label@appendix{附录}
+\def\BIT at label@publications{攻读学位期间发表论文与研究成果清单}
+\def\BIT at label@projects{攻读学位期间参与的项目}
+\def\BIT at label@resume{作者简介}
+\def\BIT at label@reference{参考文献!!!!}
+\def\BIT at label@thanks{致谢}
+\def\BIT at value@templateversion{v1.2}
+%%
+%% label in the head 页眉页脚
+%%
+\def\BIT at label@headschoolname{北京理工大学硕士学位论文}
+
+%% 当前模板的版本
+\newcommand{\version}{\BIT at value@templateversion}
+
+%% ==============引用geometry 宏包设置纸张和页面========================
+% 设置版面:上3.5cm,下2.5cm,左2.7cm,右2.7cm,页眉2.5cm,页脚1.8cm,装订线0cm
+\usepackage[%
+paper=a4paper,%
+top=3.5cm,% 上 3.5cm %
+bottom=2.5cm,% 下 2.5cm %
+left=2.7cm,% 左 2.7cm %
+right=2.7cm,% 右 2.7cm %
+headheight=1.0cm,% 页眉 2.5cm %
+footskip=0.7cm% 页脚 1.8cm %
+]{geometry} % 页面设置 %
+
+\parskip 0.5ex plus 0.25ex minus 0.25ex
+%% Command -- Clear Double Page
+\def\cleardoublepage{\clearpage\if at twoside \ifodd\c at page\else
+  \thispagestyle{empty}%
+  \hbox{}\newpage\if at twocolumn\hbox{}\newpage\fi\fi\fi}
+% 设置行距,大概为22榜
+\RequirePackage{setspace}
+\setstretch{1.523}
+
+%% 设置章节格式, 黑体三号加粗居中,行距22磅,与正文或节标题的间距设定为段后间距1行。章序号与章名间空一格。
+\ctexset{chapter={
+      name = {第,章},
+      number = {\arabic{chapter}},
+      format = {\bfseries \sffamily \centering \zihao{3}},
+      pagestyle = {BIT at headings},
+      beforeskip = 16 bp,
+      afterskip = 32 bp,
+      fixskip = true,
+  }
+}
+%% 设置一级章节格式
+% 黑体四号加粗顶左,行距22磅,与上一节的间距为1行,与下面正文或节标题的段间间距为0.5行。序号与题目间空一格。
+
+\ctexset{section={
+  format={\raggedright \bfseries \sffamily \zihao{4}},
+  beforeskip = 28bp plus 1ex minus .2ex,
+  afterskip = 24bp plus .2ex,
+  fixskip = true,
+  }
+}
+
+% 设置二级标题格式
+
+% 黑体小四加粗顶左,行距22磅,与上一节的间距为1行,与下面正文或节标题的段间间距为0.5行。序号与题目间空一格。 
+
+\ctexset{subsection={
+   format = {\bfseries \sffamily \raggedright \zihao{-4}},
+   beforeskip =28bp plus 1ex minus .2ex,
+   afterskip = 24bp plus .2ex,
+   fixskip = true,
+   }
+}
+
+% 设置三节标题格式
+
+\ctexset{subsubsection={
+      format={\heiti \raggedright \zihao{-4}},
+      beforeskip=28bp plus 1ex minus .2ex,
+      afterskip=24bp plus .2ex,
+      fixskip=true,
+  }
+}
+
+%% 设定目录格式。目录颜色更改黑色
+\addtocontents{toc}{\protect\hypersetup{hidelinks}}
+\addtocontents{lot}{\protect\hypersetup{hidelinks}}
+\addtocontents{lof}{\protect\hypersetup{hidelinks}}
+
+\RequirePackage{titletoc}
+\titlecontents{chapter}[0pt]{\songti \zihao{4}}
+    {\bf\thecontentslabel\hspace{\ccwd}}{\bf}
+    {\hspace{.5em}\titlerule*{.}\contentspage}
+\titlecontents{section}[2\ccwd]{\songti \zihao{-4}}
+    {\thecontentslabel\hspace{\ccwd}}{}
+    {\hspace{.5em}\titlerule*{.}\contentspage}
+\titlecontents{subsection}[4\ccwd]{\songti \zihao{-4}}
+    {\thecontentslabel\hspace{\ccwd}}{}
+    {\hspace{.5em}\titlerule*{.}\contentspage}
+
+\titlecontents{figure}[0pt]{\songti\zihao{-4}}
+    {\figurename~\thecontentslabel\quad}{\hspace*{-1.5cm}}
+    {\hspace{.5em}\titlerule*{.}\contentspage}
+
+\titlecontents{table}[0pt]{\songti\zihao{-4}}
+    {\tablename~\thecontentslabel\quad}{\hspace*{-1.5cm}}
+    {\hspace{.5em}\titlerule*{.}\contentspage}
+
+%% 选择编译
+\RequirePackage{ifthen}
+
+%% check pdfTeX mode
+\RequirePackage{ifpdf}
+
+%% fancyhdr 页眉页脚控制
+\RequirePackage{fancyhdr}
+
+% 空 页眉页脚
+\fancypagestyle{BIT at empty}{%
+  \fancyhf{}}
+
+% ======正文页眉页脚=================
+\fancypagestyle{BIT at headings}{%
+  \fancyhf{}
+  \fancyfoot[C]{\songti\zihao{5} \thepage}
+  \fancyhead[C]{\ifBIT at master\zihao{5}{\songti 北京理工大学硕士学位论文}
+                \else\zihao{5}{\songti 北京理工大学博士学位论文}\fi}
+  }
+
+% ==================================对于openright 选项,必须保证章页右开,且如果前章末页内容须清空其页眉页脚。===================
+\let\BIT at cleardoublepage\cleardoublepage
+\newcommand{\BIT at clearemptydoublepage}{%
+	\clearpage{\pagestyle{BIT at empty}\BIT at cleardoublepage}}
+\let\cleardoublepage\BIT at clearemptydoublepage
+
+ % ================修该frontmatter 的页码为大写罗马格式,并调整页面风格===============
+\renewcommand{\frontmatter}{
+ \if at openright\cleardoublepage\else\clearpage\fi
+  \@mainmatterfalse
+  \pagenumbering{Roman}
+  \pagestyle{BIT at headings}
+}
+% =======================修改mainmatter 的页码为阿拉伯格式,并调整页面风格========================
+\renewcommand{\mainmatter}{
+  \if at openright\cleardoublepage\else\clearpage\fi
+  \@mainmattertrue
+  \pagenumbering{arabic}
+  \pagestyle{BIT at headings}
+}
+
+
+%% 复杂表格
+\RequirePackage{threeparttable}
+\RequirePackage{dcolumn}
+\RequirePackage{multirow}
+\RequirePackage{booktabs}
+\newcolumntype{d}[1]{D{.}{.}{#1}}% or D{.}{,}{#1} or D{.}{\cdot}{#1}
+
+
+%% 定义几个常用的数学常量符号
+\newcommand{\me}{\mathrm{e}} % 定义 对数常数e,虚数符号i,j以及微分算子d为直立体。
+\newcommand{\mi}{\mathrm{i}}
+\newcommand{\mj}{\mathrm{j}}
+\newcommand{\dif}{\,\mathrm{d}} 
+
+\theoremstyle{plain}
+  \newtheorem{algo}{算法~}[chapter]
+  \newtheorem{thm}{定理~}[chapter]
+  \newtheorem{lem}[thm]{引理~}
+  \newtheorem{prop}[thm]{命题~}
+  \newtheorem{cor}[thm]{推论~}
+\theoremstyle{definition}
+  \newtheorem{defn}{定义~}[chapter]
+  \newtheorem{conj}{猜想~}[chapter]
+  \newtheorem{exmp}{例~}[chapter]
+  \newtheorem{rem}{注~}
+  \newtheorem{case}{情形~}
+\renewcommand{\proofname}{\bf 证明}
+
+%% 英文字体使用 Times New Roman
+\RequirePackage{xltxtra} % \XeTeX Logo
+\setmainfont{Times New Roman}
+\setsansfont{Arial}
+\setmonofont{Courier New}
+
+
+%% graphics packages
+\RequirePackage{graphicx}
+%% 并列子图
+\RequirePackage{subfigure}
+
+\RequirePackage{wrapfig}
+%% ===========================设置图表标题选项==========================
+\RequirePackage{amsmath}
+\RequirePackage{caption}
+\DeclareCaptionLabelSeparator{zhspace}{\hspace{1\ccwd}}
+\DeclareCaptionFont{fontsize}{\zihao{5}}
+\captionsetup{
+  font = {fontsize},
+  labelsep = zhspace,
+}
+\captionsetup[table]{
+  position = top,
+  aboveskip = 6bp,
+  belowskip = 6bp,
+}
+\numberwithin{table}{chapter}
+\captionsetup[figure]{
+  position = bottom,
+  aboveskip = 6bp,
+  belowskip = 6bp,
+}
+
+%% 如果插入的图片没有指定扩展名,那么依次搜索下面的扩展名所对应的文件
+\DeclareGraphicsExtensions{.pdf,.eps,.png,.jpg,.jpeg}
+% ccaption -- bicaption
+% \RequirePackage{ccaption}
+% \captiondelim{\ }
+% \captionnamefont{\songti\zihao{5}}
+% \captiontitlefont{\songti\zihao{5}}
+
+
+%% sort and compress citations
+\RequirePackage[numbers,square,comma,super,sort&compress]{natbib}
+% 上标引用
+\newcommand{\upcite}[1]{\textsuperscript{\cite{#1}}}
+
+
+% 将浮动参数设为较宽松的值
+\renewcommand{\textfraction}{0.15}
+\renewcommand{\topfraction}{0.85}
+\renewcommand{\bottomfraction}{0.65}
+\renewcommand{\floatpagefraction}{0.60}
+
+
+% 定公式、图、表编号为"3-1"的形式,即分隔符由.变为短杠
+\renewcommand\theequation{\arabic{chapter}.\arabic{equation}}
+\renewcommand\thefigure{\arabic{chapter}.\arabic{figure}}
+\renewcommand\thetable{\arabic{chapter}.\arabic{table}}
+
+% 颜色宏包
+\RequirePackage{xcolor}
+
+
+% 中文破折号
+\newcommand{\cndash}{\rule{0.0em}{0pt}\rule[0.35em]{1.4em}{0.05em}\rule{0.2em}{0pt}}
+
+% listings 源代码显示宏包
+\RequirePackage{listings}
+\lstset{tabsize=4, %
+  frame=shadowbox, % 把代码用带有阴影的框圈起来
+  commentstyle=\color{red!50!green!50!blue!50},% 浅灰色的注释
+  rulesepcolor=\color{red!20!green!20!blue!20},% 代码块边框为淡青色
+  keywordstyle=\color{blue!90}\bfseries, % 代码关键字的颜色为蓝色,粗体
+  showstringspaces=false,% 不显示代码字符串中间的空格标记
+  stringstyle=\ttfamily, % 代码字符串的特殊格式
+  keepspaces=true, %
+  breakindent=22pt, %
+  numbers=left,% 左侧显示行号
+  stepnumber=1,%
+  numberstyle=\tiny, % 行号字体用小号
+  basicstyle=\footnotesize, %
+  showspaces=false, %
+  flexiblecolumns=true, %
+  breaklines=true, % 对过长的代码自动换行
+  breakautoindent=true,%
+  breakindent=4em, %
+  aboveskip=1em, % 代码块边框
+  %% added by http://bbs.ctex.org/viewthread.php?tid=53451
+  fontadjust,
+  captionpos=t,
+  framextopmargin=2pt,framexbottommargin=2pt,abovecaptionskip=-3pt,belowcaptionskip=3pt,
+  xleftmargin=4em,xrightmargin=4em, % 设定listing左右的空白
+  texcl=true,
+  % 设定中文冲突,断行,列模式,数学环境输入,listing数字的样式
+  extendedchars=false,columns=flexible,mathescape=true
+  numbersep=-1em
+}
+\renewcommand{\lstlistingname}{代码} %% 重命名Listings标题头
+
+%% hyperref package
+\definecolor{navyblue}{RGB}{0,0,128} 
+\RequirePackage{hyperref}
+\hypersetup{
+  bookmarksnumbered,%
+  linktoc=all,
+  colorlinks=true,
+  citecolor=navyblue,
+  filecolor=cyan,
+  linkcolor=navyblue,
+  linkbordercolor=navyblue,
+  urlcolor=navyblue,
+  plainpages=false,%
+  pdfstartview=FitH
+}
+
+%% enumerate 列表环境间距调节
+\usepackage{enumitem}
+% \setenumerate[1]{itemsep=0pt,partopsep=0pt,parsep=\parskip,topsep=5pt}
+% \setitemize[1]{itemsep=0pt,partopsep=0pt,parsep=\parskip,topsep=0pt}
+% \setdescription{itemsep=0pt,partopsep=0pt,parsep=\parskip,topsep=5pt}
+
+% _  参考文献风格 added by wei.jianwen at gmail.com
+\bibliographystyle{GBT7714-2005NLang}
+
+% _ BITspace
+% \newcommand\BITspace{\protect\CTEX at spaceChar\protect\CTEX at spaceChar}
+\newcommand{\BITspace}[1][1]{\hspace{#1\ccwd}}
+
+\def\BIT at getfileinfo#1 #2 #3\relax#4\relax{%
+  \def\BITfiledate{#1}%
+  \def\BITfileversion{#2}%
+  \def\BITfileinfo{#3}}%
+\expandafter\ifx\csname ver at bitmaster-xetex.cls\endcsname\relax
+  \edef\reserved at a{\csname ver at ctextemp_bitmaster-xetex.cls\endcsname}
+\else
+  \edef\reserved at a{\csname ver at bitmaster-xetex.cls\endcsname}
+\fi
+\expandafter\BIT at getfileinfo\reserved at a\relax? ? \relax\relax
+\def\BIT at underline[#1]#2{%
+  \underline{\hbox to #1{\hfill#2\hfill}}}
+\def\BITunderline{\@ifnextchar[\BIT at underline\underline}
+
+% 中文标题页的可用命令
+\newcommand\classification[1]{\def\BIT at value@classification{#1}}
+\newcommand\studentnumber[1]{\def\BIT at value@studentnumber{#1}}
+\newcommand\confidential[1]{\def\BIT at value@confidential{#1}}
+\newcommand\UDC[1]{\def\BIT at value@UDC{#1}}
+\newcommand\serialnumber[1]{\def\BIT at value@serialnumber{#1}}
+\newcommand\school[1]{\def\BIT at value@school{#1}}
+\newcommand\degree[1]{\def\BIT at value@degree{#1}}
+\renewcommand\title[2][\BIT at value@title]{%
+  \def\BIT at value@title{#2}
+  \def\BIT at value@titlemark{\MakeUppercase{#1}}}
+
+\newcommand\vtitle[1]{\def\BIT at value@vtitle{#1}}
+\renewcommand\author[1]{\def\BIT at value@author{#1}}
+\newcommand\advisor[1]{\def\BIT at value@advisor{#1}}
+\newcommand\advisorinstitute[1]{\def\BIT at value@advisorinstitute{#1}}
+\newcommand\major[1]{\def\BIT at value@major{#1}}
+\newcommand\submitdate[1]{\def\BIT at value@submitdate{#1}}
+\newcommand\defenddate[1]{\def\BIT at value@defenddate{#1}}
+\newcommand\institute[1]{\def\BIT at value@institute{#1}}
+\newcommand\chairman[1]{\def\BIT at value@chairman{#1}}
+
+%% 第一页和第二页
+%  “绘制”BIT中文标题页
+\renewcommand\maketitle[1]{%
+  \cleardoublepage
+  \thispagestyle{empty}
+  \begin{center}
+    \vspace*{60mm}
+    {\heiti\zihao{-2} \BIT at value@title}
+    \vskip 40mm
+    {\heiti \zihao{-3} \BIT at value@author} % 黑体 小三
+     \vskip 4mm
+    {\heiti \zihao{-3} \BIT at value@defenddate} % 黑体 小三
+  \end{center}
+  \clearpage
+  \if at twoside
+    \thispagestyle{empty}
+    \cleardoublepage
+  \fi
+ }
+
+\newcommand\makeInfo[1]%
+ {
+  \newpage
+  \cleardoublepage
+  \thispagestyle{empty}
+
+% udc ltz 
+{ %
+  {\heiti \zihao{5} \noindent \BIT at label@classification} \BIT at value@classification \\
+  {\heiti \zihao{5} \BIT at label@UDC}  \BIT at value@UDC
+}
+
+   \begin{center}
+
+    \vskip \stretch{1}
+       {\heiti\zihao{-2} \BIT at value@title}
+    \vskip \stretch{1}
+
+    {\fangsong\zihao{4}}
+    \def\tabcolsep{1pt}
+    \def\arraystretch{1.5}
+
+	% 黑体 小三
+    {\heiti\zihao{-3}
+     \begin{tabular}{l p{3mm} c}
+      \BIT at label@author & &\BITunderline[180pt]{\BIT at value@author}
+    \\
+      \BIT at label@institute & & \BITunderline[180pt]{\BIT at value@institute}
+    \\
+      \BIT at label@advisor & &  \BITunderline[180pt]{\BIT at value@advisor}
+    \\
+      \BIT at label@chairman & &   \BITunderline[180pt]{\BIT at value@chairman}
+    \\
+      \BIT at label@degree & &    \BITunderline[180pt]{\BIT at value@degree}
+    \\
+      \BIT at label@major & &    \BITunderline[180pt]{\BIT at value@major}
+    \\
+      \BIT at label@school & &   \BITunderline[180pt]{\BIT at value@school}
+    \\
+      \BIT at label@defenddate & &  \BITunderline[180pt]{\BIT at value@defenddate}
+    \end{tabular}}
+
+  \end{center}
+
+  \vskip \stretch{0.5}
+  \clearpage
+  \if at twoside
+    \thispagestyle{empty}
+    \cleardoublepage
+  \fi
+}
+
+% English Title Page
+% 英文标题页可用命令
+\newcommand\englishtitle[1]{\def\BIT at value@englishtitle{#1}}
+\newcommand\englishauthor[1]{\def\BIT at value@englishauthor{#1}}
+\newcommand\englishadvisor[1]{\def\BIT at value@englishadvisor{#1}}
+\newcommand\englishschool[1]{\def\BIT at value@englishschool{#1}}
+\newcommand\englishinstitute[1]{\def\BIT at value@englishinstitute{#1}}
+\newcommand\englishdate[1]{\def\BIT at value@englishdate{#1}}
+\newcommand\englishdegree[1]{\def\BIT at value@englishdegree{#1}}
+\newcommand\englishmajor[1]{\def\BIT at value@englishmajor{#1}}
+\newcommand\englishchairman[1]{\def\BIT at value@englishchairman{#1}}
+
+% "绘制"英文标题页
+\newcommand\makeEnglishInfo[1]{%
+  \cleardoublepage
+  \thispagestyle{empty}
+
+   \begin{center}
+
+
+   \vspace*{10em}
+% 论文题目	  Times New Roman 小二 加粗
+   {\zihao{-2}\textbf{\BIT at value@englishtitle}}
+   % \bfseries
+   \vskip \stretch{1}
+   
+% Times New Roman 小三
+   {\zihao{-3}
+     \begin{tabular}{ll}
+      \BIT at label@englishauthor & \BITunderline[200pt]{\BIT at value@englishauthor}
+    \\
+      \BIT at label@englishinstitute &  \BITunderline[200pt]{\BIT at value@englishinstitute}
+    \\
+      \BIT at label@englishadvisor &  \BITunderline[200pt]{\BIT at value@englishadvisor}
+    \\
+      \BIT at label@englishchairman &   \BITunderline[200pt]{\BIT at value@englishchairman}
+    \\
+      \BIT at label@englishdegree &    \BITunderline[200pt]{\BIT at value@englishdegree}
+    \\
+      \BIT at label@englishmajor &     \BITunderline[200pt]{\BIT at value@englishmajor}
+    \\
+      \BIT at label@englishschool &     \BITunderline[200pt]{\BIT at value@englishschool}
+    \\
+      \BIT at label@englishdate &   \BITunderline[200pt]{\BIT at value@englishdate}
+    \end{tabular}}
+
+  \end{center}
+
+  \vskip \stretch{0.5}
+  \clearpage
+  \if at twoside
+  \thispagestyle{empty}
+   \cleardoublepage
+  \fi
+}
+
+% 绘制树立排放的论文题目和学校名称
+
+\newcommand\makeVerticalTitle{
+   \cleardoublepage
+   \thispagestyle{empty}
+   \vskip 5cm
+   \begin{center}
+    \setstretch{1.1}
+    \begin{minipage}{1em}
+        {\heiti\zihao{3}\BIT at value@vtitle}
+        \vskip 2cm
+        {\heiti\zihao{3}\BIT at value@school}
+    \end{minipage}
+   \end{center}
+    \clearpage
+    \if at twoside
+        \thispagestyle{empty}
+        \cleardoublepage
+    \fi
+
+}
+
+% 原创性声明
+\newcommand\makeDeclareOriginal{%
+  \cleardoublepage
+  \pdfbookmark[0]{声明}{statement}
+  \thispagestyle{empty}
+  \begin{center}
+  {\bf\zihao{3} \BIT at label@original}
+  \end{center}
+  \vskip 10pt
+  {\zihao{4}\BIT at label@originalcontent}
+  \vskip 10pt
+  \hspace{8em}{\zihao{4}\BIT at label@authorsign} \BITunderline[6em]{} \hspace{2em} {\zihao{4}\BIT at label@originalDate} \BITunderline[6em]{}
+
+  \vskip 30mm
+
+  \begin{center}
+  {\bf\zihao{3} \BIT at label@authorization}
+  \end{center}
+  \vskip 10pt
+  {\zihao{4} \BIT at label@authorizationcontent}
+  \vskip 40pt
+
+  \hspace{8em}{\zihao{4}\BIT at label@authorsign} \BITunderline[6em]{} \hspace{2em} {\zihao{4}\BIT at label@Supervisorsign} \BITunderline[6em]{}
+  \vskip 15pt
+  \hspace{8em}{\zihao{4}\BIT at label@originalDate} \BITunderline[6em]{} \hspace{2em} {\zihao{4}\BIT at label@originalDate} \BITunderline[6em]{}
+  \clearpage
+  \if at twoside
+    \thispagestyle{empty}
+    \cleardoublepage
+  \fi
+
+}
+
+
+% 页眉页脚
+\pagestyle{fancy}
+\fancyhf{}
+\fancyhead[C]{\songti \zihao{5} \BIT at label@headschoolname}  % 奇数页左页眉
+\fancyfoot[C]{\songti \zihao{5} {\thepage}}      % 页脚
+
+
+\fancypagestyle{plain}{% 设置开章页页眉页脚风格(只有页码作为页脚)
+  \fancyhf{}%
+  \fancyfoot[C]{\songti \zihao{5} \BIT at label@headschoolname}
+  \fancyfoot[C]{\songti \zihao{5} ~---~{\thepage}~---~} % 首页页脚格式
+}
+
+
+ % 中文摘要
+ \newenvironment{abstract}
+ {
+  \cleardoublepage
+  \chapter{\BIT at label@abstract}
+ }
+ {}
+% 下一页从偶数页开始
+ \newcommand\beginatevenpage{
+ \clearpage
+  \if at twoside
+    \thispagestyle{empty}
+    \cleardoublepage
+  \fi
+ }
+ % 中文关键词
+ \newcommand\keywords[1]{%
+   \vspace{2ex}\noindent{\bf \BIT at label@keywords} #1}
+
+ % 英文摘要
+ \newenvironment{englishabstract}
+ {
+  \clearpage
+  \chapter{\BIT at label@englishabstract}
+ }
+ {}
+
+ % 英文摘要
+ \newcommand\englishkeywords[1]{%
+  \vspace{2ex}\noindent{\bf \BIT at label@englishkeywords} #1}
+
+
+% 目录
+\renewcommand\tableofcontents{%
+  \if at twocolumn
+  \@restonecoltrue\onecolumn
+  \else
+  \@restonecolfalse
+  \fi
+  \chapter*{\contentsname}% 目录里显示“目录”,否则\chapter*
+  \@mkboth{\MakeUppercase\contentsname}{\MakeUppercase\contentsname}%
+  \pdfbookmark[0]{目录}{bittoc}
+  \@starttoc{toc}%
+  \if at restonecol\twocolumn\fi
+}
+
+
+% 参考文献环境
+\renewenvironment{thebibliography}[1]
+     {\zihao{5}
+      \chapter*{\bibname}
+      \@mkboth{\MakeUppercase\bibname}{\MakeUppercase\bibname}%
+      \addcontentsline{toc}{chapter}{参考文献}
+      \list{\@biblabel{\@arabic\c at enumiv}}%
+           {\settowidth\labelwidth{\@biblabel{#1}}%
+            \leftmargin\labelwidth
+            \advance\leftmargin\labelsep
+            \setlength{\parsep}{1mm}
+            \setlength{\labelsep}{0.5em}
+            \setlength{\itemsep}{0.05pc}
+            \setlength{\listparindent}{0in}
+            \setlength{\itemindent}{0in}
+            \setlength{\rightmargin}{0in}
+            \@openbib at code
+            \usecounter{enumiv}%
+            \let\p at enumiv\@empty
+            \renewcommand\theenumiv{\@arabic\c at enumiv}}%
+      \sloppy
+      \clubpenalty4000
+      \@clubpenalty \clubpenalty
+      \widowpenalty4000%
+      \sfcode`\.\@m}
+     {\def\@noitemerr
+       {\@latex at warning{Empty `thebibliography' environment}}%
+      \endlist}
+
+
+\newenvironment{publications}[1]
+     {\chapter{\BIT at label@publications}%
+      \@mkboth{\MakeUppercase\BIT at label@publications}
+              {\MakeUppercase\BIT at label@publications}%
+      \list{\@biblabel{\@arabic\c at enumiv}}%
+           {\settowidth\labelwidth{\@biblabel{#1}}%
+            \leftmargin\labelwidth
+            \advance\leftmargin\labelsep
+            \setlength{\parsep}{1mm}
+            \setlength{\labelsep}{0.5em}
+            \setlength{\itemsep}{0.05pc}
+            \setlength{\listparindent}{0in}
+            \setlength{\itemindent}{0in}
+            \setlength{\rightmargin}{0in}
+            \@openbib at code
+            \usecounter{enumiv}%
+            \let\p at enumiv\@empty
+            \renewcommand\theenumiv{\@arabic\c at enumiv}}%
+      \sloppy
+      \clubpenalty4000
+      \@clubpenalty \clubpenalty
+      \widowpenalty4000%
+      \sfcode`\.\@m}
+     {\def\@noitemerr
+       {\@latex at warning{Empty `publications' environment}}%
+      \endlist}
+
+
+\newenvironment{projects}[1]
+     {\chapter{\BIT at label@projects}%
+      \@mkboth{\MakeUppercase\BIT at label@projects}
+              {\MakeUppercase\BIT at label@projects}%
+      \list{\@biblabel{\@arabic\c at enumiv}}%
+           {\settowidth\labelwidth{\@biblabel{#1}}%
+            \leftmargin\labelwidth
+            \advance\leftmargin\labelsep
+            \@openbib at code
+            \usecounter{enumiv}%
+            \let\p at enumiv\@empty
+            \renewcommand\theenumiv{\@arabic\c at enumiv}}%
+      \sloppy
+      \clubpenalty4000
+      \@clubpenalty \clubpenalty
+      \widowpenalty4000%
+      \sfcode`\.\@m}
+     {\def\@noitemerr
+       {\@latex at warning{Empty `projects' environment}}%
+      \endlist}
+
+    \newenvironment{resume}
+  {\chapter{\BIT at label@resume}}
+  {}
+
+\newenvironment{resumesection}[1]
+  {{\noindent\normalfont\bfseries #1}
+   \list{}{\labelwidth\z@
+           \leftmargin 2\ccwd}
+   \item\relax}
+   {\endlist}
+
+\newenvironment{resumeli}[1]
+  {{\noindent\normalfont\bfseries #1}
+   \list{}{\labelwidth\z@
+           \leftmargin 4\ccwd
+           \itemindent -2\ccwd
+           \listparindent\itemindent}
+   \item\relax}
+   {\endlist}
+
+\newenvironment{conclusion}
+  {\chapter*{结论}
+    \@mkboth{结论}{结论}%
+    \addcontentsline{toc}{chapter}{结论}}
+  {}
+
+\renewenvironment{thanks}
+  {\chapter{\BIT at label@thanks}
+  \fangsong
+  }
+  {}
+
+\newenvironment{symbolnote}
+  {\chapter{\BIT at label@symbolnote}
+  \fangsong}
+  {}
+
+  %% ===========================术语=====================
+  \newcommand{\bit at denotation@name}{主要符号对照表}
+  \newenvironment{denotation}[1][2.5cm]{
+      \chapter{\bit at denotation@name} % no tocline
+      \noindent\begin{list}{}%
+      {\vskip-30bp\zihao{-4}
+       \renewcommand\makelabel[1]{##1\hfil}
+       \setlength{\labelwidth}{#1} % 标签盒子宽度
+       \setlength{\labelsep}{0.5cm} % 标签与列表文本距离
+       \setlength{\itemindent}{0cm} % 标签缩进量
+       \setlength{\leftmargin}{\labelwidth+\labelsep} % 左边界
+       \setlength{\rightmargin}{0cm}
+       \setlength{\parsep}{0cm} % 段落间距
+       \setlength{\itemsep}{0cm} % 标签间距
+      \setlength{\listparindent}{0cm} % 段落缩进量
+      \setlength{\topsep}{0pt} % 标签与上文的间距
+     }}{\end{list}}
+% ====增加化学、国际单位宏包
+     \RequirePackage[version=4]{mhchem}
+     \RequirePackage{siunitx}
+\setcounter{secnumdepth}{4}  % 章节编号深度 (part 对应 -1)
+\setcounter{tocdepth}{2}     % 目录深度 (part 对应 -1)
+
+%% End of file `bitmaster-xetex.cls'.
+
+%% =========================================================
+
+%    \end{macrocode}
+%    \begin{macrocode}
+%</graduate>
+%    \end{macrocode}
 %
 % \iffalse
 %<*dtx-style>

Modified: trunk/Master/texmf-dist/source/latex/bithesis/bithesis.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/bithesis/bithesis.ins	2022-04-07 23:49:53 UTC (rev 62979)
+++ trunk/Master/texmf-dist/source/latex/bithesis/bithesis.ins	2022-04-08 21:43:40 UTC (rev 62980)
@@ -1,4 +1,4 @@
-%% Copyright (C) 2021
+%% Copyright (C) 2022
 %% Association of Bit Network Pioneer and any individual authors listed elsewhere in this file.
 %% --------------------------------------------------------------------------
 %%
@@ -22,7 +22,7 @@
 
 \preamble
 
-    Copyright (C) 2021
+    Copyright (C) 2022
     Association of Bit Network Pioneer and any individual authors listed in the documentation.
 ------------------------------------------------------------------------------
 
@@ -48,6 +48,7 @@
     \usedir{tex/latex/bithesis}
     \file{bitart.cls}              {\from{\jobname.dtx}{cls,article}}
     \file{bitbook.cls}             {\from{\jobname.dtx}{cls,book}}
+    \file{bitgrad.cls}         {\from{\jobname.dtx}{cls,graduate}}
     \file{dtx-style.sty}           {\from{\jobname.dtx}{dtx-style}}
   }
 
@@ -61,6 +62,7 @@
 \Msg{*                                                           *}
 \Msg{*     bitart.cls                                            *}
 \Msg{*     bitbook.cls                                           *}
+\Msg{*     bitgrad.cls                                           *}
 \Msg{*                                                           *}
 \Msg{* To produce the documentation run the file ctex.dtx        *}
 \Msg{* through XeLaTeX.                                          *}

Modified: trunk/Master/texmf-dist/tex/latex/bithesis/bitart.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/bithesis/bitart.cls	2022-04-07 23:49:53 UTC (rev 62979)
+++ trunk/Master/texmf-dist/tex/latex/bithesis/bitart.cls	2022-04-08 21:43:40 UTC (rev 62980)
@@ -6,7 +6,7 @@
 %%
 %% bithesis.dtx  (with options: `cls,article')
 %% 
-%%     Copyright (C) 2021
+%%     Copyright (C) 2022
 %%     Association of Bit Network Pioneer and any individual authors listed in the documentation.
 %% ------------------------------------------------------------------------------
 %% 
@@ -27,7 +27,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}[1999/12/01]
 \ProvidesClass{bitart}
- [2021/09/07 v1.1.0 BIT Thesis Templates]
+ [2022/04/01 v2.0.0 BIT Thesis Templates]
 
 
 \newif\if at bit@labreport
@@ -39,7 +39,8 @@
 \ExecuteOptions{lab-report}
 \ProcessOptions\relax
 
-\LoadClass[UTF8,AutoFakeBold,AutoFakeSlant,zihao=-4]{ctexart}%
+\PassOptionsToPackage{AutoFakeBold,AutoFakeSlant}{xeCJK}
+\LoadClass[UTF8,zihao=-4]{ctexart}%
 
 \if at bit@labreport
   \RequirePackage[a4paper,left=3.18cm,right=3.18cm,top=2.54cm,bottom=2.54cm,includeheadfoot]{geometry}%

Modified: trunk/Master/texmf-dist/tex/latex/bithesis/bitbook.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/bithesis/bitbook.cls	2022-04-07 23:49:53 UTC (rev 62979)
+++ trunk/Master/texmf-dist/tex/latex/bithesis/bitbook.cls	2022-04-08 21:43:40 UTC (rev 62980)
@@ -6,7 +6,7 @@
 %%
 %% bithesis.dtx  (with options: `cls,book')
 %% 
-%%     Copyright (C) 2021
+%%     Copyright (C) 2022
 %%     Association of Bit Network Pioneer and any individual authors listed in the documentation.
 %% ------------------------------------------------------------------------------
 %% 
@@ -27,7 +27,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}[1999/12/01]
 \ProvidesClass{bitbook}
- [2021/09/07 v1.1.0 BIT Thesis Templates]
+ [2022/04/01 v2.0.0 BIT Thesis Templates]
 
 
 \newif\if at bit@bachelor
@@ -54,7 +54,8 @@
 
 \ProcessOptions\relax
 
-\LoadClass[UTF8,AutoFakeBold,AutoFakeSlant,zihao=-4,oneside,openany]{ctexbook}
+\PassOptionsToPackage{AutoFakeBold,AutoFakeSlant}{xeCJK}
+\LoadClass[UTF8,zihao=-4,oneside,openany]{ctexbook}
 
 \RequirePackage[a4paper,left=3cm,right=2.6cm,top=3.5cm,bottom=2.9cm]{geometry}
 \RequirePackage{xeCJK}

Added: trunk/Master/texmf-dist/tex/latex/bithesis/bitgrad.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/bithesis/bitgrad.cls	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/bithesis/bitgrad.cls	2022-04-08 21:43:40 UTC (rev 62980)
@@ -0,0 +1,834 @@
+%%
+%% This is file `bitgrad.cls',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% bithesis.dtx  (with options: `cls,graduate')
+%% 
+%%     Copyright (C) 2022
+%%     Association of Bit Network Pioneer and any individual authors listed in the documentation.
+%% ------------------------------------------------------------------------------
+%% 
+%%     This work may be distributed and/or modified under the
+%%     conditions of the LaTeX Project Public License, either
+%%     version 1.3c of this license or (at your option) any later
+%%     version. This version of this license is in
+%%        http://www.latex-project.org/lppl/lppl-1-3c.txt
+%%     and the latest version of this license is in
+%%        http://www.latex-project.org/lppl.txt
+%%     and version 1.3 or later is part of all distributions of
+%%     LaTeX version 2020/11/27 or later.
+%% 
+%%     This work has the LPPL maintenance status `maintained'.
+%% 
+%%     The Current Maintainer of this work is Feng Kaiyu.
+%% ------------------------------------------------------------------------------
+%% 
+\NeedsTeXFormat{LaTeX2e}[1999/12/01]
+\ProvidesClass{bitgrad}
+ [2022/04/01 v2.0.0 BIT Thesis Templates]
+
+
+%% ==================================================
+%% BIT-thesis-grd.cls for BIT Thesis
+%% modified by yang yating
+%% version: 1.4
+%% last update: Mar 25th, 2018
+%% ==================================================
+
+%% math packages -- conflict with xunicode
+\RequirePackage{amsmath,amsthm,amsfonts,amssymb,bm,mathrsfs}
+\RequirePackage{upgreek}
+
+\DeclareOption*{\PassOptionsToClass{\CurrentOption}{ctexbook}}
+\newif\ifBIT at master\BIT at masterfalse
+\newif\ifBIT at doctor\BIT at doctorfalse
+\newif\ifBIT at istwoside\BIT at istwosidefalse
+\DeclareOption{twoside}{\BIT at istwosidetrue}
+\DeclareOption{master}{\BIT at mastertrue}
+\DeclareOption{doctor}{\BIT at doctortrue}
+
+\ProcessOptions\relax
+\ifBIT at istwoside
+\LoadClass[zihao=-4,a4paper,UTF8,space=auto]{ctexbook}
+\else
+\LoadClass[zihao=-4,a4paper,oneside,openany,UTF8,space=auto]{ctexbook}
+\fi
+
+%%
+%% the setup of ctex package
+%%
+\def\contentsname{目\BITspace 录}
+\def\listfigurename{插\BITspace 图}
+\def\listtablename{表\BITspace 格}
+
+%%
+%% 封面标题
+%%
+\def\BIT at label@major{学~~~~科~~~~专~~~~业}
+\def\BIT at label@title{论文题目}
+\def\BIT at label@author{作~~~~者~~~~姓~~~~名}
+\def\BIT at label@classification{中图分类号:}
+\def\BIT at label@confidential{密级}
+\def\BIT at label@UDC{UDC\!分类号:}
+\def\BIT at label@serialnumber{编号}
+\def\BIT at label@thesis{学位论文}
+\def\BIT at label@advisor{指~~~~导~~~~教~~~~师}
+\def\BIT at label@degree{申~~~~请~~~~学~~~~位}
+\def\BIT at label@submitdate{论文提交日期}
+\def\BIT at label@defenddate{论~文~答~辩~日~期}
+\def\BIT at label@institute{学~~~~院~~~~名~~~~称}
+\def\BIT at label@school{学~位~授~予~单~位}
+\def\BIT at label@chairman{答辩委员会主席}
+
+%%
+%% 封面内容
+%%
+
+\def\BIT at value@classification{}
+\def\BIT at value@confidential{}
+\def\BIT at value@UDC{}
+\def\BIT at value@serialnumber{}
+\def\BIT at value@school{}
+\def\BIT at value@degree{}
+\def\BIT at value@title{~~~~~(论~文~题~目)~~~~~}
+\def\BIT at value@vtitle{竖排论文题目}
+\def\BIT at value@titlemark{\BIT at value@title}
+\def\BIT at value@author{(作~者~姓~名)}
+\def\BIT at value@advisor{(姓名、专业技术职务、学位)}
+\def\BIT at value@advisorinstitute{(单位)}
+\def\BIT at value@major{}
+\def\BIT at value@studentnumber{} % _ added by wei.jianwen at gmail.com
+\def\BIT at value@submitdate{}
+\def\BIT at value@defenddate{}
+\def\BIT at value@institute{}
+\def\BIT at value@chairman{}
+\def\BIT at label@statement{}
+
+%% 设置圆圈的格式 或使用\textcircled
+\usepackage{tikz}
+\usepackage{etoolbox}
+\newcommand{\circled}[2][]{\tikz[baseline=(char.base)]
+    {\node[shape = circle, draw, inner sep = 1pt]
+    (char) {\phantom{\ifblank{#1}{#2}{#1}}};
+    \node at (char.center) {\makebox[0pt][c]{#2}};}}
+\robustify{\circled}
+
+%% 论文原创性声明
+\def\BIT at label@original{研究成果声明}
+\def\BIT at label@authorization{关于学位论文使用权的说明}
+\def\BIT at label@authorsign{作者签名:}
+\def\BIT at label@Supervisorsign{导师签名:}
+\def\BIT at label@originalDate{签字日期:}
+\def\BIT at label@originalcontent{\BITspace\BITspace 本人郑重声明:所提交的学位论文是我本人在指导教师的指导下进行的研究工作获得的研究成果。尽我所知,文中除特别标注和致谢的地方外,学位论文中不包含其他人已经发表或撰写过的研究成果,也不包含为获得北京理工大学或其它教育机构的学位或证书所使用过的材料。与我一同工作的合作者对此研究工作所做的任何贡献均已在学位论文中作了明确的说明并表示了谢意。\par 特此申明。}
+\def\BIT at label@authorizationcontent{\BITspace\BITspace 本人完全了解北京理工大学有关保管、使用学位论文的规定,其中包括:\circled{1} 学校有权保管、并向有关部门送交学位论文的原件与复印件;\circled{2} 学校可以采用影印、缩印或其它复制手段复制并保存学位论文;\circled{3} 学校可允许学位论文被查阅或借阅;\circled{4} 学校可以学术交流为目的,复制赠送和交换学位论文;\circled{5} 学校可以公布学位论文的全部或部分内容(保密学位论文在解密后遵守此规定)。}
+
+%%
+%% 英语封面标题
+%%
+\def\BIT at label@englishadvisor{Supervisor:}
+\def\BIT at label@englishstatement{Submitted in total fulfilment
+  of the requirements for the degree of \BIT at value@englishdegree \\
+  in \BIT at value@englishmajor}
+\def\BIT at label@englishauthor{Candidate Name:}
+\def\BIT at label@englishadvisor{Faculty Mentor:}
+\def\BIT at label@englishchairman{Chair, Thesis Committee:}
+\def\BIT at label@englishinstitute{School or Department:}
+\def\BIT at label@englishdegree{Degree Applied:}
+\def\BIT at label@englishmajor{Major:}
+\def\BIT at label@englishschool{Degree by:}
+\def\BIT at label@englishdate{The Date of Defence:}
+
+%%
+%% 英语封面内容
+%%
+\def\BIT at value@englishtitle{(English Title of Thesis)}
+\def\BIT at value@englishauthor{(Author Name)}
+\def\BIT at value@englishadvisor{(Supervisor Name)}
+\def\BIT at value@englishinstitute{(Institute Name)}
+\def\BIT at value@englishscholl{(BIT)}
+\def\BIT at value@englishchair{(someone)}
+\def\BIT at value@englishdate{}
+\def\BIT at value@englishdegree{}
+\def\BIT at value@englishmajor{}
+
+\def\BIT at label@abstract{摘要}
+\def\BIT at label@englishabstract{Abstract}
+\def\BIT at label@keywords{关键词:}
+\def\BIT at label@englishkeywords{Key Words:~}
+\def\BIT at label@conclusion{结论}
+\def\BIT at label@appendix{附录}
+\def\BIT at label@publications{攻读学位期间发表论文与研究成果清单}
+\def\BIT at label@projects{攻读学位期间参与的项目}
+\def\BIT at label@resume{作者简介}
+\def\BIT at label@reference{参考文献!!!!}
+\def\BIT at label@thanks{致谢}
+\def\BIT at value@templateversion{v1.2}
+%%
+%% label in the head 页眉页脚
+%%
+\def\BIT at label@headschoolname{北京理工大学硕士学位论文}
+
+%% 当前模板的版本
+\newcommand{\version}{\BIT at value@templateversion}
+
+%% ==============引用geometry 宏包设置纸张和页面========================
+\usepackage[%
+paper=a4paper,%
+top=3.5cm,% 上 3.5cm %
+bottom=2.5cm,% 下 2.5cm %
+left=2.7cm,% 左 2.7cm %
+right=2.7cm,% 右 2.7cm %
+headheight=1.0cm,% 页眉 2.5cm %
+footskip=0.7cm% 页脚 1.8cm %
+]{geometry} % 页面设置 %
+
+\parskip 0.5ex plus 0.25ex minus 0.25ex
+%% Command -- Clear Double Page
+\def\cleardoublepage{\clearpage\if at twoside \ifodd\c at page\else
+  \thispagestyle{empty}%
+  \hbox{}\newpage\if at twocolumn\hbox{}\newpage\fi\fi\fi}
+\RequirePackage{setspace}
+\setstretch{1.523}
+
+%% 设置章节格式, 黑体三号加粗居中,行距22磅,与正文或节标题的间距设定为段后间距1行。章序号与章名间空一格。
+\ctexset{chapter={
+      name = {第,章},
+      number = {\arabic{chapter}},
+      format = {\bfseries \sffamily \centering \zihao{3}},
+      pagestyle = {BIT at headings},
+      beforeskip = 16 bp,
+      afterskip = 32 bp,
+      fixskip = true,
+  }
+}
+%% 设置一级章节格式
+
+\ctexset{section={
+  format={\raggedright \bfseries \sffamily \zihao{4}},
+  beforeskip = 28bp plus 1ex minus .2ex,
+  afterskip = 24bp plus .2ex,
+  fixskip = true,
+  }
+}
+
+
+
+\ctexset{subsection={
+   format = {\bfseries \sffamily \raggedright \zihao{-4}},
+   beforeskip =28bp plus 1ex minus .2ex,
+   afterskip = 24bp plus .2ex,
+   fixskip = true,
+   }
+}
+
+
+\ctexset{subsubsection={
+      format={\heiti \raggedright \zihao{-4}},
+      beforeskip=28bp plus 1ex minus .2ex,
+      afterskip=24bp plus .2ex,
+      fixskip=true,
+  }
+}
+
+%% 设定目录格式。目录颜色更改黑色
+\addtocontents{toc}{\protect\hypersetup{hidelinks}}
+\addtocontents{lot}{\protect\hypersetup{hidelinks}}
+\addtocontents{lof}{\protect\hypersetup{hidelinks}}
+
+\RequirePackage{titletoc}
+\titlecontents{chapter}[0pt]{\songti \zihao{4}}
+    {\bf\thecontentslabel\hspace{\ccwd}}{\bf}
+    {\hspace{.5em}\titlerule*{.}\contentspage}
+\titlecontents{section}[2\ccwd]{\songti \zihao{-4}}
+    {\thecontentslabel\hspace{\ccwd}}{}
+    {\hspace{.5em}\titlerule*{.}\contentspage}
+\titlecontents{subsection}[4\ccwd]{\songti \zihao{-4}}
+    {\thecontentslabel\hspace{\ccwd}}{}
+    {\hspace{.5em}\titlerule*{.}\contentspage}
+
+\titlecontents{figure}[0pt]{\songti\zihao{-4}}
+    {\figurename~\thecontentslabel\quad}{\hspace*{-1.5cm}}
+    {\hspace{.5em}\titlerule*{.}\contentspage}
+
+\titlecontents{table}[0pt]{\songti\zihao{-4}}
+    {\tablename~\thecontentslabel\quad}{\hspace*{-1.5cm}}
+    {\hspace{.5em}\titlerule*{.}\contentspage}
+
+%% 选择编译
+\RequirePackage{ifthen}
+
+%% check pdfTeX mode
+\RequirePackage{ifpdf}
+
+%% fancyhdr 页眉页脚控制
+\RequirePackage{fancyhdr}
+
+\fancypagestyle{BIT at empty}{%
+  \fancyhf{}}
+
+\fancypagestyle{BIT at headings}{%
+  \fancyhf{}
+  \fancyfoot[C]{\songti\zihao{5} \thepage}
+  \fancyhead[C]{\ifBIT at master\zihao{5}{\songti 北京理工大学硕士学位论文}
+                \else\zihao{5}{\songti 北京理工大学博士学位论文}\fi}
+  }
+
+\let\BIT at cleardoublepage\cleardoublepage
+\newcommand{\BIT at clearemptydoublepage}{%
+\clearpage{\pagestyle{BIT at empty}\BIT at cleardoublepage}}
+\let\cleardoublepage\BIT at clearemptydoublepage
+
+ % ================修该frontmatter 的页码为大写罗马格式,并调整页面风格===============
+\renewcommand{\frontmatter}{
+ \if at openright\cleardoublepage\else\clearpage\fi
+  \@mainmatterfalse
+  \pagenumbering{Roman}
+  \pagestyle{BIT at headings}
+}
+\renewcommand{\mainmatter}{
+  \if at openright\cleardoublepage\else\clearpage\fi
+  \@mainmattertrue
+  \pagenumbering{arabic}
+  \pagestyle{BIT at headings}
+}
+
+%% 复杂表格
+\RequirePackage{threeparttable}
+\RequirePackage{dcolumn}
+\RequirePackage{multirow}
+\RequirePackage{booktabs}
+\newcolumntype{d}[1]{D{.}{.}{#1}}% or D{.}{,}{#1} or D{.}{\cdot}{#1}
+
+%% 定义几个常用的数学常量符号
+\newcommand{\me}{\mathrm{e}} % 定义 对数常数e,虚数符号i,j以及微分算子d为直立体。
+\newcommand{\mi}{\mathrm{i}}
+\newcommand{\mj}{\mathrm{j}}
+\newcommand{\dif}{\,\mathrm{d}}
+
+\theoremstyle{plain}
+  \newtheorem{algo}{算法~}[chapter]
+  \newtheorem{thm}{定理~}[chapter]
+  \newtheorem{lem}[thm]{引理~}
+  \newtheorem{prop}[thm]{命题~}
+  \newtheorem{cor}[thm]{推论~}
+\theoremstyle{definition}
+  \newtheorem{defn}{定义~}[chapter]
+  \newtheorem{conj}{猜想~}[chapter]
+  \newtheorem{exmp}{例~}[chapter]
+  \newtheorem{rem}{注~}
+  \newtheorem{case}{情形~}
+\renewcommand{\proofname}{\bf 证明}
+
+%% 英文字体使用 Times New Roman
+\RequirePackage{xltxtra} % \XeTeX Logo
+\setmainfont{Times New Roman}
+\setsansfont{Arial}
+\setmonofont{Courier New}
+
+%% graphics packages
+\RequirePackage{graphicx}
+%% 并列子图
+\RequirePackage{subfigure}
+
+\RequirePackage{wrapfig}
+%% ===========================设置图表标题选项==========================
+\RequirePackage{amsmath}
+\RequirePackage{caption}
+\DeclareCaptionLabelSeparator{zhspace}{\hspace{1\ccwd}}
+\DeclareCaptionFont{fontsize}{\zihao{5}}
+\captionsetup{
+  font = {fontsize},
+  labelsep = zhspace,
+}
+\captionsetup[table]{
+  position = top,
+  aboveskip = 6bp,
+  belowskip = 6bp,
+}
+\numberwithin{table}{chapter}
+\captionsetup[figure]{
+  position = bottom,
+  aboveskip = 6bp,
+  belowskip = 6bp,
+}
+
+%% 如果插入的图片没有指定扩展名,那么依次搜索下面的扩展名所对应的文件
+\DeclareGraphicsExtensions{.pdf,.eps,.png,.jpg,.jpeg}
+
+%% sort and compress citations
+\RequirePackage[numbers,square,comma,super,sort&compress]{natbib}
+\newcommand{\upcite}[1]{\textsuperscript{\cite{#1}}}
+
+\renewcommand{\textfraction}{0.15}
+\renewcommand{\topfraction}{0.85}
+\renewcommand{\bottomfraction}{0.65}
+\renewcommand{\floatpagefraction}{0.60}
+
+\renewcommand\theequation{\arabic{chapter}.\arabic{equation}}
+\renewcommand\thefigure{\arabic{chapter}.\arabic{figure}}
+\renewcommand\thetable{\arabic{chapter}.\arabic{table}}
+
+\RequirePackage{xcolor}
+
+\newcommand{\cndash}{\rule{0.0em}{0pt}\rule[0.35em]{1.4em}{0.05em}\rule{0.2em}{0pt}}
+
+\RequirePackage{listings}
+\lstset{tabsize=4, %
+  frame=shadowbox, % 把代码用带有阴影的框圈起来
+  commentstyle=\color{red!50!green!50!blue!50},% 浅灰色的注释
+  rulesepcolor=\color{red!20!green!20!blue!20},% 代码块边框为淡青色
+  keywordstyle=\color{blue!90}\bfseries, % 代码关键字的颜色为蓝色,粗体
+  showstringspaces=false,% 不显示代码字符串中间的空格标记
+  stringstyle=\ttfamily, % 代码字符串的特殊格式
+  keepspaces=true, %
+  breakindent=22pt, %
+  numbers=left,% 左侧显示行号
+  stepnumber=1,%
+  numberstyle=\tiny, % 行号字体用小号
+  basicstyle=\footnotesize, %
+  showspaces=false, %
+  flexiblecolumns=true, %
+  breaklines=true, % 对过长的代码自动换行
+  breakautoindent=true,%
+  breakindent=4em, %
+  aboveskip=1em, % 代码块边框
+  %% added by http://bbs.ctex.org/viewthread.php?tid=53451
+  fontadjust,
+  captionpos=t,
+  framextopmargin=2pt,framexbottommargin=2pt,abovecaptionskip=-3pt,belowcaptionskip=3pt,
+  xleftmargin=4em,xrightmargin=4em, % 设定listing左右的空白
+  texcl=true,
+  % 设定中文冲突,断行,列模式,数学环境输入,listing数字的样式
+  extendedchars=false,columns=flexible,mathescape=true
+  numbersep=-1em
+}
+\renewcommand{\lstlistingname}{代码} %% 重命名Listings标题头
+
+%% hyperref package
+\definecolor{navyblue}{RGB}{0,0,128}
+\RequirePackage{hyperref}
+\hypersetup{
+  bookmarksnumbered,%
+  linktoc=all,
+  colorlinks=true,
+  citecolor=navyblue,
+  filecolor=cyan,
+  linkcolor=navyblue,
+  linkbordercolor=navyblue,
+  urlcolor=navyblue,
+  plainpages=false,%
+  pdfstartview=FitH
+}
+
+%% enumerate 列表环境间距调节
+\usepackage{enumitem}
+
+\bibliographystyle{GBT7714-2005NLang}
+
+\newcommand{\BITspace}[1][1]{\hspace{#1\ccwd}}
+
+\def\BIT at getfileinfo#1 #2 #3\relax#4\relax{%
+  \def\BITfiledate{#1}%
+  \def\BITfileversion{#2}%
+  \def\BITfileinfo{#3}}%
+\expandafter\ifx\csname ver at bitmaster-xetex.cls\endcsname\relax
+  \edef\reserved at a{\csname ver at ctextemp_bitmaster-xetex.cls\endcsname}
+\else
+  \edef\reserved at a{\csname ver at bitmaster-xetex.cls\endcsname}
+\fi
+\expandafter\BIT at getfileinfo\reserved at a\relax? ? \relax\relax
+\def\BIT at underline[#1]#2{%
+  \underline{\hbox to #1{\hfill#2\hfill}}}
+\def\BITunderline{\@ifnextchar[\BIT at underline\underline}
+
+\newcommand\classification[1]{\def\BIT at value@classification{#1}}
+\newcommand\studentnumber[1]{\def\BIT at value@studentnumber{#1}}
+\newcommand\confidential[1]{\def\BIT at value@confidential{#1}}
+\newcommand\UDC[1]{\def\BIT at value@UDC{#1}}
+\newcommand\serialnumber[1]{\def\BIT at value@serialnumber{#1}}
+\newcommand\school[1]{\def\BIT at value@school{#1}}
+\newcommand\degree[1]{\def\BIT at value@degree{#1}}
+\renewcommand\title[2][\BIT at value@title]{%
+  \def\BIT at value@title{#2}
+  \def\BIT at value@titlemark{\MakeUppercase{#1}}}
+
+\newcommand\vtitle[1]{\def\BIT at value@vtitle{#1}}
+\renewcommand\author[1]{\def\BIT at value@author{#1}}
+\newcommand\advisor[1]{\def\BIT at value@advisor{#1}}
+\newcommand\advisorinstitute[1]{\def\BIT at value@advisorinstitute{#1}}
+\newcommand\major[1]{\def\BIT at value@major{#1}}
+\newcommand\submitdate[1]{\def\BIT at value@submitdate{#1}}
+\newcommand\defenddate[1]{\def\BIT at value@defenddate{#1}}
+\newcommand\institute[1]{\def\BIT at value@institute{#1}}
+\newcommand\chairman[1]{\def\BIT at value@chairman{#1}}
+
+%% 第一页和第二页
+\renewcommand\maketitle[1]{%
+  \cleardoublepage
+  \thispagestyle{empty}
+  \begin{center}
+    \vspace*{60mm}
+    {\heiti\zihao{-2} \BIT at value@title}
+    \vskip 40mm
+    {\heiti \zihao{-3} \BIT at value@author} % 黑体 小三
+     \vskip 4mm
+    {\heiti \zihao{-3} \BIT at value@defenddate} % 黑体 小三
+  \end{center}
+  \clearpage
+  \if at twoside
+    \thispagestyle{empty}
+    \cleardoublepage
+  \fi
+ }
+
+\newcommand\makeInfo[1]%
+ {
+  \newpage
+  \cleardoublepage
+  \thispagestyle{empty}
+
+{ %
+  {\heiti \zihao{5} \noindent \BIT at label@classification} \BIT at value@classification \\
+  {\heiti \zihao{5} \BIT at label@UDC}  \BIT at value@UDC
+}
+
+   \begin{center}
+
+    \vskip \stretch{1}
+       {\heiti\zihao{-2} \BIT at value@title}
+    \vskip \stretch{1}
+
+    {\fangsong\zihao{4}}
+    \def\tabcolsep{1pt}
+    \def\arraystretch{1.5}
+
+    {\heiti\zihao{-3}
+     \begin{tabular}{l p{3mm} c}
+      \BIT at label@author & &\BITunderline[180pt]{\BIT at value@author}
+    \\
+      \BIT at label@institute & & \BITunderline[180pt]{\BIT at value@institute}
+    \\
+      \BIT at label@advisor & &  \BITunderline[180pt]{\BIT at value@advisor}
+    \\
+      \BIT at label@chairman & &   \BITunderline[180pt]{\BIT at value@chairman}
+    \\
+      \BIT at label@degree & &    \BITunderline[180pt]{\BIT at value@degree}
+    \\
+      \BIT at label@major & &    \BITunderline[180pt]{\BIT at value@major}
+    \\
+      \BIT at label@school & &   \BITunderline[180pt]{\BIT at value@school}
+    \\
+      \BIT at label@defenddate & &  \BITunderline[180pt]{\BIT at value@defenddate}
+    \end{tabular}}
+
+  \end{center}
+
+  \vskip \stretch{0.5}
+  \clearpage
+  \if at twoside
+    \thispagestyle{empty}
+    \cleardoublepage
+  \fi
+}
+
+\newcommand\englishtitle[1]{\def\BIT at value@englishtitle{#1}}
+\newcommand\englishauthor[1]{\def\BIT at value@englishauthor{#1}}
+\newcommand\englishadvisor[1]{\def\BIT at value@englishadvisor{#1}}
+\newcommand\englishschool[1]{\def\BIT at value@englishschool{#1}}
+\newcommand\englishinstitute[1]{\def\BIT at value@englishinstitute{#1}}
+\newcommand\englishdate[1]{\def\BIT at value@englishdate{#1}}
+\newcommand\englishdegree[1]{\def\BIT at value@englishdegree{#1}}
+\newcommand\englishmajor[1]{\def\BIT at value@englishmajor{#1}}
+\newcommand\englishchairman[1]{\def\BIT at value@englishchairman{#1}}
+
+\newcommand\makeEnglishInfo[1]{%
+  \cleardoublepage
+  \thispagestyle{empty}
+
+   \begin{center}
+
+   \vspace*{10em}
+   {\zihao{-2}\textbf{\BIT at value@englishtitle}}
+   % \bfseries
+   \vskip \stretch{1}
+
+   {\zihao{-3}
+     \begin{tabular}{ll}
+      \BIT at label@englishauthor & \BITunderline[200pt]{\BIT at value@englishauthor}
+    \\
+      \BIT at label@englishinstitute &  \BITunderline[200pt]{\BIT at value@englishinstitute}
+    \\
+      \BIT at label@englishadvisor &  \BITunderline[200pt]{\BIT at value@englishadvisor}
+    \\
+      \BIT at label@englishchairman &   \BITunderline[200pt]{\BIT at value@englishchairman}
+    \\
+      \BIT at label@englishdegree &    \BITunderline[200pt]{\BIT at value@englishdegree}
+    \\
+      \BIT at label@englishmajor &     \BITunderline[200pt]{\BIT at value@englishmajor}
+    \\
+      \BIT at label@englishschool &     \BITunderline[200pt]{\BIT at value@englishschool}
+    \\
+      \BIT at label@englishdate &   \BITunderline[200pt]{\BIT at value@englishdate}
+    \end{tabular}}
+
+  \end{center}
+
+  \vskip \stretch{0.5}
+  \clearpage
+  \if at twoside
+  \thispagestyle{empty}
+   \cleardoublepage
+  \fi
+}
+
+
+\newcommand\makeVerticalTitle{
+   \cleardoublepage
+   \thispagestyle{empty}
+   \vskip 5cm
+   \begin{center}
+    \setstretch{1.1}
+    \begin{minipage}{1em}
+        {\heiti\zihao{3}\BIT at value@vtitle}
+        \vskip 2cm
+        {\heiti\zihao{3}\BIT at value@school}
+    \end{minipage}
+   \end{center}
+    \clearpage
+    \if at twoside
+        \thispagestyle{empty}
+        \cleardoublepage
+    \fi
+
+}
+
+\newcommand\makeDeclareOriginal{%
+  \cleardoublepage
+  \pdfbookmark[0]{声明}{statement}
+  \thispagestyle{empty}
+  \begin{center}
+  {\bf\zihao{3} \BIT at label@original}
+  \end{center}
+  \vskip 10pt
+  {\zihao{4}\BIT at label@originalcontent}
+  \vskip 10pt
+  \hspace{8em}{\zihao{4}\BIT at label@authorsign} \BITunderline[6em]{} \hspace{2em} {\zihao{4}\BIT at label@originalDate} \BITunderline[6em]{}
+
+  \vskip 30mm
+
+  \begin{center}
+  {\bf\zihao{3} \BIT at label@authorization}
+  \end{center}
+  \vskip 10pt
+  {\zihao{4} \BIT at label@authorizationcontent}
+  \vskip 40pt
+
+  \hspace{8em}{\zihao{4}\BIT at label@authorsign} \BITunderline[6em]{} \hspace{2em} {\zihao{4}\BIT at label@Supervisorsign} \BITunderline[6em]{}
+  \vskip 15pt
+  \hspace{8em}{\zihao{4}\BIT at label@originalDate} \BITunderline[6em]{} \hspace{2em} {\zihao{4}\BIT at label@originalDate} \BITunderline[6em]{}
+  \clearpage
+  \if at twoside
+    \thispagestyle{empty}
+    \cleardoublepage
+  \fi
+
+}
+
+\pagestyle{fancy}
+\fancyhf{}
+\fancyhead[C]{\songti \zihao{5} \BIT at label@headschoolname}  % 奇数页左页眉
+\fancyfoot[C]{\songti \zihao{5} {\thepage}}      % 页脚
+
+\fancypagestyle{plain}{% 设置开章页页眉页脚风格(只有页码作为页脚)
+  \fancyhf{}%
+  \fancyfoot[C]{\songti \zihao{5} \BIT at label@headschoolname}
+  \fancyfoot[C]{\songti \zihao{5} ~---~{\thepage}~---~} % 首页页脚格式
+}
+
+ % 中文摘要
+ \newenvironment{abstract}
+ {
+  \cleardoublepage
+  \chapter{\BIT at label@abstract}
+ }
+ {}
+ \newcommand\beginatevenpage{
+ \clearpage
+  \if at twoside
+    \thispagestyle{empty}
+    \cleardoublepage
+  \fi
+ }
+ % 中文关键词
+ \newcommand\keywords[1]{%
+   \vspace{2ex}\noindent{\bf \BIT at label@keywords} #1}
+
+ % 英文摘要
+ \newenvironment{englishabstract}
+ {
+  \clearpage
+  \chapter{\BIT at label@englishabstract}
+ }
+ {}
+
+ % 英文摘要
+ \newcommand\englishkeywords[1]{%
+  \vspace{2ex}\noindent{\bf \BIT at label@englishkeywords} #1}
+
+\renewcommand\tableofcontents{%
+  \if at twocolumn
+  \@restonecoltrue\onecolumn
+  \else
+  \@restonecolfalse
+  \fi
+  \chapter*{\contentsname}% 目录里显示“目录”,否则\chapter*
+  \@mkboth{\MakeUppercase\contentsname}{\MakeUppercase\contentsname}%
+  \pdfbookmark[0]{目录}{bittoc}
+  \@starttoc{toc}%
+  \if at restonecol\twocolumn\fi
+}
+
+\renewenvironment{thebibliography}[1]
+     {\zihao{5}
+      \chapter*{\bibname}
+      \@mkboth{\MakeUppercase\bibname}{\MakeUppercase\bibname}%
+      \addcontentsline{toc}{chapter}{参考文献}
+      \list{\@biblabel{\@arabic\c at enumiv}}%
+           {\settowidth\labelwidth{\@biblabel{#1}}%
+            \leftmargin\labelwidth
+            \advance\leftmargin\labelsep
+            \setlength{\parsep}{1mm}
+            \setlength{\labelsep}{0.5em}
+            \setlength{\itemsep}{0.05pc}
+            \setlength{\listparindent}{0in}
+            \setlength{\itemindent}{0in}
+            \setlength{\rightmargin}{0in}
+            \@openbib at code
+            \usecounter{enumiv}%
+            \let\p at enumiv\@empty
+            \renewcommand\theenumiv{\@arabic\c at enumiv}}%
+      \sloppy
+      \clubpenalty4000
+      \@clubpenalty \clubpenalty
+      \widowpenalty4000%
+      \sfcode`\.\@m}
+     {\def\@noitemerr
+       {\@latex at warning{Empty `thebibliography' environment}}%
+      \endlist}
+
+\newenvironment{publications}[1]
+     {\chapter{\BIT at label@publications}%
+      \@mkboth{\MakeUppercase\BIT at label@publications}
+              {\MakeUppercase\BIT at label@publications}%
+      \list{\@biblabel{\@arabic\c at enumiv}}%
+           {\settowidth\labelwidth{\@biblabel{#1}}%
+            \leftmargin\labelwidth
+            \advance\leftmargin\labelsep
+            \setlength{\parsep}{1mm}
+            \setlength{\labelsep}{0.5em}
+            \setlength{\itemsep}{0.05pc}
+            \setlength{\listparindent}{0in}
+            \setlength{\itemindent}{0in}
+            \setlength{\rightmargin}{0in}
+            \@openbib at code
+            \usecounter{enumiv}%
+            \let\p at enumiv\@empty
+            \renewcommand\theenumiv{\@arabic\c at enumiv}}%
+      \sloppy
+      \clubpenalty4000
+      \@clubpenalty \clubpenalty
+      \widowpenalty4000%
+      \sfcode`\.\@m}
+     {\def\@noitemerr
+       {\@latex at warning{Empty `publications' environment}}%
+      \endlist}
+
+\newenvironment{projects}[1]
+     {\chapter{\BIT at label@projects}%
+      \@mkboth{\MakeUppercase\BIT at label@projects}
+              {\MakeUppercase\BIT at label@projects}%
+      \list{\@biblabel{\@arabic\c at enumiv}}%
+           {\settowidth\labelwidth{\@biblabel{#1}}%
+            \leftmargin\labelwidth
+            \advance\leftmargin\labelsep
+            \@openbib at code
+            \usecounter{enumiv}%
+            \let\p at enumiv\@empty
+            \renewcommand\theenumiv{\@arabic\c at enumiv}}%
+      \sloppy
+      \clubpenalty4000
+      \@clubpenalty \clubpenalty
+      \widowpenalty4000%
+      \sfcode`\.\@m}
+     {\def\@noitemerr
+       {\@latex at warning{Empty `projects' environment}}%
+      \endlist}
+
+    \newenvironment{resume}
+  {\chapter{\BIT at label@resume}}
+  {}
+
+\newenvironment{resumesection}[1]
+  {{\noindent\normalfont\bfseries #1}
+   \list{}{\labelwidth\z@
+           \leftmargin 2\ccwd}
+   \item\relax}
+   {\endlist}
+
+\newenvironment{resumeli}[1]
+  {{\noindent\normalfont\bfseries #1}
+   \list{}{\labelwidth\z@
+           \leftmargin 4\ccwd
+           \itemindent -2\ccwd
+           \listparindent\itemindent}
+   \item\relax}
+   {\endlist}
+
+\newenvironment{conclusion}
+  {\chapter*{结论}
+    \@mkboth{结论}{结论}%
+    \addcontentsline{toc}{chapter}{结论}}
+  {}
+
+\renewenvironment{thanks}
+  {\chapter{\BIT at label@thanks}
+  \fangsong
+  }
+  {}
+
+\newenvironment{symbolnote}
+  {\chapter{\BIT at label@symbolnote}
+  \fangsong}
+  {}
+
+  %% ===========================术语=====================
+  \newcommand{\bit at denotation@name}{主要符号对照表}
+  \newenvironment{denotation}[1][2.5cm]{
+      \chapter{\bit at denotation@name} % no tocline
+      \noindent\begin{list}{}%
+      {\vskip-30bp\zihao{-4}
+       \renewcommand\makelabel[1]{##1\hfil}
+       \setlength{\labelwidth}{#1} % 标签盒子宽度
+       \setlength{\labelsep}{0.5cm} % 标签与列表文本距离
+       \setlength{\itemindent}{0cm} % 标签缩进量
+       \setlength{\leftmargin}{\labelwidth+\labelsep} % 左边界
+       \setlength{\rightmargin}{0cm}
+       \setlength{\parsep}{0cm} % 段落间距
+       \setlength{\itemsep}{0cm} % 标签间距
+      \setlength{\listparindent}{0cm} % 段落缩进量
+      \setlength{\topsep}{0pt} % 标签与上文的间距
+     }}{\end{list}}
+     \RequirePackage[version=4]{mhchem}
+     \RequirePackage{siunitx}
+\setcounter{secnumdepth}{4}  % 章节编号深度 (part 对应 -1)
+\setcounter{tocdepth}{2}     % 目录深度 (part 对应 -1)
+
+%% End of file `bitmaster-xetex.cls'.
+
+%% =========================================================
+
+\endinput
+%%
+%% End of file `bitgrad.cls'.


Property changes on: trunk/Master/texmf-dist/tex/latex/bithesis/bitgrad.cls
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property


More information about the tex-live-commits mailing list.