Skip to content

Commit

Permalink
Fix the bold of English abstract title
Browse files Browse the repository at this point in the history
  • Loading branch information
zepinglee committed Jan 8, 2025
1 parent f5dd5a3 commit ad2d231
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Fixed

- 修正英文摘要标题“ABSTRACT”的粗体([#411](https://github.com/ustctug/ustcthesis/issues/411#issuecomment-2577181494))。

## [4.0.0-beta.4] - 2025-01-05

### Added
Expand Down
6 changes: 3 additions & 3 deletions test/testfiles-crossref/main-english.tlg
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ Completed box being shipped out [2]
....\special{color pop}
..\glue 8.2511
..\glue(\lineskip) 0.0
..\vbox(700.50723+0.0)x417.11752, glue set 598.82768fil
..\vbox(700.50723+0.0)x417.11752, glue set 598.49045fil
...\write-{}
...\marks1{\__mark_id:n {3}ABSTRACT}
...\marks2{\__mark_id:n {4}}
Expand All @@ -263,9 +263,9 @@ Completed box being shipped out [2]
...\glue 0.0
...\glue(\parskip) 0.0
...\glue(\parskip) 0.0
...\hbox(10.85655+0.22482)x417.11752, glue set 167.22034fil
...\hbox(11.11353+0.30513)x417.11752, glue set 165.55812fil
....\glue(\leftskip) 0.0 plus 1.0fil
....\TU/texgyretermes(0)/m/n/16.06 ABSTRACT
....\TU/texgyretermes(0)/b/n/16.06 ABSTRACT
....\kern -0.0002
....\kern 0.0002
....\penalty 10000
Expand Down
6 changes: 3 additions & 3 deletions test/testfiles-crossref/main.tlg
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ Completed box being shipped out [2]
....\special{color pop}
..\glue 8.2511
..\glue(\lineskip) 0.0
..\vbox(700.50723+0.0)x417.11752, glue set 598.82768fil
..\vbox(700.50723+0.0)x417.11752, glue set 598.49045fil
...\write-{}
...\marks1{\__mark_id:n {3}ABSTRACT}
...\marks2{\__mark_id:n {4}}
Expand All @@ -263,9 +263,9 @@ Completed box being shipped out [2]
...\glue 0.0
...\glue(\parskip) 0.0
...\glue(\parskip) 0.0
...\hbox(10.85655+0.22482)x417.11752, glue set 167.22034fil
...\hbox(11.11353+0.30513)x417.11752, glue set 165.55812fil
....\glue(\leftskip) 0.0 plus 1.0fil
....\TU/texgyretermes(0)/m/n/16.06 ABSTRACT
....\TU/texgyretermes(0)/b/n/16.06 ABSTRACT
....\kern -0.0002
....\kern 0.0002
....\penalty 10000
Expand Down
3 changes: 3 additions & 0 deletions ustcthesis.cls
Original file line number Diff line number Diff line change
Expand Up @@ -2419,6 +2419,9 @@
\newenvironment{abstract*}{%
\ustcsetup{language=english}%
\ifustc@degree@graduate
\ctexset{
chapter/format = \centering\bfseries\fontsize{16bp}{26.67bp}\selectfont,
}%
\ustc@chapter{ABSTRACT}%
\else
\begingroup
Expand Down

0 comments on commit ad2d231

Please sign in to comment.