Skip to content

Commit

Permalink
Merge branch 'issue#332'
Browse files Browse the repository at this point in the history
* issue#332:
  Change page range delimiter to en dash for bachelor
  Add date at the end of acknowledgements
  Add acknowledgements into toc for bachelor
  Adjust chapter sequence for bachelor
  Remove abstract in toc for bachelor
  Change the format of abstract's heading (Fix ustctug#332)
  • Loading branch information
zepinglee committed Mar 25, 2022
2 parents e3fd7ed + 559e324 commit 3e91c34
Show file tree
Hide file tree
Showing 11 changed files with 1,095 additions and 1,642 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed

- 专业学位类型 `professional-type` 为空时不再显示括号([#325](https://github.com/ustctug/ustcthesis/issues/325))。
- 本科生的英文摘要标题改为小二号“ABSTRACT”(2021 年 11 月新版,[#332](https://github.com/ustctug/ustcthesis/issues/332))。
- 本科生的目录中去掉摘要(2021 年 11 月新版)。
- 调整本科生的章节顺序(2021 年 11 月新版)。
- 本科生的目录中加入致谢(2021 年 11 月新版)。
- 本科生致谢的末尾增加日期(2021 年 11 月新版)。

### Fixed

Expand Down
15 changes: 1 addition & 14 deletions main.tex
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,6 @@

\begin{document}

% 研究生论文:
% 封面,原创性声明和授权使用声明
% frontmatter: 摘要,目录,[图、表清单],[符号说明]
% mainmatter: 正文章节,参考文献
% appendix: 附录
% backmatter: 致谢,已发表论文列表
%
% 本科生论文:
% 封面
% frontmatter: 致谢,目录,摘要
% mainmatter: 正文章节,参考文献
% appendix: 附录

\maketitle
\copyrightpage

Expand All @@ -43,13 +30,13 @@
\input{chapters/math.tex}
\input{chapters/citations.tex}

\backmatter
\bibliography{bib/ustc} % 参考文献使用 BibTeX 编译
% \printbibliography % 参考文献使用 BibLaTeX 编译

\appendix
\input{chapters/complementary.tex}

\backmatter
\input{chapters/acknowledgements.tex}
\input{chapters/publications.tex}

Expand Down
13 changes: 7 additions & 6 deletions test/support/chapters-bachelor.tex
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
\frontmatter
\begin{acknowledgements}
致谢内容。
\end{acknowledgements}

\tableofcontents

\begin{abstract}
摘要内容。
\ustcsetup{keywords = {关键词}}
Expand All @@ -15,6 +9,8 @@
\ustcsetup{keywords* = {keywords}}
\end{abstract*}

\tableofcontents

\mainmatter
\chapter{简介}
Chapter text. \par
Expand Down Expand Up @@ -45,3 +41,8 @@ \chapter{浮动体}
\appendix
\chapter{附录章节}
附录内容。

\backmatter
\begin{acknowledgements}
致谢内容。
\end{acknowledgements}
21 changes: 9 additions & 12 deletions test/testfiles-biblatex/biblatex-bachelor.tlg
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ Completed box being shipped out [1]
...\glue(\parskip) 0.0
...\glue(\parskip) 0.0
...\glue(\baselineskip) 9.01317
...\hbox(10.92532+2.144)x417.11752, glue set 320.26355fil
...\hbox(10.92532+2.144)x417.11752, glue set 324.78043fil
....\hbox(0.0+0.0)x24.09
....\TU/FandolSong(0)/m/n/12.045 引
....\glue 0.0 plus 0.61353
Expand All @@ -590,20 +590,13 @@ Completed box being shipped out [1]
....\penalty 10000
....\glue 0.0
....\mathon
....\hbox(6.10681+1.40926)x24.58398, shifted -4.81851
....\hbox(6.10681+1.40926)x20.06711, shifted -4.81851
.....\TU/texgyretermes(0)/m/n/9.03375 [1
.....\kern -0.0002
.....\kern 0.0002
.....\penalty 10000
.....\glue 2.51138 minus 1.25569
.....\rule(0.0+0.0)x-2.51138
.....\TU/FandolSong(0)/m/n/9.03375 ~
.....\rule(0.0+0.0)x-2.51138
.....\kern 0.00015
.....\kern -0.00015
.....\kern -0.99753
.....\kern 0.99753
.....\glue 2.51138 minus 1.25569
.....\TU/texgyretermes(0)/m/n/9.03375 –
.....\kern -0.00024
.....\kern 0.00024
.....\TU/texgyretermes(0)/m/n/9.03375 3
.....\kern -0.0002
.....\kern 0.0002
Expand Down Expand Up @@ -786,6 +779,8 @@ C.}
....\kern 0.0002
....\glue 2.00755
....\TU/texgyretermes(0)/m/n/12.045 35
....\kern -0.0002
....\kern 0.0002
....\penalty 10000
....\glue 3.34851 minus 1.67426
....\rule(0.0+0.0)x-3.34851
Expand Down Expand Up @@ -895,6 +890,8 @@ C.}
....\kern 0.0002
....\glue 2.00755
....\TU/texgyretermes(0)/m/n/12.045 67
....\kern -0.0002
....\kern 0.0002
....\penalty 10000
....\glue 3.34851 minus 1.67426
....\rule(0.0+0.0)x-3.34851
Expand Down
Loading

0 comments on commit 3e91c34

Please sign in to comment.