From f49ce7c803c6aaa0a87e9ff063cddf5c98d9a52b Mon Sep 17 00:00:00 2001 From: "J.F.J. Laros" <j.f.j.laros@lumc.nl> Date: Mon, 17 Mar 2014 17:14:09 +0100 Subject: [PATCH] Made the example a bit more informative. --- presentation.tex | 80 +++++++++++++++++++++++++++--------------------- 1 file changed, 45 insertions(+), 35 deletions(-) diff --git a/presentation.tex b/presentation.tex index b27d478..dca1362 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} -- GitLab