Commit 12fc0136 authored by liziwl's avatar liziwl
Browse files

update by qoder

parent 08454110
Loading
Loading
Loading
Loading
+13 −24
Original line number Diff line number Diff line
@@ -2,28 +2,17 @@

% 中英文摘要和关键字

\begin{abstract}
  本模板是南方科技大学本科毕业设计(论文)的 \LaTeX{} 模板。
如用英文写作,则英文摘要在前,中文摘要在后。

笔者见到的毕业论文模板,大多是以文类的形式,少部分以宏包的形式,并且在模板中大多掺杂着各式各样的例子(除了维护频率高的模板),
导致模板文件使用了大部分与形式格式不相关的内容,代码量巨大文档欠缺且不容易修改,出现问题需要查看宏包或者文类的源代码。
  于是,秉着仅提供实现最基本要求的理念,重构了之前所写的 \TeX{} 形式。
  
于是,秉着仅提供实现最基本要求的理念,重构了之前所写的 \TeX\ 形式。
由于第二年使用该模板,所以设计出的模板接口不能保证以后不发生重大变动,一切以文档为主。
毕竟学校在发展初期,各类文件都在日渐完善,前几年时,学校标志及名称还发生变化,同时毕业论文的样式也发生了重大变化。
但是可以保证的是,模板提供的接口均为中文形式\footnote{
  使用 \hologo{XeLaTeX} 特性,一方面增加辨识度,另一方面不拘泥于英文命名的规则。
  当然此举也有些许弊端,在此就不过多展开。
},并且至少更新到 2021 年,也就是笔者毕业。
模板这种东西不能保证一劳永逸,一方面学校的标准制度都在发生着改变,
  另一方面 \LaTeX{} 的宏包也在发生着改变,早先流行的宏包可能几年后就被"淘汰"掉。
另一方面 \hologo{LaTeX} 的宏包也在发生着改变,早先流行的宏包可能几年后就被淘汰掉。
因此,您的使用与反馈是我不断更新的动力,希望各位不吝赐教。

  \thusetup{
    keywords = {\LaTeX{}, 接口, 本科论文, 南方科技大学},
  }
\end{abstract}

\begin{abstract*}
  This template is a \LaTeX{} template for the undergraduate thesis of Southern University of Science and Technology.
  
  For theses written in English, the English abstract should be placed before the Chinese abstract.

  \thusetup{
    keywords* = {LaTeX, Interface, Undergraduate Thesis, SUSTech},
  }
\end{abstract*}
+1 −1
Original line number Diff line number Diff line
% !TeX root = ../sustechthesis-example-bachelor.tex
% !Mode:: "TeX:UTF-8"

\chapter{附录示例}
\section{附录示例}

这是附录的示例内容。

+60 −0
Original line number Diff line number Diff line
% !Mode:: "TeX:UTF-8"
% !TEX program  = xelatex

\section{一些样例}

\subsection{表格}

表格与图片可以直接通过 \verbbox{\ref{<key>}} 来引用,例如表 \ref{table2}、图 \ref{F:test-a}、图 \ref{F:test-b-sub-b}

\begin{table}[htb]
  % h-here, t-top, b-bottom,优先级依次下降
  % 居中,模版已设定表格浮动体居中
  \centering
  \caption{表格的标题应该放在上方}
  \label{table}
  \begin{tabular}{lc} % 三线表不能有竖线,l-left, c-center, r-right
    \toprule
    % 三线表-top 线
    Example & Result \\
    \midrule
    % 三线表-middle 线
    Example1          & 0.25 \\
    Example2          & 0.36 \\
    \bottomrule
    % 三线表-底线
  \end{tabular}
\end{table}

\begin{table}[htb]
  \centering
  \caption{带表注的表格的标题}
  \label{table2}
  \begin{threeparttable}
    \setlength{\tabcolsep}{0.6cm}{ % 调节表格长度
      \begin{tabular}{lc} % 三线表不能有竖线,l-left, c-center, r-right
        \toprule
        % 三线表-top 线
        Example & Result \\
        \midrule
        % 三线表-middle 线
        Example1          & 0.25\tnote{1} \\
        Example2          & 0.36 \\
        \bottomrule
        % 三线表-底线
      \end{tabular}
    }
    \begin{tablenotes}
    \item[1] 数据来源:南方科技大学 \LaTeX 模版 % 增加表格数据来源注释
    \end{tablenotes}
  \end{threeparttable}
\end{table}

\begin{proof}
  这是一个证明符号的示例。
\end{proof}

\subsection{参考文献}

参考文献一般使用 \verbbox{\cite{<key>}} 命令,效果如是\cite{Nicholas1998Handbook}
引用作者使用 \verbbox{\citeauthor{<key>}},效果如是"\citeauthor{goossens1994latex}"。
 No newline at end of file
+13 −0
Original line number Diff line number Diff line
% !Mode:: "TeX:UTF-8"
% !TEX program  = xelatex

\section{免责声明}
\begin{enumerate}[label={\alph*)}]
\item 本模板的发布遵守 \LaTeX\ Project Public License,使用前请认真阅读协议内容。
\item 南方科技大学教学工作部只提供毕业论文写作指南,不提供官方模板,也不会授权第三方模板为官方模板,
  所以此模板仅为写作指南的参考实现,不保证格式审查老师不提意见。
  任何由于使用本模板而引起的论文格式审查问题均与本模板作者无关。
\item 任何个人或组织以本模板为基础进行修改,扩展而生成的新的专用模板,
  请严格遵守 \LaTeX\ Project Public License 协议。
  由于违犯协议而引起的任何纠纷争端均与本模板作者无关。
\end{enumerate}
 No newline at end of file
+21 −0
Original line number Diff line number Diff line
\begin{figure}[htb]
  \centering
  \includegraphics[width=.5\textwidth]{example-image-a}
  \caption{自带测试图片---Test image}\label{F:test-a}
  % 图片的标题应该在下方
\end{figure}

\begin{figure}[htb]
  \centering
  \begin{subfigure}[t]{.45\linewidth}
    \centering
    \includegraphics[width=1\textwidth]{example-image-a}
    \caption{子图-自带测试图片---Test image}\label{F:test-b-sub-a}
  \end{subfigure}
  \begin{subfigure}[t]{.45\linewidth}
    \centering
    \includegraphics[width=1\textwidth]{example-image-a}
    \caption{子图-自带测试图片---Test image}\label{F:test-b-sub-b}
  \end{subfigure}
  \caption{自带测试图片---Test image}\label{F:test-b}
\end{figure}
 No newline at end of file
Loading