Skip to content
Snippets Groups Projects
Commit f49ce7c8 authored by Laros's avatar Laros
Browse files

Made the example a bit more informative.

parent 8262068c
No related branches found
No related tags found
No related merge requests found
......@@ -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}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment