Skip to content

Commit

Permalink
fix #53
Browse files Browse the repository at this point in the history
  • Loading branch information
liziwl committed May 17, 2024
1 parent 78944a9 commit 99d45eb
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/preamble.tex
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
% !TEX program = xelatex

% 数学符号与环境
\usepackage{amsmath,amssymb}
\usepackage{amsmath,amssymb,amsthm}
\newcommand{\dd}{\mathrm{d}}
\newcommand{\RR}{\mathbb{R}}
% 参考文献
Expand Down
4 changes: 4 additions & 0 deletions sections/examples/details.tex
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ \subsection{表格}
\end{threeparttable}
\end{table}

\begin{proof}
This is a proof written in English.
\end{proof}

\subsection{参考文献}

参考文献一般使用\verbbox{\cite{<key>}}命令,效果如是\cite{Nicholas1998Handbook},引用作者使用\verbbox{\citeauthor{<key>}},效果如是“\citeauthor{goossens1994latex}”。
16 changes: 14 additions & 2 deletions sustechthesis.cls
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,21 @@
\captionsetup[table]{labelsep=enspace} %表序表题之间没有标点,而是一个空格,默认前缀为表
\captionsetup[figure]{labelsep=enspace} %图序图题之间没有标点,而是一个空格,默认前缀为图
\ifsustech@chinese
\ctexset{figurename = {图}, tablename = {表},}%
\ctexset{
figurename = {图},
tablename = {表},
listfigurename = {插图},
listtablename = {表格},
proofname = {证明},
}%
\else
\ctexset{figurename = {Figure}, tablename = {Table},}%
\ctexset{
figurename = {Figure},
tablename = {Table},
listfigurename = {List of Figures},
listtablename = {List of Tables},
proofname = {Proof},
}%
\fi
\captionsetup[subfigure]{labelformat=rightBracket, labelsep=enspace}% 子图a,b,c外没有括号

Expand Down

0 comments on commit 99d45eb

Please sign in to comment.