Skip to content

Commit 0a3ba22

Browse files
committed
New Release
Former-commit-id: 2d7461a
1 parent eaadf99 commit 0a3ba22

File tree

7 files changed

+46
-36
lines changed

7 files changed

+46
-36
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,20 @@ Clone or download -> Download Zip
1313

1414
* 考虑到大多数用户并无 LaTeX 使用经验,本模板将 LaTeX 的复杂性尽可能地进行了封装,开放出简单的接口,以便于使用者可以轻易地使用。同时,对使用 LaTeX 撰写论文所遇到的一些主要难题,如插入图片、文献索引等,进行了详细的说明,并提供了相应的代码样本,理解了上述问题后,对于初学者而言,使用此模板撰写其学文论文将不存在实质性的困难。所以,如果您是初学者,请不要直接放弃,因为同样作为初学者的我,十分明白让 LaTeX 变得简单易用的重要性,而这正是本模板所体现的。
1515

16-
* 此中国科学院大学学位论文模板 ucasthesis 基于吴凌云的 CASthesis 模板发展而来,ucasthesis 文档类的基础架构为 ctexbook 文档类。当前 ucasthesis 模板满足最新的中国科学院大学学位论文撰写要求和封面设定。模板兼顾不同操作系统 (Windows, Linux, Mac OS) 并兼容 pdflatex 和 xelatex 编译方式,完美地支持中文书签、中文渲染、中文粗体显示、拷贝 pdf 中的文本到其他文本编辑器等特性,此外,对模板的文档结构进行了精心设计,撰写了编译脚本提高模板的易用性和使用效率。
16+
* 此中国科学院大学学位论文模板 ucasthesis 基于中科院数学与系统科学研究院吴凌云研究员的 CASthesis 模板发展而来,ucasthesis 文档类的基础架构为 ctexbook 文档类。当前 ucasthesis 模板满足最新的中国科学院大学学位论文撰写要求和封面设定。模板兼顾不同操作系统 (Windows, Linux, Mac OS) 并兼容 pdflatex 和 xelatex 编译方式,完美地支持中文书签、中文渲染、中文粗体显示、拷贝 PDF 中的文本到其他文本编辑器等特性,此外,对模板的文档结构进行了精心设计,撰写了编译脚本提高模板的易用性和使用效率。
1717

1818
* 宏包的目的是简化学位论文的撰写,模板文档的默认设定是十分规范的,从而论文作者可以将精力集中到论文的内容上,而不需要在版面设置上花费精力。 同时,在编写模板的 LaTeX 文档代码过程中,作者对各结构和命令进行了十分详细的注解,并提供了整洁一致的代码结构,对文档的仔细阅读可以为初学的您提供一个学习 LaTeX 的窗口。除此之外,整个模板的架构十分注重通用性,事实上,本模板不仅是中国科学院大学学文论文模板,同时,也是使用 LaTeX 撰写中英文 Article 或 Book 的通用模板,并为使用者的个性化设定提供了接口和相应的代码。
1919

20-
* 具体使用细节请阅读下载附件中的 **模板使用说明.pdf**
20+
* 此模板有着完善的定期维护,时刻追踪学校官方的规则发布和用户的使用反馈。提供了简单明了的**模板使用说明.pdf**。无论你是否具有 LaTeX 使用经验,都可轻松使用该模板完成学位论文的撰写和排版
2121

2222
## 重要通知
2323

24-
* `2018-01-28` 模板样式进行了修改,请查看下面的修改描述,以决定是否需要更新。
24+
* `2018-01-30` 模板样式进行了修改,请查看下面的修改描述,以决定是否需要更新。
2525

2626
## 更新记录
2727

28+
* `2018-01-30` 移除"microtype"宏包以显著提高模板的编译效率。修改的文件为:artratex.sty。
29+
2830
* `2018-01-28` 基于国科大模板要素的变动进行了重大修改:
2931
* 修改封面为国科大最新封面样式
3032
* 封面使用国科大新版形象标识(<http://www.ucas.ac.cn/site/11?zu=64925>

Style/artracom.sty

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,17 @@
3535
%- \newcommand: defines a new command, makes an error if already defined
3636
%- \renewcommand: redefines a predefined command, makes an error if not yet defined
3737
%- \providecommand: defines a new command, if already defined, keep old definition
38+
%- *-forms: enable error check for missing arguments or arguments contain \par
3839
%- \def: define a command whether new or predefined, equivalent to
3940
%- \providecommand{name}{}%
41+
%- \renewcommand*{name}[number of arguments][default value]{definition}
42+
%- \long\def: define a command whether new or predefined, equivalent to
43+
%- \providecommand{name}{}%
4044
%- \renewcommand{name}[number of arguments][default value]{definition}
45+
%- *-forms that are usually the better form to use when defining commands with
46+
%- arguments, unless any of these arguments is intended to contain whole paragraphs
47+
%- of text. If you need to use the non-star form then you should ask whether that
48+
%- argument better be treated as the contents of a suitably defined environment.
4149
%-
4250
%-> Math functions
4351
%-

Style/artratex.sty

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@
251251
\ifARTRATEX@myhdr% header and footer style
252252
\RequirePackage{fancyhdr}% fancy headers and footers
253253
\fi
254-
\RequirePackage{microtype}% improves general appearance of the text
254+
%\RequirePackage{microtype}% improves general appearance of the text
255255
%-
256256
%-> Color
257257
%-

Style/ucasthesis.cls

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -127,25 +127,25 @@
127127
%-
128128
%-> Chinese item commands
129129
%-
130-
\newcommand\confidential[1]{\def\UCAS@value@confidential{#1}}
131-
\newcommand\schoollogo[2]{\def\UCAS@value@schoollogo{\includegraphics[#1]{#2}}}
132-
\renewcommand\title[2][\UCAS@value@title]{%
130+
\newcommand{\confidential}[1]{\def\UCAS@value@confidential{#1}}
131+
\newcommand{\schoollogo}[2]{\def\UCAS@value@schoollogo{\includegraphics[#1]{#2}}}
132+
\renewcommand{\title}[2][\UCAS@value@title]{%
133133
\def\UCAS@value@title{#2}
134134
%\def\UCAS@value@titlemark{\MakeUppercase{#1}}}
135135
\def\UCAS@value@titlemark{#1}}
136-
\def\@title{\UCAS@value@titlemark}
137-
\renewcommand\author[1]{\def\UCAS@value@author{#1}}
138-
\newcommand\advisor[1]{\def\UCAS@value@advisor{#1}}
139-
\newcommand\advisorsec[1]{\def\UCAS@value@advisorsec{#1}}
140-
\newcommand\degree[1]{\def\UCAS@value@degree{#1}}
141-
\newcommand\degreetype[1]{\def\UCAS@value@degreetype{#1}}
142-
\newcommand\major[1]{\def\UCAS@value@major{#1}}
143-
\newcommand\institute[1]{\def\UCAS@value@institute{#1}}
144-
\newcommand\chinesedate[1]{\def\UCAS@value@chinesedate{#1}}
136+
\renewcommand{\@title}{\UCAS@value@titlemark}
137+
\renewcommand{\author}[1]{\def\UCAS@value@author{#1}}
138+
\newcommand{\advisor}[1]{\def\UCAS@value@advisor{#1}}
139+
\newcommand{\advisorsec}[1]{\def\UCAS@value@advisorsec{#1}}
140+
\newcommand{\degree}[1]{\def\UCAS@value@degree{#1}}
141+
\newcommand{\degreetype}[1]{\def\UCAS@value@degreetype{#1}}
142+
\newcommand{\major}[1]{\def\UCAS@value@major{#1}}
143+
\newcommand{\institute}[1]{\def\UCAS@value@institute{#1}}
144+
\newcommand{\chinesedate}[1]{\def\UCAS@value@chinesedate{#1}}
145145
%-
146146
%-> Redefine Chinese style
147147
%-
148-
\renewcommand\maketitle{%
148+
\renewcommand{\maketitle}{%
149149
\cleardoublepage
150150
\thispagestyle{empty}
151151
\begin{center}
@@ -214,18 +214,18 @@
214214
%-
215215
%-> English item commands
216216
%-
217-
\newcommand\englishtitle[1]{\def\UCAS@value@englishtitle{#1}}
218-
\newcommand\englishauthor[1]{\def\UCAS@value@englishauthor{#1}}
219-
\newcommand\englishadvisor[1]{\def\UCAS@value@englishadvisor{#1}}
220-
\newcommand\englishdegree[1]{\def\UCAS@value@englishdegree{#1}}
221-
\newcommand\englishthesistype[1]{\def\UCAS@value@englishthesistype{#1}}
222-
\newcommand\englishmajor[1]{\def\UCAS@value@englishmajor{#1}}
223-
\newcommand\englishinstitute[1]{\def\UCAS@value@englishinstitute{#1}}
224-
\newcommand\englishdate[1]{\def\UCAS@value@englishdate{#1}}
217+
\newcommand{\englishtitle}[1]{\def\UCAS@value@englishtitle{#1}}
218+
\newcommand{\englishauthor}[1]{\def\UCAS@value@englishauthor{#1}}
219+
\newcommand{\englishadvisor}[1]{\def\UCAS@value@englishadvisor{#1}}
220+
\newcommand{\englishdegree}[1]{\def\UCAS@value@englishdegree{#1}}
221+
\newcommand{\englishthesistype}[1]{\def\UCAS@value@englishthesistype{#1}}
222+
\newcommand{\englishmajor}[1]{\def\UCAS@value@englishmajor{#1}}
223+
\newcommand{\englishinstitute}[1]{\def\UCAS@value@englishinstitute{#1}}
224+
\newcommand{\englishdate}[1]{\def\UCAS@value@englishdate{#1}}
225225
%-
226226
%-> Redefine English style
227227
%-
228-
\newcommand\makeenglishtitle{%
228+
\newcommand{\makeenglishtitle}{%
229229
\cleardoublepage
230230
\thispagestyle{empty}
231231
\begin{center}
@@ -265,7 +265,7 @@
265265
%---------------------------------------------------------------------------%
266266
%->> Author's declaration
267267
%---------------------------------------------------------------------------%
268-
\newcommand\makedeclaration{%
268+
\newcommand{\makedeclaration}{%
269269
\cleardoublepage
270270
\thispagestyle{empty}
271271
{
@@ -314,10 +314,10 @@
314314
%->> New environments
315315
%---------------------------------------------------------------------------%
316316
%- define chinese keywords
317-
\newcommand\keywords[1]{%
317+
\newcommand{\keywords}[1]{%
318318
\noindent {\bfseries\zihao{-4}\songti \UCAS@label@keywords} #1}
319319
%- define engish keywords
320-
\newcommand\englishkeywords[1]{%
320+
\newcommand{\englishkeywords}[1]{%
321321
\noindent {\bfseries\zihao{-4} \UCAS@label@englishkeywords} #1}
322322
%---------------------------------------------------------------------------%
323323
%->> Configure table of contents
@@ -328,7 +328,7 @@
328328
\def\@tocrmarg{2em}% right margin indentation
329329
\def\@chaptervspace{1ex}% spacing between chapter titles
330330
%- redefine dottedtocline from classes.dtx and latex.ltx
331-
\def\@dottedtocline#1#2#3#4#5{% [<level>,<indent>,<numwidth>,<title>,<page>]
331+
\renewcommand*{\@dottedtocline}[5]{% [<level>,<indent>,<numwidth>,<title>,<page>]
332332
\ifnum #1>\c@tocdepth \else
333333
\vskip \z@ \@plus.2\p@
334334
{\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip
@@ -345,7 +345,7 @@
345345
\fi
346346
}
347347
%- redefine l@part from book.cls to add dotted toc line
348-
\renewcommand*\l@part[2]{% [<title>,<page>]
348+
\renewcommand*{\l@part}[2]{% [<title>,<page>]
349349
\ifnum \c@tocdepth >-2\relax
350350
\addpenalty{-\@highpenalty}%
351351
\addvspace{2.25em \@plus\p@}%
@@ -364,7 +364,7 @@
364364
\fi
365365
}
366366
%- redefine l@chapter from book.cls to add dotted toc line
367-
\renewcommand*\l@chapter[2]{% [<title>,<page>]
367+
\renewcommand*{\l@chapter}[2]{% [<title>,<page>]
368368
\ifnum \c@tocdepth >\m@ne
369369
\addpenalty{-\@highpenalty}%
370370
\vskip \@chaptervspace \@plus\p@

Tex/Chap_Guide.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ \subsection{Style文件夹}
4848

4949
\begin{enumerate}
5050
\item ucasthesis.cls:文档类定义文件,论文的最核心的格式即通过它来定义的。
51-
\item ucasthesis.cfg:文档类配置文件,设定如摘要显示为“摘要”。
51+
\item ucasthesis.cfg:文档类配置文件,设定如目录显示为“目~录”而非“目录”。
5252
\item artratex.sty: 常用宏包的加载及文档的设定,如参考文献样式,文献引用样式,页眉页脚设定等。模板为这些功能提供了开关选项,从而只需在Thesis.tex中的\verb+\usepackage[options]{artratex}+中进行启用即可,一般无需修改artratex.sty本身。
5353
\item artracom.sty: 用户自定义命令以及添加宏包的推荐放置位置。
5454
\end{enumerate}
@@ -60,7 +60,7 @@ \subsection{Tex文件夹}
6060
\begin{itemize}
6161
\item Frontpage.tex:为论文封面内容及中英文摘要。
6262
\item Mainmatter.tex:索引需要出现的Chapter。开始写论文时,可以只索引当前章节,以快速编译查看,当论文完成后,再对所有章节进行索引即可。
63-
\item ChapXXXXX.tex:为论文主体的各个章节,可根据需要添加和撰写,最终需要包含在论文中的章节,须在此中进行索引
63+
\item Chap{\_}xxx.tex:为论文主体的各个章节,可根据需要添加和撰写。
6464
\item Appendix.tex:为附录内容
6565
\item Backmatter.tex:为发表文章信息,致谢部分等。
6666
\end{itemize}

Tex/Chap_Intro.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ \chapter{引言}
44

55
考虑到大多数用户并无\LaTeX{}使用经验,本模板将\LaTeX{}的复杂性尽可能地进行了封装,开放出简单的接口,以便于使用者可以轻易地使用。同时,对使用\LaTeX{}撰写论文所遇到的一些主要难题,如插入图片、文献索引等,进行了详细的说明,并提供了相应的代码样本,理解了上述问题后,对于初学者而言,使用此模板撰写其学文论文将不存在实质性的困难。所以,如果您是初学者,请不要直接放弃,因为同样作为初学者的我,十分明白让\LaTeX{}变得简单易用的重要性,而这正是本模板所体现的。
66

7-
此中国科学院大学学位论文模板\texttt{ucasthesis}基于吴凌云的\texttt{CASthesis}模板发展而来,ucasthesis文档类的基础架构为ctexbook文档类。当前ucasthesis 模板满足最新的中国科学院大学学位论文撰写要求和封面设定。模板兼顾不同操作系统 (Windows, Linux, Mac OS) 并兼容 pdflatex 和 xelatex 编译方式,完美地支持中文书签、中文渲染、中文粗体显示、拷贝pdf中的文本到其他文本编辑器等特性,此外,对模板的文档结构进行了精心设计,撰写了编译脚本提高模板的易用性和使用效率。
7+
此中国科学院大学学位论文模板\texttt{ucasthesis}基于中科院数学与系统科学研究院吴凌云研究员的\texttt{CASthesis}模板发展而来,ucasthesis文档类的基础架构为ctexbook文档类。当前ucasthesis 模板满足最新的中国科学院大学学位论文撰写要求和封面设定。模板兼顾不同操作系统 (Windows, Linux, Mac OS) 并兼容 pdflatex 和 xelatex 编译方式,完美地支持中文书签、中文渲染、中文粗体显示、拷贝PDF中的文本到其他文本编辑器等特性,此外,对模板的文档结构进行了精心设计,撰写了编译脚本提高模板的易用性和使用效率。
88

99
宏包的目的是简化学位论文的撰写,模板文档的默认设定是十分规范的,从而论文作者可以将精力集中到论文的内容上,而不需要在版面设置上花费精力。 同时,在编写模板的\LaTeX{}文档代码过程中,作者对各结构和命令进行了十分详细的注解,并提供了整洁一致的代码结构,对文档的仔细阅读可以为初学的您提供一个学习\LaTeX{}的窗口。除此之外,整个模板的架构十分注重通用性,事实上,本模板不仅是中国科学院大学学文论文模板,同时,也是使用\LaTeX{}撰写中英文Article或Book的通用模板,并为使用者的个性化设定提供了接口和相应的代码。
1010

模板使用说明.pdf.REMOVED.git-id

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5c0acdbf98bfbe0e9aa35a5e7c015237c84d70d8
1+
d258035d5aa05129d9cf0aa9a58db617f4cafc6d

0 commit comments

Comments
 (0)