forked from ExerciseBook/whucs-beamer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.tex
247 lines (203 loc) · 7.29 KB
/
test.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
%----------------------------------------------------------------------------------------
% PACKAGES AND THEMES
%----------------------------------------------------------------------------------------
\documentclass[presentation,aspectratio=1610]{beamer}
\include{whucs}
\graphicspath{{./picture/}}
%----------------------------------------------------------------------------------------
% TITLE PAGE
%----------------------------------------------------------------------------------------
\title[计算机学院]{仓鼠养殖与产后护理中的深度学习技术应用} % The short title appears at the bottom of every slide, the full title is only on the title page
\subtitle{————看不见我}
\author{答辩人:苍术} % Your name
\institute[WHU]{指导老师:大仓鼠}% Your instructor
\date{\today} % Date, can be changed to a custom date
\begin{document}
\begin{frame}
\titlepage % Print the title page as the first slide
\end{frame}
\begin{frame}
\frametitle{目录} % Table of contents slide, comment this block out to remove it
\begin{columns}[T]
\begin{column}{.45\textwidth}
\centering
\tableofcontents[sections={1-3}]
\end{column}
\begin{column}{.45\textwidth}
\centering
\tableofcontents[sections={4-7}]
\end{column}
\end{columns}
\end{frame}
%----------------------------------------------------------------------------------------
% PRESENTATION SLIDES
%----------------------------------------------------------------------------------------
%------------------------------------------------
\section{介绍} % Sections can be created in order to organize your presentation into discrete blocks, all sections and subsections are automatically printed in the table of contents as an overview of the talk
%------------------------------------------------
%\subsection{编译方式} % A subsection can be created just before a set of slides with a common theme to further break down your presentation into chunks
\begin{frame}
\frametitle{介绍}
\begin{itemize}
\item 改编自如下Beamer主题:\url{https://github.com/dscroft/coventry_beamer}
\item 改造自模板:\url{https://github.com/xzsunbest/whurs-beamer}
\item {编译方式}
\begin{itemize}
\item 推荐安装完整版的 TeXLive
\item 编译方式为:xelatex -> bibtex -> xelatex*2
\end{itemize}
\item 请参考 \LaTeX 和 Beamer 用户文档
\item 内置七种主题颜色(CS蓝、蓝、青、绿、橙、紫、红),默认采用CS蓝
\item 默认长宽比为16:10,提供16:9与4:3选项对应的背景水印排布方式
\item 可在whucs.tex内进行修改
\end{itemize}
\end{frame}
%------------------------------------------------
\section{测试章节一} % Sections can be created in order to organize your presentation into discrete blocks, all sections and subsections are automatically printed in the table of contents as an overview of the talk
%------------------------------------------------
\subsection{分块测试} % A subsection can be created just before a set of slides with a common theme to further break down your presentation into chunks
\begin{frame}
\frametitle{分块测试}
\begin{block}{分块 1}
这是第1分块。
\end{block}
\begin{block}{Block 2}
This is the second block.
\end{block}
\begin{block}{Block 3}
仓鼠是无情的生物
\end{block}
\end{frame}
%------------------------------------------------
\subsection{分栏测试}
\begin{frame}
\frametitle{分栏测试}
\begin{columns}[c] % The "c" option specifies centered vertical alignment while the "t" option is used for top vertical alignment
\column{.45\textwidth} % Left column and width
\textbf{Heading}
\begin{enumerate}
\item Statement(陈述)
\item Explanation(解释)
\item Example(示例)
\end{enumerate}
\column{.5\textwidth} % Right column and width
Wuhan University is in Wuhan, Hubei.
It is one of the most prestigious and selective universities in China, which has been selected as a Chinese Ministry of Education Class A Double First Class University.
It was one of the four elite universities in the republican period and also one of the oldest universities in China.
\end{columns}
\end{frame}
%------------------------------------------------
\section{测试章节二}
\subsection{表格测试}
\begin{frame}
\frametitle{表格测试}
\begin{table}
\begin{tabular}{l l l}
\toprule
\textbf{Treatments} & \textbf{Response 1} & \textbf{Response 2}\\
\midrule
Treatment 1 & 0.0003262 & 0.562 \\
Treatment 2 & 0.0015681 & 0.910 \\
Treatment 3 & 0.0009271 & 0.296 \\
\bottomrule
\end{tabular}
\caption{测试表格}
\end{table}
\end{frame}
\section{测试章节三}
%------------------------------------------------
\subsection{公式测试}
\begin{frame}
\frametitle{公式测试}
Given $ g:[0,∞) \to\mathbb{R} $, With $ g(0)=0 $, derive the formula
\begin{equation}
u(x,t)=\frac{x}{\sqrt{4\pi}}\int_{0}^{t}\frac{1}{(t-s)^{\frac{3}{2}}}e^{\frac{-x^2}{4(t-s)}}g(s)ds
\end{equation}
for a solution of the initial/boundary value problem
\[
\begin{cases}
u_t-u_{xx} = 0 & \mbox{in } \mathbb{R}_+ \times(0,\infty)\\
u = 0 & \mbox{on } \mathbb{R}_+ \times\{t=0\}\\
u = g & \mbox{on } \{x=0\}\times[0,\infty)
\end{cases}
\]
(Hint: Let $v(x, t) := u(x, t) − g(t)$ and extend $v$ to $\{x < 0\}$ by odd reflection.)
\end{frame}
%------------------------------------------------
\section{测试章节四}
\subsection{代码测试}
\begin{frame}[fragile] % Need to use the fragile option when verbatim is used in the slide
\frametitle{代码测试}
\begin{example}[main.cpp]
\begin{verbatim}
#include<iostream>
using namespace std;
int main(){
cout<<"Hello World!"<<endl;
return 0;
}
\end{verbatim}
\end{example}
\end{frame}
\section{测试章节五}
%------------------------------------------------
\subsection{图片测试}
\begin{frame}
\frametitle{图片测试}
\begin{figure}
\begin{subfigure}{0.45\textwidth}
\centering
\includegraphics[width=0.6\linewidth]{image1.jpg}
\caption{1a}
\label{fig:sfig1}
\end{subfigure}%
\begin{subfigure}{0.45\textwidth}
\centering
\includegraphics[width=0.6\linewidth]{image2.jpg}
\caption{1b}
\label{fig:sfig2}
\end{subfigure}
\end{figure}
\begin{figure}
\begin{subfigure}{0.45\textwidth}
\centering
\includegraphics[width=0.6\linewidth]{image3.jpg}
\caption*{1a}
\label{fig:sfig1}
\end{subfigure}%
\begin{subfigure}{0.45\textwidth}
\centering
\includegraphics[width=0.6\linewidth]{image4.jpg}
\caption*{1b}
\label{fig:sfig2}
\end{subfigure}
\vspace{-10pt}
\caption*{可爱的仓鼠们}
\label{fig:fig}
\end{figure}
\end{frame}
\section{测试章节六}
%------------------------------------------------
\subsection{引用测试}
\begin{frame}
\frametitle{参考文献注意事项}
如果你的参考文献编译失败了,可以尝试:
\begin{enumerate}
\item 清空缓存文件(可调用delete-temp-files.bat)
\item 考虑是否有bibtex支持
\end{enumerate}
\end{frame}
\begin{frame}[t,allowframebreaks]
\frametitle{参考文献}
\nocite{*}
\printbibliography
\end{frame}
%------------------------------------------------
\begin{frame}{}
\centering
\Huge\bfseries
\textcolor{whucolor}{The End}\\
\textcolor{whucolor}{Q\&A}\\
\end{frame}
%----------------------------------------------------------------------------------------
\end{document}