Debian Codegraph @

texmf-dist/doc/latex/novabeamer-theme/examples/novabeamer-example.tex

raw
1 %==========================
2 % PACKAGES AND THEMES
3 %==========================
4
5 \documentclass[aspectratio=169,xcolor=dvipsnames]{beamer}
6 %\usetheme{SimpleDarkBlue}
7 \usepackage{novabeamer} % Use the custom theme
8 \usepackage{hyperref}
9 \usepackage{graphicx} % Allows including images
10 \usepackage{booktabs} % Allows the use of \toprule, \midrule and \bottomrule in tables
11 \usepackage{fontawesome5}
12
13
14 %==========================
15 % TITLE PAGE
16 %==========================
17
18 \title{Catchy Title}
19 \subtitle{Subtitle}
20
21 \author{Riccardo Martelli}
22 \institute
23 {Institutions}
24 \date{\today}
25
26 %==========================
27 % PRESENTATION SLIDES
28 %==========================
29
30 \begin{document}
31
32 \begin{frame}
33 \titlepage
34 \end{frame}
35
36 \begin{frame}{Overview}
37 \tableofcontents
38 \end{frame}
39
40 %==========================
41 \section{GitHub Section}
42 %==========================
43
44 \begin{frame}{GitHub Hyperref link}
45 \centering
46 \Huge Published on GitHub\\
47 \href{https://github.com/Riccardo-Martelli/Riccardo-Beamer-Theme}{\faGithub GitHub link}
48 \end{frame}
49
50 %==========================
51
52 \begin{frame}{Formulas and Highlighted Text}
53
54 In this slide, some important text will be \alert{highlighted}.
55
56 \begin{block}{Text block describing the context}
57 Text introducing a formula...
58 \end{block}
59
60 \begin{alertblock}{Formula}
61 Sample text in red box...
62 \[ds^2 = g_{\mu\nu}\, dx^\mu dx^\nu\,,\]
63 \end{alertblock}
64
65 \begin{examples}
66 Sample text in green box describing Kerr Metric....
67 \[ds^2 = \dots\]
68 \end{examples}
69
70
71 \end{frame}
72
73 %==========================
74
75 \section{Section}
76
77 \begin{frame}{Multiple Columns}
78 \begin{columns}[c] % The "c" option specifies centered vertical alignment while the "t" option is used for top vertical alignment
79
80 \column{.45\textwidth} % Left column and width
81 \textbf{List Title}
82 \begin{enumerate}
83 \item Statement
84 \pause
85 \item Explanation
86 \pause
87 \item Example $\quad\Longrightarrow$
88 \end{enumerate}
89
90 \column{.45\textwidth} % Right column and width
91 \textbf{Example}\\
92 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.
93
94 \end{columns}
95 \end{frame}
96
97 %==========================
98 \section{Another Section}
99 %==========================
100
101 \begin{frame}{Table}
102 \begin{table}
103 \begin{tabular}{c c c}
104 \toprule
105 \textbf{Portfolio} & \textbf{Risk Parity} & \textbf{Partial Sharpe Ratio} \\
106 \midrule
107 Asset 1 & 0.0003262 & 0.562 \\
108 Asset 2 & 0.0015681 & 0.910 \\
109 Asset 3 & 0.0009271 & 0.296 \\
110 \bottomrule
111 \end{tabular}
112 \caption{Table caption}
113 \end{table}
114 \end{frame}
115
116 %==========================
117
118 \begin{frame}{Theorem}
119 \begin{theorem}[Lagrange's Mean Value Theorem ]
120 The \textbf{Mean Value Theorem (MVT)} states that if a function \( f \) is continuous on a closed interval \( [a,b] \) and differentiable on the open interval \( (a,b) \), then there exists at least one point \( c \) in \( (a,b) \) such that:
121
122 \[
123 f'(c) = \frac{f(b) - f(a)}{b - a}
124 \]
125 \end{theorem}
126 \end{frame}
127
128 %==========================
129
130 \begin{frame}{Figure}
131 Example of the usage of \textit{figure}. The image file is located in the same directory as the .tex file.
132 \begin{figure}
133 \includegraphics[width=0.6\linewidth]{examples/novabeamer-example-image.png.png}
134 \end{figure}
135 \end{frame}
136
137 %==========================
138
139 \begin{frame}[fragile] % Need to use the fragile option when verbatim is used in the slide
140 \frametitle{Citation}
141 An example of the \verb|\cite| command to cite within the presentation:\\~
142
143 Here is what a citation looks like \cite{p1}.
144 \end{frame}
145
146 %==========================
147
148 \begin{frame}{Bibliography/References}
149 \nocite{*}
150 \footnotesize
151 \bibliography{examples/novabeamer-ref}
152 \bibliographystyle{apalike}
153 \end{frame}
154
155 %==========================
156
157 \begin{frame}
158 \centering
159 \vspace*{\fill}
160 \fontsize{50}{60}{\centerline{\textbf{The End}}}
161 \end{frame}
162
163 %==========================
164
165 \end{document}