summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-03-06 21:11:48 +0000
committerKarl Berry <karl@freefriends.org>2022-03-06 21:11:48 +0000
commitbf6a26be7d3c51d0aaac3618ce5f0a32a0708cb9 (patch)
tree4e3899c7f83563f7f78bbd20079727926bbc4c5f /Master/texmf-dist
parent6b6037cf4e9d2989bc67f6f59e4e63090a6772ba (diff)
buctthesis (6mar22) (branch)
git-svn-id: svn://tug.org/texlive/branches/branch2021.final@62474 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/buctthesis/BUCT-badge.pdfbin64254 -> 60939 bytes
-rw-r--r--Master/texmf-dist/doc/latex/buctthesis/README.md37
-rw-r--r--Master/texmf-dist/doc/latex/buctthesis/buctthesis.pdfbin448464 -> 438059 bytes
-rw-r--r--Master/texmf-dist/doc/latex/buctthesis/chapter1.tex12
-rw-r--r--Master/texmf-dist/doc/latex/buctthesis/chapter2.tex2
-rw-r--r--Master/texmf-dist/doc/latex/buctthesis/declare-master-doctor.png (renamed from Master/texmf-dist/doc/latex/buctthesis/declare-master.png)bin187456 -> 187456 bytes
-rw-r--r--Master/texmf-dist/doc/latex/buctthesis/manual.sty3
-rw-r--r--Master/texmf-dist/doc/latex/buctthesis/mycfg.sty2
-rw-r--r--Master/texmf-dist/source/latex/buctthesis/buctthesis.dtx36
-rw-r--r--Master/texmf-dist/tex/latex/buctthesis/buctcover.cls2
-rw-r--r--Master/texmf-dist/tex/latex/buctthesis/buctthesis.cls2
11 files changed, 52 insertions, 44 deletions
diff --git a/Master/texmf-dist/doc/latex/buctthesis/BUCT-badge.pdf b/Master/texmf-dist/doc/latex/buctthesis/BUCT-badge.pdf
index 71640782b7f..663feec77f9 100644
--- a/Master/texmf-dist/doc/latex/buctthesis/BUCT-badge.pdf
+++ b/Master/texmf-dist/doc/latex/buctthesis/BUCT-badge.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/buctthesis/README.md b/Master/texmf-dist/doc/latex/buctthesis/README.md
index 93f39c2526d..b019dd7dbac 100644
--- a/Master/texmf-dist/doc/latex/buctthesis/README.md
+++ b/Master/texmf-dist/doc/latex/buctthesis/README.md
@@ -25,58 +25,55 @@ of LaTeX version 1999/12/01 or later.
## BUCTthesis 是什么?
-本项目为北京化工大学学位论文的 LaTeX 模板,包括本科毕业设计(论文)与硕士、博士研究生学位论文。
+BUCTthesis (**B**eijing **U**niversity of **C**hemical **T**echnology LaTeX **Thesis** template)是北京化工大学学位论文的 LaTeX 模板,包括本科毕业设计(论文)与硕士、博士研究生学位论文。
## 快速使用
1. 安装 TeX 发行版,推荐使用 TeX Live。
2. [在这里下载](https://github.com/Miracle0565/BUCTthesis/releases) 模板最新发行版的压缩文件。
-3. 于全英文路径下解压缩后,可在 `demo` 文件夹中找到本科、硕博两种论文类型所对应的示例文件夹;将所选论文类型文件夹中的所有文件与文件夹移动至模板的根目录。
-4. 对 `main.tex` 文件执行 `latexmk` 或 `xelatex -> bibtex -> xelatex -> xelatex` 的全编译。
-5. 阅读本模板的说明文档 `buctthesis.pdf`,该文档简要地说明了模板的使用方法。
-6. 相比于重建文件,直接在示例文件上修改会更加方便:
+3. 解压缩后,可在 `demo` 文件夹中找到本科、硕博两种论文类型所对应的示例文件夹;**将所选论文类型文件夹中的所有内容移动至模板的根目录**。(例如,对本科而言,需将 `demo/bachelor` 中的所有内容复制或移动到根目录, `demo` 文件夹中的剩余内容可删除。)
+4. 阅读本模板的说明文档 `buctthesis.pdf`,该文档简要地说明了模板的使用方法。
+5. 相比于重建文件,直接在示例文件上修改会更加方便:
- `main.tex` 用于定义作者与论文信息,并组织论文结构;
- `mycfg.sty` 用于自定义命令等;
- `thesisbib.bib` 文件中插入参考文献条目;
- `chapter` 文件夹用于存放各部分内容,并在 `main.tex` 调用;
- `figure` 和 `code` 文件夹下分别保存插图和源代码,以方便写作时调用;
-7. 按第 4 步执行全编译。
-8. 在 `cover` 文件夹中可生成硕博论文的封面,使用方法请阅读说明文档 `buctthesis.pdf`。
+6. 对 `main.tex` 文件执行 `latexmk` 或 `xelatex -> bibtex -> xelatex -> xelatex` 的全编译。
+7. 在 `cover` 文件夹中可生成硕博论文的封面,使用方法请阅读说明文档 `buctthesis.pdf`。(本科可直接删除该文件夹)
## 注意事项
- 北京化工大学教务处与研究生院仅提供了写作规范(见下)而**未对本模板做任何测试或授权**。模板作者自当尽力,但限于软件等各种因素,由本模板生成的文档可能仍与要求有所出入。所以使用本模板类造成(包括但不限于)论文审核不通过等问题作者不负责,请使用时慎酌。
-- 模板仅在 TeX Live 2020 顺利编译,可能不兼容于低版本。**不支持** CTeX 套装。
-- 模板仅在 Windows 10 系统下做编译测试,故不能保证在其他系统或平台上正确。
-- 学校会统一印制论文封面,使用本模板生成的硕博论文封面与学校有少许不同。
+- 模板在 TeX Live 2020 及更新版本、[Overleaf](https://www.overleaf.com/) 上可顺利编译,可能不兼容于低版本。**不支持** CTeX 套装。
+- 学校会统一印制论文封面,而其中包括标题和作者的内容需要用笔填写。为保证论文的完整性,本模板仿制了研究生论文的封面,且与实物相比有少许差别。
## 写作规范
-- 本科:[《北京化工大学本科毕业环节工作规定》](https://jiaowuchu.buct.edu.cn/2019/0222/c515a22047/page.htm)
-- 本科:[《本科生毕业设计(论文)撰写规范》](https://jiaowuchu.buct.edu.cn/2018/1009/c515a22046/page.htm)
+- 本科:[《北京化工大学本科毕业环节工作规定》](https://jiaowuchu.buct.edu.cn/2019/0222/c515a22047/page.htm)、[《本科生毕业设计(论文)撰写规范》](https://jiaowuchu.buct.edu.cn/2018/1009/c515a22046/page.htm)
- 硕博:[《北京化工大学研究生学位论文撰写规范(修订)》](https://xxgk.buct.edu.cn/2017/1107/c2835a39437/page.htm)
-- 参考文献(链接为非校方源):[GB/T 7714—2015 信息与文献 参考文献著录规则](http://www.cessp.org.cn/uploads/1/file/public/201607/20160708142456_8mqgu0dpgk.pdf)
+- 参考文献(非校方链接):[GB/T 7714—2015 信息与文献 参考文献著录规则](http://www.cessp.org.cn/uploads/1/file/public/201607/20160708142456_8mqgu0dpgk.pdf)
-## 勘误
+## 《规范》勘误
### 本科
学校教务处提供了两份文件,而二者之间有出入之处,以及有少许笔误之处和歧义之处。模板作如下统一:
-- 二者间以后者( Word 文档)为准,如图、表编号中的分隔符使用 `-`( U+002D ) ;
+- 二者间以后者( Word 文档)为准,如图、表编号中的分隔符使用 `-`( U+002D );
- 标题 `诚信申明` 改为 `诚信声明`;
- 章节编号 `均以罗马数字表示顺序` 改为 `均以阿拉伯数字表示顺序`;
-- 对章节 `标题加黑` ,“加黑”一词理解为 `使用(伪)粗体` 而非 `标题为黑体`。
+- 对章节 `标题加黑` ,“加黑”一词理解为“使用(伪)粗体”而非“标题为黑体”。
### 硕博
-- 英文摘要中的 `KEY WORDS:`,模板将字母后的全角冒号 `:`( U+FF1A )改为半角冒号 `:` ( U+003A );
-- 正文、参考文献条目的 `行间距20磅` 改为 `行距20磅` 。
+- 英文摘要中的 `KEY WORDS:`,模板将字母后的全角冒号 `:`( U+FF1A )改为半角冒号 `:`( U+003A );
+- 正文、参考文献条目的 `行间距20磅` 改为 `行距20磅`。
## 提问
-关于模板的任何问题或新功能需求,欢迎提交 [GitHub Issues](https://github.com/Miracle0565/BUCTthesis/issues) 。
+关于模板的任何问题或新功能需求,欢迎提交 [GitHub Issues](https://github.com/Miracle0565/BUCTthesis/issues)。
## 开源许可
-本项目基于 [LaTeX Project Public License](http://www.latex-project.org/lppl.txt)(版本 1.3c 或更高)开源于 [GitHub](https://github.com/Miracle0565/BUCTthesis) 。同时为了方便国内用户,在 [Gitee](https://gitee.com/Miracle0565/BUCTthesis) 建有代码的镜像。
+本项目的代码部分基于 [LaTeX Project Public License](http://www.latex-project.org/lppl.txt)(版本 1.3c 或更高)开源于 [GitHub](https://github.com/Miracle0565/BUCTthesis) 。同时为了方便国内用户,在 [Gitee](https://gitee.com/Miracle0565/BUCTthesis) 建有代码的镜像。
diff --git a/Master/texmf-dist/doc/latex/buctthesis/buctthesis.pdf b/Master/texmf-dist/doc/latex/buctthesis/buctthesis.pdf
index 170b49620a3..72c0e5976aa 100644
--- a/Master/texmf-dist/doc/latex/buctthesis/buctthesis.pdf
+++ b/Master/texmf-dist/doc/latex/buctthesis/buctthesis.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/buctthesis/chapter1.tex b/Master/texmf-dist/doc/latex/buctthesis/chapter1.tex
index 3cc3830a4a2..806f9417b88 100644
--- a/Master/texmf-dist/doc/latex/buctthesis/chapter1.tex
+++ b/Master/texmf-dist/doc/latex/buctthesis/chapter1.tex
@@ -2,11 +2,9 @@
\chapter{绪论}
\section{字体}
\subsection{字体配置}
+模板配置了两种字库,以 \opt{fontset = windows} 为例:
\begin{enumerate}
- \item 中文:主字体(衬线字体)为宋体,无衬线字体族为黑体,%
- \footnote{这里指中易宋体(SimSun)和中易黑体(SimHei),二者均为 Windows 系统的预装字体。
- 对于不方便安装该字体的系统,可定位至 \file{buctthesis.cls}
- 文件中的 \cs{setCJKmainfont}\{SimSun\} 处,将 SimSun 替换为合适的衬线字体;无衬线字体同理。}
+ \item 中文:主字体(衬线字体)为中易宋体,无衬线字体族为中易黑体,%
且二者均可加粗为对应的伪粗体;《规范》中未规定的楷体和仿宋均为 \pkg{ctex} 宏集的预设,为避免格式审查问题,应当减少使用;
\item 西文:除英文摘要的关键词使用中易黑体、除公式中的西文(数字、字母等)使用特殊字体,其它一律使用 Times New Roman;
\item 公式:模板会根据实际字体安装情况,选择 $LibertinusMath$ 字体或使用 \LaTeX\ 的默认字体。
@@ -128,7 +126,7 @@
\file{thesisbib.bib} & \BibTeX{}参考文献数据库\\
\file{mycfg.sty} & 自定义配置文件\\
\file{README.md} & 项目自述文件\\
- \file{buctthesis.pdf} & 写作指南,即本文\\
+ \file{buctthesis.pdf} & 写作指南\\
\bottomrule
\end{tabular}
\end{table}
@@ -191,11 +189,11 @@
\begin{longtable}[c]{*{5}{l}r}
\caption{带有塑化剂的PEO-基聚合物电解质举例}\label{tab:longtab}\\
\toprule
- \textbf{Entry} & \textbf{聚合物基体} & \textbf{锂盐} & \textbf{塑化剂} & \textbf{$T$ (\si{\degreeCelsius})} & \textbf{离子电导率 (\si{S.cm^{-1}})}\\ \midrule
+ \textbf{条目} & \textbf{聚合物基体} & \textbf{锂盐} & \textbf{塑化剂} & \textbf{$T$ (\si{\degreeCelsius})} & \textbf{离子电导率 (\si{S.cm^{-1}})}\\ \midrule
\endfirsthead
\multicolumn{6}{c}{\small 续表 \thetable\quad 带有塑化剂的PEO-基聚合物电解质举例} \\
\toprule
- \textbf{Entry} & \textbf{聚合物基体} & \textbf{锂盐} & \textbf{塑化剂} & \textbf{$T$ (\si{\degreeCelsius})} & \textbf{离子电导率 (\si{S.cm^{-1}})}\\ \midrule
+ \textbf{条目} & \textbf{聚合物基体} & \textbf{锂盐} & \textbf{塑化剂} & \textbf{$T$ (\si{\degreeCelsius})} & \textbf{离子电导率 (\si{S.cm^{-1}})}\\ \midrule
\endhead
\bottomrule
\endfoot\endlastfoot
diff --git a/Master/texmf-dist/doc/latex/buctthesis/chapter2.tex b/Master/texmf-dist/doc/latex/buctthesis/chapter2.tex
index bafdf9b27bf..25f950001c9 100644
--- a/Master/texmf-dist/doc/latex/buctthesis/chapter2.tex
+++ b/Master/texmf-dist/doc/latex/buctthesis/chapter2.tex
@@ -180,7 +180,7 @@ int main()
\end{equation}
\end{itemize}
-至于有机化学结构式等,尽管有一些宏包可以绘制,但使用图片插入可能是一个更好
+至于有机化学的结构式等,尽管有一些宏包可以绘制,但使用图片插入可能是一个更好
的选择。
\section{文献引用和参考文献}\label{sec:bib}
diff --git a/Master/texmf-dist/doc/latex/buctthesis/declare-master.png b/Master/texmf-dist/doc/latex/buctthesis/declare-master-doctor.png
index a03c3a76d37..a03c3a76d37 100644
--- a/Master/texmf-dist/doc/latex/buctthesis/declare-master.png
+++ b/Master/texmf-dist/doc/latex/buctthesis/declare-master-doctor.png
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/buctthesis/manual.sty b/Master/texmf-dist/doc/latex/buctthesis/manual.sty
index 4098974c94f..e12078529ed 100644
--- a/Master/texmf-dist/doc/latex/buctthesis/manual.sty
+++ b/Master/texmf-dist/doc/latex/buctthesis/manual.sty
@@ -8,7 +8,7 @@
%%
%% This is a generated file.
%%
-%% Copyright (C) 2019-2021 by Miracle0565
+%% Copyright (C) 2019-2022 by Miracle0565
%%
%% https://github.com/Miracle0565/BUCTthesis
%%
@@ -47,6 +47,7 @@
a4paper,
hmargin={40mm,20mm},vmargin={25mm,15mm},footskip=7mm,
]{geometry}
+
\ctexset{
fontset,
abstractname = 简介,
diff --git a/Master/texmf-dist/doc/latex/buctthesis/mycfg.sty b/Master/texmf-dist/doc/latex/buctthesis/mycfg.sty
index eacb380ffb8..966e5b113b2 100644
--- a/Master/texmf-dist/doc/latex/buctthesis/mycfg.sty
+++ b/Master/texmf-dist/doc/latex/buctthesis/mycfg.sty
@@ -16,7 +16,7 @@
\caption{#3}\label{#4}
\end{figure}
}
-\newcommand{\version}{v1.2}
+\newcommand{\version}{v1.3}
\newcommand{\cs}[1]{\texttt{\textbackslash#1}}
\newcommand{\file}{\textsf}
\newcommand{\pkg}{\textsf}
diff --git a/Master/texmf-dist/source/latex/buctthesis/buctthesis.dtx b/Master/texmf-dist/source/latex/buctthesis/buctthesis.dtx
index ce1f4b1f466..159ada51c8b 100644
--- a/Master/texmf-dist/source/latex/buctthesis/buctthesis.dtx
+++ b/Master/texmf-dist/source/latex/buctthesis/buctthesis.dtx
@@ -20,7 +20,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \iffalse
%<*driver>
-\ProvidesFile{buctthesis.dtx}[2021/09/10 v1.2 BUCT Thesis Template]
+\ProvidesFile{buctthesis.dtx}[2022/03/04 v1.3 BUCT Thesis Template]
\documentclass{ltxdoc}
\usepackage{manual}
\begin{document}
@@ -59,10 +59,11 @@
%
% \title{\textsf{BUCTthesis}:北京化工大学学位论文模板}
% \author{Miracle0565\\ \texttt{https://github.com/Miracle0565}}
-% \date{\filedate}
+% \date{\fileversion (\filedate)}
%
+% \newgeometry{hcentering}
% \maketitle
-% \tableofcontents\clearpage
+% \tableofcontents\restoregeometry\clearpage
%
% \section{欢迎!}
% BUCTthesis是北京化工大学本科与硕士、博士研究生毕业论文的 \LaTeX\ 写作模板,版本号~\fileversion。
@@ -107,9 +108,13 @@
%
% \section{开始使用}\label{sec:start}
% \subsection{准备工作}
-% 开始之前,您需要安装一个合适的 \TeX\ 发行版,以及需要一些必要的 \TeX\ 技能。
+% 开始之前,您需要选择一个合适的 \TeX\ 发行版,以及需要一些必要的 \TeX\ 技能。
% \begin{enumerate}
-% \item \TeX\ 发行版:建议完整安装 \TeX\ Live 2020 或更新版本。模板\emph{不支持} \CTeX\ 套装。安装 \TeX 发行版的详细步骤可参考\href{https://github.com/OsbertWang/install-latex-guide-zh-cn}{《一份简短的关于 \LaTeX 安装的介绍》}。此外,该文档简要地介绍了几款常见的文本编辑器,可根据喜好自行选择。
+% \item \TeX\ 发行版:
+% \begin{description}
+% \item[本地编译] 建议完整安装 \TeX\ Live 2020 或更新版本。模板\emph{不支持} \CTeX\ 套装。安装 \TeX 发行版的详细步骤可参考\href{https://github.com/OsbertWang/install-latex-guide-zh-cn}{《一份简短的关于 \LaTeX 安装的介绍》}。此外,该文档简要地介绍了几款常见的文本编辑器,可根据喜好自行选择。
+% \item[在线编译] 推荐 \href{https://www.overleaf.com/}{Overleaf},它提供了 Ubuntu 系统下的 \TeX\ Live,目前为 2021 版。免费版本足以应对模板的正常编译,至于完整的文档历史和协作编辑等功能则需付费订阅。
+% \end{description}
% \item \TeX\ 技能:本文档不是一份 \LaTeX\ 零基础教程,使用本模板需要对 \LaTeX\ 和参考文献管理工具 \BibTeX 有一定的熟练度。若您是新手,我们建议您先阅读一些入门文档,如\href{http://mirror.ctan.org/info/lshort/chinese/lshort-zh-cn.pdf}{《一份不太简短的 \LaTeXe 介绍》}。
% \end{enumerate}
%
@@ -244,8 +249,8 @@
%
% \DescribeOpt{openright}
% \DescribeOpt{openany}
-% 对于书籍而言,一般章都只出现在右边的页面(奇数页),之前不足的页面用空白补足。
-% 这也是打开模板 \opt{openright} 选项的结果,这会在适当处插入一完全空白页。
+% 对于书籍而言,一般章标题都只出现在右边的页面(奇数页),之前不足的页面用空白补足。
+% 这也是打开模板 \opt{openright} 选项的结果:将会在适当处插入一完全空白页。
% 而 \opt{openany} 则允许在任意页开启新的一章。
%
% 其它选项:多余的选项将传递给 \pkg{ctexbook} 文档类,如 \opt{draft} 将关闭插图和部分宏包的渲染,从而加快编译速度。
@@ -316,7 +321,7 @@
% \oarg{文件路径}
% \end{syntax}
%
-% 直接使用 \cs{makedeclare} 会根据所选 \opt{type} 生成对应内容。
+% 直接使用而不带任何参数的 \cs{makedeclare} 会根据所选 \opt{type} 生成对应内容。
%
% 此外,考虑到有时需要插入扫描页,所以该命令可跟一个可选参数,如:
% \begin{latex}
@@ -642,7 +647,7 @@
% 除此之外,封面使用的方正系列字体未预装于一些操作系统上,
% 可访问\href{https://www.foundertype.com}{方正字库官网}下载和安装,具体步骤从略。
%
-% 所使用的字体清单:
+% 封面所使用的中文字体清单:
% \begin{enumerate}
% \item SimSun,中易宋体
% \item SimHei,中易黑体
@@ -827,7 +832,7 @@
%
% 关于化学式排版的宏包有很多,但这里载入 \pkg{mhchem}。
% 它容易上手,偏向于无机和分析化学(方程)式的排版。
-% 至于有机化学结构式等,使用图片插入可能是一个更好的选择;若时间充裕可学习如 \pkg{chemfig} 等宏包。
+% 至于有机化学的结构式等,使用图片插入可能是一个更好的选择;若时间充裕可学习如 \pkg{chemfig} 等宏包。
% \begin{macrocode}
\RequirePackage[version = 4]{mhchem}
% \end{macrocode}
@@ -1795,6 +1800,7 @@
% \end{macrocode}
%
% \subsubsection{浮动体}
+% \begin{environment}{dfigure}
% 本科:
% 使用 \pkg{float} 宏包新定义浮动体环境 \env{dfigure},用于排版设计图纸。
% 设计图纸与普通插图的区别在于:
@@ -1804,12 +1810,17 @@
% \item 仅设计图纸编入目录,且此目录独立于主目录。
% \end{itemize}
%
-% 硕博:
-% 使用 \pkg{bicaption} 宏包设置双语标题,其中第二语言为英语。
% \begin{macrocode}
\ifbuct@bachelor
\newfloat{dfigure}{htbp}{lodf}[chapter]
\floatname{dfigure}{\buct@dfigurename}
+% \end{macrocode}
+% \end{environment}
+%
+% 硕博:
+% 使用 \pkg{bicaption} 宏包设置双语标题,其中第二语言为英语。
+%
+% \begin{macrocode}
\else
\DeclareCaptionOption{english}[]{
\renewcommand\figurename{\buct@bifigure@name}
@@ -2350,6 +2361,7 @@
a4paper,
hmargin={40mm,20mm},vmargin={25mm,15mm},footskip=7mm,
]{geometry}
+
\ctexset{
fontset,
abstractname = 简介,
diff --git a/Master/texmf-dist/tex/latex/buctthesis/buctcover.cls b/Master/texmf-dist/tex/latex/buctthesis/buctcover.cls
index e373aa444b2..93c2e9cc8c9 100644
--- a/Master/texmf-dist/tex/latex/buctthesis/buctcover.cls
+++ b/Master/texmf-dist/tex/latex/buctthesis/buctcover.cls
@@ -8,7 +8,7 @@
%%
%% This is a generated file.
%%
-%% Copyright (C) 2019-2021 by Miracle0565
+%% Copyright (C) 2019-2022 by Miracle0565
%%
%% https://github.com/Miracle0565/BUCTthesis
%%
diff --git a/Master/texmf-dist/tex/latex/buctthesis/buctthesis.cls b/Master/texmf-dist/tex/latex/buctthesis/buctthesis.cls
index 2e5ef8b1707..b1f62a11896 100644
--- a/Master/texmf-dist/tex/latex/buctthesis/buctthesis.cls
+++ b/Master/texmf-dist/tex/latex/buctthesis/buctthesis.cls
@@ -8,7 +8,7 @@
%%
%% This is a generated file.
%%
-%% Copyright (C) 2019-2021 by Miracle0565
+%% Copyright (C) 2019-2022 by Miracle0565
%%
%% https://github.com/Miracle0565/BUCTthesis
%%