diff --git a/presentation.tex b/presentation.tex index b27d478522910a7334b2c70e94d86f223c41f7df..dca1362b7af9ef82226d2c50ac5c64b17eb0ec89 100644 --- a/presentation.tex +++ b/presentation.tex @@ -30,57 +30,67 @@ \bodytemplate % First page of the presentation. -\section{Introduction} -\begin{frame} - \frametitle{Title of this frame.} - First line. - - \pause - - Second line. -\end{frame} - -\begin{fframe} - \frametitle{Title of this frame.} - - \vfill -\end{fframe} - -\section{Topic2} -\begin{frame} +\section{Short introduction} +\subsection{Titles and subtitles} +\begin{pframe} + Notice the title and subtitle: \begin{itemize} - \item Item 1. - \item Item 2. - \pause - \item Item 3. - \pause - \begin{itemize} - \item Subitem 1. - \end{itemize} + \item The \emph{section} command controls the title. + \item The \emph{subsection} command controls the frametitle. \end{itemize} -\end{frame} +\end{pframe} -\begin{frame} - The second slide in the same section. -\end{frame} +\begin{pframe} + The titles are retained until overwritten. + \bigskip + \pause + + Notice the footer is present on all overlays. + \vfill + \permfoot{https://git.lumc.nl/j.f.j.laros/presentation/tree/master} +\end{pframe} -\begin{frame}[fragile] - And an example of displaying code, mind the [fragile] option. +\subsection{Code} +\begin{pframe} + A \emph{pframe} does not need to be declared fragile. \begin{lstlisting}[caption={Example input}] print "Hello" \end{lstlisting} -\end{frame} +\end{pframe} + +\subsection{Two columns} +\begin{pframe} + \begin{minipage}[t]{0.47\textwidth} + \begin{figure} + \begin{center} + Picture goes here. + \end{center} + \caption{Some picture.} + \end{figure} + \end{minipage} + \hfill + \begin{minipage}[t]{0.47\textwidth} + Sometimes it is convenient to have two columns. + \begin{itemize} + \item Pictures can be too high. + \item You may have multiple small pictures. + \item \ldots + \end{itemize} + \end{minipage} +\end{pframe} \section{Questions?} \lastpagetemplate -\begin{frame} +\begin{pframe} \begin{center} Acknowledgements: \bigskip \bigskip + Perhaps acknowledge the author of this template. + \end{center} -\end{frame} +\end{pframe} \end{document}