Skip to content

Commit

Permalink
docs: adapt to the upcoming new version of SJTUTeX
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexaraWu committed Feb 25, 2025
1 parent f203960 commit d5b9795
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 44 deletions.
8 changes: 4 additions & 4 deletions contents/abstract.tex
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% !TEX root = ../main.tex

\begin{abstract*}[zh]
\begin{abstract}[zh]
中文摘要应该将学位论文的内容要点简短明了地表达出来,应该包含论文中的基本信息,
体现科研工作的核心思想。摘要内容应涉及本项科研工作的目的和意义、研究方法、研究
成果、结论及意义。注意突出学位论文中具有创新性的成果和新见解的部分。摘要中不宜
Expand All @@ -9,9 +9,9 @@
要内容应与中文摘要内容一致。

摘要页的下方注明本文的关键词(4 \textasciitilde{} 6 个)。
\end{abstract*}
\end{abstract}

\begin{abstract*}[en]
\begin{abstract}[en]
Shanghai Jiao Tong University (SJTU) is a key university in China. SJTU was
founded in 1896. It is one of the oldest universities in China. The University
has nurtured large numbers of outstanding figures include JIANG Zemin, DING
Expand All @@ -21,4 +21,4 @@
has been actively involved in international academic exchange programs. It is
the center of CERNet in east China region, through computer networks, SJTU has
faster and closer connection with the world.
\end{abstract*}
\end{abstract}
39 changes: 19 additions & 20 deletions contents/floats.tex
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ \subsection{多个图形}

\begin{figure}[!htp]
\centering
\includegraphics[height=2cm]{sjtu-vi-badge-red.pdf}
\hspace{1cm}
\includegraphics[height=2cm]{sjtu-vi-badge-red.pdf}
\includegraphics[height=2.5cm]{example-image-a.pdf}%
\hfil\hfil%
\includegraphics[height=2.5cm]{example-image-b.pdf}
\bicaption{中文题图}{English caption}
\label{fig:SRR}
\end{figure}
Expand All @@ -69,15 +69,15 @@ \subsection{多个图形}

\begin{figure}[!htp]
\centering
\begin{minipage}{0.48\textwidth}
\begin{minipage}{0.5\textwidth}
\centering
\includegraphics[height=1.7cm]{sjtu-vi-name-red.pdf}
\includegraphics[height=2.5cm]{example-image-a.pdf}
\caption{并排第一个图}
\label{fig:parallel1}
\end{minipage}\hfill
\begin{minipage}{0.48\textwidth}
\end{minipage}%
\begin{minipage}{0.5\textwidth}
\centering
\includegraphics[height=1.7cm]{sjtu-vi-name-red.pdf}
\includegraphics[height=2.5cm]{example-image-b.pdf}
\caption{并排第二个图}
\label{fig:parallel2}
\end{minipage}
Expand All @@ -95,16 +95,16 @@ \subsection{多个图形}

\begin{figure}[!htp]
\centering
\begin{subfigure}{0.3\textwidth}
\begin{subfigure}{0.45\textwidth}
\centering
\includegraphics[height=2cm]{sjtu-vi-badge-red.pdf}
\caption{校徽}
\end{subfigure}
\hspace{1cm}
\begin{subfigure}{0.4\textwidth}
\includegraphics[height=2.5cm]{example-image-a.pdf}
\caption{子图甲}
\end{subfigure}%
\hfil\hfil%
\begin{subfigure}{0.45\textwidth}
\centering
\includegraphics[height=1.7cm]{sjtu-vi-name-red.pdf}
\caption{校名。注意这个图略矮些,subfigure 中同一行的子图在顶端对齐。}
\includegraphics[height=2cm]{example-image-b.pdf}
\caption{子图乙。注意这个图略矮些,subfigure 中同一行的子图在顶端对齐。}
\end{subfigure}
\caption{包含子图题的范例(使用 subfigure)}
\label{fig:subfigure}
Expand All @@ -118,11 +118,11 @@ \subsection{多个图形}
\centering
\bisubcaptionbox{$R_3 = 1.5\text{mm}$ 时轴承的压力分布云图}%
{Pressure contour of bearing when $R_3 = 1.5\text{mm}$}%
[6.4cm]{\includegraphics[height=3cm]{example-image-a.pdf}}
\hspace{1cm}
[0.4\textwidth]{\includegraphics[height=2.5cm]{example-image-a.pdf}}%
\hfil\hfil%
\bisubcaptionbox{$R_3 = 2.5\text{mm}$ 时轴承的压力分布云图}%
{Pressure contour of bearing when $R_3 = 2.5\text{mm}$}%
[6.4cm]{\includegraphics[height=3cm]{example-image-b.pdf}}
[0.4\textwidth]{\includegraphics[height=2.5cm]{example-image-b.pdf}}
\bicaption{包含子图题的范例(使用 subcaptionbox)}
{Example with subcaptionbox}
\label{fig:bisubcaptionbox}
Expand Down Expand Up @@ -268,7 +268,6 @@ \section{算法环境}
\begin{algorithm}[htb]
\caption{算法示例}
\label{algo:algorithm}
\small
\SetAlgoLined
\KwData{this text}
\KwResult{how to write algorithm with \LaTeXe }
Expand Down
2 changes: 1 addition & 1 deletion contents/math_and_citations.tex
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ \subsection{定理环境}
\begin{theorem}[留数定理]
\label{thm:res}
假设 $U$ 是复平面上的一个单连通开子集,$a_1, \ldots, a_n$ 是复平面上有限个点,
$f$ 是定义在 $U \backslash \{a_1, \ldots, a_n\}$ 上的全纯函数,如果 $\gamma$
$f$ 是定义在 $U \setminus \{a_1, \ldots, a_n\}$ 上的全纯函数,如果 $\gamma$
是一条把 $a_1, \ldots, a_n$ 包围起来的可求长曲线,但不经过任何一个 $a_k$,并且
其起点与终点重合,那么:
\begin{equation}
Expand Down
4 changes: 2 additions & 2 deletions contents/nomenclature.tex
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% !TEX root = ../main.tex

\begin{nomenclature*}
\begin{nomenclature}
\label{chap:symb}

\begin{longtable}{rl}
Expand Down Expand Up @@ -60,4 +60,4 @@
$\mu$ & 磁导率 \\
\end{longtable}

\end{nomenclature*}
\end{nomenclature}
10 changes: 5 additions & 5 deletions main.tex
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
\copyrightpage
% 插入外置原创性声明及使用授权书
% 此时必须在导言区使用 \usepackage{pdfpages}
% \copyrightpage[scans/sample-copyright.pdf]
% \copyrightpage[file=scans/sample-copyright.pdf]

% 前置部分
\frontmatter
Expand All @@ -36,13 +36,13 @@
\input{contents/abstract}

% 目录
\tableofcontents*
\tableofcontents
% 插图索引
\listoffigures*
\listoffigures
% 表格索引
\listoftables*
\listoftables
% 算法索引
\listofalgorithms*
\listofalgorithms

% 符号对照表
\input{contents/nomenclature}
Expand Down
24 changes: 12 additions & 12 deletions setup.tex
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@
zh / author = {某\quad{}某},
en / author = {Mo Mo},
%
% 学号
%
id = {0010900990},
%
% 指导教师
%
zh / supervisor = {某某教授},
Expand All @@ -47,9 +51,15 @@
% zh / co-supervisor = {某某工程师},
% en / co-supervisor = {Engr.\ Oum Oum},
%
% 学号
% 所属院系
%
id = {0010900990},
zh / department = {某某系},
en / department = {Depart of XXX},
%
% 专业
%
zh / major = {某某专业},
en / major = {A Very Important Major},
%
% 学位
% 除交叉学科门类外,各一级学科按所属学科门类申请学位
Expand All @@ -59,16 +69,6 @@
zh / degree = {工学硕士},
en / degree = {Master of Engineering},
%
% 专业
%
zh / major = {某某专业},
en / major = {A Very Important Major},
%
% 所属院系
%
zh / department = {某某系},
en / department = {Depart of XXX},
%
% 答辩日期
% 使用 ISO 格式 (yyyy-mm-dd);默认为当前时间
%
Expand Down

0 comments on commit d5b9795

Please sign in to comment.