From 70e573e9fecbf70b54629865443024474b59fa60 Mon Sep 17 00:00:00 2001 From: Johan Larsson Date: Tue, 13 May 2025 09:36:43 +0200 Subject: [PATCH] test: update separation test example --- testfiles/separation.lvt | 2 +- testfiles/support/separationexample.tex | 44 +++++++++++++++++++++++++ 2 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 testfiles/support/separationexample.tex diff --git a/testfiles/separation.lvt b/testfiles/separation.lvt index 328e6f1..92fb2dc 100644 --- a/testfiles/separation.lvt +++ b/testfiles/separation.lvt @@ -7,4 +7,4 @@ \usepackage{lmodern} -\input{molochexample} +\input{separationexample} diff --git a/testfiles/support/separationexample.tex b/testfiles/support/separationexample.tex new file mode 100644 index 0000000..9014402 --- /dev/null +++ b/testfiles/support/separationexample.tex @@ -0,0 +1,44 @@ +\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} + +\vfil\break +\END + +\end{document}