-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathslides.tex
80 lines (61 loc) · 2 KB
/
slides.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
\documentclass[10pt,aspectratio=43,serif]{beamer}
%\documentclass[handout,t]{beamer}
\batchmode
% \usepackage{pgfpages}
% \pgfpagesuselayout{4 on 1}[letterpaper,landscape,border shrink=5mm]
\usepackage{amsmath,amssymb,enumerate,epsfig,bbm,calc,color,ifthen,capt-of,multimedia,hyperref,ctex,listings}
\usetheme{Berlin}
\DefineNamedColor{named}{socodingblue} {rgb}{0.296875,0.421875,0.69921875}
\mode<presentation>
\setbeamercolor*{palette primary}{bg=socodingblue,fg=white}
\setbeamercolor*{palette secondary}{bg=socodingblue,fg=white}
\setbeamercolor*{palette tertiary}{bg=socodingblue,fg=white}
\setbeamercolor*{palette quaternary}{bg=socodingblue,fg=white}
\setbeamercolor*{structure}{fg=socodingblue,bg=white}
\setbeamercolor{frametitle}{bg=socodingblue,fg=white}
\mode<all>
\setbeamertemplate{headline}
{%
\begin{beamercolorbox}[colsep=1.5pt]{upper separation line head}
\end{beamercolorbox}
\begin{beamercolorbox}{section in head/foot}
\vskip2pt\insertnavigation{\paperwidth}\vskip2pt
\end{beamercolorbox}%
\begin{beamercolorbox}[colsep=1.5pt]{lower separation line head}
\end{beamercolorbox}
}
\setbeamertemplate{footline}[frame number]{}
%\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{footline}{}
\catcode`\。=\active
\newcommand{。}{.}
\title{标题}
\subtitle{副标题}
\author{作者}
\institute{South China Normal University}
\date{\today}
\AtBeginSection[]
{
\begin{frame}<beamer>
\frametitle{目录}
\tableofcontents[currentsection]
\end{frame}
}
\beamerdefaultoverlayspecification{<+->}
\begin{document}
% -----------------------------------------------------------------------------
\frame{\titlepage}
%\section[目录]{}
\begin{frame}{目录}
\tableofcontents
\end{frame}
% -----------------------------------------------------------------------------
\section{test}
\begin{frame}{测试}
\begin{itemize}
\item 测试.
\item $a_i$.
\end{itemize}
\end{frame}
% -----------------------------------------------------------------------------
\end{document}