\documentclass[10pt]{beamer} \usepackage[T1]{fontenc} \usetheme{moloch} \setbeamertemplate{page number in head/foot}[appendixframenumber] \setbeamertemplate{section in toc}[sections numbered] % \molochset{progressbar=foot} \usepackage{booktabs} \usepackage[scale=2]{ccicons} \usepackage{lmodern} \usepackage{xspace} \newcommand{\themename}{\textbf{moloch}\xspace} \title{Moloch} \subtitle{A Minimal Beamer Theme} \date{\today} \author{Johan Larsson} \institute{The Department of Statistics, Lund University} \titlegraphic{\hfill\includegraphics[width=3.5cm]{moloch-logo.pdf}} \begin{document} \maketitle \begin{frame}{Table of Contents} \tableofcontents[hideallsubsections] \end{frame} \section{Introduction} \begin{frame}[fragile]{Moloch} The \themename theme is a Beamer theme with minimal visual noise. It is a fork of the \href{https://github.com/matze/mtheme}{metropolis theme} by Matthias Vogelgesang, which in turn was inspired by by the \href{https://github.com/hsrmbeamertheme/hsrmbeamertheme}{hsrm theme} by Benjamin Weiss. \medskip Enable the theme by calling \begin{verbatim}\documentclass{beamer} \usetheme{moloch}\end{verbatim} \end{frame} \begin{frame}[fragile]{Sections} Sections group slides of the same topic by introducing a section page between them. A progress bar is shown which indicates how far along in the presentation you are. \begin{verbatim}\section{Elements}\end{verbatim} \end{frame} \section{Elements} \begin{frame}[fragile]{Typography} \begin{verbatim}The theme provides sensible defaults to \emph{emphasize} text, \alert{accent} parts or show \textbf{bold} results.\end{verbatim} \begin{center} becomes \end{center} The theme provides sensible defaults to \emph{emphasize} text, \alert{accent} parts or show \textbf{bold} results. \end{frame} \begin{frame}{Font Features Test} \begin{itemize} \item Regular \item \textit{Italic} \item \textbf{Bold} \item \textbf{\textit{Bold Italic}} \item \texttt{Monospace} \item \texttt{\textit{Monospace Italic}} \item \texttt{\textbf{Monospace Bold}} \item \texttt{\textbf{\textit{Monospace Bold Italic}}} \item \textsc{Small Caps} \item \textbf{\textsc{Bold Small Caps}} \end{itemize} \end{frame} \begin{frame}{Lists} \begin{columns}[T,onlytextwidth] \column{0.3\textwidth} Items \begin{itemize} \item Milk \item Eggs \item Potatoes \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}{Figures} \begin{figure} \newcounter{density} \setcounter{density}{20} \begin{tikzpicture} \def\couleur{alerted text.fg} \path[coordinate] (0,0) coordinate(A) ++( 90:5cm) coordinate(B) ++(0:5cm) coordinate(C) ++(-90:5cm) coordinate(D); \draw[fill=\couleur!\thedensity] (A) -- (B) -- (C) --(D) -- cycle; \foreach \x in {1,...,40}{% \pgfmathsetcounter{density}{\thedensity+20} \setcounter{density}{\thedensity} \path[coordinate] coordinate(X) at (A){}; \path[coordinate] (A) -- (B) coordinate[pos=.10](A) -- (C) coordinate[pos=.10](B) -- (D) coordinate[pos=.10](C) -- (X) coordinate[pos=.10](D); \draw[fill=\couleur!\thedensity] (A)--(B)--(C)-- (D) -- cycle; } \end{tikzpicture} \caption{Rotated square from \href{http://www.texample.net/tikz/examples/rotated-polygons/}{texample.net}.} \end{figure} \end{frame} \begin{frame}{Tables} \framesubtitle{Largest cities in the world} \begin{table} \caption{Largest cities in the world (source: Wikipedia)} \begin{tabular}{@{} lr @{}} \toprule City & Population \\ \midrule Mexico City & 20,116,842 \\ Shanghai & 19,210,000 \\ Peking & 15,796,450 \\ Istanbul & 14,160,467 \\ \bottomrule \end{tabular} \end{table} \end{frame} \begin{frame}[fragile]{Blocks} Three different block environments are pre-defined: \verb|block|, \verb|alertblock|, and \verb|exampleblock|. They can be styled using the option \verb|block|, which takes values \verb|transparent| (default, left column) and \verb|fill| (right column). \begin{columns}[T] \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} \begin{frame}{Math} \begin{equation*} e = \lim_{n\to \infty} \left(1 + \frac{1}{n}\right)^n \end{equation*} \end{frame} \begin{frame}{Quotes} \begin{quote} Verily, I say unto you, the days spoken of in the Apocalypse are nigh! \end{quote} \end{frame} {% \setbeamertemplate{frame footer}{My custom footer} \begin{frame}[fragile]{Frame Footer} \themename defines a custom beamer template to add a text to the footer. It can be set via \begin{verbatim}\setbeamertemplate{frame footer}{My custom footer}\end{verbatim} \end{frame} } \begin{frame}[fragile]{References} Here are some references~\cite{Knuth92,ConcreteMath,Simpson,Er01,greenwade93} to showcase \verb+[allowframebreaks]+. \end{frame} \section{Conclusion} \begin{frame}{Summary} Get the source of this theme and the demo presentation from \begin{center} \url{github.com/jolars/moloch} \end{center} The theme is licensed under the \href{http://creativecommons.org/licenses/by-sa/4.0/}{Creative Commons Attribution-ShareAlike 4.0 International License}. \begin{center} \ccbysa \end{center} \end{frame} \begin{frame}[standout] Questions? \end{frame} \appendix \begin{frame}[allowframebreaks]{References} \bibliography{demo} \bibliographystyle{abbrv} \end{frame} \end{document}