Skip to content

Commit 15d52bd

Browse files
committed
Fix bibliography format
1 parent 770b034 commit 15d52bd

18 files changed

Lines changed: 998 additions & 904 deletions

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1616
- 本科生表格、插图标题按照 Word 模板使用 22 pt 行距。
1717
- 本科生表格内容使用 1.5 倍行距。
1818
- 修正“关键词”的格式。
19+
- 修正参考文献表的缩进格式。
1920

2021
## [4.0.0-beta.8] - 2025-04-16
2122

test/testfiles-biblatex/biblatex-authoryear.tlg

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -917,9 +917,9 @@ Completed box being shipped out [2]
917917
...\glue(\parskip) 0.0
918918
...\glue(\parskip) 0.0
919919
...\glue(\baselineskip) 8.8561
920-
...\hbox(8.19963+1.86545)x393.02753, glue set 164.42767fil, shifted 24.09
921-
....\hbox(0.0+0.0)x-12.045
922-
.....\glue -12.045
920+
...\hbox(8.19963+1.86545)x396.03879, glue set 176.47267fil, shifted 21.07874
921+
....\hbox(0.0+0.0)x-21.07874
922+
.....\glue -21.07874
923923
.....\glue -24.0
924924
.....\glue -6.0
925925
.....\hbox(0.0+0.0)x24.0, glue set 24.0fil
@@ -1000,9 +1000,9 @@ Completed box being shipped out [2]
10001000
...\glue(\parskip) 0.0
10011001
...\glue(\parskip) 0.0
10021002
...\glue(\baselineskip) 9.91507
1003-
...\hbox(8.29448+1.98138)x393.02753, glue set 86.26115fil, shifted 24.09
1004-
....\hbox(0.0+0.0)x-12.045
1005-
.....\glue -12.045
1003+
...\hbox(8.29448+1.98138)x396.03879, glue set 98.30615fil, shifted 21.07874
1004+
....\hbox(0.0+0.0)x-21.07874
1005+
.....\glue -21.07874
10061006
.....\glue -24.0
10071007
.....\glue -6.0
10081008
.....\hbox(0.0+0.0)x24.0, glue set 24.0fil
@@ -1107,9 +1107,9 @@ Completed box being shipped out [2]
11071107
...\glue(\parskip) 0.0
11081108
...\glue(\parskip) 0.0
11091109
...\glue(\baselineskip) 9.83075
1110-
...\hbox(8.26286+1.94977)x393.02753, glue set 102.08026fil, shifted 24.09
1111-
....\hbox(0.0+0.0)x-12.045
1112-
.....\glue -12.045
1110+
...\hbox(8.26286+1.94977)x396.03879, glue set 114.12526fil, shifted 21.07874
1111+
....\hbox(0.0+0.0)x-21.07874
1112+
.....\glue -21.07874
11131113
.....\glue -24.0
11141114
.....\glue -6.0
11151115
.....\hbox(0.0+0.0)x24.0, glue set 24.0fil
@@ -1212,9 +1212,9 @@ Completed box being shipped out [2]
12121212
...\glue(\parskip) 0.0
12131213
...\glue(\parskip) 0.0
12141214
...\glue(\baselineskip) 10.87415
1215-
...\hbox(7.25108+2.29756)x393.02753, glue set - 0.47258, shifted 24.09
1216-
....\hbox(0.0+0.0)x-12.045
1217-
.....\glue -12.045
1215+
...\hbox(7.25108+2.29756)x396.03879, glue set 0.29451, shifted 21.07874
1216+
....\hbox(0.0+0.0)x-21.07874
1217+
.....\glue -21.07874
12181218
.....\glue -24.0
12191219
.....\glue -6.0
12201220
.....\hbox(0.0+0.0)x24.0, glue set 24.0fil
@@ -1298,7 +1298,7 @@ Completed box being shipped out [2]
12981298
....\glue(\rightskip) 0.0
12991299
...\penalty 300
13001300
...\glue(\baselineskip) 10.80037
1301-
...\hbox(6.97707+0.11592)x393.02753, glue set 368.14427fil, shifted 24.09
1301+
...\hbox(6.97707+0.11592)x396.03879, glue set 371.15553fil, shifted 21.07874
13021302
....\TU/texgyretermes(0)/m/n/10.53937 Press
13031303
....\kern -0.0002
13041304
....\TU/texgyretermes(0)/m/n/10.53937 .

test/testfiles-biblatex/biblatex-bachelor.tlg

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ Completed box being shipped out [2]
643643
....\special{color pop}
644644
..\glue 15.6491
645645
..\glue(\lineskip) 0.0
646-
..\vbox(700.50723+0.0)x417.11752, glue set 452.57774fil
646+
..\vbox(700.50723+0.0)x417.11752, glue set 474.65787fil
647647
...\write-{}
648648
...\write-{}
649649
...\write1{\@writefile{toc}{\protect \contentsline {chapter}{参考文献}{\thepage }{}\protected@file@percent }}
@@ -676,12 +676,12 @@ Completed box being shipped out [2]
676676
...\glue(\parskip) 0.0
677677
...\glue(\parskip) 0.0
678678
...\glue(\baselineskip) 9.27867
679-
...\hbox(9.40715+2.18013)x366.98305, glue set 0.3035, shifted 50.13448
679+
...\hbox(9.40715+2.18013)x387.00504, glue set 0.40877, shifted 30.11249
680680
....\hbox(8.14243+1.879)x0.0
681681
.....\glue 0.0
682-
.....\glue -14.04448
683-
.....\glue -12.0
684-
.....\hbox(8.14243+1.879)x14.04448
682+
.....\glue -30.11249
683+
.....\glue 0.0
684+
.....\hbox(8.14243+1.879)x30.11249, glue set 16.06801fill
685685
......\special{color push Black}
686686
......\glue 0.0 plus 1.0fil minus 1.0fil
687687
......\hbox(7.97379+1.879)x4.01099
@@ -695,7 +695,7 @@ Completed box being shipped out [2]
695695
.......\kern 0.0002
696696
......\glue 0.0 plus 1.0fill
697697
......\special{color pop}
698-
.....\glue 12.0
698+
.....\glue 0.0
699699
....\penalty 0
700700
....\TU/FandolSong(0)/m/n/12.045 刘
701701
....\glue 0.0 plus 0.61353
@@ -784,12 +784,15 @@ Completed box being shipped out [2]
784784
.....\kern 0.0002
785785
....\TU/texgyretermes(0)/m/n/12.045 :
786786
....\kern -0.0002
787-
....\kern 0.0
787+
....\kern 0.0002
788+
....\glue 2.00755
789+
....\TU/texgyretermes(0)/m/n/12.045 35-
790+
....\discretionary
788791
....\glue(\rightskip) 0.0
789-
...\penalty 300
790-
...\glue(\baselineskip) 11.6154
791-
...\hbox(8.28696+0.16861)x366.98305, glue set 335.87102fil, shifted 50.13448
792-
....\TU/texgyretermes(0)/m/n/12.045 35-40
792+
...\penalty 400
793+
...\glue(\baselineskip) 11.75993
794+
...\hbox(8.14243+0.16861)x387.00504, glue set 371.94899fil, shifted 30.11249
795+
....\TU/texgyretermes(0)/m/n/12.045 40
793796
....\kern -0.0002
794797
....\TU/texgyretermes(0)/m/n/12.045 .
795798
....\kern -0.0002
@@ -802,12 +805,12 @@ Completed box being shipped out [2]
802805
...\glue(\parskip) 0.0
803806
...\glue(\parskip) 0.0
804807
...\glue(\baselineskip) 12.45856
805-
...\hbox(9.45532+2.16809)x366.98305, glue set - 0.23154, shifted 50.13448
808+
...\hbox(9.45532+2.16809)x387.00504, glue set 0.3087, shifted 30.11249
806809
....\hbox(8.14243+1.879)x0.0
807810
.....\glue 0.0
808-
.....\glue -14.04448
809-
.....\glue -12.0
810-
.....\hbox(8.14243+1.879)x14.04448
811+
.....\glue -30.11249
812+
.....\glue 0.0
813+
.....\hbox(8.14243+1.879)x30.11249, glue set 16.06801fill
811814
......\special{color push Black}
812815
......\glue 0.0 plus 1.0fil minus 1.0fil
813816
......\hbox(7.97379+1.879)x4.01099
@@ -821,7 +824,7 @@ Completed box being shipped out [2]
821824
.......\kern 0.0002
822825
......\glue 0.0 plus 1.0fill
823826
......\special{color pop}
824-
.....\glue 12.0
827+
.....\glue 0.0
825828
....\penalty 0
826829
....\TU/FandolSong(0)/m/n/12.045 肖
827830
....\glue 0.0 plus 0.61353
@@ -902,12 +905,12 @@ Completed box being shipped out [2]
902905
....\TU/FandolSong(0)/m/n/12.045 学
903906
....\glue 0.0 plus 0.61353
904907
....\TU/FandolSong(0)/m/n/12.045 出
908+
....\glue 0.0 plus 0.61353
909+
....\TU/FandolSong(0)/m/n/12.045 版
905910
....\glue(\rightskip) 0.0
906911
...\penalty 300
907-
...\glue(\baselineskip) 10.63976
908-
...\hbox(9.27464+2.03558)x366.98305, glue set 276.31264fil, shifted 50.13448
909-
....\TU/FandolSong(0)/m/n/12.045 版
910-
....\glue 0.0 plus 0.61353
912+
...\glue(\baselineskip) 10.74815
913+
...\hbox(9.16624+2.03558)x387.00504, glue set 308.37962fil, shifted 30.11249
911914
....\TU/FandolSong(0)/m/n/12.045 社
912915
....\kern -0.00017
913916
....\TU/texgyretermes(0)/m/n/12.045 ,
@@ -932,12 +935,12 @@ Completed box being shipped out [2]
932935
...\glue(\parskip) 0.0
933936
...\glue(\parskip) 0.0
934937
...\glue(\baselineskip) 11.82018
935-
...\hbox(8.22673+2.6258)x366.98305, glue set - 0.07556, shifted 50.13448
938+
...\hbox(8.22673+2.6258)x387.00504, glue set 19.4164fil, shifted 30.11249
936939
....\hbox(8.14243+1.879)x0.0
937940
.....\glue 0.0
938-
.....\glue -14.04448
939-
.....\glue -12.0
940-
.....\hbox(8.14243+1.879)x14.04448
941+
.....\glue -30.11249
942+
.....\glue 0.0
943+
.....\hbox(8.14243+1.879)x30.11249, glue set 16.06801fill
941944
......\special{color push Black}
942945
......\glue 0.0 plus 1.0fil minus 1.0fil
943946
......\hbox(7.97379+1.879)x4.01099
@@ -951,7 +954,7 @@ Completed box being shipped out [2]
951954
.......\kern 0.0002
952955
......\glue 0.0 plus 1.0fill
953956
......\special{color pop}
954-
.....\glue 12.0
957+
.....\glue 0.0
955958
....\penalty 0
956959
....\TU/texgyretermes(0)/m/n/12.045 The
957960
....\glue 3.01125 plus 1.50562 minus 1.00374
@@ -1003,12 +1006,12 @@ Completed box being shipped out [2]
10031006
...\glue(\parskip) 0.0
10041007
...\glue(\parskip) 0.0
10051008
...\glue(\baselineskip) 11.22997
1006-
...\hbox(8.22673+2.61375)x366.98305, glue set 1.44461, shifted 50.13448
1009+
...\hbox(8.22673+2.61375)x387.00504, glue set - 0.60046, shifted 30.11249
10071010
....\hbox(8.14243+1.879)x0.0
10081011
.....\glue 0.0
1009-
.....\glue -14.04448
1010-
.....\glue -12.0
1011-
.....\hbox(8.14243+1.879)x14.04448
1012+
.....\glue -30.11249
1013+
.....\glue 0.0
1014+
.....\hbox(8.14243+1.879)x30.11249, glue set 16.06801fill
10121015
......\special{color push Black}
10131016
......\glue 0.0 plus 1.0fil minus 1.0fil
10141017
......\hbox(7.97379+1.879)x4.01099
@@ -1022,7 +1025,7 @@ Completed box being shipped out [2]
10221025
.......\kern 0.0002
10231026
......\glue 0.0 plus 1.0fill
10241027
......\special{color pop}
1025-
.....\glue 12.0
1028+
.....\glue 0.0
10261029
....\penalty 0
10271030
....\TU/texgyretermes(0)/m/n/12.045 HUTSON
10281031
....\kern -0.0002
@@ -1048,14 +1051,14 @@ Completed box being shipped out [2]
10481051
....\glue 3.01125 plus 1.50562 minus 1.00374
10491052
....\TU/texgyretermes(0)/m/n/12.045 Anisotropic
10501053
....\glue 3.01125 plus 1.50562 minus 1.00374
1051-
....\TU/texgyretermes(0)/m/n/12.045 Intermolecu-
1054+
....\TU/texgyretermes(0)/m/n/12.045 Intermolecular
1055+
....\glue 3.01125 plus 1.50562 minus 1.00374
1056+
....\TU/texgyretermes(0)/m/n/12.045 Poten-
10521057
....\glue(\rightskip) 0.0
1053-
...\penalty 300
1058+
...\penalty 400
10541059
...\glue(\baselineskip) 11.22995
1055-
...\hbox(8.23878+2.6258)x366.98305, glue set 0.45615, shifted 50.13448
1056-
....\TU/texgyretermes(0)/m/n/12.045 lar
1057-
....\glue 3.01125 plus 1.50562 minus 1.00374
1058-
....\TU/texgyretermes(0)/m/n/12.045 Potential
1060+
...\hbox(8.23878+2.6258)x387.00504, glue set 11.86797fil, shifted 30.11249
1061+
....\TU/texgyretermes(0)/m/n/12.045 tial
10591062
....\glue 3.01125 plus 1.50562 minus 1.00374
10601063
....\TU/texgyretermes(0)/m/n/12.045 of
10611064
....\glue 3.01125 plus 1.50562 minus 1.00374
@@ -1106,11 +1109,8 @@ Completed box being shipped out [2]
11061109
.....\kern 0.0002
11071110
....\TU/texgyretermes(0)/m/n/12.045 :
11081111
....\kern -0.0002
1109-
....\kern 0.0
1110-
....\glue(\rightskip) 0.0
1111-
...\penalty 200
1112-
...\glue(\baselineskip) 11.31427
1113-
...\hbox(8.14243+0.16861)x366.98305, glue set 311.78102fil, shifted 50.13448
1112+
....\kern 0.0002
1113+
....\glue 2.00755
11141114
....\TU/texgyretermes(0)/m/n/12.045 4237-4247
11151115
....\kern -0.0002
11161116
....\TU/texgyretermes(0)/m/n/12.045 .
@@ -1121,7 +1121,7 @@ Completed box being shipped out [2]
11211121
....\glue(\rightskip) 0.0
11221122
...\penalty -51
11231123
...\glue 0.0 plus 0.2
1124-
...\glue -0.16861
1124+
...\glue -2.6258
11251125
...\glue 0.0 plus 1.0fil
11261126
...\glue 0.0
11271127
...\glue 0.0 plus 0.0001fil

0 commit comments

Comments
 (0)