-
Notifications
You must be signed in to change notification settings - Fork 3
/
beamerexample.tex
156 lines (111 loc) · 2.7 KB
/
beamerexample.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
\input{common}
\title[bash]{Пример использования темплейта для beamer-презентации}
\subtitle{Как создать корпоративное настроение привычным \LaTeX-инструментом}
\begin{document}
\begin{frame}
\titlepage
\end{frame}
\begin{frame}{Table of contents}
\tableofcontents
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%% Content starts here %%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Text}
\begin{frame}{Just a text}
\tiny Tiny text
\scriptsize Scriptsize text
\footnotesize Footnotesize text
\small Small text
\normalsize Normal text
\large large text
\Large Large text
\LARGE LARGE text
\huge huge text
\Huge Huge text
\end{frame}
\section{Items}
\begin{frame}
\frametitle{List}
\begin{itemize}
\item Item 1
\item Item 2
\item Item 3
\item Item 4
\end{itemize}
\end{frame}
\section{Enumeration}
\begin{frame}
\frametitle{Enumeration}
\begin{enumerate}
\item Item
\item Item
\item Item
\item Item
\end{enumerate}
\end{frame}
\section{Block}
\begin{frame}{Block}
\begin{block}{Block title}
Some clever words here.
\end{block}
\begin{alertblock}{Alert block title}
Some clever words here. Now with alert.
\end{alertblock}
\begin{exampleblock}{Example block title}
Some clever words here. Just example
\end{exampleblock}
\end{frame}
\section{Graphics}
\begin{frame}{Graphics}
\begin{center}
\includegraphics[width=0.5\textwidth]{epam_primary}
\end{center}
\end{frame}
\section{Listing}
\begin{frame}[fragile]{Listing from file}
\lstinputlisting[caption=Утечки памяти,language=C]{leaks.c}
\end{frame}
\begin{frame}[fragile]{Inline Listing}
\begin{lstlisting}[language=C]
char *array;
int i;
for( i=0; i<100; i++)
array = malloc(10*sizeof(char));
free( array);
\end{lstlisting}
\end{frame}
\section{Table}
\begin{frame}{Simple table}
\begin{tabular}{| l || c | r |}
\hline
1 & 2 & 3 \\ \hline
4 & 5 & 6 \\
7 & 8 & 9 \\
\hline
\end{tabular}
\end{frame}
\section{Columns}
\begin{frame}{Columns}
\begin{columns}
\column{0.4\textwidth}
\center\includegraphics[width=3cm]{epam_primary}
\column{0.4\textwidth}
{\rmfamily roman}
{\sffamily sans serif}
{\tt teletypefont}
{\it italic}
{\bf bold}
\textit{\textbf{bold italic}}
\end{columns}
\end{frame}
\section{Citation}
\begin{frame}{Citation}
"This is our world now...
the world of the electron and the switch, the
beauty of the baud." \cite{mentor01}
\end{frame}
\begin{frame}[t,allowframebreaks]{Bibliography}
\bibliography{biblio}
\end{frame}
\end{document}