From bf6a26be7d3c51d0aaac3618ce5f0a32a0708cb9 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 6 Mar 2022 21:11:48 +0000 Subject: buctthesis (6mar22) (branch) git-svn-id: svn://tug.org/texlive/branches/branch2021.final@62474 c570f23f-e606-0410-a88d-b1316a301751 --- .../source/latex/buctthesis/buctthesis.dtx | 36 ++++++++++++++-------- 1 file changed, 24 insertions(+), 12 deletions(-) (limited to 'Master/texmf-dist/source') 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 = 简介, -- cgit v1.2.3