From 4be1206c5c9fb278ec3709524a45758dcb0bdd21 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Thu, 26 Feb 2026 20:37:28 -0500 Subject: [PATCH] examples/beamer: add an example for the beamer theme --- examples/beamer/GNUmakefile | 17 ++++++++ examples/beamer/presentation.tex | 75 ++++++++++++++++++++++++++++++++ 2 files changed, 92 insertions(+) create mode 100644 examples/beamer/GNUmakefile create mode 100644 examples/beamer/presentation.tex diff --git a/examples/beamer/GNUmakefile b/examples/beamer/GNUmakefile new file mode 100644 index 0000000..b21f1ce --- /dev/null +++ b/examples/beamer/GNUmakefile @@ -0,0 +1,17 @@ +# See ../article/GNUmakefile for explanations. This is here not as +# documentation, but to actually build the PDF (make sure it builds). + +PN = presentation + +# When using the shortcut "\usepackage{mjotex}", you should still list +# the relevant mjo-*.tex files here (or just list ALL of them) to +# ensure that your document is rebuilt when any of them change. +MJOTEX = mjo-algebra.tex mjo-algorithm.tex mjo-arrow.tex mjo-calculus.tex +MJOTEX += mjo-common.tex mjo-complex.tex mjo-cone.tex mjo-convex.tex +MJOTEX += mjo-eja.tex mjo-font.tex mjo-hurwitz.tex mjo-linear_algebra.tex +MJOTEX += mjo-listing.tex mjo-proof_by_cases.tex mjo-set.tex mjo-theorem.tex +MJOTEX += mjo-theorem-star.tex mjo-topology.tex + +export TEXINPUTS := $(TEXINPUTS):../.. +export BSTINPUTS := $(BSTINPUTS):../.. +include $(shell kpsewhich GNUmakefile.mjo) diff --git a/examples/beamer/presentation.tex b/examples/beamer/presentation.tex new file mode 100644 index 0000000..63e5b4c --- /dev/null +++ b/examples/beamer/presentation.tex @@ -0,0 +1,75 @@ +\documentclass[t,14pt,notheorems]{beamer} +\usetheme{mjo} + +\usepackage{amsmath, mathtools} +\usepackage{mjotex} + +\title{Example presentation} +\author{Michael Orlitzky} +\date{Somewhere, on a day} + +\begin{document} + \begin{frame} + \titlepage + \end{frame} + + \begin{part}{Part one} + \begin{section}{Section one} + \begin{frame} + Hello, these are bullet points: + \begin{itemize} + \begin{item} + Item one + \end{item} + \begin{item} + Item two + \end{item} + \begin{item} + Et cetera + \end{item} + \end{itemize} + + Footnotes\footnote{These things} are non-numeric\footnote{To + avoid confusion}, and skip the asterisk because it is + ugly\footnote{Uncontroversial opinion}. + \end{frame} + + \begin{frame} + On the second frame, the footnote counter + resets\footnote{See?}. + \end{frame} + \end{section} + + \begin{section}{Section two} + \begin{frame} + Much slide + + \begin{theorem*} + This is a theorem. + \begin{proof} + And its proof. + \end{proof} + \end{theorem*} + \end{frame} + \begin{frame} + So presentation + \end{frame} + \end{section} + \end{part} + + + \begin{part}{The other part} + \begin{section}{Section three} + \begin{frame} + You get the idea + \end{frame} + \end{section} + \end{part} + + + \begin{section}{Section four (no part)} + \begin{frame} + Everybody gets a free slide! + \end{frame} + \end{section} +\end{document} -- 2.51.0