LaTeX配置文件、bib文件、类文件
This commit is contained in:
parent
820fa81141
commit
60003e82b9
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,27 @@
|
|||
%%
|
||||
%% ---------------------------------------------------------------
|
||||
%% biblatex-gb7714-2015 --- A biblatex implementation of the
|
||||
%% GBT7714-2015 bibliography style, GBK supported file
|
||||
%% Maintained by huzhenzhen
|
||||
%% E-mail: hzzmail@163.com
|
||||
%% Released under the LaTeX Project Public License v1.3c or later
|
||||
%% ---------------------------------------------------------------
|
||||
%%
|
||||
|
||||
\def\str@bibliography{参考文献}
|
||||
\def\str@references{参考文献}
|
||||
\def\str@bytranslator{译}
|
||||
\def\str@andotherscn{等}
|
||||
\def\str@backrefpage{引用页}
|
||||
\def\str@backrefpages{引用页}
|
||||
\def\str@noaddress{出版地不详}
|
||||
\def\str@nopublisher{出版者不详}
|
||||
\def\str@edition{版}
|
||||
\def\str@volumecn{卷}
|
||||
\def\str@numbercn{册}
|
||||
\def\str@serialcn{第}
|
||||
\def\str@sameentry{同}
|
||||
\def\str@incn{见}
|
||||
\def\str@mathesiscn{硕士学位论文}
|
||||
\def\str@phdthesiscn{博士学位论文}
|
||||
\def\str@editorcn{主编}
|
||||
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,279 @@
|
|||
%%
|
||||
%% ---------------------------------------------------------------
|
||||
%% biblatex-gb7714-2015 --- A biblatex implementation of the
|
||||
%% GBT7714-2015 citation style,numerical sequence
|
||||
%% Maintained by huzhenzhen
|
||||
%% E-mail: hzzmail@163.com
|
||||
%% Released under the LaTeX Project Public License v1.3c or later
|
||||
%% ---------------------------------------------------------------
|
||||
%%
|
||||
\def\versionofgbtstyle{2019/03/28 v1.0r}
|
||||
\ProvidesFile{gb7714-2015.cbx}[\versionofgbtstyle biblatex citation style]
|
||||
|
||||
%
|
||||
% 加载标准样式
|
||||
%
|
||||
\RequireCitationStyle{numeric-comp} %numeric
|
||||
|
||||
|
||||
%
|
||||
% 选项设置
|
||||
%
|
||||
\ExecuteBibliographyOptions{
|
||||
autocite = superscript ,
|
||||
autopunct = true ,
|
||||
%sorting = none ,
|
||||
maxcitenames=1,
|
||||
mincitenames=1,
|
||||
}
|
||||
|
||||
%textcite标注命令中的标点设置
|
||||
%\DeclareDelimFormat[textcite]{andothersdelim}{\addspace}%
|
||||
|
||||
%
|
||||
% 定义一个上标方括号wrapper
|
||||
%
|
||||
\newcommand*\mkbibsuperbracket[1]{%
|
||||
\mkbibsuperscript{\mkbibbrackets{#1}}%
|
||||
}
|
||||
|
||||
% 修改postnote的输出格式
|
||||
\DeclareFieldFormat{postnote}{#1}
|
||||
|
||||
%
|
||||
% 重定义cite命令
|
||||
%
|
||||
% 方法:\DeclareCiteCommand{\cite}[\mkbibparens]{precode}{loopcode}{sepcode}{postcode}
|
||||
% v1.0p版后将cite的处理方式修改为类似pagescite,而不再使用biblatex的标准方式
|
||||
\DeclareCiteCommand{\cite}[\mkbibsuperscript]%利用mkbibsuperbracket添加方括号
|
||||
{[\usebibmacro{cite:init}%
|
||||
\usebibmacro{prenote}}
|
||||
{\usebibmacro{citeindex}%
|
||||
\usebibmacro{cite:comp}}
|
||||
{}
|
||||
{\usebibmacro{cite:dump}]%
|
||||
\printfield{postnote}}
|
||||
% v1.0p 以前用的方式
|
||||
%\DeclareCiteCommand{\cite}[\mkbibsuperbracket]%利用mkbibsuperbracket添加方括号
|
||||
% {\usebibmacro{cite:init}%
|
||||
% \usebibmacro{prenote}}
|
||||
% {\usebibmacro{citeindex}%
|
||||
% \usebibmacro{cite:comp}}
|
||||
% {}
|
||||
% {\usebibmacro{cite:dump}%
|
||||
% \usebibmacro{postnote}}
|
||||
|
||||
%
|
||||
% 定义upcite命令
|
||||
% 20180604,v1.0l,hzz
|
||||
% 20190409,v1.0r,hzz
|
||||
% 方法:对supercite增加[]
|
||||
\newrobustcmd*{\upcite}{%
|
||||
\cite}
|
||||
|
||||
%
|
||||
% 重定义parencite命令,以满足标签带页码的国标要求
|
||||
%
|
||||
\DeclareCiteCommand{\parencite}%[\mkbibbrackets]
|
||||
{[\usebibmacro{cite:init}%]
|
||||
\usebibmacro{prenote}}%
|
||||
{\usebibmacro{citeindex}%
|
||||
\usebibmacro{cite:comp}}
|
||||
{}
|
||||
{%[
|
||||
\usebibmacro{cite:dump}]%
|
||||
\mkbibsuperscript{\printfield{postnote}}}
|
||||
|
||||
%
|
||||
% 新定义pagescite命令,以满足标签带页码的国标要求
|
||||
%
|
||||
% 原理方法:
|
||||
% 1.新增页码输出宏
|
||||
\newbibmacro*{postpages}{%
|
||||
\iffieldundef{postnote}
|
||||
{\printfield[postnote]{pages}}
|
||||
{\printfield{postnote}}}
|
||||
% 2.新增\pagescite引用命令
|
||||
\DeclareCiteCommand{\pagescite}[\mkbibsuperscript]%\mkbibbrackets,仍然用上标
|
||||
{[\usebibmacro{cite:init}%]直接添加方括号
|
||||
\usebibmacro{prenote}%
|
||||
}
|
||||
{\usebibmacro{citeindex}%
|
||||
\usebibmacro{cite:comp}}
|
||||
{}
|
||||
{\usebibmacro{cite:dump}]%
|
||||
\usebibmacro{postpages}}
|
||||
|
||||
%
|
||||
% 定义yearpagescite,为与ay样式兼容,等同于\pagescite
|
||||
%
|
||||
\DeclareCiteCommand{\yearpagescite}[\mkbibsuperscript]%\mkbibbrackets,仍然用上标
|
||||
{[\usebibmacro{cite:init}%]直接添加方括号
|
||||
\usebibmacro{prenote}%
|
||||
}
|
||||
{\usebibmacro{citeindex}%
|
||||
\usebibmacro{cite:comp}}
|
||||
{}
|
||||
{\usebibmacro{cite:dump}]%
|
||||
\usebibmacro{postpages}}
|
||||
|
||||
%
|
||||
% 定义\yearcite命令,为与ay样式兼容,且提供不输出页码的标签格式,
|
||||
%
|
||||
% 原理方法:等同于\pagescite,但不要页码
|
||||
\DeclareCiteCommand{\yearcite}[\mkbibsuperscript]%\mkbibbrackets,仍然用上标
|
||||
{[\usebibmacro{cite:init}%]直接添加方括号
|
||||
\usebibmacro{prenote}%
|
||||
}
|
||||
{\usebibmacro{citeindex}%
|
||||
\usebibmacro{cite:comp}}
|
||||
{}
|
||||
{\usebibmacro{cite:dump}]}
|
||||
|
||||
%
|
||||
% 定义\authornumcite命令,输出作者信息,然后在后面带上顺序编码
|
||||
% 20180427,v1.0k,增加,hzz
|
||||
% gb7714样式新定义的命令都把cite放到最后,比如前面的pagescite,yearcite,这里的\authornumcite
|
||||
% 区别于biblatex定义的命令都把cite放到前面,比如citeauthor等。
|
||||
%见numeric.CBX
|
||||
\newbibmacro*{cite}{%
|
||||
\printtext[bibhyperref]{%
|
||||
\printfield{labelprefix}%
|
||||
\printfield{labelnumber}%
|
||||
\ifbool{bbx:subentry}
|
||||
{\printfield{entrysetcount}}
|
||||
{}}}
|
||||
%见numeric.CBX,\DeclareCiteCommand{\cite},
|
||||
\DeclareCiteCommand{\authornumcite}%[\mkbibsuperscript]
|
||||
{\usebibmacro{prenote}}
|
||||
{\iffieldequalstr{userf}{cn}{\renewcommand*{\andothersdelim}{\addthinspace}}%\addthinspace
|
||||
{\renewcommand*{\andothersdelim}{\addspace}}%
|
||||
\printnames{labelname}\mkbibsuperscript{\mkbibbrackets{\usebibmacro{citeindex}%
|
||||
\usebibmacro{cite}}}}
|
||||
{\multicitedelim}
|
||||
{\mkbibsuperscript{\printfield{postnote}}}
|
||||
|
||||
|
||||
%
|
||||
% 增加如下多个命令
|
||||
% 20190409,v1.0r,hzz
|
||||
% 方法:利用newcommand或newrobustcmd命令进行定义
|
||||
% 注意\citet和\citep命令之所以不用newrobustcmd,是为避免加载natbib模块后产生冲突
|
||||
\DeclareCiteCommand{\citet}%
|
||||
{\usebibmacro{prenote}}
|
||||
{\iffieldequalstr{userf}{cn}{\renewcommand*{\andothersdelim}{\addthinspace}}%\addthinspace
|
||||
{\renewcommand*{\andothersdelim}{\addspace}}%
|
||||
\printnames{labelname}\mkbibsuperscript{\mkbibbrackets{\usebibmacro{citeindex}%
|
||||
\usebibmacro{cite}}}}
|
||||
{\multicitedelim}
|
||||
{\mkbibsuperscript{\printfield{postnote}}}
|
||||
|
||||
|
||||
\DeclareCiteCommand{\citep}[\mkbibsuperscript]%利用mkbibsuperbracket添加方括号
|
||||
{[\usebibmacro{cite:init}%
|
||||
\usebibmacro{prenote}}
|
||||
{\usebibmacro{citeindex}%
|
||||
\usebibmacro{cite:comp}}
|
||||
{}
|
||||
{\usebibmacro{cite:dump}]%
|
||||
\printfield{postnote}}
|
||||
|
||||
\newrobustcmd*{\citetns}%
|
||||
{\textcite}
|
||||
|
||||
\newrobustcmd*{\citepns}%
|
||||
{\parencite}
|
||||
|
||||
\newrobustcmd*{\inlinecite}%
|
||||
{\parencite}
|
||||
|
||||
%
|
||||
% 增加如下复数的命令,以符合biblatex的复数命令习惯
|
||||
% 20190430,v1.0r,hzz
|
||||
% citec和citecs命令是实现了[1]-[3]这样的压缩形式。
|
||||
% authornumcites是常用命令authornumcite的复数形式
|
||||
\DeclareFieldFormat{labelbracket}{\mkbibbrackets{#1}}
|
||||
|
||||
\newbibmacro*{citec:comp:comp}{%
|
||||
\ifboolexpr{
|
||||
( test {\iffieldundef{labelprefix}} and test {\ifundef\cbx@lastprefix} )
|
||||
or
|
||||
test {\iffieldequals{labelprefix}{\cbx@lastprefix}}
|
||||
}
|
||||
{\ifnumequal{\thefield{labelnumber}}{\value{cbx@tempcntb}}
|
||||
{\savefield{entrykey}{\cbx@lastkey}%
|
||||
\savefield{labelnumber}{\cbx@lastnumber}%
|
||||
\addtocounter{cbx@tempcnta}{1}}
|
||||
{\ifnumequal{\thefield{labelnumber}}{\value{cbx@tempcntb}-1}
|
||||
{}
|
||||
{\usebibmacro{citec:dump}%
|
||||
\ifnumgreater{\value{cbx@tempcntb}}{-1}
|
||||
{\multicitedelim}
|
||||
{}%
|
||||
\printtext[bibhyperref]{%
|
||||
\printfield{labelprefix}%
|
||||
\printtext[labelbracket]{\printfield{labelnumber}}}}}}
|
||||
{\usebibmacro{cite:comp:end}}%
|
||||
\setcounter{cbx@tempcntb}{\thefield{labelnumber}}%
|
||||
\savefield{labelprefix}{\cbx@lastprefix}}
|
||||
|
||||
\newbibmacro*{citec:comp}{%
|
||||
\addtocounter{cbx@tempcntb}{1}%
|
||||
\iffieldundef{shorthand}
|
||||
{\ifbool{bbx:subentry}
|
||||
{\iffieldundef{entrysetcount}
|
||||
{\usebibmacro{citec:comp:comp}}
|
||||
{\usebibmacro{cite:comp:inset}}}
|
||||
{\usebibmacro{citec:comp:comp}}}
|
||||
{\usebibmacro{cite:comp:shand}}}
|
||||
|
||||
\newbibmacro*{citec:dump}{%
|
||||
\ifnumgreater{\value{cbx@tempcnta}}{0}
|
||||
{\ifnumgreater{\value{cbx@tempcnta}}{1}
|
||||
{\bibrangedash}
|
||||
{\multicitedelim}%
|
||||
\bibhyperref[\cbx@lastkey]{%
|
||||
\ifdef\cbx@lastprefix
|
||||
{\printtext[labelprefix]{\cbx@lastprefix}}
|
||||
{}%
|
||||
\printtext[labelbracket]{\cbx@lastnumber}}}%labelnumber
|
||||
{}%
|
||||
\setcounter{cbx@tempcnta}{0}%
|
||||
\global\undef\cbx@lastprefix}
|
||||
|
||||
%\DeclareCiteCommand{\citec}[\mkbibsuperscript]%[\mkbibbrackets]
|
||||
% {\usebibmacro{cite:init}%
|
||||
% \usebibmacro{prenote}}
|
||||
% {\usebibmacro{citeindex}%
|
||||
% \usebibmacro{citec:comp}}
|
||||
% {}
|
||||
% {\usebibmacro{citec:dump}%
|
||||
% \usebibmacro{postnote}}
|
||||
|
||||
%上面这个用于非压缩情况,这里考虑了压缩的情况
|
||||
\DeclareCiteCommand{\citec}[\mkbibsuperscript]%
|
||||
{\ifnumless{\value{multicitecount}}{2}
|
||||
{\usebibmacro{cite:init}%
|
||||
\usebibmacro{prenote}}
|
||||
{\iffieldundef{prenote}
|
||||
{\iffieldundef{postnote}
|
||||
{}
|
||||
{\usebibmacro{citec:dump}%
|
||||
\usebibmacro{cite:init}%
|
||||
\setunit{\multicitedelim}}}
|
||||
{\usebibmacro{citec:dump}%
|
||||
\usebibmacro{cite:init}%
|
||||
\setunit{\multicitedelim}%
|
||||
\usebibmacro{prenote}}}}
|
||||
{\usebibmacro{citeindex}%
|
||||
\usebibmacro{citec:comp}}
|
||||
{}
|
||||
{\ifboolexpr{ test {\ifnumequal{\value{multicitecount}}{\value{multicitetotal}}}
|
||||
or not test {\iffieldundef{postnote}}}
|
||||
{\usebibmacro{citec:dump}%
|
||||
\usebibmacro{postnote}}
|
||||
{}}
|
||||
|
||||
\DeclareMultiCiteCommand{\citecs}[\mkbibsuperscript]{\citec}{}
|
||||
|
||||
\DeclareMultiCiteCommand{\authornumcites}[]{\authornumcite}{\multicitedelim}
|
||||
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,271 @@
|
|||
%%
|
||||
%% ---------------------------------------------------------------
|
||||
%% biblatex-gb7714-2015 --- A biblatex implementation of the
|
||||
%% GBT7714-2015 citation style,author year sequence
|
||||
%% Maintained by huzhenzhen
|
||||
%% E-mail: hzzmail@163.com
|
||||
%% Released under the LaTeX Project Public License v1.3c or later
|
||||
%% ---------------------------------------------------------------
|
||||
%%
|
||||
\def\versionofgbtstyle{2019/03/28 v1.0r}
|
||||
\ProvidesFile{gb7714-2015ay.cbx}[\versionofgbtstyle biblatex citation style]
|
||||
|
||||
%
|
||||
% 加载标准样式
|
||||
%
|
||||
\RequireCitationStyle{authoryear-comp}
|
||||
|
||||
\ExecuteBibliographyOptions{
|
||||
%autocite = superscript ,
|
||||
%autopunct = true ,
|
||||
%sorting = none ,
|
||||
maxcitenames=1,
|
||||
mincitenames=1,
|
||||
uniquename=init,%因为使用了名字缩写选项,所以需要设置uniquename=init而不是full避免冲突
|
||||
uniquelist=minyear
|
||||
}
|
||||
|
||||
%
|
||||
% 选项设置,针对3.7以下版本
|
||||
%
|
||||
% 原理方法:labeldate用于控制是否给引用标签提供日期的成分
|
||||
\defversion{3.4}{cbxopt}{
|
||||
\ExecuteBibliographyOptions{
|
||||
labeldate=true
|
||||
}
|
||||
}
|
||||
|
||||
%
|
||||
% 选项设置,针对3.7以上版本
|
||||
%
|
||||
% 原理方法:labeldateparts用于控制是否给引用标签提供日期的成分
|
||||
\defversion{3.7}{cbxopt}{
|
||||
\ExecuteBibliographyOptions{
|
||||
labeldateparts=true
|
||||
}
|
||||
}
|
||||
|
||||
\ifboolexpr{%选择选项设置
|
||||
test {\iftoggle{iftlfive}}%biblatex<=3.2
|
||||
or
|
||||
test {\iftoggle{iftlsix}}%3.3<=biblatex<=3.6
|
||||
}{\switchversion{3.4}{cbxopt}}{\switchversion{3.7}{cbxopt}}%else: biblatex>=3.7
|
||||
|
||||
|
||||
\ifboolexpr{%兼容cite:labelyear+extrayear
|
||||
test {\iftoggle{iftlfive}}%biblatex<=3.2
|
||||
or
|
||||
test {\iftoggle{iftlsix}}%3.3<=biblatex<=3.6
|
||||
or
|
||||
test {\iftoggle{iftlseven}}%3.7=biblatex
|
||||
}{\newbibmacro{cite:labeldate+extradate}{\usebibmacro{cite:labelyear+extrayear}}}{}%else: biblatex>3.7
|
||||
|
||||
%textcite标注命令中的标点设置,注意只针对textcite命令。
|
||||
\DeclareDelimFormat[textcite]{nameyeardelim}{}%\addcomma\space
|
||||
\DeclareDelimFormat[textcite]{andothersdelim}{\iffieldequalstr{userf}{chinese}{\addthinspace}{\addspace}}%
|
||||
\AtEveryCitekey{%
|
||||
\iffieldequalstr{userf}{chinese}{\renewcommand*{\andothersdelim}{\addthinspace}}%\addthinspace
|
||||
{\renewcommand*{\andothersdelim}{\addspace}}%
|
||||
}
|
||||
|
||||
|
||||
%
|
||||
% 重定义cite:label,针对biblatex3.8以上版本set条目集的标注(引用)标签
|
||||
%
|
||||
% 原理方法:当条目是set时,v3.8以上版本,都没有有用的信息(区别于3.7以下版本set复制第一个成员的信息),
|
||||
% 于是利用entrykey来给出标签,那么就要set的条目关键字是需要的字符串,注意字符串中间不能有空格
|
||||
\renewbibmacro*{cite:label}{%
|
||||
\iffieldundef{label}%
|
||||
{\iffieldundef{labeltitle}{\printtext[bibhyperref]{\printfield{entrykey}}}%entrykey
|
||||
{\printtext[bibhyperref]{\printfield[citetitle]{labeltitle}}}}%
|
||||
{\printtext[bibhyperref]{\printfield{label}}}}
|
||||
|
||||
%
|
||||
% 重定义cite命令
|
||||
%
|
||||
% 方法:\DeclareCiteCommand{\cite}[\mkbibparens]{precode}{loopcode}{sepcode}{postcode}
|
||||
% v1.0p版后将cite的处理方式修改为类似pagescite,而不再使用biblatex的标准方式
|
||||
\DeclareCiteCommand{\cite}
|
||||
{\usebibmacro{cite:init}%
|
||||
\renewbibmacro*{postnote}{%
|
||||
\iffieldundef{postnote}%
|
||||
{}%
|
||||
{\thefield{postnote}}}%
|
||||
(\usebibmacro{prenote}}%)
|
||||
{\usebibmacro{citeindex}%
|
||||
\usebibmacro{cite}}
|
||||
{}
|
||||
{%(
|
||||
)\mkbibsuperscript{\usebibmacro{postnote}}%\usebibmacro{postnote}
|
||||
}
|
||||
|
||||
%
|
||||
% 定义upcite命令
|
||||
% 20180604,v1.0l,hzz
|
||||
% 20190409,v1.0r,hzz
|
||||
% 方法:与cite命令相同
|
||||
\newrobustcmd*{\upcite}{%
|
||||
\cite}
|
||||
|
||||
%
|
||||
% 重定义parencite命令
|
||||
%
|
||||
%\DeclareCiteCommand{\parencite}
|
||||
% {\usebibmacro{cite:init}%
|
||||
% \renewbibmacro*{postnote}{%
|
||||
% \iffieldundef{postnote}%
|
||||
% {}%
|
||||
% {\nopunct%
|
||||
% \printfield{postnote}}}%
|
||||
% (\usebibmacro{prenote}}%)
|
||||
% {\usebibmacro{citeindex}%
|
||||
% \usebibmacro{cite}}
|
||||
% {}
|
||||
% {%(
|
||||
% )\mkbibsuperscript{\usebibmacro{postnote}}}
|
||||
|
||||
|
||||
%
|
||||
% 新定义pagescite命令,以满足标签带页码的国标要求
|
||||
%
|
||||
% 原理方法:
|
||||
% 新增\pagescite引用命令
|
||||
\DeclareCiteCommand{\pagescite}
|
||||
{\usebibmacro{cite:init}%
|
||||
\renewbibmacro*{postnote}{%
|
||||
\iffieldundef{postnote}%
|
||||
{\thefield{pages}}%
|
||||
{\thefield{postnote}}}%
|
||||
(\usebibmacro{prenote}%)
|
||||
}%
|
||||
{\usebibmacro{citeindex}%
|
||||
\usebibmacro{cite}}
|
||||
{}
|
||||
{%(
|
||||
)\mkbibsuperscript{\usebibmacro{postnote}}}
|
||||
|
||||
%
|
||||
% 定义yearpagescite,用于当文中作者已经存在,需要页码和年份的情况
|
||||
%
|
||||
% 原理:增加一个命令yearpagescite
|
||||
% 参考biblatex.DEF中的\DeclareCiteCommand*{\citeyear}命令
|
||||
\DeclareCiteCommand{\yearpagescite}
|
||||
{\usebibmacro{cite:init}%
|
||||
\renewbibmacro*{postnote}{%
|
||||
\iffieldundef{postnote}%
|
||||
{\thefield{pages}}%
|
||||
{\thefield{postnote}}}%
|
||||
\printtext{(}\usebibmacro{prenote}}%
|
||||
{\usebibmacro{cite:labeldate+extradate}}%\printfield{year}\printfield{extrayear}
|
||||
{\multicitedelim}%
|
||||
{\printtext{)}\textsuperscript{\usebibmacro{postnote}}}
|
||||
|
||||
%
|
||||
% 定义yearcite,用于当文中作者已经存在,仅需要年份的情况
|
||||
%
|
||||
% 原理:增加一个命令yearcite
|
||||
\DeclareCiteCommand{\yearcite}%仅输出年份,不要页码
|
||||
{\usebibmacro{cite:init}%
|
||||
\printtext{(}\usebibmacro{prenote}}%
|
||||
{\usebibmacro{cite:labeldate+extradate}}%\printfield{year}\printfield{extrayear}
|
||||
{\multicitedelim}%
|
||||
{\printtext{)}}
|
||||
|
||||
%
|
||||
% 定义\authornumcite命令,输出作者信息,然后在后面带上顺序编码
|
||||
% 20180427,v1.0k,增加,hzz
|
||||
% 20190409,v1.0r,hzz
|
||||
% 为与顺序编码制兼容,增加了命令,定义与citet相同
|
||||
\newbibmacro*{citet}{%
|
||||
\iffieldundef{shorthand}
|
||||
{\ifthenelse{\ifnameundef{labelname}\OR\iffieldundef{labelyear}}
|
||||
{\usebibmacro{cite:label}%
|
||||
\setunit{\printdelim{nonameyeardelim}}%
|
||||
\usebibmacro{cite:labeldate+extradate}%
|
||||
\usebibmacro{cite:reinit}}
|
||||
{\iffieldequals{namehash}{\cbx@lasthash}
|
||||
{\ifthenelse{\iffieldequals{labelyear}{\cbx@lastyear}\AND
|
||||
\(\value{multicitecount}=0\OR\iffieldundef{postnote}\)}
|
||||
{\setunit{\addcomma}%
|
||||
\usebibmacro{cite:extradate}}
|
||||
{\setunit{\compcitedelim}%
|
||||
\usebibmacro{cite:labeldate+extradate}%
|
||||
\savefield{labelyear}{\cbx@lastyear}}}
|
||||
{\printnames{labelname}%
|
||||
%\setunit{\printdelim{nameyeardelim}}%
|
||||
(\usebibmacro{cite:labeldate+extradate})%
|
||||
\savefield{namehash}{\cbx@lasthash}%
|
||||
\savefield{labelyear}{\cbx@lastyear}}}}
|
||||
{\usebibmacro{cite:shorthand}%
|
||||
\usebibmacro{cite:reinit}}%
|
||||
\setunit{\multicitedelim}}
|
||||
|
||||
\DeclareCiteCommand{\authornumcite}%
|
||||
{\usebibmacro{cite:init}%
|
||||
\renewbibmacro*{postnote}{%
|
||||
\iffieldundef{postnote}%
|
||||
{}%
|
||||
{\thefield{postnote}}}%
|
||||
\usebibmacro{prenote}}%
|
||||
{\usebibmacro{citeindex}%
|
||||
\usebibmacro{citet}}
|
||||
{}
|
||||
{\mkbibsuperscript{\usebibmacro{postnote}}%\usebibmacro{postnote}
|
||||
}
|
||||
|
||||
%
|
||||
% 增加如下多个命令
|
||||
% 20190409,v1.0r,hzz
|
||||
% 方法:利用newcommand或newrobustcmd命令进行定义
|
||||
% 注意\citet和\citep命令之所以不用newrobustcmd,是为避免加载natbib模块后产生冲突
|
||||
|
||||
%同\authornumcite
|
||||
\DeclareCiteCommand{\citet}%
|
||||
{\usebibmacro{cite:init}%
|
||||
\renewbibmacro*{postnote}{%
|
||||
\iffieldundef{postnote}%
|
||||
{}%
|
||||
{\thefield{postnote}}}%
|
||||
\usebibmacro{prenote}}%
|
||||
{\usebibmacro{citeindex}%
|
||||
\usebibmacro{citet}}
|
||||
{}
|
||||
{\mkbibsuperscript{\usebibmacro{postnote}}%\usebibmacro{postnote}
|
||||
}
|
||||
|
||||
%同cite
|
||||
\DeclareCiteCommand{\citep}
|
||||
{\usebibmacro{cite:init}%
|
||||
\renewbibmacro*{postnote}{%
|
||||
\iffieldundef{postnote}%
|
||||
{}%
|
||||
{\thefield{postnote}}}%
|
||||
(\usebibmacro{prenote}}%)
|
||||
{\usebibmacro{citeindex}%
|
||||
\usebibmacro{cite}}
|
||||
{}
|
||||
{%(
|
||||
)\mkbibsuperscript{\usebibmacro{postnote}}%\usebibmacro{postnote}
|
||||
}
|
||||
|
||||
\newrobustcmd*{\citetns}%
|
||||
{\textcite}
|
||||
|
||||
\newrobustcmd*{\citepns}%
|
||||
{\parencite}
|
||||
|
||||
\newrobustcmd*{\inlinecite}%
|
||||
{\parencite}
|
||||
|
||||
|
||||
%
|
||||
% 增加如下复数的命令,以符合biblatex的复数命令习惯
|
||||
% 20190430,v1.0r,hzz
|
||||
% citec和citecs命令是为了兼容顺序编码制。
|
||||
% authornumcites是常用命令authornumcite的复数形式
|
||||
\newrobustcmd*{\citec}%
|
||||
{\cite}
|
||||
|
||||
\DeclareMultiCiteCommand{\citecs}[]{\cite}{\multicitedelim}
|
||||
|
||||
\DeclareMultiCiteCommand{\authornumcites}[]{\authornumcite}{\multicitedelim}
|
||||
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,190 @@
|
|||
%%
|
||||
%% ---------------------------------------------------------------
|
||||
%% biblatex-gb7714-2015 --- A biblatex implementation of the
|
||||
%% GBT7714-2015 citation style,numerical sequence
|
||||
%% Maintained by huzhenzhen
|
||||
%% E-mail: hzzmail@163.com
|
||||
%% Released under the LaTeX Project Public License v1.3c or later
|
||||
%% ---------------------------------------------------------------
|
||||
%%
|
||||
\def\versionofgbtstyle{2019/03/28 v1.0r}
|
||||
\ProvidesFile{gb7714-2015ms.cbx}[\versionofgbtstyle biblatex citation style]
|
||||
|
||||
%
|
||||
% 加载标准样式
|
||||
%
|
||||
\RequireCitationStyle{numeric-comp} %numeric
|
||||
|
||||
|
||||
%
|
||||
% 选项设置
|
||||
%
|
||||
\ExecuteBibliographyOptions{
|
||||
autocite = superscript ,
|
||||
autopunct = true ,
|
||||
%sorting = none ,
|
||||
maxcitenames=1,
|
||||
mincitenames=1,
|
||||
}
|
||||
|
||||
%textcite标注命令中的标点设置
|
||||
%\DeclareDelimFormat[textcite]{andothersdelim}{\addspace}%
|
||||
|
||||
%
|
||||
% 定义一个上标方括号wrapper
|
||||
%
|
||||
\newcommand*\mkbibsuperbracket[1]{%
|
||||
\mkbibsuperscript{\mkbibbrackets{#1}}%
|
||||
}
|
||||
|
||||
% 修改postnote的输出格式
|
||||
\DeclareFieldFormat{postnote}{#1}
|
||||
|
||||
%
|
||||
% 重定义cite命令
|
||||
%
|
||||
% 方法:\DeclareCiteCommand{\cite}[\mkbibparens]{precode}{loopcode}{sepcode}{postcode}
|
||||
% v1.0p版后将cite的处理方式修改为类似pagescite,而不再使用biblatex的标准方式
|
||||
\DeclareCiteCommand{\cite}[\mkbibsuperscript]%利用mkbibsuperbracket添加方括号
|
||||
{[\usebibmacro{cite:init}%
|
||||
\usebibmacro{prenote}}
|
||||
{\usebibmacro{citeindex}%
|
||||
\usebibmacro{cite:comp}}
|
||||
{}
|
||||
{\usebibmacro{cite:dump}]%
|
||||
\printfield{postnote}}
|
||||
% v1.0p 以前用的方式
|
||||
%\DeclareCiteCommand{\cite}[\mkbibsuperbracket]%利用mkbibsuperbracket添加方括号
|
||||
% {\usebibmacro{cite:init}%
|
||||
% \usebibmacro{prenote}}
|
||||
% {\usebibmacro{citeindex}%
|
||||
% \usebibmacro{cite:comp}}
|
||||
% {}
|
||||
% {\usebibmacro{cite:dump}%
|
||||
% \usebibmacro{postnote}}
|
||||
|
||||
%
|
||||
% 定义upcite命令
|
||||
% 20180604,v1.0l,hzz
|
||||
% 20190409,v1.0r,hzz
|
||||
% 方法:对supercite增加[]
|
||||
\newrobustcmd*{\upcite}{%
|
||||
\cite}
|
||||
|
||||
%
|
||||
% 重定义parencite命令,以满足标签带页码的国标要求
|
||||
%
|
||||
\DeclareCiteCommand{\parencite}%[\mkbibbrackets]
|
||||
{[\usebibmacro{cite:init}%]
|
||||
\usebibmacro{prenote}}%
|
||||
{\usebibmacro{citeindex}%
|
||||
\usebibmacro{cite:comp}}
|
||||
{}
|
||||
{%[
|
||||
\usebibmacro{cite:dump}]%
|
||||
\mkbibsuperscript{\printfield{postnote}}}
|
||||
|
||||
%
|
||||
% 新定义pagescite命令,以满足标签带页码的国标要求
|
||||
%
|
||||
% 原理方法:
|
||||
% 1.新增页码输出宏
|
||||
\newbibmacro*{postpages}{%
|
||||
\iffieldundef{postnote}
|
||||
{\printfield[postnote]{pages}}
|
||||
{\printfield{postnote}}}
|
||||
% 2.新增\pagescite引用命令
|
||||
\DeclareCiteCommand{\pagescite}[\mkbibsuperscript]%\mkbibbrackets,仍然用上标
|
||||
{[\usebibmacro{cite:init}%]直接添加方括号
|
||||
\usebibmacro{prenote}%
|
||||
}
|
||||
{\usebibmacro{citeindex}%
|
||||
\usebibmacro{cite:comp}}
|
||||
{}
|
||||
{\usebibmacro{cite:dump}]%
|
||||
\usebibmacro{postpages}}
|
||||
|
||||
%
|
||||
% 定义yearpagescite,为与ay样式兼容,等同于\pagescite
|
||||
%
|
||||
\DeclareCiteCommand{\yearpagescite}[\mkbibsuperscript]%\mkbibbrackets,仍然用上标
|
||||
{[\usebibmacro{cite:init}%]直接添加方括号
|
||||
\usebibmacro{prenote}%
|
||||
}
|
||||
{\usebibmacro{citeindex}%
|
||||
\usebibmacro{cite:comp}}
|
||||
{}
|
||||
{\usebibmacro{cite:dump}]%
|
||||
\usebibmacro{postpages}}
|
||||
|
||||
|
||||
|
||||
%
|
||||
% 定义\yearcite命令,为与ay样式兼容,且提供不输出页码的标签格式,
|
||||
%
|
||||
% 原理方法:等同于\pagescite,但不要页码
|
||||
\DeclareCiteCommand{\yearcite}[\mkbibsuperscript]%\mkbibbrackets,仍然用上标
|
||||
{[\usebibmacro{cite:init}%]直接添加方括号
|
||||
\usebibmacro{prenote}%
|
||||
}
|
||||
{\usebibmacro{citeindex}%
|
||||
\usebibmacro{cite:comp}}
|
||||
{}
|
||||
{\usebibmacro{cite:dump}]}
|
||||
|
||||
%
|
||||
% 定义\authornumcite命令,输出作者信息,然后在后面带上顺序编码
|
||||
% 20180427,v1.0k,增加,hzz
|
||||
% gb7714样式新定义的命令都把cite放到最后,比如前面的pagescite,yearcite,这里的\authornumcite
|
||||
% 区别于biblatex定义的命令都把cite放到前面,比如citeauthor等。
|
||||
%见numeric.CBX
|
||||
\newbibmacro*{cite}{%
|
||||
\printtext[bibhyperref]{%
|
||||
\printfield{labelprefix}%
|
||||
\printfield{labelnumber}%
|
||||
\ifbool{bbx:subentry}
|
||||
{\printfield{entrysetcount}}
|
||||
{}}}
|
||||
%见numeric.CBX,\DeclareCiteCommand{\cite},
|
||||
\DeclareCiteCommand{\authornumcite}%[\mkbibsuperscript]
|
||||
{\usebibmacro{prenote}}
|
||||
{\iffieldequalstr{userf}{cn}{\renewcommand*{\andothersdelim}{\addthinspace}}%\addthinspace
|
||||
{\renewcommand*{\andothersdelim}{\addspace}}%
|
||||
\printnames{labelname}\mkbibsuperscript{\mkbibbrackets{\usebibmacro{citeindex}%
|
||||
\usebibmacro{cite}}}}
|
||||
{\multicitedelim}
|
||||
{\mkbibsuperscript{\printfield{postnote}}}
|
||||
|
||||
|
||||
%
|
||||
% 增加如下多个命令
|
||||
% 20190409,v1.0r,hzz
|
||||
% 方法:利用newcommand或newrobustcmd命令进行定义
|
||||
% 注意\citet和\citep命令之所以不用newrobustcmd,是为避免加载natbib模块后产生冲突
|
||||
\DeclareCiteCommand{\citet}%
|
||||
{\usebibmacro{prenote}}
|
||||
{\iffieldequalstr{userf}{cn}{\renewcommand*{\andothersdelim}{\addthinspace}}%\addthinspace
|
||||
{\renewcommand*{\andothersdelim}{\addspace}}%
|
||||
\printnames{labelname}\mkbibsuperscript{\mkbibbrackets{\usebibmacro{citeindex}%
|
||||
\usebibmacro{cite}}}}
|
||||
{\multicitedelim}
|
||||
{\mkbibsuperscript{\printfield{postnote}}}
|
||||
|
||||
|
||||
\DeclareCiteCommand{\citep}[\mkbibsuperscript]%利用mkbibsuperbracket添加方括号
|
||||
{[\usebibmacro{cite:init}%
|
||||
\usebibmacro{prenote}}
|
||||
{\usebibmacro{citeindex}%
|
||||
\usebibmacro{cite:comp}}
|
||||
{}
|
||||
{\usebibmacro{cite:dump}]%
|
||||
\printfield{postnote}}
|
||||
|
||||
\newrobustcmd*{\citetns}%
|
||||
{\textcite}
|
||||
|
||||
\newrobustcmd*{\citepns}%
|
||||
{\parencite}
|
||||
|
||||
\newrobustcmd*{\inlinecite}%
|
||||
{\parencite}
|
||||
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,466 @@
|
|||
%%
|
||||
%% ---------------------------------------------------------------
|
||||
%% biblatex-gb7714-2015 --- A biblatex implementation of the
|
||||
%% GBT7714-2015 citation style,numerical sequence
|
||||
%% Maintained by huzhenzhen
|
||||
%% E-mail: hzzmail@163.com
|
||||
%% Released under the LaTeX Project Public License v1.3c or later
|
||||
%% ---------------------------------------------------------------
|
||||
%%
|
||||
\def\versionofgbtstyle{2019/03/28 v1.0r}
|
||||
\ProvidesFile{gb7714-2015mx.cbx}[\versionofgbtstyle biblatex citation style]
|
||||
|
||||
%
|
||||
% 加载标准样式
|
||||
%
|
||||
\RequireCitationStyle{numeric-comp} %numeric
|
||||
|
||||
|
||||
%
|
||||
% 选项设置
|
||||
%
|
||||
\ExecuteBibliographyOptions{
|
||||
%autocite = superscript ,
|
||||
%autopunct = true ,
|
||||
%sorting = none ,
|
||||
maxcitenames=1,
|
||||
mincitenames=1,
|
||||
uniquename=init,%因为使用了名字缩写选项,所以需要设置uniquename=init而不是full避免冲突
|
||||
uniquelist=minyear,
|
||||
labeldateparts,
|
||||
sortcites,
|
||||
}
|
||||
|
||||
|
||||
|
||||
%
|
||||
% 定义一个上标方括号wrapper
|
||||
%
|
||||
\newcommand*\mkbibsuperbracket[1]{%
|
||||
\mkbibsuperscript{\mkbibbrackets{#1}}%
|
||||
}
|
||||
|
||||
% 修改postnote的输出格式
|
||||
\DeclareFieldFormat{postnote}{#1}
|
||||
|
||||
%
|
||||
% 重定义cite命令
|
||||
%
|
||||
% 方法:\DeclareCiteCommand{\cite}[\mkbibparens]{precode}{loopcode}{sepcode}{postcode}
|
||||
% v1.0p版后将cite的处理方式修改为类似pagescite,而不再使用biblatex的标准方式
|
||||
\DeclareCiteCommand{\cite}[\mkbibsuperscript]%利用mkbibsuperbracket添加方括号
|
||||
{[\usebibmacro{cite:init}%
|
||||
\usebibmacro{prenote}}
|
||||
{\usebibmacro{citeindex}%
|
||||
\usebibmacro{cite:comp}}
|
||||
{}
|
||||
{\usebibmacro{cite:dump}]%
|
||||
\printfield{postnote}}
|
||||
% v1.0p 以前用的方式
|
||||
%\DeclareCiteCommand{\cite}[\mkbibsuperbracket]%利用mkbibsuperbracket添加方括号
|
||||
% {\usebibmacro{cite:init}%
|
||||
% \usebibmacro{prenote}}
|
||||
% {\usebibmacro{citeindex}%
|
||||
% \usebibmacro{cite:comp}}
|
||||
% {}
|
||||
% {\usebibmacro{cite:dump}%
|
||||
% \usebibmacro{postnote}}
|
||||
|
||||
%
|
||||
% 定义upcite命令
|
||||
% 20180604,v1.0l,hzz
|
||||
% 20190409,v1.0r,hzz
|
||||
% 方法:对supercite增加[]
|
||||
\newrobustcmd*{\upcite}{%
|
||||
\cite}
|
||||
|
||||
%
|
||||
% 重定义parencite命令,以满足标签带页码的国标要求
|
||||
%
|
||||
\DeclareCiteCommand{\parencite}%[\mkbibbrackets]
|
||||
{[\usebibmacro{cite:init}%]
|
||||
\usebibmacro{prenote}}%
|
||||
{\usebibmacro{citeindex}%
|
||||
\usebibmacro{cite:comp}}
|
||||
{}
|
||||
{%[
|
||||
\usebibmacro{cite:dump}]%
|
||||
\mkbibsuperscript{\printfield{postnote}}}
|
||||
|
||||
%
|
||||
% 新定义pagescite命令,以满足标签带页码的国标要求
|
||||
%
|
||||
% 原理方法:
|
||||
% 1.新增页码输出宏
|
||||
\newbibmacro*{postpages}{%
|
||||
\iffieldundef{postnote}
|
||||
{\printfield[postnote]{pages}}
|
||||
{\printfield{postnote}}}
|
||||
% 2.新增\pagescite引用命令
|
||||
\DeclareCiteCommand{\pagescite}[\mkbibsuperscript]%\mkbibbrackets,仍然用上标
|
||||
{[\usebibmacro{cite:init}%]直接添加方括号
|
||||
\usebibmacro{prenote}%
|
||||
}
|
||||
{\usebibmacro{citeindex}%
|
||||
\usebibmacro{cite:comp}}
|
||||
{}
|
||||
{\usebibmacro{cite:dump}]%
|
||||
\usebibmacro{postpages}}
|
||||
|
||||
%
|
||||
% 定义yearpagescite,为与ay样式兼容,等同于\pagescite
|
||||
%
|
||||
\DeclareCiteCommand{\yearpagescite}[\mkbibsuperscript]%\mkbibbrackets,仍然用上标
|
||||
{[\usebibmacro{cite:init}%]直接添加方括号
|
||||
\usebibmacro{prenote}%
|
||||
}
|
||||
{\usebibmacro{citeindex}%
|
||||
\usebibmacro{cite:comp}}
|
||||
{}
|
||||
{\usebibmacro{cite:dump}]%
|
||||
\usebibmacro{postpages}}
|
||||
|
||||
%
|
||||
% 定义\yearcite命令,为与ay样式兼容,且提供不输出页码的标签格式,
|
||||
%
|
||||
% 原理方法:等同于\pagescite,但不要页码
|
||||
\DeclareCiteCommand{\yearcite}[\mkbibsuperscript]%\mkbibbrackets,仍然用上标
|
||||
{[\usebibmacro{cite:init}%]直接添加方括号
|
||||
\usebibmacro{prenote}%
|
||||
}
|
||||
{\usebibmacro{citeindex}%
|
||||
\usebibmacro{cite:comp}}
|
||||
{}
|
||||
{\usebibmacro{cite:dump}]}
|
||||
|
||||
%
|
||||
% 定义\authornumcite命令,输出作者信息,然后在后面带上顺序编码
|
||||
% 20180427,v1.0k,增加,hzz
|
||||
% gb7714样式新定义的命令都把cite放到最后,比如前面的pagescite,yearcite,这里的\authornumcite
|
||||
% 区别于biblatex定义的命令都把cite放到前面,比如citeauthor等。
|
||||
%见numeric.CBX
|
||||
\newbibmacro*{cite}{%
|
||||
\printtext[bibhyperref]{%
|
||||
\printfield{labelprefix}%
|
||||
\printfield{labelnumber}%
|
||||
\ifbool{bbx:subentry}
|
||||
{\printfield{entrysetcount}}
|
||||
{}}}
|
||||
%见numeric.CBX,\DeclareCiteCommand{\cite},
|
||||
\DeclareCiteCommand{\authornumcite}%[\mkbibsuperscript]
|
||||
{\usebibmacro{prenote}}
|
||||
{\iffieldequalstr{userf}{cn}{\renewcommand*{\andothersdelim}{\addthinspace}}%\addthinspace
|
||||
{\renewcommand*{\andothersdelim}{\addspace}}%
|
||||
\printnames{labelname}\mkbibsuperscript{\mkbibbrackets{\usebibmacro{citeindex}%
|
||||
\usebibmacro{cite}}}}
|
||||
{\multicitedelim}
|
||||
{\mkbibsuperscript{\printfield{postnote}}}
|
||||
|
||||
|
||||
%
|
||||
% 增加如下多个命令
|
||||
% 20190409,v1.0r,hzz
|
||||
% 方法:利用newcommand或newrobustcmd命令进行定义
|
||||
% 注意\citet和\citep命令之所以不用newrobustcmd,是为避免加载natbib模块后产生冲突
|
||||
\DeclareCiteCommand{\citet}%
|
||||
{\usebibmacro{prenote}}
|
||||
{\iffieldequalstr{userf}{cn}{\renewcommand*{\andothersdelim}{\addthinspace}}%\addthinspace
|
||||
{\renewcommand*{\andothersdelim}{\addspace}}%
|
||||
\printnames{labelname}\mkbibsuperscript{\mkbibbrackets{\usebibmacro{citeindex}%
|
||||
\usebibmacro{cite}}}}
|
||||
{\multicitedelim}
|
||||
{\mkbibsuperscript{\printfield{postnote}}}
|
||||
|
||||
|
||||
\DeclareCiteCommand{\citep}[\mkbibsuperscript]%利用mkbibsuperbracket添加方括号
|
||||
{[\usebibmacro{cite:init}%
|
||||
\usebibmacro{prenote}}
|
||||
{\usebibmacro{citeindex}%
|
||||
\usebibmacro{cite:comp}}
|
||||
{}
|
||||
{\usebibmacro{cite:dump}]%
|
||||
\printfield{postnote}}
|
||||
|
||||
\newrobustcmd*{\citetns}%
|
||||
{\textcite}
|
||||
|
||||
\newrobustcmd*{\citepns}%
|
||||
{\parencite}
|
||||
|
||||
\newrobustcmd*{\inlinecite}%
|
||||
{\parencite}
|
||||
|
||||
|
||||
%textcite标注命令中的标点设置
|
||||
%\DeclareDelimFormat[textcite]{andothersdelim}{\addspace}%
|
||||
|
||||
%textcite标注命令中的标点设置,注意只针对textcite命令。
|
||||
\DeclareDelimFormat[textcite]{nameyeardelim}{}%\addcomma\space
|
||||
\DeclareDelimFormat[textcite]{andothersdelim}{\iffieldequalstr{userf}{chinese}{\addthinspace}{\addspace}}%
|
||||
\AtEveryCitekey{%
|
||||
\iffieldequalstr{userf}{chinese}{\renewcommand*{\andothersdelim}{\addthinspace}}%\addthinspace
|
||||
{\renewcommand*{\andothersdelim}{\addspace}}%
|
||||
}
|
||||
|
||||
%
|
||||
%
|
||||
%
|
||||
\apptocmd{\refsection}{
|
||||
|
||||
%\edef\gb@refsecnum{\number\c@refsection}
|
||||
\edef\gb@refsecnum{\number\c@refsection}%
|
||||
\ifcsundef{gb@aystyle@section\gb@refsecnum}%
|
||||
{}%
|
||||
{
|
||||
|
||||
\renewcommand*{\iffinalcitedelim}{%
|
||||
\ifnumequal{\value{textcitecount}}{\value{textcitetotal}-1}}
|
||||
|
||||
\newbibmacro*{cite:init}{%
|
||||
\ifnumless{\value{multicitecount}}{2}
|
||||
{\global\boolfalse{cbx:parens}%
|
||||
\global\undef\cbx@lasthash
|
||||
\global\undef\cbx@lastyear}
|
||||
{\iffieldundef{prenote}
|
||||
{}
|
||||
{\global\undef\cbx@lasthash
|
||||
\global\undef\cbx@lastyear}}}
|
||||
|
||||
\newbibmacro*{cite:reinit}{%
|
||||
\global\undef\cbx@lasthash
|
||||
\global\undef\cbx@lastyear}
|
||||
|
||||
\newbibmacro*{cite}{%
|
||||
\iffieldundef{shorthand}
|
||||
{\ifthenelse{\ifnameundef{labelname}\OR\iffieldundef{labelyear}}
|
||||
{\usebibmacro{cite:label}%
|
||||
\setunit{\printdelim{nonameyeardelim}}%
|
||||
\usebibmacro{cite:labeldate+extradate}%
|
||||
\usebibmacro{cite:reinit}}
|
||||
{\iffieldequals{namehash}{\cbx@lasthash}
|
||||
{\ifthenelse{\iffieldequals{labelyear}{\cbx@lastyear}\AND
|
||||
\(\value{multicitecount}=0\OR\iffieldundef{postnote}\)}
|
||||
{\setunit{\addcomma}%
|
||||
\usebibmacro{cite:extradate}}
|
||||
{\setunit{\compcitedelim}%
|
||||
\usebibmacro{cite:labeldate+extradate}%
|
||||
\savefield{labelyear}{\cbx@lastyear}}}
|
||||
{\printnames{labelname}%
|
||||
\setunit{\printdelim{nameyeardelim}}%
|
||||
\usebibmacro{cite:labeldate+extradate}%
|
||||
\savefield{namehash}{\cbx@lasthash}%
|
||||
\savefield{labelyear}{\cbx@lastyear}}}}
|
||||
{\usebibmacro{cite:shorthand}%
|
||||
\usebibmacro{cite:reinit}}%
|
||||
\setunit{\multicitedelim}}
|
||||
|
||||
\newbibmacro*{citeyear}{%
|
||||
\iffieldundef{shorthand}
|
||||
{\iffieldundef{labelyear}
|
||||
{\usebibmacro{cite:label}%
|
||||
\usebibmacro{cite:reinit}}
|
||||
{\iffieldequals{namehash}{\cbx@lasthash}
|
||||
{\ifthenelse{\iffieldequals{labelyear}{\cbx@lastyear}\AND
|
||||
\(\value{multicitecount}=0\OR\iffieldundef{postnote}\)}
|
||||
{\setunit{\addcomma}%
|
||||
\usebibmacro{cite:extradate}}
|
||||
{\setunit{\compcitedelim}%
|
||||
\usebibmacro{cite:labeldate+extradate}%
|
||||
\savefield{labelyear}{\cbx@lastyear}}}
|
||||
{\usebibmacro{cite:labeldate+extradate}%
|
||||
\savefield{namehash}{\cbx@lasthash}%
|
||||
\savefield{labelyear}{\cbx@lastyear}}}}
|
||||
{\usebibmacro{cite:shorthand}%
|
||||
\usebibmacro{cite:reinit}}%
|
||||
\setunit{\multicitedelim}}
|
||||
|
||||
\newbibmacro*{textcite}{%
|
||||
\iffieldequals{namehash}{\cbx@lasthash}
|
||||
{\iffieldundef{shorthand}
|
||||
{\ifthenelse{\iffieldequals{labelyear}{\cbx@lastyear}\AND
|
||||
\(\value{multicitecount}=0\OR\iffieldundef{postnote}\)}
|
||||
{\setunit{\addcomma}%
|
||||
\usebibmacro{cite:extradate}}
|
||||
{\setunit{\compcitedelim}%
|
||||
\usebibmacro{cite:labeldate+extradate}%
|
||||
\savefield{labelyear}{\cbx@lastyear}}}
|
||||
{\setunit{\compcitedelim}%
|
||||
\usebibmacro{cite:shorthand}%
|
||||
\global\undef\cbx@lastyear}}
|
||||
{\ifnameundef{labelname}
|
||||
{\iffieldundef{shorthand}
|
||||
{\usebibmacro{cite:label}%
|
||||
\setunit{%
|
||||
\global\booltrue{cbx:parens}%
|
||||
\printdelim{nonameyeardelim}\bibopenparen}%
|
||||
\ifnumequal{\value{citecount}}{1}
|
||||
{\usebibmacro{prenote}}
|
||||
{}%
|
||||
\usebibmacro{cite:labeldate+extradate}}
|
||||
{\usebibmacro{cite:shorthand}}}
|
||||
{\printnames{labelname}%
|
||||
\setunit{%
|
||||
\global\booltrue{cbx:parens}%
|
||||
\printdelim{nameyeardelim}\bibopenparen}%
|
||||
\ifnumequal{\value{citecount}}{1}
|
||||
{\usebibmacro{prenote}}
|
||||
{}%
|
||||
\iffieldundef{shorthand}
|
||||
{\iffieldundef{labelyear}
|
||||
{\usebibmacro{cite:label}}
|
||||
{\usebibmacro{cite:labeldate+extradate}}%
|
||||
\savefield{labelyear}{\cbx@lastyear}}
|
||||
{\usebibmacro{cite:shorthand}%
|
||||
\global\undef\cbx@lastyear}}%
|
||||
\stepcounter{textcitecount}%
|
||||
\savefield{namehash}{\cbx@lasthash}}%
|
||||
\setunit{%
|
||||
\ifbool{cbx:parens}
|
||||
{\bibcloseparen\global\boolfalse{cbx:parens}}
|
||||
{}%
|
||||
\textcitedelim}}
|
||||
|
||||
\newbibmacro*{cite:shorthand}{%
|
||||
\printtext[bibhyperref]{\printfield{shorthand}}}
|
||||
|
||||
%
|
||||
% 重定义cite:label,针对biblatex3.8以上版本set条目集的标注(引用)标签
|
||||
%
|
||||
% 原理方法:当条目是set时,v3.8以上版本,都没有有用的信息(区别于3.7以下版本set复制第一个成员的信息),
|
||||
% 于是利用entrykey来给出标签,那么就要set的条目关键字是需要的字符串,注意字符串中间不能有空格
|
||||
\renewbibmacro*{cite:label}{%
|
||||
\iffieldundef{label}%
|
||||
{\iffieldundef{labeltitle}{\printtext[bibhyperref]{\printfield{entrykey}}}%entrykey
|
||||
{\printtext[bibhyperref]{\printfield[citetitle]{labeltitle}}}}%
|
||||
{\printtext[bibhyperref]{\printfield{label}}}}
|
||||
|
||||
\newbibmacro*{cite:labeldate+extradate}{%
|
||||
\iffieldundef{labelyear}
|
||||
{}
|
||||
{\printtext[bibhyperref]{\printlabeldateextra}}}
|
||||
|
||||
\newbibmacro*{cite:extradate}{%
|
||||
\iffieldundef{extradate}
|
||||
{}
|
||||
{\printtext[bibhyperref]{\printfield{extradate}}}}
|
||||
|
||||
|
||||
|
||||
%
|
||||
% 重定义cite:label,针对biblatex3.8以上版本set条目集的标注(引用)标签
|
||||
%
|
||||
% 原理方法:当条目是set时,v3.8以上版本,都没有有用的信息(区别于3.7以下版本set复制第一个成员的信息),
|
||||
% 于是利用entrykey来给出标签,那么就要set的条目关键字是需要的字符串,注意字符串中间不能有空格
|
||||
\renewbibmacro*{cite:label}{%
|
||||
\iffieldundef{label}%
|
||||
{\iffieldundef{labeltitle}{\printtext[bibhyperref]{\printfield{entrykey}}}%entrykey
|
||||
{\printtext[bibhyperref]{\printfield[citetitle]{labeltitle}}}}%
|
||||
{\printtext[bibhyperref]{\printfield{label}}}}
|
||||
|
||||
%
|
||||
% 重定义cite命令
|
||||
%
|
||||
% 方法:\DeclareCiteCommand{\cite}[\mkbibparens]{precode}{loopcode}{sepcode}{postcode}
|
||||
% v1.0p版后将cite的处理方式修改为类似pagescite,而不再使用biblatex的标准方式
|
||||
\DeclareCiteCommand{\cite}
|
||||
{\usebibmacro{cite:init}%
|
||||
\renewbibmacro*{postnote}{%
|
||||
\iffieldundef{postnote}%
|
||||
{}%
|
||||
{\thefield{postnote}}}%
|
||||
(\usebibmacro{prenote}}%)
|
||||
{\usebibmacro{citeindex}%
|
||||
\usebibmacro{cite}}
|
||||
{}
|
||||
{%(
|
||||
)\mkbibsuperscript{\usebibmacro{postnote}}%\usebibmacro{postnote}
|
||||
}
|
||||
|
||||
\DeclareCiteCommand{\parencite}[\mkbibparens]
|
||||
{\usebibmacro{cite:init}%
|
||||
\usebibmacro{prenote}}
|
||||
{\usebibmacro{citeindex}%
|
||||
\usebibmacro{cite}}
|
||||
{}
|
||||
{\usebibmacro{postnote}}
|
||||
|
||||
%
|
||||
% 定义\authornumcite命令,输出作者信息,然后在后面带上顺序编码
|
||||
% 20180427,v1.0k,增加,hzz
|
||||
% 20190409,v1.0r,hzz
|
||||
% 为与顺序编码制兼容,增加了命令,定义与citet相同
|
||||
\newbibmacro*{citet}{%
|
||||
\iffieldundef{shorthand}
|
||||
{\ifthenelse{\ifnameundef{labelname}\OR\iffieldundef{labelyear}}
|
||||
{\usebibmacro{cite:label}%
|
||||
\setunit{\printdelim{nonameyeardelim}}%
|
||||
\usebibmacro{cite:labeldate+extradate}%
|
||||
\usebibmacro{cite:reinit}}
|
||||
{\iffieldequals{namehash}{\cbx@lasthash}
|
||||
{\ifthenelse{\iffieldequals{labelyear}{\cbx@lastyear}\AND
|
||||
\(\value{multicitecount}=0\OR\iffieldundef{postnote}\)}
|
||||
{\setunit{\addcomma}%
|
||||
\usebibmacro{cite:extradate}}
|
||||
{\setunit{\compcitedelim}%
|
||||
\usebibmacro{cite:labeldate+extradate}%
|
||||
\savefield{labelyear}{\cbx@lastyear}}}
|
||||
{\printnames{labelname}%
|
||||
%\setunit{\printdelim{nameyeardelim}}%
|
||||
(\usebibmacro{cite:labeldate+extradate})%
|
||||
\savefield{namehash}{\cbx@lasthash}%
|
||||
\savefield{labelyear}{\cbx@lastyear}}}}
|
||||
{\usebibmacro{cite:shorthand}%
|
||||
\usebibmacro{cite:reinit}}%
|
||||
\setunit{\multicitedelim}}
|
||||
|
||||
\DeclareCiteCommand{\authornumcite}%
|
||||
{\usebibmacro{cite:init}%
|
||||
\renewbibmacro*{postnote}{%
|
||||
\iffieldundef{postnote}%
|
||||
{}%
|
||||
{\thefield{postnote}}}%
|
||||
\usebibmacro{prenote}}%
|
||||
{\usebibmacro{citeindex}%
|
||||
\usebibmacro{citet}}
|
||||
{}
|
||||
{\mkbibsuperscript{\usebibmacro{postnote}}%\usebibmacro{postnote}
|
||||
}
|
||||
|
||||
%
|
||||
% 增加如下多个命令
|
||||
% 20190409,v1.0r,hzz
|
||||
% 方法:利用newcommand或newrobustcmd命令进行定义
|
||||
% 注意\citet和\citep命令之所以不用newrobustcmd,是为避免加载natbib模块后产生冲突
|
||||
|
||||
%同\authornumcite
|
||||
\DeclareCiteCommand{\citet}%
|
||||
{\usebibmacro{cite:init}%
|
||||
\renewbibmacro*{postnote}{%
|
||||
\iffieldundef{postnote}%
|
||||
{}%
|
||||
{\thefield{postnote}}}%
|
||||
\usebibmacro{prenote}}%
|
||||
{\usebibmacro{citeindex}%
|
||||
\usebibmacro{citet}}
|
||||
{}
|
||||
{\mkbibsuperscript{\usebibmacro{postnote}}%\usebibmacro{postnote}
|
||||
}
|
||||
|
||||
%同cite
|
||||
\DeclareCiteCommand{\citep}
|
||||
{\usebibmacro{cite:init}%
|
||||
\renewbibmacro*{postnote}{%
|
||||
\iffieldundef{postnote}%
|
||||
{}%
|
||||
{\thefield{postnote}}}%
|
||||
(\usebibmacro{prenote}}%)
|
||||
{\usebibmacro{citeindex}%
|
||||
\usebibmacro{cite}}
|
||||
{}
|
||||
{%(
|
||||
)\mkbibsuperscript{\usebibmacro{postnote}}%\usebibmacro{postnote}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}{}{}
|
||||
|
|
@ -0,0 +1,701 @@
|
|||
|
||||
%% This is file `seuthesix.cls',
|
||||
%% This file provides a LaTeX document class for typesetting thesis of Southeast University, Nanjing, China.
|
||||
%% Copyright (c) 2007--2012 Xu Yuan, email: xuyuan.cn@gmail.com
|
||||
%% Copyright (c) 2016 James Fan, email: zhimengfan1990@163.com
|
||||
%% License: GNU General Public License, version 3
|
||||
%% This file is part of ``seuthesix'' package.
|
||||
%% ``seuthesix'' is free software: you can redistribute it and/or modify
|
||||
%% it under the terms of the GNU General Public License as published by
|
||||
%% the Free Software Foundation, either version 3 of the License, or
|
||||
%% (at your option) any later version.
|
||||
%% ``seuthesix'' is distributed in the hope that it will be useful,
|
||||
%% but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
%% GNU General Public License for more details.
|
||||
%%
|
||||
%% You should have received a copy of the GNU General Public License
|
||||
%% along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
|
||||
\ProvidesClass{seuthesiY}[2019/06/23 1.0.2 The LaTeX template for academic degree thesis of Southeast University]
|
||||
\typeout{Document Class `seuthesix' 1.0.1 by James Fan (2016/03/20), \\
|
||||
Document Class `seuthesiY' 1.0.2 by Deans Yu (2019/06/23)}
|
||||
|
||||
\newif\ifnocolorlinks\nocolorlinksfalse
|
||||
\newif\ifcoadvisor\coadvisorfalse
|
||||
\newif\ifengineering\engineeringfalse
|
||||
\newif\ifmasters\masterstrue
|
||||
\newif\ifphd\phdfalse
|
||||
\newif\ifalgorithmlist\algorithmlistfalse
|
||||
\newif\iffigurelist\figurelistfalse
|
||||
\newif\iftablelist\tablelistfalse
|
||||
\newif\ifnomlist\nomlistfalse
|
||||
\InputIfFileExists{seuthesix.cfg}
|
||||
{\typeout{[seuthesix]: Load seuthesix.cfg successfully!}}%
|
||||
{\typeout{[seuthesix]: Load seuthesix.cfg failed!}}%
|
||||
\DeclareOption{nocolorlinks}{\nocolorlinkstrue}
|
||||
\DeclareOption{algorithmlist}{\algorithmlisttrue}
|
||||
\DeclareOption{phd}{\phdtrue\mastersfalse\engineeringfalse\renewcommand\@degreelevel{博士}}
|
||||
\DeclareOption{masters}{\masterstrue\engineeringfalse\phdfalse\renewcommand\@degreelevel{硕士}}
|
||||
\DeclareOption{engineering}{%
|
||||
\engineeringtrue\masterstrue\phdfalse\renewcommand\@degreelevel{工程硕士}}
|
||||
\DeclareOption{figurelist}{\figurelisttrue}
|
||||
\DeclareOption{tablelist}{\tablelisttrue}
|
||||
\DeclareOption{nomlist}{\nomlisttrue}
|
||||
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{ctexrep}}
|
||||
\ProcessOptions
|
||||
\LoadClass[twoside,a4paper,zihao=-4,UTF8,openright]{ctexrep}
|
||||
\RequirePackage[titles]{tocloft}
|
||||
\renewcommand{\cftchapleader}{\bfseries\cftdotfill{\cftdotsep}}
|
||||
\newcommand{\chuhao}{\fontsize{42bp}{46bp}\selectfont}
|
||||
\newcommand{\xiaochuhao}{\fontsize{36bp}{40bp}\selectfont}
|
||||
\newcommand{\yichu}{\fontsize{32bp}{36bp}\selectfont}
|
||||
\newcommand{\yihao}{\fontsize{28bp}{32bp}\selectfont}
|
||||
\newcommand{\erhao}{\fontsize{21bp}{24bp}\selectfont}
|
||||
\newcommand{\xiaoerhao}{\fontsize{18bp}{20bp}\selectfont}
|
||||
\newcommand{\sanhao}{\fontsize{15.75bp}{18bp}\selectfont}
|
||||
\newcommand{\sihao}{\fontsize{14bp}{16bp}\selectfont}
|
||||
\newcommand{\xiaosihao}{\fontsize{12bp}{14bp}\selectfont}
|
||||
\newcommand{\wuhao}{\fontsize{10.5bp}{13bp}\selectfont}
|
||||
\newcommand{\xiaowuhao}{\fontsize{9bp}{11bp}\selectfont}
|
||||
\newcommand{\liuhao}{\fontsize{7.5bp}{9bp}\selectfont}
|
||||
\newcommand{\xiaoliuhao}{\fontsize{6.5bp}{7.5bp}\selectfont}
|
||||
\newcommand{\qihao}{\fontsize{5.5bp}{6.5bp}\selectfont}
|
||||
\setCJKmainfont{SimSun}
|
||||
\ctexset{%
|
||||
chapter/format=\centering,
|
||||
chapter/nameformat=\large\heiti,
|
||||
chapter/numberformat=\large\heiti,
|
||||
chapter/titleformat=\large\heiti,
|
||||
chapter/beforeskip=0pt,
|
||||
section/format=\raggedright,
|
||||
section/nameformat={\large\bfseries},
|
||||
section/numberformat={\large\bfseries},
|
||||
section/titleformat={\sihao\bfseries},
|
||||
subsection/format=\sihao\mdseries\raggedright,
|
||||
subsubsection/format=\sihao\mdseries\raggedright,
|
||||
listfigurename={插图目录},
|
||||
listtablename={表格目录}
|
||||
}
|
||||
\RequirePackage[font=small]{caption}
|
||||
%\RequirePackage{mathptmx}
|
||||
\setmainfont[Mapping=tex-text]{Times New Roman}
|
||||
\RequirePackage{amsmath}
|
||||
\RequirePackage{amssymb}
|
||||
\RequirePackage{amsthm}
|
||||
\numberwithin{equation}{chapter}
|
||||
\newcommand{\dif}{\mathrm{d}}
|
||||
\DeclareMathOperator*{\argmin}{argmin}
|
||||
\DeclareMathOperator*{\argmax}{argmax}
|
||||
\DeclareMathOperator{\diag}{diag}
|
||||
\DeclareMathOperator{\rank}{rank}
|
||||
\DeclareMathOperator{\sinc}{sinc}
|
||||
\DeclareMathOperator{\unwrap}{unwrap}
|
||||
\def\me{\mathrm{e}}
|
||||
\RequirePackage[mathscr]{eucal}
|
||||
\RequirePackage{eufrak}
|
||||
\RequirePackage{bm}
|
||||
\RequirePackage{graphicx}
|
||||
\graphicspath{{figures/}{./}}
|
||||
\RequirePackage{nomencl}
|
||||
\makenomenclature
|
||||
\newcommand{\setnomname}[1]{\renewcommand\nomname{#1}}
|
||||
\renewcommand{\nomname}{术语与数学符号约定}
|
||||
\RequirePackage{algorithm}
|
||||
\RequirePackage{algorithmic}
|
||||
\numberwithin{algorithm}{chapter}
|
||||
\floatname{algorithm}{算法}
|
||||
\renewcommand{\listalgorithmname}{算法目录}
|
||||
% \RequirePackage[super,square]{natbib}
|
||||
%================================================
|
||||
\RequirePackage[backend=biber,bibstyle=config/gb7714-2015,citestyle=config/gb7714-2015,gbfieldtype=true,url=false,gbpunctin=false,
|
||||
gbpub=false,gbnamefmt=lowercase,gbbiblabel=dot,]{biblatex}
|
||||
%================================================
|
||||
\newcommand\citen[1]{[\!\!\citenum{#1}]}
|
||||
\RequirePackage{hyperref}
|
||||
\ifnocolorlinks
|
||||
\hypersetup{colorlinks=false}
|
||||
\else
|
||||
\hypersetup{colorlinks=true}
|
||||
\fi
|
||||
\hypersetup{
|
||||
linkcolor=blue,
|
||||
anchorcolor=black,
|
||||
citecolor=red,
|
||||
filecolor=magenta,
|
||||
menucolor=red,
|
||||
urlcolor=magenta
|
||||
}
|
||||
\AtEndDocument{\backcover}
|
||||
\newcommand{\backcover}{
|
||||
\clearpage\thispagestyle{empty}\cleardoublepage\mbox{ }
|
||||
\clearpage\thispagestyle{empty} %backcover always at even page.
|
||||
\begin{picture}(0,0)
|
||||
\put(-1,-22){ %
|
||||
\includegraphics[width=\textwidth]{figures/back-cover.png}}
|
||||
\end{picture}
|
||||
}
|
||||
|
||||
\RequirePackage[top=1.2in,bottom=1in,left=2.5cm,right=2.5cm,a4paper]{geometry}
|
||||
\RequirePackage{fancyhdr}
|
||||
\fancypagestyle{seustyle}{%
|
||||
\fancyhf{}
|
||||
\fancyhead[CO]{\xiaowuhao\universityname{}\@thesistype}
|
||||
\fancyhead[CE]{ \xiaowuhao\leftmark}
|
||||
\fancyfoot[CO,CE]{\thepage}
|
||||
}
|
||||
\pagestyle{seustyle}
|
||||
|
||||
\fancypagestyle{nom}{%
|
||||
\fancyhf{}
|
||||
\fancyhead[CO]{\xiaowuhao\universityname{}\@thesistype}
|
||||
\fancyhead[CE]{ \xiaowuhao\nomname}
|
||||
\fancyfoot[CO,CE]{\thepage}
|
||||
}
|
||||
|
||||
\renewcommand{\headrulewidth}{0.4pt}
|
||||
\RequirePackage{eso-pic}
|
||||
\renewcommand{\author}[2]{
|
||||
\def\@author{#1}
|
||||
\newcommand{\@authoreng}{#2}
|
||||
}
|
||||
\newcommand{\@titleeng}{}
|
||||
\newcommand{\@subtitleeng}{}
|
||||
\renewcommand{\title}[4]{
|
||||
\def\@title{#1}
|
||||
\newcommand{\@subtitle}{#2}
|
||||
\renewcommand{\@titleeng}{#3}
|
||||
\renewcommand{\@subtitleeng}{#4}
|
||||
}
|
||||
\newcommand{\@advisorname}{}
|
||||
\newcommand{\@advisortitle}{}
|
||||
\newcommand{\@advisornameeng}{}
|
||||
\newcommand{\@advisortitleeng}{}
|
||||
\newcommand{\advisor}[4]{
|
||||
\renewcommand{\@advisorname}{#1}
|
||||
\renewcommand{\@advisortitle}{#2}
|
||||
\renewcommand{\@advisornameeng}{#3}
|
||||
\renewcommand{\@advisortitleeng}{#4}
|
||||
}
|
||||
\newcommand{\@coadvisorname}{}
|
||||
\newcommand{\@coadvisortitle}{}
|
||||
\newcommand{\@coadvisornameeng}{}
|
||||
\newcommand{\@coadvisortitleeng}{}
|
||||
\newcommand{\coadvisor}[4]{
|
||||
\coadvisortrue
|
||||
\renewcommand{\@coadvisorname}{#1}
|
||||
\renewcommand{\@coadvisortitle}{#2}
|
||||
\renewcommand{\@coadvisornameeng}{#3}
|
||||
\renewcommand{\@coadvisortitleeng}{#4}
|
||||
}
|
||||
\newcommand{\@categorynumber}{}
|
||||
\newcommand{\categorynumber}[1]{\renewcommand{\@categorynumber}{#1}}
|
||||
\newcommand{\@secretlevel}{}
|
||||
\newcommand{\secretlevel}[1]{\renewcommand{\@secretlevel}{#1}}
|
||||
\newcommand{\@UDC}{}
|
||||
\newcommand{\UDC}[1]{\renewcommand{\@UDC}{#1}}
|
||||
\newcommand{\@studentid}{}
|
||||
\newcommand{\studentid}[1]{\renewcommand{\@studentid}{#1}}
|
||||
\newcommand\degreetype[2]{\renewcommand\@degreetype{#1}%
|
||||
\renewcommand\@degreetypeen{#2}}
|
||||
\newcommand{\@majorlen}{8em}
|
||||
\newcommand{\@major}{}
|
||||
\newcommand{\major}[2][8em]{
|
||||
\renewcommand{\@majorlen}{#1}
|
||||
\renewcommand{\@major}{#2}
|
||||
}
|
||||
\newcommand{\@department}{}
|
||||
\newcommand{\@departmenteng}{}
|
||||
\newcommand{\department}[2]{
|
||||
\renewcommand{\@department}{#1}
|
||||
\renewcommand{\@departmenteng}{#2}
|
||||
}
|
||||
\newcommand{\@submajor}{}
|
||||
\newcommand{\submajor}[1]{
|
||||
\renewcommand{\@submajor}{#1}
|
||||
}
|
||||
\newcommand{\@defenddate}{}
|
||||
\newcommand{\defenddate}[1]{\renewcommand{\@defenddate}{#1}}
|
||||
\newcommand{\authorizeorganization}[1]{
|
||||
\renewcommand{\@authorizeorganization}{#1}
|
||||
}
|
||||
|
||||
\newcommand{\@authorizedate}{}
|
||||
\newcommand{\authorizedate}[1]{\renewcommand{\@authorizedate}{#1}}
|
||||
\newcommand{\@committeechair}{}
|
||||
\newcommand{\committeechair}[1]{\renewcommand{\@committeechair}{#1}}
|
||||
\newcommand{\@reviewerA}{}
|
||||
\newcommand{\@reviewerB}{}
|
||||
\newcommand{\reviewer}[2]{
|
||||
\renewcommand{\@reviewerA}{#1}
|
||||
\renewcommand{\@reviewerB}{#2}
|
||||
}
|
||||
\newcommand{\CoverTopOption}[3][s]{
|
||||
\makebox[1.5cm][#1]{\xiaowuhao #2}:{
|
||||
\underline{\makebox[1.5cm][c]{\xiaowuhao #3}}}
|
||||
}
|
||||
\newcommand{\CoverBottomOption}[3][4.5cm]{
|
||||
\makebox[7cm][s]{
|
||||
{\songti\xiaosihao#2}
|
||||
\underline{\makebox[#1][c]{\heiti\xiaosihao#3}}
|
||||
}
|
||||
}
|
||||
\newif\ifthanks\thanksfalse
|
||||
\newcommand\@seuthesisthanks{ }
|
||||
\newcommand\seuthesisthanks[1]{\renewcommand\@seuthesisthanks{#1}\thankstrue}
|
||||
\newcommand\@thesisthanks{\ifthanks\thispagestyle{thanksstyle}\fi}
|
||||
\fancypagestyle{thanksstyle}{%
|
||||
\fancyhf{}
|
||||
\fancyfoot[L]{\setlength{\baselineskip}{0pt}%
|
||||
\rule[-2.5pt]{6cm}{.4pt}\\ \small\@seuthesisthanks}
|
||||
\renewcommand\headrulewidth{0pt}
|
||||
}
|
||||
\newcommand\makebigcover{%generating a3 front cover
|
||||
\pdfpagewidth=420mm
|
||||
\pdfpageheight=297mm
|
||||
\setlength{\paperheight}{297mm}
|
||||
\setlength{\paperwidth}{420mm}
|
||||
\thispagestyle{empty}
|
||||
\setlength{\unitlength}{1cm}
|
||||
\noindent
|
||||
\begin{picture}(0,0)
|
||||
\setlength{\unitlength}{1cm}\put(19.5,-8){%
|
||||
\includegraphics[width=19cm]{figures/front-cover.jpg}}%
|
||||
\end{picture}
|
||||
\begin{picture}(0,0)
|
||||
\put(19.5,0){
|
||||
\renewcommand{\arraystretch}{1.0}
|
||||
\begin{tabular}{l}
|
||||
\CoverTopOption{\schoolcodepre}{\schoolcode} \\
|
||||
\CoverTopOption{\categorynumberpre}{\@categorynumber} \\
|
||||
\CoverTopOption{\secretlevelpre}{\@secretlevel}\\
|
||||
\CoverTopOption{U D C}{\@UDC} \\
|
||||
\CoverTopOption{\studentidpre}{\@studentid}
|
||||
\end{tabular}
|
||||
}
|
||||
\end{picture}
|
||||
\ifengineering
|
||||
\begin{picture}(0,0)
|
||||
\put(23.2,-7.5){ %
|
||||
\includegraphics[scale=0.65]{figures/engineering.png}}
|
||||
\end{picture}
|
||||
\else \ifmasters
|
||||
\begin{picture}(0,0)
|
||||
\put(24.5,-7.5){ %
|
||||
\includegraphics[scale=1.1]{figures/master-hwzs.pdf}}
|
||||
\end{picture}
|
||||
\else \ifphd
|
||||
\begin{picture}(0,0)
|
||||
\put(24.5,-7.5){ %
|
||||
\includegraphics[scale=1.1]{figures/doctor-hwzs.pdf}}
|
||||
\end{picture}
|
||||
\else
|
||||
\ClassError{seuthesix}{invalid degree type option.}%
|
||||
{Check your class option of degree type to be one of the following:%
|
||||
masters, engineering, phd.}
|
||||
\fi
|
||||
\fi
|
||||
\fi
|
||||
\begin{picture}(0,0)
|
||||
\put(35,0){ %
|
||||
\includegraphics[width=2cm]{figures/seu-color-logo.png}}
|
||||
\end{picture}
|
||||
\begin{picture}(0,0)
|
||||
\put(-1,-22){ %
|
||||
\includegraphics[width=\textwidth]{figures/back-cover.png}}
|
||||
\end{picture}
|
||||
\begin{picture}(0,0)
|
||||
\put(18,-11){%
|
||||
\parbox[c]{\ccwd}{%
|
||||
\bfseries%
|
||||
\setlength{\baselineskip}{0pt}
|
||||
\@title\\
|
||||
\rule{0pt}{\ccwd}\\
|
||||
\@subtitle\\
|
||||
\vspace*{2cm}
|
||||
\@author\\
|
||||
\vspace*{2cm}
|
||||
\universityname
|
||||
}
|
||||
}
|
||||
\end{picture}
|
||||
|
||||
\vspace*{8cm}
|
||||
|
||||
\hspace*{20.5cm}
|
||||
\begin{minipage}{16cm}
|
||||
\begin{center}
|
||||
\linespread{1.25}
|
||||
\yihao\heiti\@title\\
|
||||
\yihao\heiti\@subtitle
|
||||
\end{center}
|
||||
\end{minipage}
|
||||
|
||||
\hspace*{20.5cm}
|
||||
\begin{minipage}{16cm}
|
||||
\begin{center}
|
||||
\setlength{\tabcolsep}{0pt}
|
||||
\renewcommand{\arraystretch}{2.0}
|
||||
\begin{tabular}{cr}
|
||||
\makebox[3.5cm][s]{\xiaoerhao\songti\authorpre: } &
|
||||
\underline{\makebox[6cm][s]{
|
||||
\hspace*{1cm}
|
||||
\makebox[2.5cm][c]{\xiaoerhao\heiti\@author}
|
||||
\makebox[2cm][r]{}}} \\
|
||||
\makebox[3.5cm][s]{\xiaoerhao\songti\advisorpre: } &
|
||||
\underline{\makebox[6cm][s]{
|
||||
\hspace*{1cm}
|
||||
\makebox[2.5cm][c]{\xiaoerhao\heiti\@advisorname}
|
||||
\makebox[2cm][r]{\xiaoerhao\heiti\@advisortitle}}}
|
||||
\\
|
||||
&
|
||||
\ifcoadvisor
|
||||
\underline{\makebox[6cm][s]{
|
||||
\hspace*{1cm}
|
||||
\makebox[2.5cm][c]{\xiaoerhao\heiti\@coadvisorname}
|
||||
\makebox[2cm][r]{\xiaoerhao\heiti\@coadvisortitle}}}
|
||||
\else
|
||||
\fi \\
|
||||
\end{tabular}
|
||||
\end{center}
|
||||
\end{minipage}
|
||||
|
||||
\hspace*{20.5cm}
|
||||
\begin{minipage}{16cm}
|
||||
\begin{center}
|
||||
\setlength{\tabcolsep}{10pt}
|
||||
\renewcommand{\arraystretch}{2.0}
|
||||
\begin{tabular}{ll}
|
||||
\CoverBottomOption{\appdegreepre}{\@degreetype} &
|
||||
\CoverBottomOption{\authorizeorganizationpre}{\@authorizeorganization} \\
|
||||
\CoverBottomOption{\majorpre}{\@major} &
|
||||
\CoverBottomOption{\defenddatepre}{\@defenddate}\\
|
||||
\CoverBottomOption{\submajorpre}{\@submajor} &
|
||||
\CoverBottomOption{\authorizedatepre}{\@authorizedate}\\
|
||||
\CoverBottomOption[4.05cm]{\committeechairpre}{\@committeechair} &
|
||||
\CoverBottomOption{\reviewerpre}{\@reviewerA}\\
|
||||
& \CoverBottomOption{\makebox[2.55cm]{}}{\@reviewerB}
|
||||
\end{tabular}
|
||||
\end{center}
|
||||
\end{minipage}
|
||||
|
||||
\vfill
|
||||
|
||||
\hspace*{20.5cm}
|
||||
{\songti\sihao\centerline{\today} \par}
|
||||
\eject
|
||||
\pdfpagewidth=210mm
|
||||
\pdfpageheight=297mm
|
||||
\setlength{\paperheight}{297mm}
|
||||
\setlength{\paperwidth}{210mm}
|
||||
}
|
||||
|
||||
\newcommand{\makechinesecover}{
|
||||
\hypersetup{
|
||||
pdfauthor={\@author},
|
||||
pdftitle={\universityname{}\@thesistype},
|
||||
pdfsubject={\@title \@subtitle},
|
||||
pdfcreator={xetex}
|
||||
}
|
||||
|
||||
\thispagestyle{empty}
|
||||
\AddToShipoutPictureFG*{\setlength{\unitlength}{1cm}\put(1,26){%
|
||||
\renewcommand{\arraystretch}{1.0}
|
||||
\begin{tabular}{l}
|
||||
\CoverTopOption{\schoolcodepre}{\schoolcode} \\
|
||||
\CoverTopOption{\categorynumberpre}{\@categorynumber} \\
|
||||
\CoverTopOption{\secretlevelpre}{\@secretlevel}\\
|
||||
\CoverTopOption{U D C}{\@UDC} \\
|
||||
\CoverTopOption{\studentidpre}{\@studentid}
|
||||
\end{tabular}
|
||||
}
|
||||
}
|
||||
|
||||
\AddToShipoutPictureBG*{\setlength{\unitlength}{1cm}\put(0,23){%
|
||||
\parbox{\paperwidth}{\centering\includegraphics[width=\paperwidth]{figures/front-cover.jpg}}}}%
|
||||
|
||||
\ifengineering
|
||||
\AddToShipoutPictureBG*{\setlength{\unitlength}{1cm}\put(0,18){ %
|
||||
\parbox{\paperwidth}{\centering\includegraphics[scale=0.65]{figures/engineering.png}}}}%
|
||||
\else \ifmasters
|
||||
\AddToShipoutPictureBG*{\setlength{\unitlength}{1cm}\put(0,18){ %
|
||||
\parbox{\paperwidth}{\centering\includegraphics[scale=1.1]{figures/master-hwzs.pdf}}}}%
|
||||
\else \ifphd
|
||||
\AddToShipoutPictureBG*{\setlength{\unitlength}{1cm}\put(0,18){ %
|
||||
\parbox{\paperwidth}{\centering\includegraphics[scale=1.1]{figures/doctor-hwzs.pdf}}}}%
|
||||
\else
|
||||
\ClassError{seuthesix}{invalid degree type option.}%
|
||||
{Check your class option of degree type to be one of the following:%
|
||||
masters, engineering, phd.}
|
||||
\fi
|
||||
\fi
|
||||
\fi
|
||||
\AddToShipoutPictureBG*{\setlength{\unitlength}{1cm}\put(17,27){%
|
||||
\parbox{\paperwidth}{\includegraphics[width=2cm]{figures/seu-color-logo.png}}}}%
|
||||
|
||||
\vspace*{8cm}
|
||||
|
||||
\begin{center}
|
||||
\linespread{1.25}
|
||||
\yihao\heiti\@title\\
|
||||
\yihao\heiti\@subtitle
|
||||
\end{center}
|
||||
|
||||
\begin{center}
|
||||
\setlength{\tabcolsep}{0pt}
|
||||
\renewcommand{\arraystretch}{2.0}
|
||||
\begin{tabular}{cr}
|
||||
\makebox[3.5cm][s]{\xiaoerhao\songti\authorpre: } &
|
||||
\underline{\makebox[6cm][s]{
|
||||
\hspace*{1cm}
|
||||
\makebox[2.5cm][c]{\xiaoerhao\heiti\@author}
|
||||
\makebox[2cm][r]{}}} \\
|
||||
\makebox[3.5cm][s]{\xiaoerhao\songti\advisorpre: } &
|
||||
\underline{\makebox[6cm][s]{
|
||||
\hspace*{1cm}
|
||||
\makebox[2.5cm][c]{\xiaoerhao\heiti\@advisorname}
|
||||
\makebox[2cm][r]{\xiaoerhao\heiti\@advisortitle}}}
|
||||
\\
|
||||
&
|
||||
\ifcoadvisor
|
||||
\underline{\makebox[6cm][s]{
|
||||
\hspace*{1cm}
|
||||
\makebox[2.5cm][c]{\xiaoerhao\heiti\@coadvisorname}
|
||||
\makebox[2cm][r]{\xiaoerhao\heiti\@coadvisortitle}}}
|
||||
\else
|
||||
\fi \\
|
||||
\end{tabular}
|
||||
\end{center}
|
||||
|
||||
\begin{center}
|
||||
\setlength{\tabcolsep}{10pt}
|
||||
\renewcommand{\arraystretch}{2.0}
|
||||
\begin{tabular}{ll}
|
||||
\CoverBottomOption{\appdegreepre}{\@degreetype} &
|
||||
\CoverBottomOption{\authorizeorganizationpre}{\@authorizeorganization} \\
|
||||
\CoverBottomOption{\majorpre}{\@major} &
|
||||
\CoverBottomOption{\defenddatepre}{\@defenddate}\\
|
||||
\CoverBottomOption{\submajorpre}{\@submajor} &
|
||||
\CoverBottomOption{\authorizedatepre}{\@authorizedate}\\
|
||||
\CoverBottomOption[4.05cm]{\committeechairpre}{\@committeechair} &
|
||||
\CoverBottomOption{\reviewerpre}{\@reviewerA}\\
|
||||
& \CoverBottomOption{\makebox[2.55cm]{}}{\@reviewerB}
|
||||
\end{tabular}
|
||||
\end{center}
|
||||
|
||||
\vfill
|
||||
\setcounter{page}{1}
|
||||
{\songti\sihao\centerline{\today} \par}
|
||||
|
||||
\clearpage\thispagestyle{empty}\cleardoublepage%
|
||||
\thispagestyle{empty}
|
||||
\begin{center}
|
||||
\xiaochuhao
|
||||
|
||||
\includegraphics[height=0.63in]{figures/seu-text-logo}
|
||||
|
||||
\ifmasters
|
||||
\includegraphics{figures/master-hwzs}
|
||||
\else
|
||||
\includegraphics{figures/doctor-hwzs}
|
||||
\fi
|
||||
|
||||
\vspace{31.5pt}
|
||||
\yihao\heiti\@title\@thesisthanks\\
|
||||
\yihao\heiti\@subtitle
|
||||
\vspace{42pt}
|
||||
|
||||
{
|
||||
\setlength{\tabcolsep}{0pt}
|
||||
\begin{tabular}{cc}
|
||||
\makebox[3.5cm][s]{\xiaoerhao\heiti{}专~~业~~名~~称: } &
|
||||
\underline{\makebox[6cm][s]{
|
||||
\xiaoerhao\songti\textbf{\@major} }} \\
|
||||
\\
|
||||
\makebox[3.5cm][s]{ \xiaoerhao\heiti\authorpre: } &
|
||||
\underline{\makebox[6cm][s]{
|
||||
\xiaoerhao\songti\textbf{\@author} }} \\
|
||||
\\
|
||||
\makebox[3.5cm][s]{ \xiaoerhao\heiti\advisorpre: } &
|
||||
\underline{\makebox[6cm][s]{
|
||||
\xiaoerhao\songti\textbf{\@advisorname\quad\@advisortitle} }}
|
||||
\\
|
||||
&
|
||||
\ifcoadvisor
|
||||
\underline{\makebox[6cm][s]{
|
||||
\xiaoerhao\songti\textbf{\@coadvisorname\quad\@coadvisortitle} }}
|
||||
\else
|
||||
\fi
|
||||
\end{tabular}
|
||||
}
|
||||
\end{center}
|
||||
}
|
||||
|
||||
\newcommand{\makeenglishcover}{%
|
||||
\clearpage\thispagestyle{empty}\cleardoublepage\thispagestyle{empty}
|
||||
\begin{center}
|
||||
~\\
|
||||
{\fontsize{24pt}{28pt}\selectfont
|
||||
\MakeUppercase{\@titleeng}\\
|
||||
\MakeUppercase{\@subtitleeng}
|
||||
\par
|
||||
}
|
||||
|
||||
\vspace{2cm}%
|
||||
{\fontsize{16pt}{24pt}\selectfont
|
||||
{A
|
||||
\ifmasters
|
||||
Thesis
|
||||
\else
|
||||
Dissertation
|
||||
\fi
|
||||
submitted to}\\
|
||||
{\universitynameeng}\\
|
||||
{For the Academic Degree of \@degreetypeen}\\
|
||||
{\vspace{0.5in}}%
|
||||
{BY}\\
|
||||
{\@authoreng}\\
|
||||
{\vspace{0.5in}}%
|
||||
{Supervised by:}\\
|
||||
{\@advisortitleeng\ \@advisornameeng}\\
|
||||
\ifcoadvisor
|
||||
{and}\\
|
||||
{\@coadvisortitleeng\ \@coadvisornameeng}\\
|
||||
\else
|
||||
\fi
|
||||
{\vfill}
|
||||
{\@departmenteng}\\
|
||||
{\universitynameeng}\\
|
||||
{\todayeng}
|
||||
\par
|
||||
}%
|
||||
\end{center}%
|
||||
|
||||
}
|
||||
|
||||
\newcommand\makecover{%
|
||||
\makechinesecover
|
||||
\makeenglishcover
|
||||
\seudeclare
|
||||
}
|
||||
|
||||
\renewenvironment{abstract}[1]
|
||||
{
|
||||
\pagenumbering{Roman}
|
||||
\clearpage\thispagestyle{empty}\cleardoublepage\thispagestyle{plain}
|
||||
\newcommand{\@keywords}{#1}
|
||||
\hypersetup{pdfkeywords={\@keywords}}
|
||||
\phantomsection
|
||||
\addcontentsline{toc}{chapter}{\@abstracttitle}
|
||||
\chapter*{\@abstracttitle}
|
||||
\setcounter{page}{1}
|
||||
}
|
||||
{
|
||||
\par
|
||||
\begin{description}
|
||||
\item[关键词:] \@keywords
|
||||
\end{description}
|
||||
}
|
||||
|
||||
\newenvironment{englishabstract}[1]
|
||||
{
|
||||
\cleardoublepage\thispagestyle{plain}
|
||||
\newcommand{\@keywords}{#1}
|
||||
\phantomsection
|
||||
\addcontentsline{toc}{chapter}{Abstract}
|
||||
\ctexset{%
|
||||
chapter/nameformat=\large\bfseries,
|
||||
chapter/titleformat=\large\bfseries
|
||||
}
|
||||
\chapter*{Abstract}
|
||||
\ctexset{%
|
||||
chapter/nameformat=\large\heiti,
|
||||
chapter/titleformat=\large\heiti
|
||||
}
|
||||
}
|
||||
{
|
||||
\par
|
||||
\begin{description}
|
||||
\item[Keywords:] \@keywords
|
||||
\end{description}
|
||||
}
|
||||
|
||||
\newcommand\listofothers{%
|
||||
\iffigurelist
|
||||
\cleardoublepage
|
||||
\phantomsection
|
||||
\addcontentsline{toc}{chapter}{\listfigurename}
|
||||
\listoffigures
|
||||
\fi
|
||||
|
||||
\iftablelist
|
||||
\cleardoublepage
|
||||
\phantomsection
|
||||
\addcontentsline{toc}{chapter}{\listtablename}
|
||||
\listoftables
|
||||
\fi
|
||||
|
||||
\ifalgorithmlist
|
||||
\cleardoublepage
|
||||
\phantomsection
|
||||
\addcontentsline{toc}{chapter}{\listalgorithmname}
|
||||
\listofalgorithms
|
||||
\fi
|
||||
|
||||
\ifnomlist
|
||||
\cleardoublepage
|
||||
\phantomsection
|
||||
\addcontentsline{toc}{chapter}{\nomname}
|
||||
\pagestyle{nom}
|
||||
\printnomenclature[1in]
|
||||
\fi
|
||||
|
||||
}
|
||||
|
||||
\newcommand{\mainmatter}{%
|
||||
\cleardoublepage
|
||||
\pagenumbering{arabic}
|
||||
\pagestyle{seustyle}
|
||||
}
|
||||
|
||||
\newcommand{\acknowledgement}{%
|
||||
\cleardoublepage
|
||||
\phantomsection
|
||||
\addcontentsline{toc}{chapter}{致 谢}
|
||||
\chapter*{致 谢}
|
||||
}
|
||||
|
||||
% \newcommand{\thesisbib}[1]{%
|
||||
% \bibliographystyle{seuthesix}
|
||||
% \cleardoublepage
|
||||
% \phantomsection
|
||||
% \addcontentsline{toc}{chapter}{\bibname}
|
||||
% \bibliography{#1}
|
||||
% }
|
||||
%=========================================================
|
||||
\newcommand{\thesisbib}{%
|
||||
\cleardoublepage
|
||||
\phantomsection
|
||||
\addcontentsline{toc}{chapter}{\bibname}
|
||||
\printbibliography
|
||||
}
|
||||
%==========================================================
|
||||
\newcommand{\resume}[1]{%
|
||||
\cleardoublepage
|
||||
\phantomsection
|
||||
\addcontentsline{toc}{chapter}{#1}
|
||||
\chapter*{#1}
|
||||
}
|
||||
|
||||
\newcommand{\seuthesix}{%
|
||||
\makebox{S\hspace{-0.3ex}\raisebox{-0.5ex}{E}\hspace{-0.3ex}U\hspace{0.1em}%
|
||||
\textsc{Thesix}}
|
||||
}
|
||||
\newcommand{\seuthesis}{%
|
||||
\makebox{S\hspace{-0.3ex}\raisebox{-0.5ex}{E}\hspace{-0.3ex}U\hspace{0.1em}%
|
||||
\textsc{Thesis}}
|
||||
}
|
||||
\endinput
|
||||
%% End of file `seuthesix.cls'.
|
||||
|
|
@ -1,84 +1,84 @@
|
|||
|
||||
%% This is file `seuthesix.cfg',
|
||||
%% This file provides is a configuration file for ``seuthesix''.
|
||||
%% Copyright (c) 2007--2012 Xu Yuan, email: xuyuan.cn@gmail.com
|
||||
%% Copyright (c) 2016 James Fan, email: zhimengfan1990@163.com
|
||||
%% License: GNU General Public License, version 3
|
||||
%% This file is part of ``seuthesix'' package.
|
||||
%% ``seuthesix'' is free software: you can redistribute it and/or modify
|
||||
%% it under the terms of the GNU General Public License as published by
|
||||
%% the Free Software Foundation, either version 3 of the License, or
|
||||
%% (at your option) any later version.
|
||||
%% ``seuthesix'' is distributed in the hope that it will be useful,
|
||||
%% but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
%% GNU General Public License for more details.
|
||||
%%
|
||||
%% You should have received a copy of the GNU General Public License
|
||||
%% along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
\ProvidesFile{seuthesix.cfg}[2016/03/20 1.0.1 seuthesix configuration file]
|
||||
\newcommand{\universityname}{东南大学}
|
||||
\newcommand{\universitynameeng}{Southeast University}
|
||||
\newcommand{\schoolcodepre}{学校代码}
|
||||
\newcommand{\schoolcode}{10286}
|
||||
\newcommand{\secretlevelpre}{密级}
|
||||
\newcommand{\categorynumberpre}{分类号}
|
||||
\newcommand{\studentidpre}{学号}
|
||||
\newcommand{\authorpre}{研究生姓名}
|
||||
\newcommand{\advisorpre}{导~~师~~姓~~名}
|
||||
\newcommand{\appdegreepre}{申请学位类别}
|
||||
\newcommand{\majorpre}{一级学科名称}
|
||||
\newcommand{\submajorpre}{二级学科名称}
|
||||
\newcommand{\defenddatepre}{论文答辩日期}
|
||||
\newcommand{\authorizeorganizationpre}{学位授予单位}
|
||||
\newcommand{\@authorizeorganization}{~~东~南~大~学~~}
|
||||
\newcommand{\authorizedatepre}{学位授予日期}
|
||||
\newcommand{\committeechairpre}{答辩委员会主席}
|
||||
\newcommand{\reviewerpre}{评~~~~~~~~~阅~~~~~~~~~人}
|
||||
\newcommand{\@abstracttitle}{摘\quad 要}
|
||||
\newcommand{\todayeng}{\the\year/\the\month/\the\day}
|
||||
\newcommand{\@degreelevel}{硕士}
|
||||
\newcommand{\@degreetype}{工学硕士}
|
||||
\newcommand{\@degreetypeen}{Master of Engineering}\relax
|
||||
\newcommand{\@thesistype}{\@degreelevel{}学位论文}
|
||||
\newcommand{\signline}{\underline{\makebox[2.5cm][s]{}}}
|
||||
\newcommand{\seudeclare}{
|
||||
\clearpage\thispagestyle{empty}\cleardoublepage\thispagestyle{empty}
|
||||
{\xiaosihao
|
||||
\begin{center}
|
||||
{\heiti\sanhao 东南大学学位论文独创性声明}
|
||||
\end{center}
|
||||
\vspace{0.5in}
|
||||
{ \linespread{1.5}
|
||||
本人声明所呈交的学位论文是我个人在导师指导下进行的研究工作及取得的
|
||||
研究成果。尽我所知,除了文中特别加以标注和致谢的地方外,论文中不包
|
||||
含其他人已经发表或撰写过的研究成果,也不包含为获得东南大学或其它教
|
||||
育机构的学位或证书而使用过的材料。与我一同工作的同志对本研究所做的
|
||||
任何贡献均已在论文中作了明确的说明并表示了谢意。\par}
|
||||
\vspace{0.3in}
|
||||
\begin{flushright}
|
||||
研究生签名:\signline 日~期:\signline
|
||||
\end{flushright}
|
||||
\vspace{1.5in}
|
||||
\begin{center}
|
||||
{\heiti\sanhao 东南大学学位论文使用授权声明}
|
||||
\end{center}
|
||||
\vspace{0.5in}
|
||||
{ \linespread{1.5}
|
||||
东南大学、中国科学技术信息研究所、国家图书馆有权保留本人所送交学位
|
||||
论文的复印件和电子文档,可以采用影印、缩印或其他复制手段保存论文。
|
||||
本人电子文档的内容和纸质论文的内容相一致。除在保密期内的保密论文
|
||||
外,允许论文被查阅和借阅,可以公布(包括刊登)论文的全部或部分内容。
|
||||
论文的公布(包括刊登)授权东南大学研究生院办理。\par}
|
||||
\vspace{0.3in}
|
||||
\begin{flushright}
|
||||
研究生签名:\signline 导师签名:\signline 日~期:\signline
|
||||
\end{flushright}
|
||||
\par
|
||||
}
|
||||
}
|
||||
\endinput
|
||||
%%
|
||||
%% End of file `seuthesix.cfg'.
|
||||
|
||||
%% This is file `seuthesix.cfg',
|
||||
%% This file provides is a configuration file for ``seuthesix''.
|
||||
%% Copyright (c) 2007--2012 Xu Yuan, email: xuyuan.cn@gmail.com
|
||||
%% Copyright (c) 2016 James Fan, email: zhimengfan1990@163.com
|
||||
%% License: GNU General Public License, version 3
|
||||
%% This file is part of ``seuthesix'' package.
|
||||
%% ``seuthesix'' is free software: you can redistribute it and/or modify
|
||||
%% it under the terms of the GNU General Public License as published by
|
||||
%% the Free Software Foundation, either version 3 of the License, or
|
||||
%% (at your option) any later version.
|
||||
%% ``seuthesix'' is distributed in the hope that it will be useful,
|
||||
%% but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
%% GNU General Public License for more details.
|
||||
%%
|
||||
%% You should have received a copy of the GNU General Public License
|
||||
%% along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
\ProvidesFile{seuthesix.cfg}[2016/03/20 1.0.1 seuthesix configuration file]
|
||||
\newcommand{\universityname}{东南大学}
|
||||
\newcommand{\universitynameeng}{Southeast University}
|
||||
\newcommand{\schoolcodepre}{学校代码}
|
||||
\newcommand{\schoolcode}{10286}
|
||||
\newcommand{\secretlevelpre}{密级}
|
||||
\newcommand{\categorynumberpre}{分类号}
|
||||
\newcommand{\studentidpre}{学号}
|
||||
\newcommand{\authorpre}{研究生姓名}
|
||||
\newcommand{\advisorpre}{导~~师~~姓~~名}
|
||||
\newcommand{\appdegreepre}{申请学位类别}
|
||||
\newcommand{\majorpre}{一级学科名称}
|
||||
\newcommand{\submajorpre}{二级学科名称}
|
||||
\newcommand{\defenddatepre}{论文答辩日期}
|
||||
\newcommand{\authorizeorganizationpre}{学位授予单位}
|
||||
\newcommand{\@authorizeorganization}{~~东~南~大~学~~}
|
||||
\newcommand{\authorizedatepre}{学位授予日期}
|
||||
\newcommand{\committeechairpre}{答辩委员会主席}
|
||||
\newcommand{\reviewerpre}{评~~~~~~~~~阅~~~~~~~~~人}
|
||||
\newcommand{\@abstracttitle}{摘\quad 要}
|
||||
\newcommand{\todayeng}{\the\year/\the\month/\the\day}
|
||||
\newcommand{\@degreelevel}{硕士}
|
||||
\newcommand{\@degreetype}{工学硕士}
|
||||
\newcommand{\@degreetypeen}{Master of Engineering}\relax
|
||||
\newcommand{\@thesistype}{\@degreelevel{}学位论文}
|
||||
\newcommand{\signline}{\underline{\makebox[2.5cm][s]{}}}
|
||||
\newcommand{\seudeclare}{
|
||||
\clearpage\thispagestyle{empty}\cleardoublepage\thispagestyle{empty}
|
||||
{\xiaosihao
|
||||
\begin{center}
|
||||
{\heiti\sanhao 东南大学学位论文独创性声明}
|
||||
\end{center}
|
||||
\vspace{0.5in}
|
||||
{ \linespread{1.5}
|
||||
本人声明所呈交的学位论文是我个人在导师指导下进行的研究工作及取得的
|
||||
研究成果。尽我所知,除了文中特别加以标注和致谢的地方外,论文中不包
|
||||
含其他人已经发表或撰写过的研究成果,也不包含为获得东南大学或其它教
|
||||
育机构的学位或证书而使用过的材料。与我一同工作的同志对本研究所做的
|
||||
任何贡献均已在论文中作了明确的说明并表示了谢意。\par}
|
||||
\vspace{0.3in}
|
||||
\begin{flushright}
|
||||
研究生签名:\signline 日~期:\signline
|
||||
\end{flushright}
|
||||
\vspace{1.5in}
|
||||
\begin{center}
|
||||
{\heiti\sanhao 东南大学学位论文使用授权声明}
|
||||
\end{center}
|
||||
\vspace{0.5in}
|
||||
{ \linespread{1.5}
|
||||
东南大学、中国科学技术信息研究所、国家图书馆有权保留本人所送交学位
|
||||
论文的复印件和电子文档,可以采用影印、缩印或其他复制手段保存论文。
|
||||
本人电子文档的内容和纸质论文的内容相一致。除在保密期内的保密论文
|
||||
外,允许论文被查阅和借阅,可以公布(包括刊登)论文的全部或部分内容。
|
||||
论文的公布(包括刊登)授权东南大学研究生院办理。\par}
|
||||
\vspace{0.3in}
|
||||
\begin{flushright}
|
||||
研究生签名:\signline 导师签名:\signline 日~期:\signline
|
||||
\end{flushright}
|
||||
\par
|
||||
}
|
||||
}
|
||||
\endinput
|
||||
%%
|
||||
%% End of file `seuthesix.cfg'.
|
||||
|
|
|
|||
Loading…
Reference in New Issue