Skip to content

Commit

Permalink
test: set pkuthss option degreetype, new in v1.9.4
Browse files Browse the repository at this point in the history
  • Loading branch information
muzimuzhi committed Mar 8, 2024
1 parent 37f7b8b commit c4cf0f3
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 2 deletions.
6 changes: 5 additions & 1 deletion ctex/test/testfiles-contrib/pkuthss.lvt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@
cmajor = {专业}, emajor = {Some Major},
direction = {方向},
cmentor = {教授}, ementor = {Prof.\ Somebody},
ckeywords = {其一,其二}, ekeywords = {First, Second}
ckeywords = {其一,其二}, ekeywords = {First, Second},
% v1.9.4 新增,控制封面上的学位类型。0:不显示,1:学术学位,2:专业学位
% 见 https://github.com/CasperVector/pkuthss/compare/v1.9.3...v1.9.4
% https://github.com/CasperVector/pkuthss/issues/87
degreetype = {1}
}

\begin{document}
Expand Down
39 changes: 38 additions & 1 deletion ctex/test/testfiles-contrib/pkuthss.tlg
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ Completed box being shipped out [1]
.....\special{color pop}
...\glue 17.07182
...\glue(\lineskip) 0.0
...\vbox(671.48488+0.0)x449.55322, glue set 93.26413fill
...\vbox(671.48488+0.0)x449.55322, glue set 65.21242fill
....\write4{\protect \BOOKMARK [0][-]{titlepage.0}{\376\377\134\001\227\142}{}% 1}
....\special{pdf:dest (titlepage.0) [@thispage /XYZ @xpos @ypos null]}
....\write-{}
Expand Down Expand Up @@ -632,6 +632,43 @@ Completed box being shipped out [1]
....\glue(\parskip) 0.0 plus 1.0
....\glue(\parskip) 0.0
....\glue(\lineskip) 1.0
....\hbox(12.79982+2.82654)x449.55322, glue set 125.84703fil
.....\glue(\leftskip) 0.0 plus 1.0fil
.....\hbox(0.0+0.0)x0.0
.....\mathon
.....\TU/XITSMath-Regular(1)/m/n/16.06 glyph#1599
.....\mathoff
.....\glue 4.015 plus 2.00749 minus 1.33833
.....\TU/FandolFang-Regular(0)/m/n/16.06 学
.....\glue 0.0 plus 1.27972
.....\TU/FandolFang-Regular(0)/m/n/16.06 术
.....\glue 0.0 plus 1.27972
.....\TU/FandolFang-Regular(0)/m/n/16.06 学
.....\glue 0.0 plus 1.27972
.....\TU/FandolFang-Regular(0)/m/n/16.06 位
.....\kern -0.00017
.....\kern 0.00017
.....\glue 32.12
.....\mathon
.....\TU/XITSMath-Regular(1)/m/n/16.06 glyph#1600
.....\mathoff
.....\glue 4.015 plus 2.00749 minus 1.33833
.....\TU/FandolFang-Regular(0)/m/n/16.06 专
.....\glue 0.0 plus 1.27972
.....\TU/FandolFang-Regular(0)/m/n/16.06 业
.....\glue 0.0 plus 1.27972
.....\TU/FandolFang-Regular(0)/m/n/16.06 学
.....\glue 0.0 plus 1.27972
.....\TU/FandolFang-Regular(0)/m/n/16.06 位
.....\kern -0.00017
.....\kern 0.00017
.....\penalty 10000
.....\glue(\parfillskip) 0.0
.....\glue(\rightskip) 0.0 plus 1.0fil
....\glue 0.0 plus 1.0fill
....\glue(\parskip) 0.0 plus 1.0
....\glue(\parskip) 0.0
....\glue(\baselineskip) 3.31639
....\hbox(13.9481+3.07146)x449.55322, glue set 159.28195fil
.....\glue(\leftskip) 0.0 plus 1.0fil
.....\hbox(0.0+0.0)x0.0
Expand Down

0 comments on commit c4cf0f3

Please sign in to comment.