Skip to content

Commit 838c0e9

Browse files
committed
V2 pretest
1 parent 700093d commit 838c0e9

File tree

77 files changed

+6453
-3078
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+6453
-3078
lines changed

.gitattributes

-2
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,3 @@
1313
/.github export-ignore
1414
.gitattributes export-ignore
1515
.gitignore export-ignore
16-
build_v*.sh export-ignore
17-
dev-v2.tex export-ignore

.latexmkrc

+5-7
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,13 @@ $ENV{'TZ'}='Asia/Shanghai';
99
# Ensure './texmf//' is in '$TEXINPUTS'.
1010
ensure_path( 'TEXINPUTS', './texmf//' );
1111

12-
# Use lualatex with latexmk.
13-
# $pdf_mode = 4;
14-
15-
# Use xelatex with latexmk.
12+
# PDF generate method
13+
# - 1 pdfTeX
14+
# - 3 LaTeX + DVIPDFMx
15+
# - 4 LuaLaTeX
16+
# - 5 XeLaTeX
1617
$pdf_mode = 5;
1718

18-
# Disable postscript and dvi output.
19-
$postscript_mode = $dvi_mode = 0;
20-
2119
# Add common patterns for tex engines.
2220
set_tex_cmds( '-synctex=1 %O %S' );
2321

build_v1.sh

-26
This file was deleted.

build_v2.sh

-15
This file was deleted.

contents/floats.tex

+18-45
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,6 @@ \subsection{单个图形}
3030
\label{fig:cn_100t}
3131
\end{figure}
3232

33-
Lorem ipsum dolor sit amet, consectetur adipisici elit, sed do eiusmod tempor
34-
incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis
35-
nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
36-
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu
37-
fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
38-
culpa qui officia deserunt mollit anim id est laborum.
39-
4033
\subsection{多个图形}
4134

4235
简单插入多个图形的例子如图~\ref{fig:SRR} 所示。这两个水平并列放置的子图共用一个
@@ -69,38 +62,13 @@ \subsection{多个图形}
6962
\end{minipage}
7063
\end{figure}
7164

72-
Lorem ipsum dolor sit amet, consectetur adipisici elit, sed do eiusmod tempor
73-
incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis
74-
nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
75-
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu
76-
fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
77-
culpa qui officia deserunt mollit anim id est laborum.
78-
7965
如果要为共用一个计数器的多个子图添加子图题,建议使用较新的 \pkg{subcaption}宏
8066
包,不建议使用 \pkg{subfigure} 或 \pkg{subfig} 等宏包。
8167

8268
推荐使用 \pkg{subcaption} 宏包的 \cs{subcaptionbox} 并排子图,子图题置于子图之
8369
下,子图号用 a)、b) 等表示。也可以使用 \pkg{subcaption} 宏包的 \cs{subcaption}
8470
(放在 minipage中,用法同 \cs{caption})。
8571

86-
搭配 \pkg{bicaption} 宏包时,可以启用 \cs{subcaptionbox} 和 \cs{subcaption} 的双
87-
语变种 \cs{bisubcaptionbox} 和 \cs{bisubcaption},如图~\ref{fig:bisubcaptionbox}
88-
所示。
89-
90-
\begin{figure}[!hbtp]
91-
\centering
92-
\bisubcaptionbox{$R_3 = 1.5\text{mm}$ 时轴承的压力分布云图}%
93-
{Pressure contour of bearing when $R_3 = 1.5\text{mm}$}%
94-
[6.4cm]{\includegraphics[height=2.5cm]{pressure15.jpg}}
95-
\hspace{1cm}
96-
\bisubcaptionbox{$R_3 = 2.5\text{mm}$ 时轴承的压力分布云图}%
97-
{Pressure contour of bearing when $R_3 = 2.5\text{mm}$}%
98-
[6.4cm]{\includegraphics[height=2.5cm]{/pressure25.jpg}}
99-
\bicaption{包含子图题的范例(使用 subcaptionbox)}
100-
{Example with subcaptionbox}
101-
\label{fig:bisubcaptionbox}
102-
\end{figure}
103-
10472
\pkg{subcaption} 宏包也提供了 \pkg{subfigure} 和 \pkg{subtable} 环境,如
10573
图~\ref{fig:subfigure}。
10674

@@ -121,12 +89,24 @@ \subsection{多个图形}
12189
\label{fig:subfigure}
12290
\end{figure}
12391

124-
Lorem ipsum dolor sit amet, consectetur adipisici elit, sed do eiusmod tempor
125-
incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis
126-
nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
127-
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu
128-
fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
129-
culpa qui officia deserunt mollit anim id est laborum.
92+
搭配 \pkg{bicaption} 宏包时,可以启用 \cs{subcaptionbox} 和 \cs{subcaption} 的双
93+
语变种 \cs{bisubcaptionbox} 和 \cs{bisubcaption},如图~\ref{fig:bisubcaptionbox}
94+
所示。
95+
96+
\begin{figure}[!hbtp]
97+
\centering
98+
\bisubcaptionbox{$R_3 = 1.5\text{mm}$ 时轴承的压力分布云图}%
99+
{Pressure contour of bearing when $R_3 = 1.5\text{mm}$}%
100+
[6.4cm]{\includegraphics[height=3cm]{example-image-a.pdf}}
101+
\hspace{1cm}
102+
\bisubcaptionbox{$R_3 = 2.5\text{mm}$ 时轴承的压力分布云图}%
103+
{Pressure contour of bearing when $R_3 = 2.5\text{mm}$}%
104+
[6.4cm]{\includegraphics[height=3cm]{example-image-b.pdf}}
105+
\bicaption{包含子图题的范例(使用 subcaptionbox)}
106+
{Example with subcaptionbox}
107+
\label{fig:bisubcaptionbox}
108+
\end{figure}
109+
130110

131111
\section{表格}
132112

@@ -188,13 +168,6 @@ \subsection{复杂表格}
188168
\end{threeparttable}
189169
\end{table}
190170

191-
Lorem ipsum dolor sit amet, consectetur adipisici elit, sed do eiusmod tempor
192-
incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis
193-
nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
194-
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu
195-
fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
196-
culpa qui officia deserunt mollit anim id est laborum.
197-
198171
如某个表需要转页接排,可以用 \pkg{longtable} 实现。接排时表题省略,表头应重复书
199172
写,并在右上方写“续表 xx”,如表~\ref{tab:performance}。
200173

contents/math_and_citations.tex

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ \subsection{定理环境}
120120
\section{引用文献的标注}
121121

122122
按照教务处的要求,参考文献外观应符合国标 GB/T 7714 的要求。模版使用 \BibLaTeX\
123-
配合 \pkg{biblatex-gb7714-2015} 样式包
123+
配合 \pkg{biblatex-gb7714-2015} 样式包%
124124
\footnote{\url{https://www.ctan.org/pkg/biblatex-gb7714-2015}}
125125
控制参考文献的输出样式,后端采用 \pkg{biber} 管理文献。
126126

contents/nomenclature.tex

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
\begin{nomenclature*}
44
\label{chap:symb}
55

6+
\sjtusetup{style={float-font=\normalsize}}
7+
68
\begin{longtable}{rl}
79
$\epsilon$ & 介电常数 \\
810
$\mu$ & 磁导率 \\

dev-v2.tex

-203
This file was deleted.

figures/pressure15.jpg

-33.3 KB
Binary file not shown.

figures/pressure25.jpg

-33.9 KB
Binary file not shown.

0 commit comments

Comments
 (0)