moloch-dragon/testfiles/support/molochexample.tex

158 lines
3.3 KiB
TeX

\input regression-test
\title{Moloch Test Suite}
\subtitle{A subtitle that is way to long and in fact might just need to be split across lines}
\author[Johan]{Johan Larsson}
\institute[LU]{Lund Univesity//Department of Statistics}
\date{April 23, 2024}
\begin{document}
\START
\showoutput
\begin{frame}{Table of contents}
\setbeamertemplate{section in toc}[sections numbered]
\tableofcontents[hideallsubsections]
\end{frame}
\section{Results}
\subsection{Proof of the Main Theorem}
\begin{frame}<1>
\frametitle{There Is No Largest Prime Number}
\framesubtitle{The proof uses \textit{reductio ad absurdum}.}
\begin{theorem}
There is no largest prime number.
\end{theorem}
\begin{proof}
\begin{enumerate}
\item<1-| alert@1> Suppose $p$ were the largest prime number.
\item<2-> Let $q$ be the product of the first $p$ numbers.
\item<3-> Then $q$\;+\,$1$ is not divisible by any of them.
\item<1-> Thus $q$\;+\,$1$ is also prime and greater than $p$.\qedhere
\end{enumerate}
\end{proof}
\end{frame}
{
\molochset{titleformat frame=smallcaps}
\begin{frame}{Small caps}
This frame uses the \texttt{smallcaps} title format.
\begin{block}{Block}
Some content
\end{block}
\begin{alertblock}{Alert Block}
Yet more content
\end{alertblock}
\begin{exampleblock}{Example Block}
Just to try out the different blocks
\end{exampleblock}
\end{frame}
}
{
\molochset{titleformat frame=allsmallcaps}
\begin{frame}{All small caps}
This frame uses the \texttt{allsmallcaps} title format.
\end{frame}
}
{
\molochset{titleformat frame=allcaps}
\begin{frame}{All caps}
This frame uses the \texttt{allcaps} title format.
\end{frame}
}
\begin{frame}{Lists}
\begin{columns}[T,onlytextwidth]
\column{0.33\textwidth}
Items
\begin{itemize}
\item Flour
\begin{itemize}
\item Wheat
\begin{itemize}
\item Whole-grain
\item White
\end{itemize}
\end{itemize}
\item Eggs
\end{itemize}
\column{0.33\textwidth}
Enumerations
\begin{enumerate}
\item First, \item Second and \item Last.
\end{enumerate}
\column{0.33\textwidth}
Descriptions
\begin{description}
\item[PowerPoint] Meeh. \item[Beamer] Yeeeha.
\end{description}
\end{columns}
\end{frame}
\begin{frame}{Animation}
\begin{itemize}[<+- | alert@+>]
\item \alert<4>{This is\only<4>{ really} important}
\item Now this
\item And now this
\end{itemize}
\end{frame}
\begin{frame}{Blocks}
\begin{columns}
\begin{column}{0.45\textwidth}
\begin{block}{Default}
Block content.
\end{block}
\begin{alertblock}{Alert}
Block content.
\end{alertblock}
\begin{exampleblock}{Example}
Block content.
\end{exampleblock}
\end{column}
\begin{column}{0.45\textwidth}
{
\molochset{block=fill}
\begin{block}{Default}
Block content.
\end{block}
\begin{alertblock}{Alert}
Block content.
\end{alertblock}
\begin{exampleblock}{Example}
Block content.
\end{exampleblock}
}
\end{column}
\end{columns}
\end{frame}
\appendix
\begin{frame}{Backup slides}
Here are some backup slides
\end{frame}
\vfil\break
\END
\end{document}