Skip to content

Commit afac2d4

Browse files
committed
Fixup
1 parent 40907a7 commit afac2d4

1 file changed

Lines changed: 67 additions & 63 deletions

File tree

ustcthesis.cls

Lines changed: 67 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -1467,11 +1467,11 @@
14671467
\hbox:n { }
14681468
\bool_if:NTF \l__ustc_degree_graduate_bool
14691469
{
1470-
% 封面的空白页不显示页码
14711470
\bool_if:NTF \l__ustc_title_page_bool
14721471
{
1473-
\bool_set_false:N \l__ustc_title_page_bool
1472+
% 封面的空白页不显示页码
14741473
\thispagestyle { empty }
1474+
\bool_set_false:N \l__ustc_title_page_bool
14751475
}
14761476
{ \thispagestyle { blank } }
14771477
}
@@ -1730,11 +1730,9 @@
17301730
\bool_if:NTF \l__ustc_degree_graduate_bool
17311731
{
17321732
\__ustc_title_page_graduate_zh:
1733-
\bool_set_true:N \l__ustc_title_page_bool
17341733
\__ustc_title_page_graduate_en:
17351734
}
17361735
{ \__ustc_title_page_bachelor: }
1737-
\bool_set_true:N \l__ustc_title_page_bool
17381736
}
17391737
17401738
% 中文封面:
@@ -2064,6 +2062,7 @@
20642062
\else
20652063
\newpage
20662064
\fi
2065+
\bool_set_true:N \l__ustc_title_page_bool
20672066
}
20682067
20692068
% 添加 PDF 书签,在 \pkg{hyperref} 载入后才有效。
@@ -2197,66 +2196,71 @@
21972196
21982197
\cs_new:Npn \__ustc_statement_graduate:
21992198
{
2200-
\bool_if:NTF \l__ustc_degree_graduate_bool
2199+
\begin { titlepage }
2200+
\__ustc_pdf_bookmark:n { 原创性和授权使用声明 }
2201+
\vspace * { 21 bp }
2202+
\__ustc_originality_graduate:
2203+
\skip_vertical:n { 69 bp }
2204+
\end { titlepage }
2205+
}
2206+
2207+
% 原创性声明
2208+
\cs_new:Npn \__ustc_originality_graduate:
2209+
{
2210+
\group_begin:
2211+
\centering \sffamily \fontsize { 16 bp } { 32 bp } \selectfont
2212+
中国科学技术大学学位论文原创性声明 \par
2213+
\group_end:
2214+
\skip_vertical:n { 13 bp }
2215+
\__ustc_shrinkable_text:n
2216+
{ \tl_use:N \c__ustc_statement_graduate_tl \par }
2217+
\skip_vertical:n { 37 bp }
2218+
\noindent
2219+
作者签名: \__ustc_underline:nn { 8 em } { } \hspace { 8 em }
2220+
签字日期: \__ustc_underline:nn { 8 em } { } \par
2221+
}
2222+
2223+
% 授权使用声明
2224+
\cs_new:Npn \__ustc_authorization_graduate:
2225+
{
2226+
\group_begin:
2227+
\centering \sffamily \fontsize { 16 bp } { 32 bp } \selectfont
2228+
中国科学技术大学学位论文授权使用声明 \par
2229+
\group_end:
2230+
\skip_vertical:n { 13 bp }
2231+
\__ustc_shrinkable_text:n { \tl_use:N \c__ustc_authorization_tl \par }
2232+
\skip_vertical:n { 12 bp }
2233+
\tl_if_empty:NTF \l__ustc_secret_level_tl
22012234
{
2202-
\begin { titlepage }
2203-
\__ustc_pdf_bookmark:n { 原创性和授权使用声明 }
2204-
\vspace * { 21 bp }
2205-
\group_begin:
2206-
\centering \sffamily \fontsize { 16 bp } { 32 bp } \selectfont
2207-
中国科学技术大学学位论文原创性声明 \par
2208-
\group_end:
2209-
\skip_vertical:n { 13 bp }
2210-
\__ustc_shrinkable_text:n
2211-
{ \tl_use:N \c__ustc_statement_graduate_tl \par }
2212-
\skip_vertical:n { 37 bp }
2213-
\noindent
2214-
作者签名: \__ustc_underline:nn { 8 em } { } \hspace { 8 em }
2215-
签字日期: \__ustc_underline:nn { 8 em } { } \par
2216-
\skip_vertical:n { 69 bp }
2217-
\group_begin:
2218-
\centering \sffamily \fontsize { 16 bp } { 32 bp } \selectfont
2219-
中国科学技术大学学位论文授权使用声明 \par
2220-
\group_end:
2221-
\skip_vertical:n { 13 bp }
2222-
\__ustc_shrinkable_text:n { \tl_use:N \c__ustc_authorization_tl \par }
2223-
\skip_vertical:n { 12 bp }
2224-
\tl_if_empty:NTF \l__ustc_secret_level_tl
2225-
{
2226-
\__ustc_checkbox: \hbox:n { } 公开 \quad
2227-
$\square$ \hbox:n { } 控阅
2228-
\__ustc_underline:nn { 2 em } { } 年)
2229-
}
2230-
{
2231-
$\square$ \hbox:n { } 公开 \quad
2232-
\__ustc_checkbox: \hbox:n { } 控阅(
2233-
\__ustc_underline:nn { 2 em }
2234-
{ \tl_use:N \l__ustc_secret_year_tl }
2235-
年)
2236-
}
2237-
\par
2238-
\skip_vertical:n { 29 bp }
2239-
\noindent
2240-
作者签名: \__ustc_underline:nn { 7.5 em } { }
2241-
\skip_horizontal:n { 8.5 em }
2242-
导师签名: \__ustc_underline:nn { 7.5 em } { } \par
2243-
\skip_vertical:n { 12 bp }
2244-
\noindent
2245-
签字日期: \__ustc_underline:nn { 7.5 em } { }
2246-
\skip_horizontal:n { 8.5 em }
2247-
签字日期: \__ustc_underline:nn { 7.5 em } { } \par
2248-
\bool_if:NT \l__ustc_reviewer_bool
2249-
{
2250-
\skip_vertical:n { 12 bp }
2251-
\skip_horizontal:n { - 1 em }
2252-
评审专家签名: \__ustc_underline:nn { 8 em } { }
2253-
\skip_horizontal:n { 4.5 em }
2254-
评审专家签名: \__ustc_underline:nn { 8 em } { } \par
2255-
}
2256-
\end { titlepage }
2257-
\bool_set_true:N \l__ustc_title_page_bool
2258-
\cleardoublepage
2259-
\bool_set_false:N \l__ustc_title_page_bool
2235+
\__ustc_checkbox: \hbox:n { } 公开 \quad
2236+
$\square$ \hbox:n { } 控阅
2237+
\__ustc_underline:nn { 2 em } { } 年)
2238+
}
2239+
{
2240+
$\square$ \hbox:n { } 公开 \quad
2241+
\__ustc_checkbox: \hbox:n { } 控阅(
2242+
\__ustc_underline:nn { 2 em }
2243+
{ \tl_use:N \l__ustc_secret_year_tl }
2244+
年)
2245+
}
2246+
\par
2247+
\skip_vertical:n { 29 bp }
2248+
\noindent
2249+
作者签名: \__ustc_underline:nn { 7.5 em } { }
2250+
\skip_horizontal:n { 8.5 em }
2251+
导师签名: \__ustc_underline:nn { 7.5 em } { } \par
2252+
\skip_vertical:n { 12 bp }
2253+
\noindent
2254+
签字日期: \__ustc_underline:nn { 7.5 em } { }
2255+
\skip_horizontal:n { 8.5 em }
2256+
签字日期: \__ustc_underline:nn { 7.5 em } { } \par
2257+
\bool_if:NT \l__ustc_reviewer_bool
2258+
{
2259+
\skip_vertical:n { 12 bp }
2260+
\skip_horizontal:n { - 1 em }
2261+
评审专家签名: \__ustc_underline:nn { 8 em } { }
2262+
\skip_horizontal:n { 4.5 em }
2263+
评审专家签名: \__ustc_underline:nn { 8 em } { } \par
22602264
}
22612265
}
22622266

0 commit comments

Comments
 (0)