Commit a94950ef authored by liziwl's avatar liziwl
Browse files

add

parent 95352c8a
Loading
Loading
Loading
Loading
+78 −2
Original line number Diff line number Diff line
% !TeX root = ../sustechthesis-example.tex

\chapter{示例}
\chapter{、表及条目示例}

\section{插图}

@@ -263,7 +263,7 @@ class HelloWorldApp {
\end{algorithm}

\newpage
\section{测试}
\section{图表格式测试}

图题在图之下,段前空 6 磅,段后空 12 磅。图整体前后距离未定义,目前默认距离:段前空 12 磅,段后空 12 磅。

@@ -297,3 +297,79 @@ class HelloWorldApp {

表后,表后,表后,表后,表后,表后,表后,表后,表后,表后,表后。
\emph{图表前后是否有空行不影响图表与正文之间的距离}


\section{条目编写}

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

支持三级目录显示


\subsection{条目要求}

条目要求首行左缩进 2 个汉字符,避免悬挂缩进。如需使用带括号的条目列表,请自行添加 \verb|label=<style>| 参数。
下面是两个例子,还有更多用法,查阅 \pkg{enumitem} 宏包的文档。

默认条目序号:

\verb|\begin{enumerate} ... \end{enumerate}|

\begin{enumerate}
  \item 一级
  \begin{enumerate}
    \item 二级
    \begin{enumerate}
      \item 三级
      \begin{enumerate}
        \item 四级,《写作要求》未定义,请自行定义或者选择。
      \end{enumerate}
    \end{enumerate}
  \end{enumerate}
\end{enumerate}

自定义序号样式定义如表~\ref{tab:enum-style}

\begin{table}[h]
  \centering
  \caption{条目样式选项}
  \label{tab:enum-style}
  \begin{tabular}{@{}ll@{}}
  \toprule
  \textbf{Code}          & \textbf{Description}                      \\ \midrule
  \textbackslash{}alph   & Lowercase letter (a, b, c, ...)           \\
  \textbackslash{}Alph   & Uppercase letter (A, B, C, ...)           \\
  \textbackslash{}arabic & Arabic number (1, 2, 3, ...)              \\
  \textbackslash{}roman  & Lowercase Roman numeral (i, ii, iii, ...) \\
  \textbackslash{}Roman  & Uppercase Roman numeral (I, II, III, ...) \\ \bottomrule
  \end{tabular}
\end{table}

\subsubsection{条目测试}


条目前文字,条目前文字,条目前文字,条目前文字,条目前文字,条目前文字,条目前文字,条目前文字,条目前文字,条目前文字,条目前文字。

\begin{enumerate}
  \item 一级条目,超长行。南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学。
  \item 一级条目,南方科技大学,南方科技大学,南方科技大学。
  \item 一级条目,南方科技大学,南方科技大学,南方科技大学。
  \begin{enumerate}
    \item 二级条目,超长行。南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学。
    \item 二级条目,南方科技大学,南方科技大学,南方科技大学。
    \item 二级条目,南方科技大学,南方科技大学,南方科技大学。
    \item 二级条目,南方科技大学,南方科技大学,南方科技大学。
    \item 二级条目,南方科技大学,南方科技大学,南方科技大学。
    \item 二级条目,南方科技大学,南方科技大学,南方科技大学。
    \begin{enumerate}
      \item 三级条目,南方科技大学,南方科技大学,南方科技大学。
      \item 三级条目,南方科技大学,南方科技大学,南方科技大学。
      \item 三级条目,南方科技大学,南方科技大学,南方科技大学。
      \begin{enumerate}
        \item \textbf{四级条目及之后的条目无规定序号格式,请自行设定选择。}
      \end{enumerate}
    \end{enumerate}
  \end{enumerate}
\end{enumerate}

条目后文字,条目后文字,条目后文字,条目后文字,条目后文字,条目后文字,条目后文字,条目后文字,条目后文字,条目后文字,条目后文字。
+7 −95
Original line number Diff line number Diff line
@@ -24,23 +24,6 @@
  \verb|\cite{zhangkun1994,zhukezhen1973}| & \cite{zhangkun1994,zhukezhen1973}  {\kaishu 一次多篇文献的上标引用}  \\
\end{tabular}


注意,引文参考文献的每条都要在正文中标注
\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%
}
引用测试:2个连续引用\cite{zhangkun1994,zhukezhen1973},2个间隔\cite{zhangkun1994,dupont1974bone},3个连续\cite{zhangkun1994,zhukezhen1973,dupont1974bone}

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

\section{著者-出版年制}

著者-出版年制下的 \cs{cite}\cs{citet} 一样。
@@ -56,10 +39,11 @@
  \verb|\citep{zhangkun1994,zhukezhen1973}| & \citep{zhangkun1994,zhukezhen1973} \\
\end{tabular}

\vskip 2ex
% \thusetup{
%   cite-style = super,
% }
\subsection{其他引用注意事项}

\thusetup{
  cite-style = super,
}
注意,引文参考文献的每条都要在正文中标注
\cite{zhangkun1994,zhukezhen1973,dupont1974bone,zhengkaiqing1987,%
  jiangxizhou1980,jianduju1994,merkt1995rotational,mellinger1996laser,%
@@ -73,78 +57,6 @@
  xiaoyu2001chubanye,oclc2000about,scitor2000project%
}

引用测试:2个连续引用\cite{zhangkun1994,zhukezhen1973},2个间隔\cite{zhangkun1994,dupont1974bone},3个连续\cite{zhangkun1994,zhukezhen1973,dupont1974bone}

\section{条目编写}

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

支持三级目录显示


\subsection{条目要求}

条目要求首行左缩进 2 个汉字符,避免悬挂缩进。如需使用带括号的条目列表,请自行添加 \verb|label=<style>| 参数。
下面是两个例子,还有更多用法,查阅 \pkg{enumitem} 宏包的文档。

默认条目序号:

\verb|\begin{enumerate} ... \end{enumerate}|

\begin{enumerate}
  \item 一级
  \begin{enumerate}
    \item 二级
    \begin{enumerate}
      \item 三级
      \begin{enumerate}
        \item 四级,《写作要求》未定义,请自行定义或者选择。
      \end{enumerate}
    \end{enumerate}
  \end{enumerate}
\end{enumerate}

自定义序号样式定义如表~\ref{tab:enum-style}

\begin{table}[h]
  \centering
  \caption{条目样式选项}
  \label{tab:enum-style}
  \begin{tabular}{@{}ll@{}}
  \toprule
  \textbf{Code}          & \textbf{Description}                      \\ \midrule
  \textbackslash{}alph   & Lowercase letter (a, b, c, ...)           \\
  \textbackslash{}Alph   & Uppercase letter (A, B, C, ...)           \\
  \textbackslash{}arabic & Arabic number (1, 2, 3, ...)              \\
  \textbackslash{}roman  & Lowercase Roman numeral (i, ii, iii, ...) \\
  \textbackslash{}Roman  & Uppercase Roman numeral (I, II, III, ...) \\ \bottomrule
  \end{tabular}
\end{table}

\subsubsection{条目测试}


条目前文字,条目前文字,条目前文字,条目前文字,条目前文字,条目前文字,条目前文字,条目前文字,条目前文字,条目前文字,条目前文字。

\begin{enumerate}
  \item 一级条目,超长行。南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学。
  \item 一级条目,南方科技大学,南方科技大学,南方科技大学。
  \item 一级条目,南方科技大学,南方科技大学,南方科技大学。
  \begin{enumerate}
    \item 二级条目,超长行。南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学。
    \item 二级条目,南方科技大学,南方科技大学,南方科技大学。
    \item 二级条目,南方科技大学,南方科技大学,南方科技大学。
    \item 二级条目,南方科技大学,南方科技大学,南方科技大学。
    \item 二级条目,南方科技大学,南方科技大学,南方科技大学。
    \item 二级条目,南方科技大学,南方科技大学,南方科技大学。
    \begin{enumerate}
      \item 三级条目,南方科技大学,南方科技大学,南方科技大学。
      \item 三级条目,南方科技大学,南方科技大学,南方科技大学。
      \item 三级条目,南方科技大学,南方科技大学,南方科技大学。
      \begin{enumerate}
        \item \textbf{四级条目及之后的条目无规定序号格式,请自行设定选择。}
      \end{enumerate}
    \end{enumerate}
  \end{enumerate}
\end{enumerate}

条目后文字,条目后文字,条目后文字,条目后文字,条目后文字,条目后文字,条目后文字,条目后文字,条目后文字,条目后文字,条目后文字。
如参考文献中需要使用上标或者下标,使用数学环境书写 \verb|$\mathrm{Ba}_{3}\mathrm{CoSb}_{2}\mathrm{O}_{9}$|,例如该文献\cite{kamiya2018nature}。根据 \pkg{gbt7714} 规定著者姓名自动转为大写。西文的题名、期刊名的大小写不自动处理,需要自行处理以符合信息资源本身文种的习惯用法。
+2 −2
Original line number Diff line number Diff line
@@ -122,9 +122,9 @@
%%%%%% 参考文献编译方式二选一,不要同时开启。
%%%% 选择一:使用 BibTeX + natbib 宏包
\usepackage[sort&compress]{natbib}
% \citestyle{super} % 全局上标数字模式
% 全局上标数字模式
\bibliographystyle{sustechthesis-numeric}
% \citestyle{author-year} % 全局著者-出版年制模式
% 全局著者-出版年制模式
% \bibliographystyle{sustechthesis-author-year}

%%%% 选择二:使用 BibLaTeX 宏包(兼容性不佳,不太推荐)
+19 −10
Original line number Diff line number Diff line
@@ -760,7 +760,7 @@
% \subsubsection{引用方式}
% \label{sec:citestyle}
% 模板支持两种引用方式,分别为理工科常用的“顺序编码制”和文科常用
% 的“著者-出版年制”,对于\textbf{南方科技大学的毕业生使用“顺序编码制”即可}
% 的“著者-出版年制”。
% 使用者在设置参考文献表的格式
% (\cs{bibliographystyle},见第~\ref{sec:bibliography} 节)时,
% 正文中引用文献的标注会自动调整为对应的格式。
@@ -772,10 +772,19 @@
% \DescribeMacro{\inlinecite}
% 顺序编码制的参考文献引用分为两种模式:
% \begin{enumerate}
%   \item 上标模式(super),比如“同样的工作有很多\textsuperscript{[1-2]}……”;
%   \item 正文模式(inline),比如“文 [3] 中详细说明了……”。
%   \item 上标模式,比如“同样的工作有很多\textsuperscript{[1-2]}……”;
%   \item 正文模式,比如“文 [3] 中详细说明了……”。
% \end{enumerate}
%
% \DescribeOption{cite-style}
% 用户可以将引用标注的格式设为正文模式:
% \begin{latex}
%   \thusetup{
%     cite-style = inline,
%   }
% \end{latex}
% 也可以使用 \cs{inlinecite}\marg{key} 临时使用正文模式的引用标注。
%
% \paragraph{著者-出版年制}
% 著者-出版年制的参考文献引用有两种模式:
% \begin{enumerate}
@@ -5133,12 +5142,12 @@ Thesis for the Degree of \degree@level@en@noun \ of \thu@degree@domain@en%
% 几种种引用样式,与 \file{bst} 文件名保持一致,
% 这样在使用 \cs{bibliographystyle} 选择参考文献表的样式时也会设置对应的引用样式。
%    \begin{macrocode}
% \newcommand\bibstyle@super{%
%   \bibpunct{[}{]}{,}{s}{,}{\textsuperscript{,}}}
% \newcommand\bibstyle@inline{%
%   \bibpunct{[}{]}{,}{n}{,}{,}}
% \@namedef{bibstyle@author-year}{%
%   \bibpunct{(}{)}{;}{a}{,}{,}}
  \newcommand\bibstyle@super{%
    \bibpunct{[}{]}{,}{s}{,}{\textsuperscript{,}}}
  \newcommand\bibstyle@inline{%
    \bibpunct{[}{]}{,}{n}{,}{,}}
  \@namedef{bibstyle@author-year}{%
    \bibpunct{(}{)}{;}{a}{,}{,}}
%    \end{macrocode}
%
%    \begin{macrocode}