Commit 23b804ea authored by liziwl's avatar liziwl
Browse files

add

parent 859b14bf
Loading
Loading
Loading
Loading
+43 −2
Original line number Diff line number Diff line
@@ -8,16 +8,23 @@

\section{顺序编码制}

依学校样式规定,一般使用 \cs{cite},即序号置于方括号中,引文页码会放在括号外。统一处引用的连续序号会自动用短横线连接。如多次引用同一文献,可能需要标注页码,例如:引用第二页\cite[2]{zhangkun1994},引用第五页\cite[5]{zhangkun1994}
\thusetup{
  cite-style = super,
}
% \citestyle{super} % 全局上标数字模式
% \bibliographystyle{sustechthesis-numeric}

在顺序编码制下,默认的 \cs{cite} 命令同 \cs{citep} 一样,即序号置于方括号中,引文页码会放在括号外。统一处引用的连续序号会自动用短横线连接。如多次引用同一文献,可能需要标注页码,例如:引用第二页\cite[2]{zhangkun1994},引用第五页\cite[5]{zhangkun1994}

\begin{tabular}{l@{\quad$\Rightarrow$\quad}l}
  \verb|\cite{zhangkun1994}|               & \cite{zhangkun1994}   {\kaishu 不带页码的上标引用}            \\
  \verb|\citet{zhangkun1994}|              & \citet{zhangkun1994}              \\
  \verb|\citep{zhangkun1994}|              & \citep{zhangkun1994}              \\
  \verb|\cite[42]{zhangkun1994}|           & \cite[42]{zhangkun1994} {\kaishu 手动带页码的上标引用}          \\
  \verb|\cite{zhangkun1994,zhukezhen1973}| & \cite{zhangkun1994,zhukezhen1973}  {\kaishu 一次多篇文献的上标引用}  \\
\end{tabular}



注意,引文参考文献的每条都要在正文中标注
\cite{zhangkun1994,zhukezhen1973,dupont1974bone,zhengkaiqing1987,%
  jiangxizhou1980,jianduju1994,merkt1995rotational,mellinger1996laser,%
@@ -34,6 +41,40 @@

如参考文献中需要使用上标或者下标,使用数学环境书写 \verb|$\mathrm{Ba}_{3}\mathrm{CoSb}_{2}\mathrm{O}_{9}$|,例如该文献\cite{kamiya2018nature}。根据 \pkg{gbt7714} 规定著者姓名自动转为大写。西文的题名、期刊名的大小写不自动处理,需要自行处理以符合信息资源本身文种的习惯用法。

\section{著者-出版年制}

著者-出版年制下的 \cs{cite}\cs{citet} 一样。

\thusetup{
  cite-style = author-year,
}
\begin{tabular}{l@{\quad$\Rightarrow$\quad}l}
  \verb|\cite{zhangkun1994}|                & \cite{zhangkun1994}                \\
  \verb|\citet{zhangkun1994}|               & \citet{zhangkun1994}               \\
  \verb|\citep{zhangkun1994}|               & \citep{zhangkun1994}               \\
  \verb|\cite[42]{zhangkun1994}|            & \cite[42]{zhangkun1994}            \\
  \verb|\citep{zhangkun1994,zhukezhen1973}| & \citep{zhangkun1994,zhukezhen1973} \\
\end{tabular}

\vskip 2ex
% \thusetup{
%   cite-style = super,
% }
注意,引文参考文献的每条都要在正文中标注
\cite{zhangkun1994,zhukezhen1973,dupont1974bone,zhengkaiqing1987,%
  jiangxizhou1980,jianduju1994,merkt1995rotational,mellinger1996laser,%
  bixon1996dynamics,mahui1995,carlson1981two,taylor1983scanning,%
  taylor1981study,shimizu1983laser,atkinson1982experimental,%
  kusch1975perturbations,guangxi1993,huosini1989guwu,wangfuzhi1865songlun,%
  zhaoyaodong1998xinshidai,biaozhunhua2002tushu,chubanzhuanye2004,%
  who1970factors,peebles2001probability,baishunong1998zhiwu,%
  weinstein1974pathogenic,hanjiren1985lun,dizhi1936dizhi,%
  tushuguan1957tushuguanxue,aaas1883science,fugang2000fengsha,%
  xiaoyu2001chubanye,oclc2000about,scitor2000project%
}


\section{条目编写}

\subsection{支持三级目录显示}

+4 −3
Original line number Diff line number Diff line
@@ -121,10 +121,11 @@
%%%%%% 顺序编码制的文献引用形式
%%%%%% 参考文献编译方式二选一,不要同时开启。
%%%% 选择一:使用 BibTeX + natbib 宏包
\usepackage[sort&compress]{gbt7714}
\citestyle{super} % 全局上标数字模式
% \citestyle{numbers} % 全局行内数字模式,在写作指南2022年8月23日版本已废弃, 并决定中英文都采用上标数字格式
\usepackage[sort&compress]{natbib}
% \citestyle{super} % 全局上标数字模式
\bibliographystyle{sustechthesis-numeric}
% \citestyle{author-year} % 全局著者-出版年制模式
% \bibliographystyle{sustechthesis-author-year}

%%%% 选择二:使用 BibLaTeX 宏包(兼容性不佳,不太推荐)
% \usepackage[backend=biber,style=gb7714-2015,gbalign=left]{biblatex}
+98 −26
Original line number Diff line number Diff line
@@ -3702,6 +3702,7 @@ Thesis for the Professional Degree of \degree@level@en@noun \ of \thu@degree@dom
Thesis for the Degree of \degree@level@en@noun \ of \thu@degree@domain@en%
\fi%
}

\newcommand\thu@option@supervisor@item{
  \ifx\thu@associate@supervisor\@empty\else
    \makebox[6em][s]{\heiti {副指导教师}} & \thu@associate@supervisor\\
@@ -3789,22 +3790,22 @@ Thesis for the Degree of \degree@level@en@noun \ of \thu@degree@domain@en%
    hmargin = 3cm,
  }%
  \thispagestyle{empty}%
  {\noindent \xiaosi
    \renewcommand\arraystretch{1.25}
    \begin{tabular}{@{}l@{}}
      Classified Index: \thu@natclassifiedindex\\
      U.D.C: \thu@intclassifiedindex
    \end{tabular}}
  % {\noindent \xiaosi
  %   \renewcommand\arraystretch{1.25}
  %   \begin{tabular}{@{}l@{}}
  %     Classified Index: \thu@natclassifiedindex\\
  %     U.D.C: \thu@intclassifiedindex
  %   \end{tabular}}

  \begin{center}

    \vspace{2.5cm}
    % \vspace{2.5cm}

    \parbox[t]{30em}{
      \centering
      \fontsize{18bp}{25.875bp}\selectfont
      \thu@subject@en}
    \par
    % \parbox[t]{30em}{
    %   \centering
    %   \fontsize{18bp}{25.875bp}\selectfont
    %   \thu@subject@en}
    % \par

    \vspace{1.5cm}
    \parbox[t]{30em}{
@@ -3821,19 +3822,52 @@ Thesis for the Degree of \degree@level@en@noun \ of \thu@degree@domain@en%
    \par

    \vfill
      {\sihao%
      \renewcommand\arraystretch{1.3}
      % 手动调整使得视觉接近
      \hspace*{2em}
      \begin{tabular}{@{}m{\sustech@titlepage@left@column@width}m{0.5\textwidth}@{}}
        \thu@info@item@sustech{Candidate:}{\thu@author@en}\\
        \thu@info@item@sustech{Supervisor:}{\thu@supervisor@en}\\
        \thu@option@supervisor@item@en
        \thu@info@item@sustech{\zhuanye@en:}{\thu@discipline@en}\\
        \thu@info@item@sustech{Date of Defence:}{\thu@format@date{\thu@date@en@short}{\thu@defense@date}}\\
        \thu@info@item@sustech{Affiliation:}{\thu@department@en}\\
        \thu@info@item@sustech{Degree-Conferring-\\Institution:}{Southern University of Science and\\Technology}
      \end{tabular}}
    {
      \sanhao%
      A dissertation submitted to\par
      Southern University of Science and Technology\par
      in partial fulfillment of the requirement\par
      for the
      \ifthu@degree@type@professional
        professional
      \fi
      degree of\par
      \degree@level@en@adj
      \ifthu@degree@type@academic
      in\par
      \thu@discipline@en
      \fi
      % \thu@degree@name@en\par
    }
    \vspace{1cm}
    {
      \sanhao%
      by\par
      \thu@author@en\par
    }
    \vspace{1cm}
    {
      \xiaosan%
      Supervisor: \thu@supervisor@en\\
    }
    \vfill
    {
      \sanhao%
      \thu@format@date{\thu@date@en@short}{\thu@defense@date}
    }
      % {\sanhao%
      % \renewcommand\arraystretch{1.3}
      % % 手动调整使得视觉接近
      % \hspace*{2em}
      % \begin{tabular}{@{}m{\sustech@titlepage@left@column@width}m{0.5\textwidth}@{}}
      %   \thu@info@item@sustech{Candidate:}{\thu@author@en}\\
      %   \thu@info@item@sustech{Supervisor:}{\thu@supervisor@en}\\
      %   \thu@option@supervisor@item@en
      %   \thu@info@item@sustech{\zhuanye@en:}{\thu@discipline@en}\\
      %   \thu@info@item@sustech{Date of Defence:}{\thu@format@date{\thu@date@en@short}{\thu@defense@date}}\\
      %   \thu@info@item@sustech{Affiliation:}{\thu@department@en}\\
      %   \thu@info@item@sustech{Degree-Conferring-\\Institution:}{Southern University of Science and\\Technology}
      % \end{tabular}}
    \vspace{3cm}

  \end{center}
@@ -5095,7 +5129,23 @@ Thesis for the Degree of \degree@level@en@noun \ of \thu@degree@domain@en%
% \subsection{参考文献}
% \label{sec:ref}
%
% \subsubsection{BibTeX\pkg{natbib} 宏包}
% 参考文献的格式根据用户选择的 \BibTeX{}/BibLaTeX 分别进行配置,
% 所以使用 \pkg{filehook} 的方式。
%
% 设置 \option{cite-style} 的接口,只对 \BibTeX{} 的编译方式有效。
%    \begin{macrocode}
\thu@define@key{
  cite-style = {
    name = cite@style,
    choices = {
      super,
      author-year,
    }
  }
}
%    \end{macrocode}
%
% \subsubsection{BibTeX + \pkg{natbib} 宏包}
%
% \BibTeX{} 和 \pkg{natbib} 宏包的配置。
%    \begin{macrocode}
@@ -5111,6 +5161,28 @@ Thesis for the Degree of \degree@level@en@noun \ of \thu@degree@domain@en%
%    \end{macrocode}
% \end{macro}
%
% 几种种引用样式,与 \file{bst} 文件名保持一致,
% 这样在使用 \cs{bibliographystyle} 选择参考文献表的样式时也会设置对应的引用样式。
%    \begin{macrocode}
% \newcommand\bibstyle@super{%
%   \bibpunct{[}{]}{,}{s}{,}{\textsuperscript{,}}}
% \newcommand\bibstyle@inline{%
%   \bibpunct{[}{]}{,}{n}{,}{,}}
% \@namedef{bibstyle@author-year}{%
%   \bibpunct{(}{)}{;}{a}{,}{,}}
%    \end{macrocode}
%
%    \begin{macrocode}
\thu@option@hook{cite-style}{\@nameuse{bibstyle@\thu@cite@style}}
%    \end{macrocode}
%
% 几种种引用样式,与 \file{bst} 文件名保持一致,
% 这样在使用 \cs{bibliographystyle} 选择参考文献表的样式时也会设置对应的引用样式。
%    \begin{macrocode}
\@namedef{bibstyle@sustechthesis-numeric}{\citestyle{super}}
\@namedef{bibstyle@sustechthesis-author-year}{\citestyle{author-year}}
%    \end{macrocode}
%
% 参考文献表的正文部分用五号字。
% 行距采用固定值 16 磅,段前空 3 磅,段后空 0 磅。
%