From 4072f967465cc666fc4c6ef301daeb4621b5016c Mon Sep 17 00:00:00 2001 From: Zeping Lee Date: Sat, 4 May 2024 18:06:30 +0800 Subject: [PATCH] Use serif font for section numbers --- CHANGELOG.md | 1 + test/testfiles-crossref/main-english.tlg | 86 +++++++++++----------- test/testfiles-crossref/main-lof.tlg | 20 ++--- test/testfiles-crossref/main-lot.tlg | 20 ++--- test/testfiles-crossref/main.tlg | 48 ++++++------ test/testfiles-nomencl/package-nomencl.tlg | 14 ++-- ustcthesis.cls | 8 +- 7 files changed, 99 insertions(+), 98 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f6d0572..36bb858 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - 本科生摘要关键词的分隔符改为分号,同步教务处 2023-05-06 的修改([#376](https://github.com/ustctug/ustcthesis/issues/376))。 - 本科生的参考文献格式恢复为 2021 年版,同步教务处 2023-05-06 的修改([#376](https://github.com/ustctug/ustcthesis/issues/376))。 - 二级节标题不再缩进(研究生院 2024-03-01 Word 模板)。 +- 标题的编号使用 Times New Roman 字体(研究生院 2024-03-01 Word 模板)。 ## [3.3.4] - 2023-05-10 diff --git a/test/testfiles-crossref/main-english.tlg b/test/testfiles-crossref/main-english.tlg index 077bd86..d18619a 100644 --- a/test/testfiles-crossref/main-english.tlg +++ b/test/testfiles-crossref/main-english.tlg @@ -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 597.81601fil +..\vbox(700.50723+0.0)x417.11752, glue set 598.49045fil ...\write-{} ...\marks1{\protect \ustc@spacetitle {Abstract}} ...\marks2{\prg_do_nothing: } @@ -263,9 +263,9 @@ Completed box being shipped out [2] ...\glue 0.0 ...\glue(\parskip) 0.0 ...\glue(\parskip) 0.0 -...\hbox(11.90045+0.1927)x417.11752, glue set 164.723fil +...\hbox(11.11353+0.30513)x417.11752, glue set 165.55812fil ....\glue(\leftskip) 0.0 plus 1.0fil -....\TU/texgyreheros(0)/b/n/16.06 ABSTRACT +....\TU/texgyretermes(0)/b/n/16.06 ABSTRACT ....\kern -0.0002 ....\kern 0.0002 ....\penalty 10000 @@ -420,7 +420,7 @@ Completed box being shipped out [3] ....\special{color pop} ..\glue 8.2511 ..\glue(\lineskip) 0.0 -..\vbox(700.50723+0.0)x417.11752, glue set 455.47304fil +..\vbox(700.50723+0.0)x417.11752, glue set 456.16353fil ...\write-{} ...\write-{} ...\marks1{\protect \ustc@spacetitle {Contents}} @@ -434,9 +434,9 @@ Completed box being shipped out [3] ...\glue 0.0 ...\glue(\parskip) 0.0 ...\glue(\parskip) 0.0 -...\hbox(11.90045+0.1927)x417.11752, glue set 173.80493fil +...\hbox(11.09746+0.30513)x417.11752, glue set 177.77979fil ....\glue(\leftskip) 0.0 plus 1.0fil -....\TU/texgyreheros(0)/b/n/16.06 Contents +....\TU/texgyretermes(0)/b/n/16.06 Contents ....\kern -0.0002 ....\kern 0.0002 ....\penalty 10000 @@ -915,7 +915,7 @@ Completed box being shipped out [5] ....\special{color pop} ..\glue 8.2511 ..\glue(\lineskip) 0.0 -..\vbox(700.50723+0.0)x417.11752, glue set 638.19858fil +..\vbox(700.50723+0.0)x417.11752, glue set 638.98543fil ...\write-{} ...\marks1{\protect \ustc@spacetitle {Notation}} ...\marks2{\prg_do_nothing: } @@ -928,9 +928,9 @@ Completed box being shipped out [5] ...\glue 0.0 ...\glue(\parskip) 0.0 ...\glue(\parskip) 0.0 -...\hbox(11.96469+0.14453)x417.11752, glue set 175.95697fil +...\hbox(11.03322+0.28906)x417.11752, glue set 178.79156fil ....\glue(\leftskip) 0.0 plus 1.0fil -....\TU/texgyreheros(0)/b/n/16.06 Notation +....\TU/texgyretermes(0)/b/n/16.06 Notation ....\kern -0.0002 ....\kern 0.0002 ....\penalty 10000 @@ -1070,7 +1070,7 @@ Completed box being shipped out [1] ....\special{color pop} ..\glue 8.2511 ..\glue(\lineskip) 0.0 -..\vbox(700.50723+0.0)x417.11752, glue set 320.01578fil +..\vbox(700.50723+0.0)x417.11752, glue set 320.22453fil ...\write-{} ...\write1{\pp@pagectr{footnote}{1}{\theabspage }{\thepage }} ...\write1{\@writefile{toc}{\protect \contentsline {chapter}{\protect \numberline {Chapter 1}简介}{\thepage }{}\protected@file@percent }} @@ -1086,11 +1086,11 @@ Completed box being shipped out [1] ...\glue 0.0 ...\glue(\parskip) 0.0 ...\glue(\parskip) 0.0 -...\hbox(12.39832+3.50107)x417.11752, glue set 131.45473fil +...\hbox(12.39832+3.29228)x417.11752, glue set 133.91992fil ....\glue(\leftskip) 0.0 plus 1.0fil -....\TU/texgyreheros(0)/b/n/16.06 Chapter -....\glue 4.46468 plus 2.23233 minus 1.48822 -....\TU/texgyreheros(0)/b/n/16.06 1 +....\TU/texgyretermes(0)/b/n/16.06 Chapter +....\glue 4.015 plus 2.00749 minus 1.33833 +....\TU/texgyretermes(0)/b/n/16.06 1 ....\kern -0.0002 ....\kern 0.0002 ....\glue 16.06 @@ -1130,9 +1130,9 @@ Completed box being shipped out [1] ...\glue(\parskip) 0.0 ...\glue(\parskip) 0.0 ...\glue(\baselineskip) 9.80264 -...\hbox(10.98904+2.45917)x417.11752, glue set 313.26962fil -....\hbox(9.96321+0.0)x33.58545 -.....\TU/texgyreheros(0)/m/n/14.05249 1.1 +...\hbox(10.98904+2.45917)x417.11752, glue set 315.23697fil +....\hbox(9.49948+0.15456)x31.6181 +.....\TU/texgyretermes(0)/m/n/14.05249 1.1 .....\kern -0.0002 .....\kern 0.0002 .....\glue 14.05249 @@ -1169,9 +1169,9 @@ Completed box being shipped out [1] ...\glue(\parskip) 0.0 ...\glue(\parskip) 0.0 ...\glue(\baselineskip) 11.37852 -...\hbox(10.20412+2.28351)x417.11752, glue set 309.80472fil -....\hbox(9.25156+0.0)x42.06912 -.....\TU/texgyreheros(0)/m/n/13.04874 1.1.1 +...\hbox(10.20412+2.28351)x417.11752, glue set 312.72763fil +....\hbox(8.82095+0.14352)x39.14621 +.....\TU/texgyretermes(0)/m/n/13.04874 1.1.1 .....\kern -0.0002 .....\kern 0.0002 .....\glue 13.04874 @@ -1208,13 +1208,13 @@ Completed box being shipped out [1] ...\glue(\parskip) 0.0 ...\glue(\parskip) 0.0 ...\glue(\baselineskip) 10.4872 -...\hbox(9.41919+2.10786)x417.11752, glue set 316.73451fil -....\hbox(8.5399+0.0)x40.15802 +...\hbox(9.41919+2.10786)x417.11752, glue set 317.74629fil +....\hbox(8.14243+0.13248)x39.14624 .....\hbox(0.0+0.0)x24.09 -.....\TU/texgyreheros(0)/m/n/12.045 1 +.....\TU/texgyretermes(0)/m/n/12.045 1 .....\kern -0.0002 .....\kern 0.0002 -.....\TU/texgyreheros(0)/m/n/12.045 . +.....\TU/texgyretermes(0)/m/n/12.045 . .....\kern -0.0002 .....\kern 0.0002 .....\glue 6.02249 @@ -1500,7 +1500,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 648.66777fil +..\vbox(700.50723+0.0)x417.11752, glue set 648.87654fil ...\write-{} ...\write1{\pp@pagectr{footnote}{2}{\theabspage }{\thepage }} ...\write1{\@writefile{toc}{\protect \contentsline {chapter}{\protect \numberline {Chapter 2}浮动体}{\thepage }{}\protected@file@percent }} @@ -1516,11 +1516,11 @@ Completed box being shipped out [2] ...\glue 0.0 ...\glue(\parskip) 0.0 ...\glue(\parskip) 0.0 -...\hbox(12.25378+3.50107)x417.11752, glue set 123.42473fil +...\hbox(12.25378+3.29228)x417.11752, glue set 125.88992fil ....\glue(\leftskip) 0.0 plus 1.0fil -....\TU/texgyreheros(0)/b/n/16.06 Chapter -....\glue 4.46468 plus 2.23233 minus 1.48822 -....\TU/texgyreheros(0)/b/n/16.06 2 +....\TU/texgyretermes(0)/b/n/16.06 Chapter +....\glue 4.015 plus 2.00749 minus 1.33833 +....\TU/texgyretermes(0)/b/n/16.06 2 ....\kern -0.0002 ....\kern 0.0002 ....\glue 16.06 @@ -1648,7 +1648,7 @@ Completed box being shipped out [3] ....\special{color pop} ..\glue 8.2511 ..\glue(\lineskip) 0.0 -..\vbox(700.50723+0.0)x417.11752, glue set 615.5288fil +..\vbox(700.50723+0.0)x417.11752, glue set 616.66891fil ...\write-{} ...\write-{} ...\write1{\@writefile{toc}{\protect \contentsline {chapter}{Bibliography}{\thepage }{}\protected@file@percent }} @@ -1664,9 +1664,9 @@ Completed box being shipped out [3] ...\glue 0.0 ...\glue(\parskip) 0.0 ...\glue(\parskip) 0.0 -...\hbox(11.96469+3.51712)x417.11752, glue set 159.59987fil +...\hbox(11.03322+3.30835)x417.11752, glue set 163.76743fil ....\glue(\leftskip) 0.0 plus 1.0fil -....\TU/texgyreheros(0)/b/n/16.06 Bibliography +....\TU/texgyretermes(0)/b/n/16.06 Bibliography ....\kern -0.0002 ....\kern 0.0002 ....\penalty 10000 @@ -1866,7 +1866,7 @@ Completed box being shipped out [4] ....\special{color pop} ..\glue 8.2511 ..\glue(\lineskip) 0.0 -..\vbox(700.50723+0.0)x417.11752, glue set 633.12012fil +..\vbox(700.50723+0.0)x417.11752, glue set 633.32889fil ...\write-{} ...\write1{\pp@pagectr{footnote}{3}{\theabspage }{\thepage }} ...\write1{\@writefile{toc}{\protect \contentsline {chapter}{\protect \numberline {Appendix A}附录章节}{\thepage }{}\protected@file@percent }} @@ -1882,11 +1882,11 @@ Completed box being shipped out [4] ...\glue 0.0 ...\glue(\parskip) 0.0 ...\glue(\parskip) 0.0 -...\hbox(12.35014+3.50107)x417.11752, glue set 111.7491fil +...\hbox(12.35014+3.29228)x417.11752, glue set 115.08957fil ....\glue(\leftskip) 0.0 plus 1.0fil -....\TU/texgyreheros(0)/b/n/16.06 Appendix -....\glue 4.46468 plus 2.23233 minus 1.48822 -....\TU/texgyreheros(0)/b/n/16.06 A +....\TU/texgyretermes(0)/b/n/16.06 Appendix +....\glue 4.015 plus 2.00749 minus 1.33833 +....\TU/texgyretermes(0)/b/n/16.06 A ....\kern -0.0002 ....\kern 0.0002 ....\glue 16.06 @@ -2019,7 +2019,7 @@ Completed box being shipped out [5] ....\special{color pop} ..\glue 8.2511 ..\glue(\lineskip) 0.0 -..\vbox(700.50723+0.0)x417.11752, glue set 633.75043fil +..\vbox(700.50723+0.0)x417.11752, glue set 634.56938fil ...\write-{} ...\write1{\@writefile{toc}{\protect \contentsline {chapter}{Acknowledgements}{\thepage }{}\protected@file@percent }} ...\marks1{\protect \ustc@spacetitle {Acknowledgements}} @@ -2034,9 +2034,9 @@ Completed box being shipped out [5] ...\glue 0.0 ...\glue(\parskip) 0.0 ...\glue(\parskip) 0.0 -...\hbox(11.70773+3.50107)x417.11752, glue set 133.22934fil +...\hbox(11.0814+3.30835)x417.11752, glue set 143.13837fil ....\glue(\leftskip) 0.0 plus 1.0fil -....\TU/texgyreheros(0)/b/n/16.06 Acknowledgements +....\TU/texgyretermes(0)/b/n/16.06 Acknowledgements ....\kern -0.0002 ....\kern 0.0002 ....\penalty 10000 @@ -2161,7 +2161,7 @@ Completed box being shipped out [6] ....\special{color pop} ..\glue 8.2511 ..\glue(\lineskip) 0.0 -..\vbox(700.50723+0.0)x417.11752, glue set 636.81354fil +..\vbox(700.50723+0.0)x417.11752, glue set 637.66463fil ...\write-{} ...\write1{\@writefile{toc}{\protect \contentsline {chapter}{Publications}{\thepage }{}\protected@file@percent }} ...\marks1{\protect \ustc@spacetitle {Publications}} @@ -2176,9 +2176,9 @@ Completed box being shipped out [6] ...\glue 0.0 ...\glue(\parskip) 0.0 ...\glue(\parskip) 0.0 -...\hbox(11.96469+0.14453)x417.11752, glue set 160.8124fil +...\hbox(11.03322+0.22482)x417.11752, glue set 166.1684fil ....\glue(\leftskip) 0.0 plus 1.0fil -....\TU/texgyreheros(0)/b/n/16.06 Publications +....\TU/texgyretermes(0)/b/n/16.06 Publications ....\kern -0.0002 ....\kern 0.0002 ....\penalty 10000 diff --git a/test/testfiles-crossref/main-lof.tlg b/test/testfiles-crossref/main-lof.tlg index 2f46bc7..75988d8 100644 --- a/test/testfiles-crossref/main-lof.tlg +++ b/test/testfiles-crossref/main-lof.tlg @@ -562,17 +562,17 @@ Completed box being shipped out [1] ...\glue 0.0 ...\glue(\parskip) 0.0 ...\glue(\parskip) 0.0 -...\hbox(12.3662+2.77837)x417.11752, glue set 160.94087fil +...\hbox(12.3662+2.77837)x417.11752, glue set 163.94409fil ....\glue(\leftskip) 0.0 plus 1.0fil ....\TU/FandolHei(0)/b/n/16.06 第 -....\glue 4.46468 plus 2.23233 minus 1.48822 -....\TU/texgyreheros(0)/b/n/16.06 1 -....\glue 4.46468 plus 2.23233 minus 1.48822 +....\glue 4.015 plus 2.00749 minus 1.33833 +....\TU/texgyretermes(0)/b/n/16.06 1 +....\glue 4.015 plus 2.00749 minus 1.33833 ....\TU/FandolHei(0)/b/n/16.06 章 ....\kern -0.00017 ....\kern 0.00017 ....\glue 16.06 -....\TU/texgyreheros(0)/b/n/16.06 Foo +....\TU/texgyretermes(0)/b/n/16.06 Foo ....\kern -0.0002 ....\kern 0.0002 ....\penalty 10000 @@ -877,17 +877,17 @@ Completed box being shipped out [2] ...\glue 0.0 ...\glue(\parskip) 0.0 ...\glue(\parskip) 0.0 -...\hbox(12.3662+2.77837)x417.11752, glue set 162.15341fil +...\hbox(12.3662+2.77837)x417.11752, glue set 163.50244fil ....\glue(\leftskip) 0.0 plus 1.0fil ....\TU/FandolHei(0)/b/n/16.06 第 -....\glue 4.46468 plus 2.23233 minus 1.48822 -....\TU/texgyreheros(0)/b/n/16.06 2 -....\glue 4.46468 plus 2.23233 minus 1.48822 +....\glue 4.015 plus 2.00749 minus 1.33833 +....\TU/texgyretermes(0)/b/n/16.06 2 +....\glue 4.015 plus 2.00749 minus 1.33833 ....\TU/FandolHei(0)/b/n/16.06 章 ....\kern -0.00017 ....\kern 0.00017 ....\glue 16.06 -....\TU/texgyreheros(0)/b/n/16.06 Bar +....\TU/texgyretermes(0)/b/n/16.06 Bar ....\kern -0.0002 ....\kern 0.0002 ....\penalty 10000 diff --git a/test/testfiles-crossref/main-lot.tlg b/test/testfiles-crossref/main-lot.tlg index 03f69ac..fc25399 100644 --- a/test/testfiles-crossref/main-lot.tlg +++ b/test/testfiles-crossref/main-lot.tlg @@ -542,17 +542,17 @@ Completed box being shipped out [1] ...\glue 0.0 ...\glue(\parskip) 0.0 ...\glue(\parskip) 0.0 -...\hbox(12.3662+2.77837)x417.11752, glue set 160.94087fil +...\hbox(12.3662+2.77837)x417.11752, glue set 163.94409fil ....\glue(\leftskip) 0.0 plus 1.0fil ....\TU/FandolHei(0)/b/n/16.06 第 -....\glue 4.46468 plus 2.23233 minus 1.48822 -....\TU/texgyreheros(0)/b/n/16.06 1 -....\glue 4.46468 plus 2.23233 minus 1.48822 +....\glue 4.015 plus 2.00749 minus 1.33833 +....\TU/texgyretermes(0)/b/n/16.06 1 +....\glue 4.015 plus 2.00749 minus 1.33833 ....\TU/FandolHei(0)/b/n/16.06 章 ....\kern -0.00017 ....\kern 0.00017 ....\glue 16.06 -....\TU/texgyreheros(0)/b/n/16.06 Foo +....\TU/texgyretermes(0)/b/n/16.06 Foo ....\kern -0.0002 ....\kern 0.0002 ....\penalty 10000 @@ -837,17 +837,17 @@ Completed box being shipped out [2] ...\glue 0.0 ...\glue(\parskip) 0.0 ...\glue(\parskip) 0.0 -...\hbox(12.3662+2.77837)x417.11752, glue set 162.15341fil +...\hbox(12.3662+2.77837)x417.11752, glue set 163.50244fil ....\glue(\leftskip) 0.0 plus 1.0fil ....\TU/FandolHei(0)/b/n/16.06 第 -....\glue 4.46468 plus 2.23233 minus 1.48822 -....\TU/texgyreheros(0)/b/n/16.06 2 -....\glue 4.46468 plus 2.23233 minus 1.48822 +....\glue 4.015 plus 2.00749 minus 1.33833 +....\TU/texgyretermes(0)/b/n/16.06 2 +....\glue 4.015 plus 2.00749 minus 1.33833 ....\TU/FandolHei(0)/b/n/16.06 章 ....\kern -0.00017 ....\kern 0.00017 ....\glue 16.06 -....\TU/texgyreheros(0)/b/n/16.06 Bar +....\TU/texgyretermes(0)/b/n/16.06 Bar ....\kern -0.0002 ....\kern 0.0002 ....\penalty 10000 diff --git a/test/testfiles-crossref/main.tlg b/test/testfiles-crossref/main.tlg index f39a207..a27b644 100644 --- a/test/testfiles-crossref/main.tlg +++ b/test/testfiles-crossref/main.tlg @@ -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 597.81601fil +..\vbox(700.50723+0.0)x417.11752, glue set 598.49045fil ...\write-{} ...\marks1{\protect \ustc@spacetitle {Abstract}} ...\marks2{\prg_do_nothing: } @@ -263,9 +263,9 @@ Completed box being shipped out [2] ...\glue 0.0 ...\glue(\parskip) 0.0 ...\glue(\parskip) 0.0 -...\hbox(11.90045+0.1927)x417.11752, glue set 164.723fil +...\hbox(11.11353+0.30513)x417.11752, glue set 165.55812fil ....\glue(\leftskip) 0.0 plus 1.0fil -....\TU/texgyreheros(0)/b/n/16.06 ABSTRACT +....\TU/texgyretermes(0)/b/n/16.06 ABSTRACT ....\kern -0.0002 ....\kern 0.0002 ....\penalty 10000 @@ -1154,12 +1154,12 @@ Completed box being shipped out [1] ...\glue 0.0 ...\glue(\parskip) 0.0 ...\glue(\parskip) 0.0 -...\hbox(12.39832+2.77837)x417.11752, glue set 143.41942fil +...\hbox(12.39832+2.77837)x417.11752, glue set 144.31877fil ....\glue(\leftskip) 0.0 plus 1.0fil ....\TU/FandolHei(0)/b/n/16.06 第 -....\glue 4.46468 plus 2.23233 minus 1.48822 -....\TU/texgyreheros(0)/b/n/16.06 1 -....\glue 4.46468 plus 2.23233 minus 1.48822 +....\glue 4.015 plus 2.00749 minus 1.33833 +....\TU/texgyretermes(0)/b/n/16.06 1 +....\glue 4.015 plus 2.00749 minus 1.33833 ....\TU/FandolHei(0)/b/n/16.06 章 ....\kern -0.00017 ....\kern 0.00017 @@ -1200,9 +1200,9 @@ Completed box being shipped out [1] ...\glue(\parskip) 0.0 ...\glue(\parskip) 0.0 ...\glue(\baselineskip) 9.80264 -...\hbox(10.98904+2.45917)x417.11752, glue set 313.26962fil -....\hbox(9.96321+0.0)x33.58545 -.....\TU/texgyreheros(0)/m/n/14.05249 1.1 +...\hbox(10.98904+2.45917)x417.11752, glue set 315.23697fil +....\hbox(9.49948+0.15456)x31.6181 +.....\TU/texgyretermes(0)/m/n/14.05249 1.1 .....\kern -0.0002 .....\kern 0.0002 .....\glue 14.05249 @@ -1239,9 +1239,9 @@ Completed box being shipped out [1] ...\glue(\parskip) 0.0 ...\glue(\parskip) 0.0 ...\glue(\baselineskip) 11.37852 -...\hbox(10.20412+2.28351)x417.11752, glue set 309.80472fil -....\hbox(9.25156+0.0)x42.06912 -.....\TU/texgyreheros(0)/m/n/13.04874 1.1.1 +...\hbox(10.20412+2.28351)x417.11752, glue set 312.72763fil +....\hbox(8.82095+0.14352)x39.14621 +.....\TU/texgyretermes(0)/m/n/13.04874 1.1.1 .....\kern -0.0002 .....\kern 0.0002 .....\glue 13.04874 @@ -1278,13 +1278,13 @@ Completed box being shipped out [1] ...\glue(\parskip) 0.0 ...\glue(\parskip) 0.0 ...\glue(\baselineskip) 10.4872 -...\hbox(9.41919+2.10786)x417.11752, glue set 316.73451fil -....\hbox(8.5399+0.0)x40.15802 +...\hbox(9.41919+2.10786)x417.11752, glue set 317.74629fil +....\hbox(8.14243+0.13248)x39.14624 .....\hbox(0.0+0.0)x24.09 -.....\TU/texgyreheros(0)/m/n/12.045 1 +.....\TU/texgyretermes(0)/m/n/12.045 1 .....\kern -0.0002 .....\kern 0.0002 -.....\TU/texgyreheros(0)/m/n/12.045 . +.....\TU/texgyretermes(0)/m/n/12.045 . .....\kern -0.0002 .....\kern 0.0002 .....\glue 6.02249 @@ -1617,12 +1617,12 @@ Completed box being shipped out [2] ...\glue 0.0 ...\glue(\parskip) 0.0 ...\glue(\parskip) 0.0 -...\hbox(12.3662+2.77837)x417.11752, glue set 135.38942fil +...\hbox(12.3662+2.77837)x417.11752, glue set 136.28877fil ....\glue(\leftskip) 0.0 plus 1.0fil ....\TU/FandolHei(0)/b/n/16.06 第 -....\glue 4.46468 plus 2.23233 minus 1.48822 -....\TU/texgyreheros(0)/b/n/16.06 2 -....\glue 4.46468 plus 2.23233 minus 1.48822 +....\glue 4.015 plus 2.00749 minus 1.33833 +....\TU/texgyretermes(0)/b/n/16.06 2 +....\glue 4.015 plus 2.00749 minus 1.33833 ....\TU/FandolHei(0)/b/n/16.06 章 ....\kern -0.00017 ....\kern 0.00017 @@ -1999,15 +1999,15 @@ Completed box being shipped out [4] ...\glue 0.0 ...\glue(\parskip) 0.0 ...\glue(\parskip) 0.0 -...\hbox(12.35014+2.77837)x417.11752, glue set 132.27377fil +...\hbox(12.35014+2.77837)x417.11752, glue set 132.49861fil ....\glue(\leftskip) 0.0 plus 1.0fil ....\TU/FandolHei(0)/b/n/16.06 附 ....\glue 0.0 plus 1.37729 ....\TU/FandolHei(0)/b/n/16.06 录 ....\kern -0.00018 ....\kern 0.00018 -....\glue 4.46468 plus 2.23233 minus 1.48822 -....\TU/texgyreheros(0)/b/n/16.06 A +....\glue 4.015 plus 2.00749 minus 1.33833 +....\TU/texgyretermes(0)/b/n/16.06 A ....\kern -0.0002 ....\kern 0.0002 ....\glue 16.06 diff --git a/test/testfiles-nomencl/package-nomencl.tlg b/test/testfiles-nomencl/package-nomencl.tlg index c77dc0b..179abca 100644 --- a/test/testfiles-nomencl/package-nomencl.tlg +++ b/test/testfiles-nomencl/package-nomencl.tlg @@ -434,19 +434,19 @@ Completed box being shipped out [1] ...\glue 0.0 ...\glue(\parskip) 0.0 ...\glue(\parskip) 0.0 -...\hbox(12.3662+2.77837)x417.11752, glue set 130.51521fil +...\hbox(12.3662+2.77837)x417.11752, glue set 132.95633fil ....\glue(\leftskip) 0.0 plus 1.0fil ....\TU/FandolHei(0)/b/n/16.06 第 -....\glue 4.46468 plus 2.23233 minus 1.48822 -....\TU/texgyreheros(0)/b/n/16.06 1 -....\glue 4.46468 plus 2.23233 minus 1.48822 +....\glue 4.015 plus 2.00749 minus 1.33833 +....\TU/texgyretermes(0)/b/n/16.06 1 +....\glue 4.015 plus 2.00749 minus 1.33833 ....\TU/FandolHei(0)/b/n/16.06 章 ....\kern -0.00017 ....\kern 0.00017 ....\glue 16.06 -....\TU/texgyreheros(0)/b/n/16.06 Main -....\glue 4.46468 plus 2.23233 minus 1.48822 -....\TU/texgyreheros(0)/b/n/16.06 matter +....\TU/texgyretermes(0)/b/n/16.06 Main +....\glue 4.015 plus 2.00749 minus 1.33833 +....\TU/texgyretermes(0)/b/n/16.06 matter ....\kern -0.0002 ....\kern 0.0002 ....\penalty 10000 diff --git a/ustcthesis.cls b/ustcthesis.cls index da961be..75169fd 100644 --- a/ustcthesis.cls +++ b/ustcthesis.cls @@ -2228,7 +2228,7 @@ % 另外 \pkg{ctex} v2.2 前的beforeskip的符号有特殊意义。 \ctexset{ chapter = { - format = \centering\sffamily\bfseries\fontsize{16bp}{26.67bp}\selectfont, + format = \centering\heiti\bfseries\fontsize{16bp}{26.67bp}\selectfont, nameformat = {}, titleformat = \ustc@spacetitle, number = \thechapter, @@ -2243,7 +2243,7 @@ % 序号与题名间空一字。 \ctexset{ section = { - format = \sffamily\fontsize{14bp}{23.33bp}\selectfont, + format = \heiti\fontsize{14bp}{23.33bp}\selectfont, aftername = \hspace{\ccwd}, beforeskip = 24bp, afterskip = 6bp, @@ -2252,7 +2252,7 @@ % 二级节标题:黑体 13 磅,左缩进两字,单倍行距,段前 12 磅,段后 6 磅, % 序号与题名间空一字。 subsection = { - format = \sffamily\fontsize{13bp}{21.67bp}\selectfont, + format = \heiti\fontsize{13bp}{21.67bp}\selectfont, aftername = \hspace{\ccwd}, beforeskip = 12bp, afterskip = 6bp, @@ -2261,7 +2261,7 @@ % 三级及以下节标题的格式没有具体规定,按照 Word 模板的格式: % 使用黑体 12 磅,左缩进两字,行距 20 磅,段前段后 0 磅,序号与题名间空半字宽。 subsubsection = { - format = \sffamily\fontsize{12bp}{20bp}\selectfont, + format = \heiti\fontsize{12bp}{20bp}\selectfont, number = \arabic{subsubsection}, aftername = .\hspace{0.5\ccwd}, indent = 2\ccwd,