Skip to content

Commit

Permalink
Change delimiter of keywords to semicolon
Browse files Browse the repository at this point in the history
  • Loading branch information
zepinglee committed Dec 15, 2024
1 parent 46240ab commit 8be7372
Show file tree
Hide file tree
Showing 7 changed files with 48 additions and 49 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- 英文摘要的“Key Words”改为大写“KEY WORDS”(研究生院 2024-12-05 Word 模板修改,[#390](https://github.com/ustctug/ustcthesis/issues/390#issuecomment-2532580113))。
- 章标题较短时(四字以下)不再空字(研究生院 2024-12-05 Word 模板修改,[#390](https://github.com/ustctug/ustcthesis/issues/390#issuecomment-2532580113))。
- “在读期间发表的学术论文与取得的研究成果”改为“在读期间取得的科研成果”(研究生院 2024-12-05 Word 模板修改,[#390](https://github.com/ustctug/ustcthesis/issues/390#issuecomment-2532580113))。
- 关键词之间改用分号间隔(研究生院 2024-12-05 Word 模板修改)。

## [4.0.0-beta.2] - 2024-11-18

Expand All @@ -25,7 +26,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed

- 本科生参考文献改用 GB/T 7714 格式([zepinglee/gbt7714-bibtex-style#169](https://github.com/zepinglee/gbt7714-bibtex-style/issues/169))。
- 专业博士的封面改为“工程博士”(研究生院 2024-10-14 Word 模板修改,[#402](https://github.com/ustctug/ustcthesis/issues/402))。
- 专业博士的封面改为“工程博士”(研究生院 2024-09-23 Word 模板修改,[#402](https://github.com/ustctug/ustcthesis/issues/402))。

## [3.3.5] - 2024-05-09

Expand Down
28 changes: 13 additions & 15 deletions chapters/abstract.tex
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,27 @@

\ustcsetup{
keywords = {学位论文, 摘要, 关键词},
keywords* = {dissertation, abstract, keywords},
keywords* = {Dissertation, Abstract, Keywords},
}

\begin{abstract}
摘要分中文和英文两种,中文在前,英文在后,博士论文中文摘要一般 800~1500 个汉字,硕士论文中文摘要一般 500~1000 个汉字。
摘要是论文内容的总结概括,应简要说明论文的研究目的、基本研究内容、研究方法或过程、结果和结论,突出论文的创新之处。
摘要应具有独立性和自明性,即不用阅读全文,就能获得论文必要的信息。
摘要中不宜使用公式、图表,不引用文献。

摘要分中文和英文两种,中文在前,英文在后,内容及段落须相互呼应。博士论文中文摘要一般800~1000个汉字,硕士论文中文摘要一般600个汉字。
英文摘要的篇幅参照中文摘要。

关键词另起一行并隔行排列于摘要下方,左顶格,中文关键词间空一字或用分号“,”隔开,英文关键词之间用逗号“,”或分号“;”隔开
论文的关键词,是为了文献标引工作从论文中选取出来用以表示全文主题内容信息的单词或术语。建议关键词数量不超过8个,每个关键词之间用分号间隔

中文摘要是论文内容的总结概括,应简要说明论文的研究目的、基本研究内容、研究方法或过程、结果和结论,突出论文的创新之处。
摘要应具有独立性和自明性,即不用阅读全文,就能获得论文必要的信息。
摘要中不宜使用公式、图表,不引用文献。
英文摘要部分的标题为“ABSTRACT”。
每个关键词第一个字母大写,关键词之间用半角逗号加空一格间隔,英文关键词与中文关键词须相互呼应。

中文关键词是为了文献标引工作从论文中选取出来用以表示全文主题内容信息的单词和术语,一般 3~8 个词,要求能够准确概括论文的核心内容。
\end{abstract}

\begin{abstract*}
This is a sample document of USTC thesis \LaTeX{} template for bachelor,
master and doctor. The template is created by zepinglee and seisman, which
orignate from the template created by ywg. The template meets the
equirements of USTC thesis writing standards.

This document will show the usage of basic commands provided by \LaTeX{} and
some features provided by the template. For more information, please refer to
the template document ustcthesis.pdf.
The length of the English abstract should refer to that of the Chinese abstract.
The title of the English abstract is “ABSTRACT”.
The first letter of each keyword should be capitalized, and keywords should be separated by a halfwidth comma and a space.
The English keywords and Chinese keywords should correspond to each other.
\end{abstract*}
2 changes: 1 addition & 1 deletion test/support/chapters.tex
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
\frontmatter
\ustcsetup{
keywords = {学位论文, 摘要, 关键词},
keywords* = {dissertation, abstract, keywords},
keywords* = {Dissertation, Abstract, Keywords},
}

\begin{abstract}
Expand Down
28 changes: 15 additions & 13 deletions test/testfiles-crossref/main-english.tlg
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ Completed box being shipped out [1]
...\glue(\parskip) 0.0
...\glue(\parskip) 0.0
...\glue(\baselineskip) 10.6799
...\hbox(9.3951+2.21626)x417.11752, glue set 230.42006fil
...\hbox(9.3951+2.21626)x417.11752, glue set 236.44255fil
....\TU/FandolSong(0)/b/n/12.045 关
....\glue 0.0 plus 0.61353
....\TU/FandolSong(0)/b/n/12.045 键
Expand All @@ -133,17 +133,19 @@ Completed box being shipped out [1]
....\TU/FandolSong(0)/m/n/12.045 论
....\glue 0.0 plus 0.61353
....\TU/FandolSong(0)/m/n/12.045 文
....\kern -0.00017
....\kern 0.00017
....\glue 12.045
....\glue 3.01125 plus 1.50562 minus 1.00374
....\penalty 10000
....\TU/FandolSong(0)/m/n/12.045 ;
....\rule(0.0+0.0)x-8.32309
....\glue 8.32309 minus 6.02249
....\glue 0.0 plus 0.61353
....\TU/FandolSong(0)/m/n/12.045 摘
....\glue 0.0 plus 0.61353
....\TU/FandolSong(0)/m/n/12.045 要
....\kern -0.00017
....\kern 0.00017
....\glue 12.045
....\glue 3.01125 plus 1.50562 minus 1.00374
....\penalty 10000
....\TU/FandolSong(0)/m/n/12.045 ;
....\rule(0.0+0.0)x-8.32309
....\glue 8.32309 minus 6.02249
....\glue 0.0 plus 0.61353
....\TU/FandolSong(0)/m/n/12.045 关
....\glue 0.0 plus 0.61353
....\TU/FandolSong(0)/m/n/12.045 键
Expand Down Expand Up @@ -297,15 +299,15 @@ Completed box being shipped out [2]
....\TU/texgyretermes(0)/m/n/12.045 :
....\glue 3.01125 plus 1.50562 minus 1.00374
....\vbox(8.22673+2.6258)x336.74124
.....\hbox(8.22673+2.6258)x336.74124, glue set 179.74673fil
.....\hbox(8.22673+2.6258)x336.74124, glue set 171.29115fil
......\hbox(0.0+0.0)x0.0
......\TU/texgyretermes(0)/m/n/12.045 dissertation,
......\TU/texgyretermes(0)/m/n/12.045 Dissertation,
......\glue 3.01125 plus 1.88202 minus 0.80298
......\glue 3.01125 plus 1.88202 minus 0.80298
......\TU/texgyretermes(0)/m/n/12.045 abstract,
......\TU/texgyretermes(0)/m/n/12.045 Abstract,
......\glue 3.01125 plus 1.88202 minus 0.80298
......\glue 3.01125 plus 1.88202 minus 0.80298
......\TU/texgyretermes(0)/m/n/12.045 keywords
......\TU/texgyretermes(0)/m/n/12.045 Keywords
......\kern -0.0002
......\kern 0.0002
......\penalty 10000
Expand Down
28 changes: 15 additions & 13 deletions test/testfiles-crossref/main.tlg
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ Completed box being shipped out [1]
...\glue(\parskip) 0.0
...\glue(\parskip) 0.0
...\glue(\baselineskip) 10.6799
...\hbox(9.3951+2.21626)x417.11752, glue set 230.42006fil
...\hbox(9.3951+2.21626)x417.11752, glue set 236.44255fil
....\TU/FandolSong(0)/b/n/12.045 关
....\glue 0.0 plus 0.61353
....\TU/FandolSong(0)/b/n/12.045 键
Expand All @@ -133,17 +133,19 @@ Completed box being shipped out [1]
....\TU/FandolSong(0)/m/n/12.045 论
....\glue 0.0 plus 0.61353
....\TU/FandolSong(0)/m/n/12.045 文
....\kern -0.00017
....\kern 0.00017
....\glue 12.045
....\glue 3.01125 plus 1.50562 minus 1.00374
....\penalty 10000
....\TU/FandolSong(0)/m/n/12.045 ;
....\rule(0.0+0.0)x-8.32309
....\glue 8.32309 minus 6.02249
....\glue 0.0 plus 0.61353
....\TU/FandolSong(0)/m/n/12.045 摘
....\glue 0.0 plus 0.61353
....\TU/FandolSong(0)/m/n/12.045 要
....\kern -0.00017
....\kern 0.00017
....\glue 12.045
....\glue 3.01125 plus 1.50562 minus 1.00374
....\penalty 10000
....\TU/FandolSong(0)/m/n/12.045 ;
....\rule(0.0+0.0)x-8.32309
....\glue 8.32309 minus 6.02249
....\glue 0.0 plus 0.61353
....\TU/FandolSong(0)/m/n/12.045 关
....\glue 0.0 plus 0.61353
....\TU/FandolSong(0)/m/n/12.045 键
Expand Down Expand Up @@ -297,15 +299,15 @@ Completed box being shipped out [2]
....\TU/texgyretermes(0)/m/n/12.045 :
....\glue 3.01125 plus 1.50562 minus 1.00374
....\vbox(8.22673+2.6258)x336.74124
.....\hbox(8.22673+2.6258)x336.74124, glue set 179.74673fil
.....\hbox(8.22673+2.6258)x336.74124, glue set 171.29115fil
......\hbox(0.0+0.0)x0.0
......\TU/texgyretermes(0)/m/n/12.045 dissertation,
......\TU/texgyretermes(0)/m/n/12.045 Dissertation,
......\glue 3.01125 plus 1.88202 minus 0.80298
......\glue 3.01125 plus 1.88202 minus 0.80298
......\TU/texgyretermes(0)/m/n/12.045 abstract,
......\TU/texgyretermes(0)/m/n/12.045 Abstract,
......\glue 3.01125 plus 1.88202 minus 0.80298
......\glue 3.01125 plus 1.88202 minus 0.80298
......\TU/texgyretermes(0)/m/n/12.045 keywords
......\TU/texgyretermes(0)/m/n/12.045 Keywords
......\kern -0.0002
......\kern 0.0002
......\penalty 10000
Expand Down
2 changes: 1 addition & 1 deletion ustcthesis-doc.tex
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ \subsection{摘要和章节}
这里是摘要。
\ustcsetup{
keywords = {学位论文, 摘要, 关键词},
keywords* = {dissertation, abstract, keywords},
keywords* = {Dissertation, Abstract, Keywords},
}
\end{abstract}
\end{latex}
Expand Down
6 changes: 1 addition & 5 deletions ustcthesis.cls
Original file line number Diff line number Diff line change
Expand Up @@ -2385,11 +2385,7 @@

% 中文摘要环境。
\newcommand\ustc@keywords@text{%
\ifustc@degree@graduate
\ustc@clist@use{\ustc@keywords}{\quad}%
\else
\ustc@clist@use{\ustc@keywords}{;}%
\fi
\ustc@clist@use{\ustc@keywords}{;}%
}
\newcommand\ustc@keywords@en@text{%
\ifustc@degree@graduate
Expand Down

0 comments on commit 8be7372

Please sign in to comment.