Debian Codegraph @

texmf-dist/doc/latex/beamertheme-simpleplus/beamertheme-simpleplus-sample.tex

raw
1 %----------------------------------------------------------------------------------------
2 % PACKAGES AND THEMES
3 %----------------------------------------------------------------------------------------
4
5 \documentclass[aspectratio=169,xcolor=dvipsnames]{beamer}
6 \usetheme{SimplePlus}
7
8 \usepackage{hyperref}
9 \usepackage{graphicx} % Allows including images
10 \usepackage{booktabs} % Allows the use of \toprule, \midrule and \bottomrule in tables
11
12 %----------------------------------------------------------------------------------------
13 % TITLE PAGE
14 %----------------------------------------------------------------------------------------
15
16 \title{Simple Beamer Theme}
17 \subtitle{Subtitle}
18
19 \author{Pin-Yen Huang}
20
21 \institute
22 {
23 Department of Computer Science and Information Engineering \\
24 National Taiwan University % Your institution for the title page
25 }
26 \date{\today} % Date, can be changed to a custom date
27
28 %----------------------------------------------------------------------------------------
29 % PRESENTATION SLIDES
30 %----------------------------------------------------------------------------------------
31
32 \begin{document}
33
34 \begin{frame}
35 % Print the title page as the first slide
36 \titlepage
37 \end{frame}
38
39 \begin{frame}{Overview}
40 % Throughout your presentation, if you choose to use \section{} and \subsection{} commands, these will automatically be printed on this slide as an overview of your presentation
41 \tableofcontents
42 \end{frame}
43
44 %------------------------------------------------
45 \section{First Section}
46 %------------------------------------------------
47
48 \begin{frame}{Bullet Points}
49 \begin{itemize}
50 \item Lorem ipsum dolor sit amet, consectetur adipiscing elit
51 \item Aliquam blandit faucibus nisi, sit amet dapibus enim tempus eu
52 \item Nulla commodo, erat quis gravida posuere, elit lacus lobortis est, quis porttitor odio mauris at libero
53 \item Nam cursus est eget velit posuere pellentesque
54 \item Vestibulum faucibus velit a augue condimentum quis convallis nulla gravida
55 \end{itemize}
56 \end{frame}
57
58 %------------------------------------------------
59
60 \begin{frame}{Blocks of Highlighted Text}
61 In this slide, some important text will be \alert{highlighted} because it's important. Please, don't abuse it.
62
63 \begin{block}{Block}
64 Sample text
65 \end{block}
66
67 \begin{alertblock}{Alertblock}
68 Sample text in red box
69 \end{alertblock}
70
71 \begin{examples}
72 Sample text in green box. The title of the block is ``Examples".
73 \end{examples}
74 \end{frame}
75
76 %------------------------------------------------
77
78 \begin{frame}{Multiple Columns}
79 \begin{columns}[c] % The "c" option specifies centered vertical alignment while the "t" option is used for top vertical alignment
80
81 \column{.45\textwidth} % Left column and width
82 \textbf{Heading}
83 \begin{enumerate}
84 \item Statement
85 \item Explanation
86 \item Example
87 \end{enumerate}
88
89 \column{.45\textwidth} % Right column and width
90 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer lectus nisl, ultricies in feugiat rutrum, porttitor sit amet augue. Aliquam ut tortor mauris. Sed volutpat ante purus, quis accumsan dolor.
91
92 \end{columns}
93 \end{frame}
94
95 %------------------------------------------------
96 \section{Second Section}
97 %------------------------------------------------
98
99 \begin{frame}{Table}
100 \begin{table}
101 \begin{tabular}{l l l}
102 \toprule
103 \textbf{Treatments} & \textbf{Response 1} & \textbf{Response 2} \\
104 \midrule
105 Treatment 1 & 0.0003262 & 0.562 \\
106 Treatment 2 & 0.0015681 & 0.910 \\
107 Treatment 3 & 0.0009271 & 0.296 \\
108 \bottomrule
109 \end{tabular}
110 \caption{Table caption}
111 \end{table}
112 \end{frame}
113
114 %------------------------------------------------
115
116 \begin{frame}{Theorem}
117 \begin{theorem}[Mass--energy equivalence]
118 $E = mc^2$
119 \end{theorem}
120 \end{frame}
121
122 %------------------------------------------------
123
124 \begin{frame}{Figure}
125 Uncomment the code on this slide to include your own image from the same directory as the template .TeX file.
126 %\begin{figure}
127 %\includegraphics[width=0.8\linewidth]{test}
128 %\end{figure}
129 \end{frame}
130
131 %------------------------------------------------
132
133 \begin{frame}[fragile] % Need to use the fragile option when verbatim is used in the slide
134 \frametitle{Citation}
135 An example of the \verb|\cite| command to cite within the presentation:\\~
136
137 This statement requires citation \cite{p1}.
138 \end{frame}
139
140 %------------------------------------------------
141
142 \begin{frame}{References}
143 \footnotesize
144 \bibliography{reference.bib}
145 \bibliographystyle{apalike}
146 \end{frame}
147
148 %------------------------------------------------
149
150 \begin{frame}
151 \Huge{\centerline{\textbf{The End}}}
152 \end{frame}
153
154 %----------------------------------------------------------------------------------------
155
156 \end{document}