/
example.tex
100 lines (88 loc) · 2.81 KB
/
example.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
\documentclass[10pt]{beamer}
\ifx\pdfoutput\undefined
% we are running LaTeX, not pdflatex
\usepackage{graphicx}
\else
% we are running pdflatex, so convert .eps files to .pdf
\usepackage{graphicx}
\usepackage{epstopdf}
\fi
%%%% comment out CJKUtf8 package if Chinese characters are not used.
\usepackage{CJKutf8}
\input{beihangbeamerstyle/beihangcolor}
\input{beihangbeamerstyle/beihangbeamerstyle}
\title{Beamer Style of 北京航空航天大学}
\author{Xiaoke Yang\\
Beihang University (\texttt{xiaokeyang@buaa.edu.cn})}
\date{What seminar/conference, Which location, Wed 1 Jun 11:25:45 CST 2016}
\begin{document}
%%%% comment out the CJK* environment if Chinese characters are not used.
\begin{CJK*}{UTF8}{gbsn}
%----------------------------------------------------------------------
% Title frame
\begin{frame}[plain]
\maketitle
\end{frame}
%----------------------------------------------------------------------
% Outline frame
% PLEASE RUN pdflatex TWICE
\begin{frame}
\frametitle{提纲Outline}
\tableofcontents
\end{frame}
%%=====================================================================
% Section I
\section{Motivation}
%----------------------------------------------------------------------
% Content frame
\begin{frame}
\frametitle{Motivation}
\framesubtitle{Why I made this beamer style}
\begin{block}{Demonstration of the use of items and blocks}
\begin{itemize}
\item No one has done it.
\item I need one.
\pause \item Share with others.
\end{itemize}
\end{block}
\pause
\begin{block}{Another block}
This block appears after a pause. Simply delete the \texttt{\textbackslash pause} command if this animation is not needed. Add the pause command whenever a pause is needed.
\end{block}
\end{frame}
%%=====================================================================
% Section II
\section{This is the second section: a two-column slide}
%----------------------------------------------------------------------
\begin{frame}
\frametitle{A Two-column Slide}
\begin{columns}
\begin{column}{0.5\textwidth}
\begin{block}{The first column}
This is the first column.
This is the first column.
This is the first column.
This is the first column.
This is the first column.
This is the first column.
This is the first column.
This is the first column.
This is the first column.
This is the first column.
This is the first column.
This is the first column.
This is the first column.
This is the first column.
\end{block}
\end{column}
\begin{column}{0.5\textwidth}
\begin{block}{The second column}
{\color{coreBlue}{This is the only ``Beihang colour'' I found. }} Other built-in colours can also be used, e.g. {\color{red}{red}}, {\color{orange}{orange}}, {\color{blue}{blue}}
\vspace{9.5em}
\end{block}
\end{column}
\end{columns}
\end{frame}
%%%% comment out the CJK* environment if Chinese characters are not used.
\end{CJK*}
\end{document}