<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">% !TeX encoding = UTF-8
% !TeX program = xelatex
% !TeX spellcheck = en_US

%
% Copyright (C) 2015-2021 by USTC TeX Users Group &lt;https://github.com/ustctug&gt;
%
% hfutthesis developed by HFUT TeX Users Group &lt;https://github.com/HFUTTUG&gt; on the 
% base of ustcthesis &lt;https://github.com/usthtug/ustcthesis&gt;.

% This file may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3c
% of this license or (at your option) any later version.
% The latest version of this license is in
%    https://www.latex-project.org/lppl.txt
% and version 1.3c or later is part of all distributions of LaTeX
% version 2008 or later.
%.

\documentclass[a4paper]{ltxdoc}

\usepackage[UTF8]{ctex}
\usepackage{unicode-math}
\usepackage{caption}
\usepackage{booktabs}
\usepackage{xcolor}
\usepackage{listings}
\usepackage[perpage]{footmisc}
\usepackage{hypdoc}
\usepackage{bicaption}
\makeatletter

% è®¾ç½®å­—ä½“
\IfFileExists{/System/Library/Fonts/Times.ttc}{
  \setmainfont{Times}
  \setsansfont[Scale=MatchLowercase]{Helvetica}
  \setmonofont[Scale=MatchLowercase]{Menlo}
  \xeCJKsetwidth{â€˜â€™â€œâ€}{1em}
}{}
\unimathsetup{
  math-style=ISO,
  bold-style=ISO,
}
\IfFontExistsTF{xits-math.otf}{
  \setmathfont[
    Extension    = .otf,
    BoldFont     = *bold,
    StylisticSet = 8,
  ]{xits-math}
  \setmathfont[range={cal,bfcal},StylisticSet=1]{xits-math.otf}
}{
  \setmathfont[
    Extension    = .otf,
    BoldFont     = XITSMath-Bold,
    StylisticSet = 8,
  ]{XITSMath-Regular}
  \setmathfont[range={cal,bfcal},StylisticSet=1]{XITSMath-Regular.otf}
}

% å®šä¹‰ä¸€äº›å‘½ä»¤ç”¨äºŽå†™æ–‡æ¡£
\newcommand\TeXLive{\TeX{} Live}
\newcommand\unicodechar[1]{U+#1ï¼ˆ\symbol{"#1}ï¼‰}
\DeclareRobustCommand\file{\nolinkurl}
\DeclareRobustCommand\env{\texttt}
\DeclareRobustCommand\pkg{\textsf}
\DeclareRobustCommand\cls{\textsf}
\DeclareRobustCommand\opt{\texttt}

% åœ¨ doc çš„åŸºç¡€ä¸Šå¢žåŠ&nbsp; option çš„æè¿°
\def\DescribeOption{\leavevmode\@bsphack\begingroup\MakePrivateLetters
  \Describe@Option}
\def\Describe@Option#1{\endgroup
              \marginpar{\raggedleft\PrintDescribeOption{#1}}%
              \SpecialEnvIndex{#1}\@esphack\ignorespaces}
\@ifundefined{PrintDescribeOption}
   {\def\PrintDescribeOption#1{\strut \MacroFont #1\ }}{}

% è°ƒæ•´åˆ—è¡¨çš„æ&nbsp;¼å¼
\setlength\partopsep{\z@}
\def\@listi{\leftmargin\leftmargini
            \parsep \z@
            \topsep \z@
            \itemsep \z@}
\let\@listI\@listi
\@listi

% listings çš„æ&nbsp;·å¼
\lstdefinestyle{lstshell}{
  basicstyle      = \small\ttfamily,
  backgroundcolor = \color{lightgray},
  language        = bash,
}
\newcommand\shellcmd[1]{\colorbox{lightgray}{\lstinline[style=lstshell]|#1|}}
\lstnewenvironment{shell}{\lstset{style=lstshell, gobble=2}}{}
\lstnewenvironment{latex}{%
  \lstset{
    basicstyle = \small\ttfamily,
    frame      = single,
    gobble     = 2,
    language   = [LaTeX]TeX,
  }%
}{}

\hypersetup{
  allcolors         = blue,
  bookmarksnumbered = true,
  bookmarksopen     = true,
}
\makeatother


\begin{document}



\title{\cls{hfutthesis} ä½¿ç”¨è¯´æ˜Ž}
\author{
  \href{https://github.com/HFUTTUG}{HFUTTUG}
 }
\date{v1.0.4\qquad 2022-04-09}
\maketitle



\section{ç®€ä»‹}

æœ¬æ¨¡æ¿ \cls{hfutthesis} æ˜¯åˆè‚¥å·¥ä¸šå¤§å­¦æœ¬ç§‘ç”Ÿå’Œç&nbsp;”ç©¶ç”Ÿå­¦ä½è®ºæ–‡çš„ \LaTeX{}
æ¨¡æ¿ï¼Œ æŒ‰ç…§æœ€æ–°ç‰ˆçš„ã€Š\href{http://xwgl.hfut.edu.cn/2021/0419/c1975a253949/page.htm}
{åˆè‚¥å·¥ä¸šå¤§å­¦ç&nbsp;”ç©¶ç”Ÿå­¦ä½è®ºæ–‡å†™ä½œè§„èŒƒ}ã€‹å’Œ
ã€Š\href{http://xcjwb.hfut.edu.cn/53/cc/c1144a21452/page.htm}
{åˆè‚¥å·¥ä¸šå¤§å­¦æœ¬ç§‘æ¯•ä¸šè®¾è®¡ï¼ˆè®ºæ–‡ï¼‰å·¥ä½œå®žæ–½ç»†åˆ™}ã€‹ï¼ˆä»¥ä¸‹ç»Ÿç§°ã€Šè§„èŒƒã€‹ï¼‰çš„è¦æ±‚ç¼–å†™ï¼Œå…¼å®¹æœ€æ–°ç‰ˆçš„ TeX Liveã€MacTeX ã€MiKTeX å‘è¡Œç‰ˆï¼Œæ”¯æŒè·¨å¹³å°ä½¿ç”¨ã€‚

æœ¬é¡¹ç›®åœ¨ \href{https://github.com/ustctug/ustcthesis}
{ustctug/ustcthesis} åŸºç¡€ä¸Šç¼–å†™ï¼Œ\href{https://github.com/LaureatePoet}{LaureatePoet}å’Œ\href{https://github.com/HowardZorn}{Fw[a]rd} åŸºäºŽåˆè‚¥å·¥ä¸šå¤§å­¦æœ¬ç§‘ç”Ÿå’Œç&nbsp;”ç©¶ç”Ÿå­¦ä½è®ºæ–‡çš„ç›¸å…³è¦æ±‚ï¼Œå¼€å‘äº†æœ¬æ¨¡æ¿çš„ v1.0.0 ç‰ˆæœ¬ã€‚

ä¸‹è½½åœ°å€ï¼š
\begin{itemize}
  \item GitHub Releasesï¼š\url{https://github.com/HFUTTUG/HFUT_Thesis/releases}
  \item Overleaf æ¨¡æ¿ï¼š\url{https://www.overleaf.com/latex/templates/hfut-thesis/ythwdqdkpvkp}
\end{itemize}

ç”¨æˆ·åœ¨ä½¿ç”¨ \pkg{hfutthesis} æ¨¡æ¿å‰ï¼Œåº”å…ˆé˜…è¯»å­¦æ&nbsp;¡å…³äºŽæ¯•ä¸šè®ºæ–‡çš„ç›¸å…³è§„å®šã€‚
å¦‚æžœåœ¨ä½¿ç”¨çš„è¿‡ç¨‹ä¸­é‡åˆ°é—®é¢˜ï¼Œå¯ä»¥é˜…è¯»
\href{https://github.com/HFUTTUG/HFUT_Thesis/wiki}{å¸¸è§é—®é¢˜}ï¼Œ
æˆ–è€…åœ¨ \href{https://github.com/HFUTTUG/HFUT_Thesis/issues}{GitHub Issues}
ä¸­åé¦ˆã€‚

\section{ç¼–è¯‘æ–¹æ³•}


\subsection{æ–‡ä»¶ç»„æˆ}
æœ¬æ¨¡æ¿çš„ä¸»è¦æ–‡ä»¶å¦‚è¡¨~\ref{tab:files}ï¼š
\begin{table}[htb]
  \centering\small
  \caption{æ¨¡æ¿çš„æ–‡ä»¶ç»„æˆ}
  \label{tab:files}
  \begin{tabular}{lll}
    \toprule
    ç±»åˆ«     &amp; æ–‡ä»¶                      &amp; è¯´æ˜Ž                         \\
    \midrule
    æ¨¡æ¿æ–‡ä»¶ &amp; \file{hfutthesis.cls}     &amp; æ¨¡æ¿æ–‡ä»¶                     \\
             &amp; \file{hfutthesis-*.bst}   &amp; \BibTeX{} å‚è€ƒæ–‡çŒ®è¡¨æ&nbsp;¼å¼     \\
             &amp; \file{hfutthesis-*.bbx}   &amp; BibLaTeX å‚è€ƒæ–‡çŒ®è¡¨æ&nbsp;¼å¼      \\
             &amp; \file{hfutthesis-*.cbx}   &amp; BibLaTeX å‚è€ƒæ–‡çŒ®è¡¨æ&nbsp;¼å¼      \\
             &amp; \file{figures/*.pdf} &amp; æ&nbsp;¡åå’Œæ&nbsp;¡å¾½å›¾ç‰‡               \\
    \midrule
    ä½¿ç”¨è¯´æ˜Ž &amp; \file{hfutthesis-doc.tex} &amp; æ¨¡æ¿ä½¿ç”¨è¯´æ˜Žçš„æºä»£ç&nbsp;         \\
             &amp; \file{hfutthesis-doc.pdf} &amp; ï¼ˆä½&nbsp;æ­£åœ¨é˜…è¯»çš„ï¼‰æ¨¡æ¿ä½¿ç”¨è¯´æ˜Ž \\
    \midrule
    ç¤ºä¾‹æ–‡æ¡£ &amp; \file{main.tex}           &amp; ä¸»æ–‡æ¡£                       \\
             &amp; \file{hfutsetup.tex}      &amp; é…ç½®æ–‡ä»¶                     \\
             &amp; \file{chapters/*.tex}     &amp; ç¤ºä¾‹æ–‡æ¡£çš„å„ä¸ªç«&nbsp;èŠ‚           \\
             &amp; \file{figures/}           &amp; æ”¾ç½®å›¾ç‰‡çš„ç›®å½•               \\
             &amp; \file{bib/hfut.bib}       &amp; \BibTeX{} ç¤ºä¾‹æ•°æ®åº“         \\
    \midrule
    å…¶ä»–     &amp; \file{README.md}          &amp; åŸºæœ¬è¯´æ˜Ž                     \\
             &amp; \file{HFUT_Thesis.json}       &amp; æ›´æ–°æ—¥å¿—                 \\
             &amp; \file{latexmkrc}          &amp; latexmk çš„é…ç½®æ–‡ä»¶           \\
             &amp; \file{Makefile}           &amp; GNU make çš„é…ç½®æ–‡ä»¶          \\
             &amp; \file{.vscode/}           &amp; VS Code çš„é…ç½®æ–‡ä»¶           \\
             &amp; \file{build.lua}          &amp; l3build çš„é…ç½®æ–‡ä»¶           \\
    \bottomrule
  \end{tabular}
\end{table}

ç¤ºä¾‹æ–‡æ¡£åŒ…æ‹¬äº†å¸¸ç”¨çš„ \LaTeX{} å‘½ä»¤ï¼Œå»ºè®®æ–°æ‰‹ä»Žæ­¤å…¥æ‰‹ï¼Œç”¨è‡ªå·±çš„å†…å®¹è¿›è¡Œæ›¿æ¢ã€‚


\subsection{ä¾èµ–å®åŒ…}

æœ¬æ¨¡æ¿è¦æ±‚ä½¿ç”¨ TeX Liveã€MacTeX æˆ– MiKTeX ä¸ä½ŽäºŽ 2017 å¹´çš„å‘è¡Œç‰ˆï¼Œ
æŽ¨èå‡çº§åˆ°æœ€æ–°çš„ç‰ˆæœ¬ã€‚

æ¨¡æ¿ç›´æŽ¥ä¾èµ–çš„å®åŒ…æœ‰ï¼š
\pkg{amsthm},
\pkg{graphicx},
\pkg{booktabs},
\pkg{longtable},
\pkg{algorithm2e},
\pkg{siunitx},
\pkg{natbib},
\pkg{hyperref}ã€‚

å¦å¤–ï¼Œæ¨¡æ¿è¿˜å¯¹å…¶ä»–å®åŒ…æä¾›äº†æ”¯æŒï¼ŒåŒ…æ‹¬ï¼š
\pkg{amsmath},
\pkg{biblatex},
\pkg{nomencl}ç­‰ã€‚
è¿™äº›å®åŒ…å¹¶éžå¿…éœ€ï¼Œç”¨æˆ·å¯ä»¥æ&nbsp;¹æ®éœ€è¦é€‰æ‹©ä½¿ç”¨ã€‚
æ¨¡æ¿åœ¨æ£€æµ‹åˆ°è¿™äº›å®åŒ…è¢«è°ƒç”¨åŽä¼šè‡ªåŠ¨è¿›è¡Œé…ç½®ã€‚

æ³¨æ„ï¼Œæœ¬æ¨¡æ¿\emph{ä¸}å…¼å®¹çš„å®åŒ…æœ‰ï¼š
\pkg{amsfonts},
\pkg{amssymb},
\pkg{bm},
\pkg{cite},
\pkg{mathrsfs},
\pkg{newtx},
\pkg{upgreek}ã€‚


\subsection{å¼€å§‹ç¼–è¯‘}

\begin{enumerate}

\item GNU make \\
Linux/Macç”¨æˆ·ï¼Œå¯ä»¥ç›´æŽ¥ä½¿ç”¨ GNU make å·¥å…·ï¼Œè¿™æ˜¯æœ€ç®€å•çš„æ–¹æ³•ã€‚
ç¼–è¯‘è®ºæ–‡ \file{main.pdf}ï¼š
\begin{shell}
  make
\end{shell}
ç¼–è¯‘è¯´æ˜Žæ–‡æ¡£ \file{hfutthesis-doc.pdf}ï¼š
\begin{shell}
  make doc
\end{shell}
å¦å¤–è¿˜å¯ä»¥ç”¨ \shellcmd{make clean} æ¸…ç†è¾…åŠ©æ–‡ä»¶ã€‚

\item |latexmk| \\
Windows ç”¨æˆ·å¯èƒ½æ—&nbsp;æ³•ä½¿ç”¨GNU makeï¼Œä½¿ç”¨ |latexmk| ä¹Ÿæ˜¯ä¸€ä¸ªæ¯”è¾ƒç®€å•çš„æ–¹æ³•ï¼Œ
é…ç½®æ–‡ä»¶ç”± \file{latexmkrc} ç»™å‡ºï¼Œå…¶å‚æ•°è®¾ç½®ä¸º |-xelatex|ï¼Œç”¨æˆ·ç¼–è¯‘è®ºæ–‡
åªéœ€ä½¿ç”¨å‘½ä»¤ï¼š
\begin{shell}
  latexmk -xelatex main.tex
\end{shell}
ç¼–è¯‘è¯´æ˜Žæ–‡æ¡£ï¼š
\begin{shell}
  latexmk -xelatex hfuthesis-doc.tex
\end{shell}
æ¸…ç†è¾…åŠ©æ–‡ä»¶å¯ä»¥ç”¨ \shellcmd{latexmk -c}ã€‚å›¾å½¢ç•Œé¢ç”¨æˆ·åº”å‚è€ƒç¼–è¾‘å™¨çš„ä½¿ç”¨è¯´æ˜Žã€‚

\item æ‰‹åŠ¨ç¼–è¯‘ \\
æ‰‹åŠ¨ç¼–è¯‘æ˜¯æœ€ç¹ççš„æ–¹æ³•ï¼Œç”¨æˆ·å¯èƒ½éœ€è¦è¿è¡Œå¤šéï¼Œä»¥ç¡®ä¿è®ºæ–‡çš„äº¤å‰å¼•ç”¨ç­‰ä¿¡æ¯å…¨éƒ¨æ­£ç¡®ã€‚

ç¼–è¯‘è®ºæ–‡ \file{main.pdf}ï¼š
\begin{shell}
  xelatex main.tex
  bibtex main.aux
  xelatex main.tex
  xelatex main.tex
\end{shell}
ç¼–è¯‘è¯´æ˜Žæ–‡æ¡£ \file{hfutthesis-doc.pdf}ï¼š
\begin{shell}
  xelatex hfutthesis-doc.tex
  xelatex hfutthesis-doc.tex
\end{shell}
\end{enumerate}



\section{æ¨¡æ¿è®¾ç½®}


\subsection{æ–‡æ¡£ç±»å‚æ•°}
\DescribeOption{degree}
é€‰æ‹©å­¦ä½ï¼Œæ”¯æŒ \opt{bachelor}ï¼ˆé»˜è®¤ï¼‰ï¼Œ\opt{master}ï¼Œ\opt{doctor}ã€‚
\begin{latex}
  \documentclass[degree=bachelor]{hfutthesis}
\end{latex}

\DescribeOption{degree-type}
å­¦ä½ç±»åž‹ã€‚å¯é€‰ï¼šå­¦æœ¯åž‹ \opt{academic}ï¼ˆé»˜è®¤ï¼‰ï¼Œä¸“ä¸šåž‹ \opt{professional}ã€‚
\begin{latex}
  \documentclass[degree-type=professional]{hfutthesis}
\end{latex}

\DescribeOption{language}
è®ºæ–‡å…¨æ–‡çš„ä¸»è¦è¯­è¨€ã€‚å¯é€‰ï¼š\opt{chinese}ï¼ˆé»˜è®¤ï¼‰ï¼Œ\opt{english}ã€‚
\begin{latex}
  \documentclass[language=english]{hfutthesis}
\end{latex}

\DescribeOption{output}
è¾“å‡º PDF çš„ç±»åž‹ï¼š
\begin{itemize}
  \item \opt{print}ï¼ˆé»˜è®¤ï¼‰ï¼šç”¨äºŽåŒé¢æ‰“å°çº¸è´¨è®ºæ–‡
  \item \opt{electronic}ï¼šå•é¢ï¼Œå¹¶ä¿ç•™è¶…é“¾æŽ¥é¢œè‰²
\end{itemize}
\begin{latex}
  \documentclass[output=electronic]{hfutthesis}
\end{latex}

\DescribeOption{section-style}
ç«&nbsp;èŠ‚æ&nbsp;‡é¢˜çš„æ&nbsp;·å¼ã€‚å¯é€‰ï¼š\opt{chinese}ï¼ˆé»˜è®¤ï¼‰ï¼Œ\opt{english}ã€‚
\begin{itemize}
  \item \opt{chinese}ï¼šæ±‰å­—åºå·
  \item \opt{arabic}ï¼šæ•°å­—åºå·
\end{itemize}
\begin{latex}
  \documentclass[section-style=arabic]{hfutthesis}
\end{latex}


\subsection{å­—ä½“è®¾ç½®}
æ¨¡æ¿é»˜è®¤ä¼šè‡ªåŠ¨æ&nbsp;¹æ®æ“ä½œç³»ç»Ÿé…ç½®åˆé€‚çš„å­—ä½“ï¼Œ
\DescribeOption{fontset}
ç”¨æˆ·ä¹Ÿå¯ä»¥é€šè¿‡ \opt{fontset} æ—¶æŒ‡å®šä½¿ç”¨é¢„è®¾çš„å­—åº“ï¼Œå¦‚ï¼š
\begin{latex}
  \documentclass[fontset=windows]{hfutthesis}
\end{latex}
å…è®¸çš„é€‰é¡¹æœ‰ \opt{auto}ï¼ˆé»˜è®¤ï¼‰ã€\opt{windows}ã€\opt{mac}ã€\opt{ubuntu}ã€\opt{fandol}å’Œ\opt{none}ã€‚
å…·ä½“ä½¿ç”¨çš„å­—ä½“è§è¡¨~\ref{tab:fontset}ã€‚
ç”¨æˆ·ä¹Ÿå¯ä»¥è®¾ç½®ä¸º \opt{none} å¹¶è‡ªè¡Œé…ç½®å­—ä½“ã€‚

\begin{table}[htb]
  \centering
  \caption{æ¨¡æ¿é¢„è®¾çš„å­—ä½“}
  \label{tab:fontset}
  \begin{tabular}{cccc}
    \toprule
    \opt{windows} &amp; \opt{mac}    &amp; \opt{ubuntu} &amp; \opt{fandol} \\
    \midrule
    Times New Roman  &amp; Times New Roman &amp; TeX Gyre Termes &amp; TeX Gyre Termes \\
    SimSun            &amp; SimSun           &amp; TeX Gyre Heros  &amp; TeX Gyre Heros  \\
    Courier          &amp; Menlo           &amp; TeX Gyre Cursor &amp; TeX Gyre Cursor \\
    ä¸­æ˜“å®‹ä½“         &amp; åŽæ–‡å®‹ä½“        &amp; æ€æºå®‹ä½“        &amp; Fandol å®‹ä½“     \\
    ä¸­æ˜“é»‘ä½“         &amp; åŽæ–‡é»‘ä½“        &amp; æ€æºé»‘ä½“        &amp; Fandol é»‘ä½“     \\
    \bottomrule
  \end{tabular}
\end{table}

ç„¶è€Œè‡ªåŠ¨é…ç½®çš„å­—ä½“åªèƒ½ä¿è¯ç¼–è¯‘é€šè¿‡ï¼Œä½†æ˜¯è¿˜å­˜åœ¨ä¸€äº›é—®é¢˜ï¼š
\begin{enumerate}
  \item åœ¨å…¶ä»–å¹³å°ä¸Šé…ç½®çš„ TeX Gyre ç³»åˆ—å­—ä½“ï¼Œè™½ç„¶åœ¨é£Žæ&nbsp;¼ä¸Šæ¯”è¾ƒæŽ¥è¿‘ Times å’Œ Arialï¼Œ
    ä½†æ˜¯æ¯•ç«Ÿè·Ÿã€Šè§„èŒƒã€‹çš„å­—ä½“ä¸å®Œå…¨ä¸€è‡´ï¼›
  \item Fandol å­—åº“çš„å­—å½¢è¾ƒå°‘ï¼Œå¸¸å¸¸å‡ºçŽ°ç¼ºå­—çš„æƒ…å†µï¼›
  \item åŽæ–‡å­—åº“å’Œ Fandol å­—åº“è™½ç„¶ä¸è¿åã€Šè§„èŒƒã€‹çš„è¦æ±‚ï¼Œ
    ä½†æ˜¯å…¶å­—å½¢è·Ÿä¸­æ˜“å­—åº“æœ‰æ‰€å·®åˆ«ï¼Œå¯èƒ½è¢«å®¡æŸ¥è€å¸ˆè®¤ä¸ºæ&nbsp;¼å¼ä¸ç¬¦åˆè¦æ±‚ã€‚
\end{enumerate}

æ‰€ä»¥å»ºè®®åœ¨æäº¤æœ€ç»ˆç‰ˆå‰ä½¿ç”¨ Windows å¹³å°çš„å­—ä½“è¿›è¡Œç¼–è¯‘ã€‚

\subsection{æ›´å¤šè®¾ç½®}
\DescribeOption{\textbackslash hfut@define@key}
æœ¬æ¨¡æ¿å¯¹æŽ¥å£è¿›è¡Œäº†åˆå§‹åŒ–å®šä¹‰ï¼Œå¦‚æœ‰æ›´ä¸ªæ€§çš„éœ€æ±‚ï¼Œå¯åœ¨\file{hfutthesis.cls}ä¸­æŸ¥çœ‹æŽ¥å£åŠç¼ºçœå€¼å¹¶è¿›è¡Œä¿®æ”¹ï¼Œå¦‚ï¼š
\begin{latex}
  \hfut@define@key{
  degree = {
    choices = {
      doctor,
      master,
      bachelor,
    },
    default = bachelor,
  },
  ...
  }
\end{latex}
ä¿®æ”¹\opt{default}çš„å€¼ä¸º\opt{doctor}ã€\opt{master}å’Œ\opt{bachelor}ï¼Œå³å¯ä¿®æ”¹å­¦ä½é»˜è®¤ç±»åž‹ã€‚

\begin{latex}
  \hfut@define@key{
  ugtype = {
    default = {è®ºæ–‡},
  },
  ... 
  }
\end{latex}
ä¿®æ”¹\opt{default}çš„å€¼ä¸ºâ€œå…¶ä»–åç§°â€ï¼Œugtypeçš„é»˜è®¤å€¼å³ä¿®æ”¹ä¸ºâ€œå…¶ä»–åç§°â€ã€‚


\section{è®ºæ–‡å†…å®¹}
\subsection{å†…å®¹é¡ºåº}
æ&nbsp;¹æ®ã€Šè§„èŒƒã€‹ï¼Œç&nbsp;”ç©¶ç”Ÿè®ºæ–‡å’Œæœ¬ç§‘ç”Ÿè®ºæ–‡åœ¨å†…å®¹çš„è¦æ±‚ä¸Šæœ‰æ‰€å·®å¼‚ï¼Œç”¨æˆ·éœ€è¦æ&nbsp;¹æ®\file{main.tex}ä¸­çš„æ³¨é‡Šæç¤ºè¿›è¡Œè°ƒæ•´ã€‚

ç&nbsp;”ç©¶ç”Ÿè®ºæ–‡çš„å†…å®¹æŒ‰ç…§ä»¥ä¸‹é¡ºåºæŽ’åˆ—ï¼š

\begin{description}
  \item[maketitle] å°é¢ï¼ŒåŽŸåˆ›æ€§å£°æ˜ŽåŠæŽˆæƒä½¿ç”¨è¯´æ˜Ž
  \item[frontmatter] è‡´è°¢ï¼Œæ‘˜è¦ï¼Œç›®å½•ï¼Œå›¾ã€è¡¨æ¸…å•ï¼Œï¼ˆç¬¦å·è¯´æ˜Žï¼‰
  \item[mainmatter] æ­£æ–‡ç«&nbsp;èŠ‚ï¼Œå‚è€ƒæ–‡çŒ®
  \item[appendix] é™„å½•
  \item[backmatter] å·²å‘è¡¨è®ºæ–‡åˆ—è¡¨
\end{description}

æœ¬ç§‘ç”Ÿè®ºæ–‡çš„å†…å®¹æŒ‰ç…§ä»¥ä¸‹é¡ºåºæŽ’åˆ—ï¼š

\begin{description}
  \item[maketitle] å°é¢ï¼ŒåŽŸåˆ›æ€§å£°æ˜Žå’ŒæŽˆæƒä½¿ç”¨å£°æ˜Ž
  \item[frontmatter] æ‘˜è¦ï¼Œç›®å½•ï¼Œå›¾ã€è¡¨æ¸…å•ï¼Œï¼ˆç¬¦å·è¯´æ˜Žï¼‰
  \item[mainmatter] æ­£æ–‡ç«&nbsp;èŠ‚ï¼Œå‚è€ƒæ–‡çŒ®
  \item[backmatter] ï¼ˆå·²å‘è¡¨è®ºæ–‡åˆ—è¡¨ï¼‰ï¼Œè‡´è°¢
  \item[appendix] é™„å½•
\end{description}

æ³¨ï¼š
\begin{itemize}
  \item  ç¤ºä¾‹æ–‡æ¡£ \file{main.tex} ä¸­çš„è‡´è°¢ã€ç›®å½•ç­‰ç«&nbsp;èŠ‚çš„é¡ºåºï¼Œæ˜¯æŒ‰ç…§æœ¬ç§‘ç”Ÿè®ºæ–‡çš„æ&nbsp;¼å¼ç»„ç»‡å†…å®¹çš„ï¼Œå›&nbsp;æ­¤ç&nbsp;”ç©¶ç”Ÿéœ€è¦æ‰‹åŠ¨è°ƒæ•´é¡ºåºã€‚
  \item  åœ¨æŸäº›éƒ¨åˆ†ä¸­ï¼Œæœ¬ç§‘ç”Ÿã€ç¡•å£«ç”Ÿå’Œåšå£«ç”Ÿçš„å†…å®¹è¦æ±‚æœ‰ç»†å¾®çš„å·®å¼‚ï¼Œéœ€æ&nbsp;¹æ®\file{main.tex}ä¸­çš„æ³¨é‡Šè¿›è¡Œä¿®æ”¹ã€‚ä¾‹å¦‚ï¼Œåšå£«å­¦ä½è®ºæ–‡åœ¨åŽŸåˆ›æ€§å£°æ˜Žå‰æœ‰ä¸“å®¶æ¸…å•é¡µï¼Œéœ€åŽ»é™¤æ³¨é‡Šã€‚
\end{itemize}
 


\subsection{å°é¢}

â€œå°é¢â€çš„åå­—è®©äººæœ‰äº›æ··æ·†ï¼Œå®ƒæ—¢å¯ä»¥æŒ‡ç”±å°åˆ·åŽ‚ç»Ÿä¸€åˆ¶ä½œçš„ç¡¬çš®å°é¢ï¼ˆcoverï¼‰ï¼Œä¹Ÿå¯
ä»¥æŒ‡ä¹¦æ‰“å¼€åŽçš„ç¬¬ä¸€é¡µï¼ˆtitle pageï¼‰ã€‚åœ¨è¿™é‡ŒæŒ‡çš„æ˜¯åŽè€…ï¼Œæ‰€ä»¥æœ¬æ¨¡æ¿ä»Ž title page
å¼€å§‹ã€‚

\DescribeMacro{\maketitle}
\DescribeMacro{\copyrightpage}
å°é¢å’Œå£°æ˜Žé¡µåˆ†åˆ«ç”± \cs{maketitle} å’Œ \cs{copyrightpage} å‘½ä»¤ç”Ÿæˆï¼Œ
å…¶ä¸­çš„å„é¡¹ä¿¡æ¯åœ¨\file{hfutsetup.tex}ä¸­çš„\cs{hfutsetup} ä¸­ä¿®æ”¹ï¼Œå¦‚ï¼š
\begin{latex}
  \hfutsetup{
    title  = {è®ºæ–‡ä¸­æ–‡é¢˜ç›®},
    title* = {Thesis English Title},
  }
\end{latex}
æ¨¡æ¿æä¾›çš„é€‰é¡¹è§è¡¨~\ref{tab:covercmds}ï¼ˆéƒ¨åˆ†ï¼‰ï¼Œ
\begin{table}[htb]
  \centering\small
  \caption{å½•å…¥å°é¢ä¿¡æ¯çš„å‘½ä»¤}
  \label{tab:covercmds}
  \begin{tabular}{lll}
    \toprule
    å‘½ä»¤                &amp; å‘½ä»¤ï¼ˆè‹±æ–‡ï¼‰         &amp; è¯´æ˜Ž       \\
    \midrule
    \opt{title}         &amp; \opt{title*}         &amp; è®ºæ–‡æ&nbsp;‡é¢˜   \\
    \opt{stuID}         &amp; -                    &amp; å­¦å·   \\
    \opt{author}        &amp; \opt{author*}        &amp; ä½œè€…å§“å   \\
    \opt{speciality}    &amp; \opt{speciality*}    &amp; å­¦ç§‘ä¸“ä¸š   \\
    \opt{supervisor}    &amp; \opt{supervisor*}    &amp; å¯¼å¸ˆå§“å   \\
    \opt{secret-level}  &amp; \opt{secret-level*}  &amp; å¯†çº§       \\
    \opt{secret-year}   &amp; -                    &amp; ä¿å¯†å¹´é™   \\
    \bottomrule
  \end{tabular}
\end{table}

æœ‰å‡&nbsp;ç‚¹è¯´æ˜Žï¼š
\begin{itemize}
  \item \cs{hfutsetup} ä½¿ç”¨ \pkg{kvsetkeys} æœºåˆ¶ï¼Œé…ç½®é¡¹ä¹‹é—´ä¸èƒ½æœ‰ç©ºè¡Œï¼Œå¦åˆ™ä¼šæŠ¥é”™ã€‚
  \item å…¶ä¸­å¸¦ |*| åŽç¼€çš„é€‰é¡¹ç”¨äºŽè®¾ç½®è‹±æ–‡å°é¢ã€‚
  \item å¯¼å¸ˆå§“å \opt{supervisor} å…è®¸å¤šä¸ªå§“åï¼Œä½¿ç”¨â€œ,â€ï¼ˆè¥¿æ–‡é€—å· U+002Cï¼‰éš”å¼€ã€‚
  \item å®Œæˆæ—¶é—´ \opt{date}é»˜è®¤ä¸ºå½“å‰æ—¥æœŸï¼Œå¦‚éœ€æ›´æ”¹è¯·å–æ¶ˆæ³¨é‡Šå¹¶ä½¿ç”¨ ISO æ&nbsp;¼å¼ã€‚
\end{itemize}


\subsection{æ‘˜è¦å’Œç«&nbsp;èŠ‚}
å¯¹äºŽç‰¹æ®Šçš„ç«&nbsp;èŠ‚ï¼Œ\cls{hfutthesis} è¿˜æä¾›äº†ç›¸åº”çš„çŽ¯å¢ƒï¼š
\begin{itemize}
  \item ä¸­æ–‡æ‘˜è¦ï¼š\env{abstract}
  \item è‹±æ–‡æ‘˜è¦ï¼š\env{abstract*}
  \item ç¬¦å·è¯´æ˜Žï¼š\env{notation}
  \item è‡´è°¢ï¼š    \env{acknowledgements}
  \item å‘è¡¨æˆæžœï¼š\env{publications}
\end{itemize}

æ‘˜è¦çš„å…³é”®è¯åº”ä½¿ç”¨ \cs{hfutsetup} çš„æŽ¥å£è¿›è¡Œè®¾ç½®ï¼Œ
åªè¦åœ¨æ‘˜è¦ç»“æŸå‰å³å¯ï¼Œæ¯”å¦‚ï¼š
\begin{latex}
  \begin{abstract}
    è¿™é‡Œæ˜¯æ‘˜è¦ã€‚
    \hfutsetup{keywords = {è®ºæ–‡ï¼›æ‘˜è¦ï¼›å…³é”®è¯}}
  \end{abstract}
\end{latex}

ç›®å½•å’Œå›¾ã€è¡¨æ¸…å•å¯ä»¥ä½¿ç”¨å‘½ä»¤è‡ªåŠ¨ç”Ÿæˆï¼š
\begin{itemize}
  \item ç›®å½•ï¼š  \cs{tableofcontents}
  \item å›¾æ¸…å•ï¼š\cs{listoffigures}
  \item è¡¨æ¸…å•ï¼š\cs{listoftables}
\end{itemize}


\subsection{æµ®åŠ¨ä½“}

å­¦å£«å­¦ä½è®ºæ–‡è¦æ±‚å›¾è¡¨ä¸­æ–‡æ&nbsp;‡é¢˜ï¼Œè¯·ä½¿ç”¨\cs{caption}\marg{ä¸­æ–‡æ&nbsp;‡é¢˜}ï¼›ç¡•åšå­¦ä½è®ºæ–‡è¦æ±‚å›¾è¡¨ä¸­è‹±æ–‡æ&nbsp;‡é¢˜ï¼Œè¯·ä½¿ç”¨\cs{bicaption}\marg{\{ä¸­æ–‡æ&nbsp;‡é¢˜\}\{English title\}}ã€‚ä¾‹å¦‚

\begin{table}[h]
  \centering
   \caption{ä¸­æ–‡æ&nbsp;‡é¢˜} % é»˜è®¤ï¼šå­¦å£«å­¦ä½è®ºæ–‡ å›¾è¡¨ä¸­æ–‡æ&nbsp;‡é¢˜
  \label{tab:exampletable-zh}
  \begin{tabular}{cl}
    \toprule
    ç±»åž‹   &amp; æè¿°                                       \\
    \midrule
    æŒ‚çº¿è¡¨ &amp; æŒ‚çº¿è¡¨ä¹Ÿç§°ç³»ç»Ÿè¡¨ã€ç»„ç»‡è¡¨ï¼Œç”¨äºŽè¡¨çŽ°ç³»ç»Ÿç»“æž„ \\
    æ—&nbsp;çº¿è¡¨ &amp; æ—&nbsp;çº¿è¡¨ä¸€èˆ¬ç”¨äºŽè®¾å¤‡é…ç½®å•ã€æŠ€æœ¯å‚æ•°åˆ—è¡¨ç­‰   \\
    å¡çº¿è¡¨ &amp; å¡çº¿è¡¨æœ‰å®Œå…¨è¡¨ï¼Œä¸å®Œå…¨è¡¨å’Œä¸‰çº¿è¡¨ä¸‰ç§       \\
    \bottomrule
  \end{tabular}
\end{table}
\begin{table}[h]
  \centering
  \bicaption{ä¸­æ–‡æ&nbsp;‡é¢˜}{English Title} % ç¡•åšå­¦ä½è®ºæ–‡ å›¾è¡¨ä¸­è‹±æ–‡æ&nbsp;‡é¢˜
   \label{tab:exampletable-zh-en}
  \begin{tabular}{cl}
    \toprule
    ç±»åž‹   &amp; æè¿°                                       \\
    \midrule
    æŒ‚çº¿è¡¨ &amp; æŒ‚çº¿è¡¨ä¹Ÿç§°ç³»ç»Ÿè¡¨ã€ç»„ç»‡è¡¨ï¼Œç”¨äºŽè¡¨çŽ°ç³»ç»Ÿç»“æž„ \\
    æ—&nbsp;çº¿è¡¨ &amp; æ—&nbsp;çº¿è¡¨ä¸€èˆ¬ç”¨äºŽè®¾å¤‡é…ç½®å•ã€æŠ€æœ¯å‚æ•°åˆ—è¡¨ç­‰   \\
    å¡çº¿è¡¨ &amp; å¡çº¿è¡¨æœ‰å®Œå…¨è¡¨ï¼Œä¸å®Œå…¨è¡¨å’Œä¸‰çº¿è¡¨ä¸‰ç§       \\
    \bottomrule
  \end{tabular}
\end{table}
\DescribeMacro{\note}
æœ¬æ¨¡æ¿è¿˜æä¾›äº† \cs{note}\marg{notes} å‘½ä»¤ï¼Œç”¨äºŽåœ¨å›¾è¡¨ä¸­æ·»åŠ&nbsp;æ³¨é‡Šã€‚

å…³äºŽå›¾ç‰‡çš„å¹¶æŽ’ï¼ŒæŽ¨èä½¿ç”¨è¾ƒæ–°çš„ \pkg{subcaption} å®åŒ…ï¼Œä¸å»ºè®®ä½¿ç”¨
\pkg{subfigure} æˆ– \pkg{subfig}ã€‚

æ›´å¤šçš„è¡¨æ&nbsp;¼æ&nbsp;·å¼å‚è§ \pkg{booktabs}ï¼ˆä¸‰çº¿è¡¨ï¼‰ã€\pkg{longtable}ï¼ˆè·¨é¡µè¡¨æ&nbsp;¼ï¼‰ã€‚

ç®—æ³•å¯ä»¥ä½¿ç”¨ \pkg{algorithms} å®åŒ…æˆ–è€…è¾ƒæ–°çš„ \pkg{algorithm2e}ã€‚

\subsection{æ•°å­¦}

ã€Šè§„èŒƒã€‹è¦æ±‚æ•°å­—å’Œå­—æ¯ç»Ÿä¸€é‡‡ç”¨ Times New Romanä½“ï¼Œä¸Ž\TeX{} é»˜è®¤çš„ç¾Žå›½æ•°å­¦å­¦ä¼šï¼ˆAMSï¼‰çš„ä½¿ç”¨ä¹&nbsp;æƒ¯å¯èƒ½æœ‰æ‰€å‡ºå…¥ã€‚

\DescribeOption{math-font}
æ¨¡æ¿ä½¿ç”¨é»˜è®¤ä½¿ç”¨ XITS Math ä½œä¸ºæ•°å­¦å­—ä½“ã€‚
ç”¨æˆ·ä¹Ÿå¯ä»¥ä½¿ç”¨ \opt{math-font} é€‰é¡¹åˆ‡æ¢å…¶ä»–æ•°å­¦å­—ä½“ï¼Œå¯é€‰ï¼š
\opt{stix}ï¼ˆSTIX Two Mathï¼‰ã€
\opt{libertinus}ï¼ˆLibertinus Mathï¼‰ã€
\opt{newcm}ï¼ˆNew Computer Modern Mathï¼‰ã€
\opt{cm}ï¼ˆComputer Modern Mathï¼‰ã€
\opt{lm}ï¼ˆLatin Modern Mathï¼‰ã€‚

å…¶ä¸­ \opt{lm} å’Œ \opt{newcm} çš„å­—å½¢æ¯”è¾ƒæ­é… TeX åŽŸç”Ÿçš„ Computer Modern å­—ä½“ï¼Œ
ä½†ä¸Žã€Šè§„èŒƒã€‹è¦æ±‚çš„è¥¿æ–‡å­—ä½“ Times New Roman å¹¶ä¸æ­é…ã€‚
å¯èƒ½ä¼šé€&nbsp;æˆæ­£æ–‡å’Œå…¬å¼ä¸­çš„æ•°å­—å­—ä½“ä¸ä¸€è‡´ï¼Œéœ€è¦è°¨æ…Žä½¿ç”¨ã€‚

\DescribeOption{math-style}
ç”¨æˆ·å¯ä»¥é€šè¿‡è®¾ç½® \opt{math-style} é€‰æ‹©æ•°å­¦ç¬¦å·æ&nbsp;·å¼ï¼ˆå¯é€‰ï¼š
\opt{GB}ï¼ˆä¸­æ–‡é»˜è®¤ï¼‰ï¼Œ\opt{TeX}ï¼ˆè‹±æ–‡é»˜è®¤ï¼‰å’Œ \opt{ISO}ï¼‰ï¼Œæ¯”å¦‚ï¼š
\begin{latex}
  \hfutsetup{
    math-style = ISO,
  }
\end{latex}

ç”¨æˆ·ä¹Ÿå¯ä»¥é€é¡¹ä¿®æ”¹æ•°å­¦æ&nbsp;·å¼ã€‚
\newcommand\dif{\mathop{}\!\mathrm{d}}
\begin{enumerate}
  \item \DescribeOption{uppercase-greek}
    å¤§å†™å¸Œè…Šå­—æ¯çš„æ­£/æ–œä½“ï¼Œå¯é€‰ï¼š\opt{italic}ã€\opt{upright}ã€‚
    æœ‰é™å¢žé‡ç¬¦å· $\increment x$ å›ºå®šä½¿ç”¨æ­£ä½“ï¼ŒæŽ¨èä½¿ç”¨ \cs{increment} è¡¨ç¤ºã€‚
  \item \DescribeOption{less-than-or-equal}
    å°äºŽç­‰äºŽå·å’Œå¤§äºŽç­‰äºŽå·çš„å­—å½¢ï¼Œå¯é€‰ï¼š\opt{slanted}ã€\opt{horizontal}ã€‚
    è¿™å°†æŽ§åˆ¶ \cs{le}ã€\cs{ge}ã€\cs{leq} å’Œ \cs{geq} çš„ç¬¦å·
    æ˜¯â€œ$\leqslant$ã€$\geqslant$â€è¿˜æ˜¯â€œ$\leq$ã€$\geq$â€ã€‚
  \item \DescribeOption{integral}
    ç§¯åˆ†å·çš„æ­£/æ–œä½“ï¼Œå¯é€‰ï¼š\opt{upright}ã€\opt{slanted}ã€‚
    è¯¥é€‰é¡¹éœ€è¦å­—ä½“çš„æ”¯æŒï¼Œç›®å‰ä»…é™ \opt{xits}ã€\opt{stix}ã€
    \opt{libertinus} å’Œ \opt{newcm}ã€‚å‚è€ƒä¸‹æ–‡å…³äºŽæ•°å­¦å­—ä½“çš„é€‰æ‹©ã€‚
  \item \DescribeOption{integral-limits}
    ç§¯åˆ†å·ä¸Šä¸‹é™çš„ä½ç½®ï¼Œå¯é€‰ï¼š\opt{true}ï¼ˆåœ¨ä¸Šä¸‹ï¼‰ã€\opt{false}ï¼ˆåœ¨å³ä¾§ï¼‰ã€‚
    è¿™ä¸ªè®¾ç½®åªå½±å“è¡Œé—´å…¬å¼ï¼Œè¡Œå†…å…¬å¼ç»Ÿä¸€å±…å³ä¾§ï¼Œä¸å—å½±å“ã€‚
  \item \DescribeOption{partial}
    åå¾®åˆ†ç¬¦å·çš„æ­£/æ–œä½“ï¼Œå¯é€‰ï¼š\opt{upright}ã€\opt{slanted}ã€‚
  \item \DescribeOption{math-ellipsis}
    çœç•¥å· \cs{dots} çš„æ&nbsp;·å¼ï¼Œå¯é€‰ï¼š\opt{centered}ï¼ˆæŒ‰ç…§ä¸­æ–‡çš„ä¹&nbsp;æƒ¯å›ºå®šå±…ä¸­ï¼‰ã€
    \opt{lower} å’Œ \opt{AMS}ï¼ˆå–å†³äºŽå‰åŽç¬¦å·çš„ä½ç½®ï¼‰ã€‚
    å…¶ä»–çš„çœç•¥å·å‘½ä»¤å¦‚ \cs{lots}ã€\cs{cdots} åˆ™ä¸å—å½±å“ã€‚
  \item \DescribeOption{real-part}
    å®žéƒ¨ \cs{Re} å’Œè™šéƒ¨ \cs{Im} çš„å­—ä½“ï¼Œå¯é€‰ï¼š\opt{roman} å’Œ \opt{fraktur}ã€‚
\end{enumerate}

å¦‚æžœæ•°å­¦ç¬¦å·é€‰æ‹©å›½æ&nbsp;‡æ&nbsp;·å¼ |math-style = GB|ï¼Œç›¸å½“äºŽè®¾ç½®äº†
\begin{latex}
  \hfutsetup{
    uppercase-greek    = italic,
    less-than-or-equal = slanted,
    integral           = upright,
    integral-limits    = true,
    partial            = upright,
    math-ellipsis      = centered,
    real-part          = roman,
  }
\end{latex}

å¦å¤–ï¼Œå›½æ&nbsp;‡çš„æ•°å­¦æ&nbsp;·å¼ä¸Ž AMS è¿˜æœ‰äº›å·®å¼‚ï¼Œä½†æ—&nbsp;æ³•åœ¨æ¨¡æ¿ä¸­ç»Ÿä¸€è®¾ç½®ã€‚ç”¨æˆ·éœ€è¦åœ¨å†™ä½œæ—¶è¿›è¡Œå¤„ç†ã€‚
\begin{enumerate}
  \item æ•°å­¦å¸¸æ•°å’Œç‰¹æ®Šå‡½æ•°åç”¨æ­£ä½“ï¼Œå¦‚ $\uppi = 3.14\dots$ï¼›$\symup{i}^2 = -1$ï¼›
    $\symup{e} = \lim_{n \to \infty} \left( 1 + \frac{1}{n} \right)^n$ã€‚
  \item å¾®åˆ†å·ä½¿ç”¨æ­£ä½“ï¼Œæ¯”å¦‚ $\dif y / \dif x$ã€‚
  \item å‘é‡ã€çŸ©é˜µå’Œå¼&nbsp;é‡ç”¨ç²—æ–œä½“ï¼ˆ\cs{symbf}ï¼‰ï¼Œå¦‚ $\symbf{x}$ã€$\symbf{\Sigma}$ã€$\symbfsf{T}$ã€‚
  \item è‡ªç„¶å¯¹æ•°ç”¨ $\ln x$ ä¸ç”¨ $\log x$ã€‚
\end{enumerate}

éœ€è¦æ³¨æ„ï¼Œä¸Šè¿°å…³äºŽæ•°å­¦ç¬¦å·é£Žæ&nbsp;¼çš„è®¾ç½®åœ¨è®¾ç½®æ•°å­¦å­—ä½“ï¼ˆ\opt{math-font}ï¼‰æ—¶æ‰ä¼šç”Ÿæ•ˆã€‚

ä»¥ä¸Šå­—ä½“éƒ½æ˜¯ OpenType æ&nbsp;¼å¼çš„å­—ä½“ï¼Œéœ€è¦é…åˆ
\href{http://mirrors.ctan.org/macros/latex/contrib/unicode-math/unicode-math.pdf}{\pkg{unicode-math}}
å®åŒ…ä½¿ç”¨ã€‚
å…¨éƒ¨æ•°å­¦ç¬¦å·çš„å‘½ä»¤å‚è€ƒ
\href{http://mirrors.ctan.org/macros/latex/contrib/unicode-math/unimath-symbols.pdf}{\pkg{unimath-symbols}}ã€‚
æ³¨æ„ï¼Œ\pkg{unicode-math} å®åŒ…ä¸Ž \pkg{amsfonts}ã€\pkg{amssymb}ã€\pkg{bm}ã€
\pkg{mathrsfs}ã€\pkg{upgreek} ç­‰å®åŒ…\emph{ä¸}å…¼å®¹ã€‚
æ¨¡æ¿ä½œäº†å¤„ç†ï¼Œç”¨æˆ·å¯ä»¥ç›´æŽ¥ä½¿ç”¨è¿™äº›å®åŒ…çš„å‘½ä»¤ï¼Œå¦‚ \cs{bm}ã€\cs{mathscr}ã€
\cs{uppi}ã€‚

å¦å¤–ï¼Œæ¨¡æ¿è¿˜ä¸º `math-font` æä¾›äº†ä¼&nbsp;ç»Ÿçš„ Type 1 å­—ä½“ \opt{newtx}ã€‚
è¯¥é€‰é¡¹ä¼šè°ƒç”¨ \pkg{newtxmath} å®åŒ…ã€‚
ä½†æ˜¯ï¼Œå¦‚æžœè¥¿æ–‡å­—ä½“å·²ç»ä½¿ç”¨äº† OpenType çš„ Times New Romanï¼Œ
æ··ç”¨ Type 1 å­—ä½“å¯èƒ½ä¼šå¯¼è‡´é—®é¢˜ï¼Œå°¤å…¶æ˜¯ä½¿ç”¨ \pkg{siunitx} å®åŒ…æ—¶ã€‚
è¯¥é€‰é¡¹è¿˜å¤„äºŽæµ‹è¯•é˜¶æ®µï¼Œéœ€è¦è°¨æ…Žä½¿ç”¨ã€‚

\subsection{å‚è€ƒæ–‡çŒ®}

å‚è€ƒæ–‡çŒ®æ”¯æŒä½¿ç”¨ \BibTeX{} æˆ– BibLaTeX ç”Ÿæˆã€‚é»˜è®¤ä½¿ç”¨\BibTeX{}ç”Ÿæˆï¼Œç”¨æˆ·å¯ä»¥æ&nbsp;¹æ®éœ€æ±‚åœ¨\file{hfutsetup.tex}ä¸­é€‰æ‹©åˆé€‚çš„æ–¹å¼ã€‚


\subsubsection{\BibTeX}

\BibTeX{} æ˜¯ \LaTeX{} å¤„ç†å‚è€ƒæ–‡çŒ®çš„ä¼&nbsp;ç»Ÿçš„æ–¹å¼ã€‚
åœ¨æœ¬æ¨¡æ¿ä¸­éœ€è¦è½½å…¥ \pkg{natbib} å®åŒ…ï¼Œ
ç„¶åŽæŒ‰ç…§â€œé¡ºåºç¼–ç&nbsp;åˆ¶â€æ&nbsp;¼å¼é€‰æ‹©å‚è€ƒæ–‡çŒ®æ&nbsp;¼å¼é£Žæ&nbsp;¼ï¼š
\begin{latex}
  % HFUTå­¦ä½è®ºæ–‡æ&nbsp;·ä¾‹ å‚è€ƒæ–‡çŒ®çš„è‘—å½•æ&nbsp;¼å¼
  \usepackage[sort]{natbib}
  \bibliographystyle{hfutthesis-numerical}
\end{latex}

\begin{latex}
  % gbt7714-2015 å‚è€ƒæ–‡çŒ®çš„è‘—å½•æ&nbsp;¼å¼
  \usepackage[sort]{natbib}
  \bibliographystyle{gbt7714-numerical}
\end{latex}

\begin{latex}
  % å¤‡ç”¨æ–¹æ¡ˆ
  \usepackage[sort]{natbib}
  \bibliographystyle{hfutthesis-graduate}
\end{latex}

å¹¶ä¸”åœ¨ç”Ÿæˆå‚è€ƒæ–‡çŒ®è¡¨çš„ä½ç½®ä½¿ç”¨ \cs{bibliography} è®¾ç½® \file{.bib} æ•°æ®åº“çš„è·¯å¾„ã€‚
ç„¶åŽä½¿ç”¨ \file{bibtex} ç¼–è¯‘ç”Ÿæˆ \file{.bbl} æ–‡ä»¶ã€‚
è¿™é‡Œä½¿ç”¨å‚è€ƒæ–‡çŒ®æ&nbsp;·å¼ï¼ˆ\file{.bst} æ–‡ä»¶ï¼‰æ˜¯åœ¨
\href{https://ctan.org/pkg/gbt7714}{\pkg{gbt7714}}
çš„åŸºç¡€ä¸Šè¿›è¡Œäº†å°‘é‡ä¿®æ”¹ã€‚

é¡ºåºç¼–ç&nbsp;åˆ¶çš„æ–‡å†…å¼•ç”¨æ&nbsp;‡æ³¨åˆ†ä¸ºä¸¤ç§æ&nbsp;·å¼ï¼š
\begin{enumerate}
  \item ä¸Šæ&nbsp;‡æ&nbsp;·å¼ï¼ˆ\opt{super}ï¼‰ï¼Œ å¦‚â€œå¼&nbsp;æ•™æŽˆ\textsuperscript{[2-3]}è®¤ä¸ºâ€¦â€¦
    å½¢æˆäº†å¤šç§ç‰©ç†æ¨¡åž‹\textsuperscript{[7,9,11-13]}â€ã€‚
  \item ä¸Žæ­£æ–‡å¹³æŽ’ï¼ˆ\opt{inline}ï¼‰ï¼Œæ–‡çŒ®åºå·ä½œä¸ºå™è¿°æ–‡å­—çš„ä¸€éƒ¨åˆ†ï¼Œ
    å¦‚â€œå¼&nbsp;æ•™æŽˆ\textsuperscript{[4]}è®¤ä¸ºâ€¦â€¦æ&nbsp;¹æ®æ–‡çŒ®[4]\textsuperscript{101-105}â€ã€‚
\end{enumerate}
\textbf{æ¨¡æ¿é»˜è®¤ä¸ºä¸Šæ&nbsp;‡æ&nbsp;·å¼}ï¼Œä¹Ÿå¯ä»¥æ&nbsp;¹æ®éœ€è¦ä¿®æ”¹ï¼š

\DescribeOption{cite-style}
å‚è€ƒæ–‡çŒ®çš„æ&nbsp;·å¼ã€‚å¯é€‰ï¼š\opt{super}ï¼ˆé»˜è®¤ï¼‰ï¼Œ\opt{inline}ã€‚
\begin{itemize}
  \item \opt{super}ï¼šä¸Šæ&nbsp;‡æ&nbsp;·å¼
  \item \opt{inline}ï¼šä¸Žæ­£æ–‡å¹³æŽ’
\end{itemize}
\begin{latex}
  \documentclass[cite-style=inline]{hfutthesis}
\end{latex}
æˆ–è€…
\begin{latex}
  \hfutsetup{
    cite-style = inline,
  }
\end{latex}

\paragraph{ä¸Ž \pkg{chapterbib} çš„å…¼å®¹æ€§}
å¦‚æžœåœ¨æ¯ä¸€ç«&nbsp;æ·»åŠ&nbsp;ç‹¬ç«‹çš„å‚è€ƒæ–‡çŒ®ï¼Œå¯ä»¥ä½¿ç”¨ \pkg{chapterbib} å®åŒ…ã€‚
éœ€è¦æ³¨æ„ä»¥ä¸‹å‡&nbsp;ç‚¹ï¼š
\begin{enumerate}
  \item \pkg{chapterbib} å®åŒ…ä¸Ž \pkg{natbib} çš„è½½å…¥é¡ºåºä¸é‡è¦ã€‚
  \item æ&nbsp;¹æ® \pkg{natbib} çš„æ–‡æ¡£ï¼Œ\opt{sectionbib} å‚æ•°ï¼ˆå°†å‚è€ƒæ–‡çŒ®çš„æ&nbsp;‡é¢˜æ”¹ä¸ºèŠ‚æ&nbsp;‡é¢˜ï¼‰
    éœ€è¦ä¼&nbsp;ç»™ \pkg{natbib} è€Œä¸æ˜¯ \pkg{chapterbib}ã€‚
    æ¨¡æ¿ä½œäº†è®¾ç½®ï¼Œå¦‚è½½å…¥ \pkg{chapterbib}ï¼Œ\pkg{natbib} å°±ä¼šæœ‰ \opt{sectionbib} çš„æ•ˆæžœã€‚
  \item æ¯ç«&nbsp;çš„å†…å®¹éœ€è¦å†™åœ¨å•ç‹¬çš„ \file{tex} æ–‡ä»¶ï¼Œå¹¶ä¸”åœ¨ä¸»æ–‡æ¡£ä¸­ä½¿ç”¨ \cs{include}ï¼Œ
    ä¸å¸¦ \file{.tex} åŽç¼€ã€‚
  \item æ¯ç«&nbsp;éƒ½è¦ä½¿ç”¨ \cs{bibliographystyle} å’Œ \cs{bibliography} å‘½ä»¤ã€‚
\end{enumerate}

ç”¨æˆ·å¯åœ¨\file{hfutthesis-numeric.bst}ä¸­çš„load.configå‡½æ•°ä¸­æ¥è‡ªå®šä¹‰æ›´è¯¦ç»†çš„æ&nbsp;·å¼ï¼Œè¡¨\ref{canshu}åˆ—å‡ºäº†ä¸€äº›å¸¸ç”¨çš„å‚æ•°å€¼ï¼Œ\# 1è¡¨ç¤ºè¢«å¯ç”¨ï¼Œ\# 0åˆ™ä¸å¯ç”¨ã€‚
\textbf{é»˜è®¤å€¼éµå¾ªã€Š\href{http://xwgl.hfut.edu.cn/2021/0419/c1975a253949/page.htm}{åˆè‚¥å·¥ä¸šå¤§å­¦ç&nbsp;”ç©¶ç”Ÿå­¦ä½è®ºæ–‡å†™ä½œè§„èŒƒ}ã€‹ï¼Œä¸Žå›½æ&nbsp;‡çš„é…ç½®æœ‰éƒ¨åˆ†å‡ºå…¥ã€‚}
æœ‰å…³å›½æ&nbsp;‡çš„é…ç½®å¯å‚è€ƒ\href{https://ctan.org/pkg/gbt7714}{\pkg{gbt7714}}ã€‚

\begin{table}
  \caption{å‚è€ƒæ–‡çŒ®è¡¨æ&nbsp;·å¼çš„é…ç½®å‚æ•°}\label{canshu}
  \begin{tabular}{lcl}
    \hline å‚æ•°å€¼ &amp; é»˜è®¤å€¼ &amp; åŠŸèƒ½ \\
    \hline uppercase.name &amp; \#0 &amp; å°†è‘—è€…å§“åè½¬ä¸ºå¤§å†™ \\
     sentence.case.title &amp; \#1 &amp; å°†è¥¿æ–‡çš„é¢˜åè½¬ä¸º sentence case \\
    link.title &amp;\#0 &amp; åœ¨é¢˜åä¸Šæ·»åŠ&nbsp; url çš„è¶…é“¾æŽ¥ \\
    show.mark &amp; \#0 &amp; æ˜¾ç¤ºæ–‡çŒ®ç±»åž‹æ&nbsp;‡è¯† \\
    italic.jounal &amp; \#1 &amp; è¥¿æ–‡æœŸåˆŠåä½¿ç”¨æ–œä½“ \\
    show.missing.address.publisher &amp; \#0 &amp; å‡ºç‰ˆé¡¹ç¼ºå¤±æ—¶æ˜¾ç¤ºâ€œå‡ºç‰ˆè€…ä¸è¯¦â€ \\
    show.url &amp; \#1 &amp; æ˜¾ç¤º url \\
    show.doi &amp; \#1 &amp; æ˜¾ç¤º doi \\
    show.note &amp; \#0 &amp; æ˜¾ç¤º note åŸŸçš„ä¿¡æ¯ \\
    \hline
    \end{tabular}
\end{table}

\subsubsection{BibLaTeX}

BibLaTeX æ˜¯è¾ƒæ–°çš„å‚è€ƒæ–‡çŒ®å¤„ç†æ–¹æ¡ˆã€‚
éœ€è¦åœ¨è½½å…¥å®åŒ…æ—¶é€šè¿‡é€‰æ‹©æ&nbsp;·å¼ï¼ˆ\opt{style}ï¼‰ï¼Œ
å¹¶ä¸”åœ¨å¯¼è¨€åŒºä½¿ç”¨ \cs{addbibresource} è®¾ç½®æ•°æ®åº“çš„è·¯å¾„ï¼Œ
æœ€åŽåœ¨å‚è€ƒæ–‡çŒ®è¡¨çš„ä½ç½®ä½¿ç”¨ \cs{printbibliography} è¾“å‡ºã€‚

å¯¹äºŽé¡ºåºç¼–ç&nbsp;åˆ¶ï¼Œæ–‡çŒ®å¼•ç”¨æ&nbsp;‡æ³¨é»˜è®¤ä¸ºä¸Šæ&nbsp;‡æ&nbsp;·å¼ã€‚
å¦‚æžœè¦åˆ‡æ¢ä¸ºä¸Žæ­£æ–‡å¹³æŽ’ï¼Œä¸€ç§æ–¹æ³•æ˜¯ä½¿ç”¨ \cs{parencite}ï¼Œ
å¦ä¸€ç§æ˜¯è½½å…¥ \pkg{biblatex} æ—¶ç»Ÿä¸€è®¾ç½®ã€‚
\begin{latex}
  \usepackage[bibstyle=hfutthesis-numeric,
  citestyle=hfutthesis-inline]{biblatex}
\end{latex}

ä½¿ç”¨ BibLaTeX å¿…é¡»ç”¨ \file{biber} ç¼–è¯‘ç”Ÿæˆå‚è€ƒæ–‡çŒ®è¡¨ã€‚
è¿™é‡Œçš„æ&nbsp;·å¼æ˜¯åœ¨ \href{https://ctan.org/pkg/biblatex-gb7714-2015}{biblatex-gb7714-2015}
çš„åŸºç¡€ä¸Šè¿›è¡Œäº†å°‘é‡ä¿®æ”¹ã€‚
ä¸€äº›é¢å¤–ç”¨æ³•å¯ä»¥å‚è€ƒè¯¥å®åŒ…çš„æ–‡æ¡£ã€‚

\end{document}
</pre></body></html>