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 @@ ...@@ -30,57 +30,67 @@
\bodytemplate \bodytemplate
% First page of the presentation. % First page of the presentation.
\section{Introduction} \section{Short introduction}
\begin{frame} \subsection{Titles and subtitles}
\frametitle{Title of this frame.} \begin{pframe}
First line. Notice the title and subtitle:
\pause
Second line.
\end{frame}
\begin{fframe}
\frametitle{Title of this frame.}
\vfill
\end{fframe}
\section{Topic2}
\begin{frame}
\begin{itemize} \begin{itemize}
\item Item 1. \item The \emph{section} command controls the title.
\item Item 2. \item The \emph{subsection} command controls the frametitle.
\pause
\item Item 3.
\pause
\begin{itemize}
\item Subitem 1.
\end{itemize}
\end{itemize} \end{itemize}
\end{frame} \end{pframe}
\begin{frame} \begin{pframe}
The second slide in the same section. The titles are retained until overwritten.
\end{frame} \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] \subsection{Code}
And an example of displaying code, mind the [fragile] option. \begin{pframe}
A \emph{pframe} does not need to be declared fragile.
\begin{lstlisting}[caption={Example input}] \begin{lstlisting}[caption={Example input}]
print "Hello" print "Hello"
\end{lstlisting} \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?} \section{Questions?}
\lastpagetemplate \lastpagetemplate
\begin{frame} \begin{pframe}
\begin{center} \begin{center}
Acknowledgements: Acknowledgements:
\bigskip \bigskip
\bigskip \bigskip
Perhaps acknowledge the author of this template.
\end{center} \end{center}
\end{frame} \end{pframe}
\end{document} \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