| 1 |
%-------------------------------------- |
| 2 |
% Create title frame |
| 3 |
\titleframe |
| 4 |
|
| 5 |
%-------------------------------------- |
| 6 |
% Table of contents |
| 7 |
\begin{frame}{Overview} |
| 8 |
\setbeamertemplate{section in toc}[sections numbered] |
| 9 |
\tableofcontents[hideallsubsections] |
| 10 |
\end{frame} |
| 11 |
|
| 12 |
|
| 13 |
%============================================== |
| 14 |
\section{Introduction} |
| 15 |
%============================================== |
| 16 |
|
| 17 |
\begin{frame}{\insertsectionhead} |
| 18 |
\framesubtitle{A short introduction to Trigon} |
| 19 |
\themename is a modern, elegant and versatile theme for Beamer, inspired by |
| 20 |
the |
| 21 |
\href{https://github.com/matze/mtheme}{\textsc{metropolis} theme} from Matthias |
| 22 |
Vogelgesang. |
| 23 |
\vfill |
| 24 |
\themename comes with lots of nice extra features |
| 25 |
\begin{itemize} |
| 26 |
\item Multiple style variations for title, section and normal slides |
| 27 |
\item Simple customization of theme colors |
| 28 |
\item Lots of convenient options to tweak the design |
| 29 |
\end{itemize} |
| 30 |
\end{frame} |
| 31 |
|
| 32 |
|
| 33 |
%============================================== |
| 34 |
\section{Layout} |
| 35 |
%============================================== |
| 36 |
|
| 37 |
\subsection{Layout variations} |
| 38 |
|
| 39 |
\begin{frame}[fragile=singleslide]{\insertsectionhead} |
| 40 |
\framesubtitle{\insertsubsectionhead} |
| 41 |
The general style for the title, section and regular frames can be changed |
| 42 |
easily with simple options. Here are some examples for the title page |
| 43 |
\begin{figure}[ht!] |
| 44 |
\begin{subfigure}[b]{0.3\textwidth} |
| 45 |
\frame{\includegraphics[width=\textwidth]{screenshots/layout_example-03.jpg}} |
| 46 |
\caption*{plain} |
| 47 |
\end{subfigure} |
| 48 |
\hspace{\fill} |
| 49 |
\begin{subfigure}[b]{0.3\textwidth} |
| 50 |
\frame{\includegraphics[width=\textwidth]{screenshots/layout_example-02.jpg}} |
| 51 |
\caption*{style1} |
| 52 |
\end{subfigure} |
| 53 |
\hspace{\fill} |
| 54 |
\begin{subfigure}[b]{0.3\textwidth} |
| 55 |
\frame{\includegraphics[width=\textwidth]{screenshots/layout_example-01.jpg}} |
| 56 |
\caption*{style2 (default)} |
| 57 |
\end{subfigure} |
| 58 |
\end{figure} |
| 59 |
\end{frame} |
| 60 |
|
| 61 |
%-------------------------------------- |
| 62 |
\subsection{Fonts} |
| 63 |
|
| 64 |
\begin{frame} |
| 65 |
\frametitle{\insertsectionhead} |
| 66 |
\framesubtitle{\insertsubsectionhead} |
| 67 |
This theme is using \textit{Source Sans Pro} font for all elements by default. |
| 68 |
This can be disabled by providing the option \texttt{usesourcefonts=false}. |
| 69 |
\vfill |
| 70 |
Emphasis can be added by using \textbf{bold} typeface, \textit{italic}, |
| 71 |
\alert{alert} or {\color{tPrim}{simple colors}}. |
| 72 |
\vfill |
| 73 |
Equations are typeset with this font as well |
| 74 |
\begin{equation*} |
| 75 |
F(x|\mu,s) = \int_{-\infty}^x s^{-1}\left(1+e^{-\frac{v-\mu}{s}}\right)^{-2} e^{-\frac{v-\mu}{s}}\;\mathsf{d}v = \frac{1}{1+e^{-\frac{x-\mu}{s}}} |
| 76 |
\end{equation*} |
| 77 |
\end{frame} |
| 78 |
|
| 79 |
|
| 80 |
%============================================== |
| 81 |
\section{Elements} |
| 82 |
%============================================== |
| 83 |
|
| 84 |
\subsection{Charts} |
| 85 |
|
| 86 |
\begin{frame}{\insertsectionhead} |
| 87 |
\framesubtitle{\insertsubsectionhead} |
| 88 |
\begin{columns}[c, onlytextwidth] |
| 89 |
\column{0.47\textwidth} |
| 90 |
Use the theme color \texttt{tPrim}, \texttt{tSec}, \texttt{tGrey} and |
| 91 |
\texttt{tAccent} to have charts directly fit the main theme of presentation. |
| 92 |
\vfill |
| 93 |
\begin{itemize} |
| 94 |
\item Easy variants using \texttt{color!x} to lighten or darken the colors |
| 95 |
\end{itemize} |
| 96 |
\hfill |
| 97 |
\column{0.47\textwidth} |
| 98 |
\center |
| 99 |
\resizebox{0.9\textwidth}{!}{% |
| 100 |
\begin{tikzpicture} |
| 101 |
\pie[color={tPrim, tPrim!75, tPrim!50, tPrim!25}, |
| 102 |
rotate=90, hide number, text= legend] |
| 103 |
{50/tPrim, 32/tPrim!75, 16/tPrim!50, 2/tPrim!25} |
| 104 |
\end{tikzpicture} |
| 105 |
} |
| 106 |
\end{columns} |
| 107 |
\end{frame} |
| 108 |
|
| 109 |
%-------------------------------------- |
| 110 |
\subsection{Lists} |
| 111 |
|
| 112 |
\begin{frame}{\insertsectionhead} |
| 113 |
\framesubtitle{\insertsubsectionhead} |
| 114 |
\begin{columns}[T,onlytextwidth] |
| 115 |
\column{0.28\textwidth} |
| 116 |
Items |
| 117 |
\begin{itemize} |
| 118 |
\item Item 1 |
| 119 |
\begin{itemize} |
| 120 |
\item Subitem 1 |
| 121 |
\item Subitem 2 |
| 122 |
\end{itemize} |
| 123 |
\item Item 2 |
| 124 |
\item Item 3 |
| 125 |
\end{itemize} |
| 126 |
|
| 127 |
\column{0.42\textwidth} |
| 128 |
Enumerations |
| 129 |
\begin{enumerate} |
| 130 |
\item The Fellowship of the Ring, |
| 131 |
\item The Two Towers, |
| 132 |
\item The Return of the King. |
| 133 |
\end{enumerate} |
| 134 |
|
| 135 |
\column{0.30\textwidth} |
| 136 |
Descriptions |
| 137 |
\begin{description} |
| 138 |
\item[Trigon] Modern. \item[Default] Outdated. |
| 139 |
\end{description} |
| 140 |
\end{columns} |
| 141 |
\end{frame} |
| 142 |
|
| 143 |
%-------------------------------------- |
| 144 |
\subsection{Figures} |
| 145 |
|
| 146 |
\begin{frame} |
| 147 |
\frametitle{\insertsectionhead} |
| 148 |
\framesubtitle{\insertsubsectionhead} |
| 149 |
|
| 150 |
\begin{figure} |
| 151 |
\newcounter{density} |
| 152 |
\setcounter{density}{20} |
| 153 |
\begin{tikzpicture} |
| 154 |
\def\couleur{tAccent} |
| 155 |
\def\color{tSec} |
| 156 |
\path[coordinate] (0,0) coordinate(A) |
| 157 |
++( 60:5cm) coordinate(B) |
| 158 |
++(-60:5cm) coordinate(C); |
| 159 |
\path[coordinate] (0,0) coordinate(D) |
| 160 |
++(60:5cm) coordinate(E) |
| 161 |
++(180:5cm) coordinate(F); |
| 162 |
\draw[fill=\couleur!\thedensity] (A) -- (B) -- (C) -- cycle; |
| 163 |
\draw[fill=\color!\thedensity] (D) -- (E) -- (F) -- cycle; |
| 164 |
\foreach \x in {1,...,15}{% |
| 165 |
\pgfmathsetcounter{density}{\thedensity+10} |
| 166 |
\setcounter{density}{\thedensity} |
| 167 |
\path[coordinate] coordinate(X) at (A){}; |
| 168 |
\path[coordinate] (A) -- (B) coordinate[pos=.15](A) |
| 169 |
-- (C) coordinate[pos=.15](B) |
| 170 |
-- (X) coordinate[pos=.15](C); |
| 171 |
\draw[fill=\couleur!\thedensity] (A)--(B)--(C)--cycle; |
| 172 |
} |
| 173 |
\setcounter{density}{20} |
| 174 |
\foreach \x in {1,...,15}{% |
| 175 |
\pgfmathsetcounter{density}{\thedensity+10} |
| 176 |
\setcounter{density}{\thedensity} |
| 177 |
\path[coordinate] coordinate(X) at (D){}; |
| 178 |
\path[coordinate] (D) -- (E) coordinate[pos=.15](D) |
| 179 |
-- (F) coordinate[pos=.15](E) |
| 180 |
-- (X) coordinate[pos=.15](F); |
| 181 |
\draw[fill=\color!\thedensity] (D)--(E)--(F)--cycle; |
| 182 |
} |
| 183 |
\end{tikzpicture} |
| 184 |
\caption{Rotated triangles from |
| 185 |
\href{http://www.texample.net/tikz/examples/rotated-triangle/}{texample.net}.} |
| 186 |
\end{figure} |
| 187 |
\end{frame} |
| 188 |
|
| 189 |
%-------------------------------------- |
| 190 |
\subsection{Tables} |
| 191 |
|
| 192 |
\begin{frame} |
| 193 |
\frametitle{\insertsectionhead} |
| 194 |
\framesubtitle{\insertsubsectionhead} |
| 195 |
\begin{table}[H] |
| 196 |
\centering |
| 197 |
\caption{A nice table example} |
| 198 |
\begin{tabular}{@{} lccc @{}} |
| 199 |
\toprule |
| 200 |
& \textbf{Velocity} & \textbf{Angle} & \textbf{Vertical force} \\ |
| 201 |
& $U$ & $\alpha$ & $F_z$ \\ |
| 202 |
& [m/s] & [$^\circ$] & [N] \\ |
| 203 |
\midrule |
| 204 |
2D simulation & 9 & 2 & 9.23 \\ |
| 205 |
3D simulation & 10.0 & 3 & 15.039 \\ |
| 206 |
Experiment A & 11.31 & 2.5 & 13.2 \\ |
| 207 |
Experiment B & 11.26 & 2.7 & 12.6 \\ |
| 208 |
Experiment C & 11.33 & 2.47 & 13.6 \\ |
| 209 |
\bottomrule |
| 210 |
\end{tabular} |
| 211 |
\end{table} |
| 212 |
|
| 213 |
\end{frame} |
| 214 |
|
| 215 |
%-------------------------------------- |
| 216 |
\subsection{Blocks} |
| 217 |
|
| 218 |
\begin{frame} |
| 219 |
\frametitle{\insertsectionhead} |
| 220 |
\framesubtitle{\insertsubsectionhead} |
| 221 |
\begin{block}{Regular block} |
| 222 |
Just a regular block |
| 223 |
\end{block} |
| 224 |
\begin{alertblock}{Alert block} |
| 225 |
Some important thing |
| 226 |
\end{alertblock} |
| 227 |
\begin{exampleblock}{Example block} |
| 228 |
No difference with regular block to avoid excessive distraction |
| 229 |
\end{exampleblock} |
| 230 |
\end{frame} |
| 231 |
|
| 232 |
%-------------------------------------- |
| 233 |
\subsection{Frame footer} |
| 234 |
|
| 235 |
{ |
| 236 |
\setbeamertemplate{frame footer}{My custom footer} |
| 237 |
\begin{frame}[fragile] |
| 238 |
\frametitle{\insertsectionhead} |
| 239 |
\framesubtitle{\insertsubsectionhead} |
| 240 |
\themename defines a custom beamer template to add a text to the footer. It can be set via |
| 241 |
\begin{verbatim}\setbeamertemplate{frame footer}{My custom footer}\end{verbatim} |
| 242 |
\end{frame} |
| 243 |
} |
| 244 |
|
| 245 |
\begin{frame}{References} |
| 246 |
Some references to showcase [allowframebreaks] \cite{knuth92,ConcreteMath,Simpson,Er01,greenwade93} |
| 247 |
\end{frame} |
| 248 |
|
| 249 |
%============================================== |
| 250 |
\section{Conclusion} |
| 251 |
%============================================== |
| 252 |
|
| 253 |
\begin{frame}{Summary} |
| 254 |
Get the source of this theme and the demo presentation from |
| 255 |
|
| 256 |
\begin{center} |
| 257 |
\url{gitlab.com/thlamb/beamertheme-trigon} |
| 258 |
\end{center} |
| 259 |
|
| 260 |
As for \textsc{metropolis}, \themename is licensed under a |
| 261 |
\href{http://creativecommons.org/licenses/by-sa/4.0/}{Creative Commons |
| 262 |
Attribution-ShareAlike 4.0 International License}. |
| 263 |
|
| 264 |
\begin{center}\ccbysa\end{center} |
| 265 |
\end{frame} |
| 266 |
|
| 267 |
%============================================== |
| 268 |
\appendix |
| 269 |
|
| 270 |
\begin{frame}[fragile]{Backup slides} |
| 271 |
Sometimes, it is useful to add slides at the end of your presentation to |
| 272 |
refer to during audience questions. |
| 273 |
|
| 274 |
The best way to do this is to include the \verb|appendixnumberbeamer| |
| 275 |
package in your preamble and call \verb|\appendix| before your backup slides. |
| 276 |
|
| 277 |
\themename will automatically turn off slide numbering and progress bars for |
| 278 |
slides in the appendix. |
| 279 |
\end{frame} |
| 280 |
|
| 281 |
%-------------------------------------- |
| 282 |
\begin{frame}[allowframebreaks]{References} |
| 283 |
\bibliography{demo} |
| 284 |
\bibliographystyle{abbrv} |
| 285 |
\end{frame} |