Commit 7c7f35aa authored by liziwl's avatar liziwl
Browse files

为声明命令添加可选参数,使得可以合并扫描的声明文件

parent f03e2f05
Loading
Loading
Loading
Loading
+263 KiB

File added.

No diff preview for this file type.

+4 −3
Original line number Diff line number Diff line
@@ -60,9 +60,10 @@
\input{data/acknowledgements}

% 南方科技大学学位论文原创性声明和使用授权说明
% \input{data/statement} % 中文声明
% \input{data/statement_en} % 英文声明
\statementcopyright
% 本模版不会对扫描版的页码进行处理,建议定稿后打印声明页再插入编译,以免页码出错。
% 或者,使用其他 pdf 拼接软件也可达到替换声明页面的目的。
\statementcopyright % 生成未签名的声明
% \statementcopyright[scan-statement.pdf] % 插入已签名的声明文件(扫描版)

% 个人简历、在学期间完成的相关学术成果
\input{data/resume}
+13 −4
Original line number Diff line number Diff line
@@ -2447,12 +2447,21 @@ Thesis for the degree of \degree@level@en@noun \ of \thu@degree@domain@en%

  \end{statementcopr}
}
\newcommand{\statementcopyright}{
\newcommand{\statementcopyright}[1][]{
  \def\thu@@tmp{#1}%
  \ifx\thu@@tmp\@empty
    \ifthu@main@language@chinese
      \thu@statementcopyright@sustech@chinese
    \else
      \thu@statementcopyright@sustech@english
    \fi
  \else
    \includepdf[pagecommand={%
      \thu@phantomsection
      \addcontentsline{toc}{chapter}{\thu@statement@toc@name}%
      \thispagestyle{empty}%
    }]{#1}%
  \fi
}
\newcommand{\thu@authorization@frontdate}{%
\ifthu@degree@bachelor\hspace{1em}\else\hspace{2em}\fi 期:}