diff options
author | Karl Berry <karl@freefriends.org> | 2022-07-29 21:02:18 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-07-29 21:02:18 +0000 |
commit | 212c1c64ea2e4d29a96ff4a7da6e6610a7a16b31 (patch) | |
tree | b29bb4f8a734ff8d7884b3aab288175e806c5fe3 /Master/texmf-dist/doc/xelatex | |
parent | 83759346c1967decfbe3e25ad73fe062d222e6c9 (diff) |
buctthesis (28jul22)
git-svn-id: svn://tug.org/texlive/trunk@64004 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/xelatex')
-rw-r--r-- | Master/texmf-dist/doc/xelatex/buctthesis/README.md | 79 | ||||
-rw-r--r-- | Master/texmf-dist/doc/xelatex/buctthesis/buctthesis.pdf | bin | 0 -> 462539 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/xelatex/buctthesis/manual.sty | 172 |
3 files changed, 251 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/xelatex/buctthesis/README.md b/Master/texmf-dist/doc/xelatex/buctthesis/README.md new file mode 100644 index 00000000000..b019dd7dbac --- /dev/null +++ b/Master/texmf-dist/doc/xelatex/buctthesis/README.md @@ -0,0 +1,79 @@ +# BUCTthesis + +[![BUCTthesis](https://img.shields.io/badge/BUCTthesis-LaTeX-blue)](https://github.com/Miracle0565/BUCTthesis) +[![GitHub license](https://img.shields.io/github/license/Miracle0565/BUCTthesis)](https://github.com/Miracle0565/BUCTthesis/blob/master/LICENSE) + +## BUCTthesis in a nutshell +BUCTthesis is a LaTeX writting template package for Beijing University of Chemical Technology, +supporting bachelor, master and doctor theses. + +You can [download](https://github.com/Miracle0565/BUCTthesis/releases) this package from GitHub Releases, +and the latest released version is strongly recommended. As this package is mainly provided for +Chinese users, the following of this file and the manual documents are written in Chinese only. + +This file may be distributed and/or modified under +the conditions of the LaTeX Project Public License, +either version 1.3c of this license or (at your option) +any later version. The latest version of this license +is in: + +http://www.latex-project.org/lppl.txt + +and version 1.3c or later is part of all distributions +of LaTeX version 1999/12/01 or later. + + +## BUCTthesis 是什么? + +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` 文件夹中找到本科、硕博两种论文类型所对应的示例文件夹;**将所选论文类型文件夹中的所有内容移动至模板的根目录**。(例如,对本科而言,需将 `demo/bachelor` 中的所有内容复制或移动到根目录, `demo` 文件夹中的剩余内容可删除。) +4. 阅读本模板的说明文档 `buctthesis.pdf`,该文档简要地说明了模板的使用方法。 +5. 相比于重建文件,直接在示例文件上修改会更加方便: + - `main.tex` 用于定义作者与论文信息,并组织论文结构; + - `mycfg.sty` 用于自定义命令等; + - `thesisbib.bib` 文件中插入参考文献条目; + - `chapter` 文件夹用于存放各部分内容,并在 `main.tex` 调用; + - `figure` 和 `code` 文件夹下分别保存插图和源代码,以方便写作时调用; +6. 对 `main.tex` 文件执行 `latexmk` 或 `xelatex -> bibtex -> xelatex -> xelatex` 的全编译。 +7. 在 `cover` 文件夹中可生成硕博论文的封面,使用方法请阅读说明文档 `buctthesis.pdf`。(本科可直接删除该文件夹) + +## 注意事项 + +- 北京化工大学教务处与研究生院仅提供了写作规范(见下)而**未对本模板做任何测试或授权**。模板作者自当尽力,但限于软件等各种因素,由本模板生成的文档可能仍与要求有所出入。所以使用本模板类造成(包括但不限于)论文审核不通过等问题作者不负责,请使用时慎酌。 +- 模板在 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://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) + +## 《规范》勘误 + +### 本科 + +学校教务处提供了两份文件,而二者之间有出入之处,以及有少许笔误之处和歧义之处。模板作如下统一: + +- 二者间以后者( Word 文档)为准,如图、表编号中的分隔符使用 `-`( U+002D ); +- 标题 `诚信申明` 改为 `诚信声明`; +- 章节编号 `均以罗马数字表示顺序` 改为 `均以阿拉伯数字表示顺序`; +- 对章节 `标题加黑` ,“加黑”一词理解为“使用(伪)粗体”而非“标题为黑体”。 + +### 硕博 + +- 英文摘要中的 `KEY WORDS:`,模板将字母后的全角冒号 `:`( U+FF1A )改为半角冒号 `:`( U+003A ); +- 正文、参考文献条目的 `行间距20磅` 改为 `行距20磅`。 + +## 提问 + +关于模板的任何问题或新功能需求,欢迎提交 [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) 建有代码的镜像。 diff --git a/Master/texmf-dist/doc/xelatex/buctthesis/buctthesis.pdf b/Master/texmf-dist/doc/xelatex/buctthesis/buctthesis.pdf Binary files differnew file mode 100644 index 00000000000..6d2e2d84164 --- /dev/null +++ b/Master/texmf-dist/doc/xelatex/buctthesis/buctthesis.pdf diff --git a/Master/texmf-dist/doc/xelatex/buctthesis/manual.sty b/Master/texmf-dist/doc/xelatex/buctthesis/manual.sty new file mode 100644 index 00000000000..e12078529ed --- /dev/null +++ b/Master/texmf-dist/doc/xelatex/buctthesis/manual.sty @@ -0,0 +1,172 @@ +%% +%% This is file `manual.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% buctthesis.dtx (with options: `manual') +%% +%% This is a generated file. +%% +%% Copyright (C) 2019-2022 by Miracle0565 +%% +%% https://github.com/Miracle0565/BUCTthesis +%% +%% This file may be distributed and/or modified under +%% the conditions of the LaTeX Project Public License, +%% either version 1.3c of this license or (at your option) +%% any later version. The latest version of this license +%% is in: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.3c or later is part of all distributions +%% of LaTeX version 1999/12/01 or later. +%% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\ProvidesPackage{manual}[2021/09/25 document style for BUCTthesis] +\RequirePackage{hypdoc} +\PassOptionsToPackage{AutoFakeSlant}{xeCJK} +\RequirePackage[UTF8, heading, fontset = none, linespread = 1.2,]{ctex} +\RequirePackage[toc]{multitoc} +\RequirePackage{ + listings, + float, + tabularx, + booktabs, + siunitx, + unicode-math, + xcolor, + caption, + enumitem, + metalogo, +} +\RequirePackage[bottom,perpage]{footmisc} +\RequirePackage[ + a4paper, + hmargin={40mm,20mm},vmargin={25mm,15mm},footskip=7mm, +]{geometry} + +\ctexset{ + fontset, + abstractname = 简介, + indexname = 代码索引, + section = { + format = \Large\bfseries\raggedright, + name = {第,节}, + }, +} +\xeCJKDeclareCharClass{CJK}{"2460->"2469} +\setcounter{secnumdepth}{4} +\setcounter{tocdepth}{3} +\setmainfont{TeX Gyre Pagella} +\setmonofont[ + HyphenChar = None , + UprightFont=* Light, BoldFont=* Bold, + SlantedFont=* Light Oblique]{CMU Typewriter Text} +\captionsetup{strut=off, labelsep=quad, labelfont+=bf} +\lstdefinestyle{base}{ + aboveskip = 0 pt, + belowskip = 0 pt, + tabsize = 2, + basicstyle = \ttfamily\small, + columns = flexible, + frame = single, + framerule = 1 pt, + xleftmargin = 1 em, + aboveskip = 6 pt, + belowskip = 6 pt, + commentstyle = \slshape\color{gray}, + keywordstyle = \color{blue}, + backgroundcolor = \color{lightgray!10}, + showtabs = false, + showspaces = false, + showstringspaces = true, + captionpos = t, + breaklines = true, + numbers = none, + extendedchars = false, + escapechar = {@*}, + gobble = 4, +} +\lstdefinestyle{latex}{% + style=base, + rulecolor=\color{cyan}, + language=[LaTeX]TeX, +} +\lstdefinestyle{shell}{% + style=base, + rulecolor=\color{violet!65}, + language=bash, +} +\lstnewenvironment{latex}{\lstset{style=latex}}{} +\lstnewenvironment{shell}{\lstset{style=shell}}{} +\let\oldCodelineNo\theCodelineNo +\def\theCodelineNo{\textcolor{gray}{\oldCodelineNo}} +\setlist{ + leftmargin = 0em, + nosep +} +\setlist[description]{% + itemindent = 2.5em, +} +\setlist[enumerate]{% + itemindent = 2em, +} +\newcommand\without\CJKsout +\newcommand\Arg[1]{ \texttt{\char`\{} \meta{#1} \texttt{\char`\}} } +\providecommand\marg[1]{ \Arg{#1} } +\providecommand\oarg[1]{ \texttt[ \meta{#1} \texttt] } +\providecommand\parg[1]{ \texttt( \meta{#1} \texttt) } +\DeclareRobustCommand{\opt}{\texttt} +\DeclareRobustCommand{\env}{\texttt} +\DeclareRobustCommand{\pkg}{\textsf} +\DeclareRobustCommand{\cls}{\textsf} +\DeclareRobustCommand{\file}{\textsf} +\def\DescribeOpt{\leavevmode\@bsphack% + \begingroup\MakePrivateLetters\Describe@Opt} +\def\Describe@Opt#1{\endgroup% + \marginpar{\raggedleft\PrintDescribeOpt{#1}}% + \SpecialOptIndex{#1}\@esphack\ignorespaces} +\def\PrintDescribeOpt#1{\strut \MacroFont #1\ } +\def\SpecialOptIndex#1{\@bsphack% + \begingroup% + \HD@target% + \let\HDorg@encapchar\encapchar% + \edef\encapchar usage{% + \HDorg@encapchar hdclindex{\the\c@HD@hypercount}{usage}% + }% + \@bsphack + \index{#1\actualchar{\protect\ttfamily#1} + (option)\encapchar usage}% + \index{options:\levelchar#1\actualchar% + {\protect\ttfamily#1}\encapchar usage}\@esphack% + \endgroup\@esphack} +\NewDocumentEnvironment{syntax}{ m }{% + \linespread{1}\xeCJKsetup{PunctStyle=plain}\xeCJKsetup{CJKecglue}% + \cs{#1}\ignorespaces% +}{\vspace{0.5em}} +\def\glossaryname{版本历史} +\GlossaryPrologue{\section{\glossaryname}} +\IndexPrologue{% + \clearpage\section{\indexname} + \textit{意大利体的数字表示描述对应索引项的页码; + 带下划线的数字表示定义对应索引项的代码行号; + 罗马字体的数字表示使用对应索引项的代码行号。} +} +\def\IndexLayout{% + \newgeometry{hmargin=15mm,vmargin={25mm,15mm},footskip=7mm}% + \setlength\IndexMin{.5\textheight}% + \ctexset{section/numbering=false}% +} +\hypersetup{ + pdftitle = {BUCTthesis:北京化工大学学位论文模板}, + pdfauthor = {Miracle0565}, +} +\CodelineIndex +\EnableCrossrefs +\RecordChanges +\endinput +%% +%% End of file `manual.sty'. |