docs: update demo slides
This commit is contained in:
parent
c77abe9da4
commit
e9f0046a67
118
demo/demo.tex
118
demo/demo.tex
|
@ -1,26 +1,32 @@
|
|||
\documentclass[10pt]{beamer}
|
||||
|
||||
\usetheme{moloch}
|
||||
\usefonttheme{professionalfonts}
|
||||
|
||||
\usepackage[T1]{fontenc}
|
||||
|
||||
\usepackage{appendixnumberbeamer}
|
||||
|
||||
\usepackage{booktabs}
|
||||
\usepackage[scale=2]{ccicons}
|
||||
|
||||
\usepackage[medium,light]{FiraSans}
|
||||
\usepackage[medium]{FiraMono}
|
||||
|
||||
\usepackage{xspace}
|
||||
\newcommand{\themename}{\textbf{\textsc{moloch}}\xspace}
|
||||
|
||||
\newcommand{\themename}{\textbf{moloch}\xspace}
|
||||
|
||||
\title{Moloch}
|
||||
\subtitle{A modern beamer theme}
|
||||
\subtitle{A Minimal Beamer Theme}
|
||||
\date{\today}
|
||||
\author{Matthias Vogelgesang}
|
||||
\institute{Center for modern beamer themes}
|
||||
\author{Johan Larsson}
|
||||
\institute{The Department of Statistics, Lund University}
|
||||
|
||||
\begin{document}
|
||||
|
||||
\maketitle
|
||||
|
||||
\begin{frame}{Table of contents}
|
||||
\begin{frame}{Table of Contents}
|
||||
\setbeamertemplate{section in toc}[sections numbered]
|
||||
\tableofcontents[hideallsubsections]
|
||||
\end{frame}
|
||||
|
@ -29,41 +35,38 @@
|
|||
|
||||
\begin{frame}[fragile]{Moloch}
|
||||
|
||||
The \themename theme is a Beamer theme with minimal visual noise
|
||||
inspired by the \href{https://github.com/hsrmbeamertheme/hsrmbeamertheme}{\textsc{hsrm} Beamer
|
||||
Theme} by Benjamin Weiss.
|
||||
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.
|
||||
|
||||
Enable the theme by loading
|
||||
|
||||
\begin{verbatim}
|
||||
\documentclass{beamer}
|
||||
\usetheme{moloch}
|
||||
\end{verbatim}
|
||||
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
|
||||
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}
|
||||
|
||||
for which \themename provides a nice progress indicator \ldots
|
||||
\begin{verbatim}\section{Title Formats}\end{verbatim}
|
||||
\end{frame}
|
||||
|
||||
\section{Title formats}
|
||||
\section{Title Formats}
|
||||
|
||||
\begin{frame}{Moloch title formats}
|
||||
\themename supports 4 different title formats:
|
||||
\begin{frame}[fragile]{Moloch Title Formats}
|
||||
\themename supports four different title formats:
|
||||
\begin{itemize}
|
||||
\item Regular
|
||||
\item \textsc{Small caps}
|
||||
\item \textsc{all small caps}
|
||||
\item \textsc{Small Caps}
|
||||
\item \textsc{All Small Caps}
|
||||
\item ALL CAPS
|
||||
\end{itemize}
|
||||
They can either be set at once for every title type or individually.
|
||||
|
||||
They can either be set globally for every frame or used locally just for the current frame and onwards by using
|
||||
\begin{verbatim}\molochset{titleformat frame=<option>}\end{verbatim}
|
||||
\end{frame}
|
||||
|
||||
{
|
||||
\molochset{titleformat frame=smallcaps}
|
||||
\begin{frame}{Small caps}
|
||||
\begin{frame}{Small Caps}
|
||||
This frame uses the \texttt{smallcaps} title format.
|
||||
|
||||
\begin{alertblock}{Potential Problems}
|
||||
|
@ -74,12 +77,14 @@
|
|||
|
||||
{
|
||||
\molochset{titleformat frame=allsmallcaps}
|
||||
\begin{frame}{All small caps}
|
||||
\begin{frame}{All Small Caps}
|
||||
This frame uses the \texttt{allsmallcaps} title format.
|
||||
|
||||
\begin{alertblock}{Potential problems}
|
||||
\begin{alertblock}{Potential Problems}
|
||||
As this title format also uses small caps you face the same problems as with the \texttt{smallcaps} title format. Additionally this format can cause some other problems. Please refer to the documentation if you consider using it.
|
||||
|
||||
\medskip
|
||||
|
||||
As a rule of thumb: just use it for plaintext-only titles.
|
||||
\end{alertblock}
|
||||
\end{frame}
|
||||
|
@ -87,7 +92,7 @@
|
|||
|
||||
{
|
||||
\molochset{titleformat frame=allcaps}
|
||||
\begin{frame}{All caps}
|
||||
\begin{frame}{All Caps}
|
||||
This frame uses the \texttt{allcaps} title format.
|
||||
|
||||
\begin{alertblock}{Potential Problems}
|
||||
|
@ -100,33 +105,33 @@
|
|||
|
||||
\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}
|
||||
|
||||
\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 feature test}
|
||||
\begin{frame}{Font Features Test}
|
||||
\begin{itemize}
|
||||
\item Regular
|
||||
\item \textit{Italic}
|
||||
\item \textsc{Small Caps}
|
||||
\item \textbf{Bold}
|
||||
\item \textbf{\textit{Bold Italic}}
|
||||
\item \textbf{\textsc{Bold Small Caps}}
|
||||
\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.33\textwidth}
|
||||
\column{0.3\textwidth}
|
||||
Items
|
||||
\begin{itemize}
|
||||
\item Milk \item Eggs \item Potatoes
|
||||
|
@ -218,20 +223,20 @@ or show \textbf{bold} results.\end{verbatim}
|
|||
|
||||
\begin{frame}{Quotes}
|
||||
\begin{quote}
|
||||
Veni, Vidi, Vici
|
||||
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}
|
||||
\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}{References}
|
||||
Some references to showcase [allowframebreaks] \cite{Knuth92,ConcreteMath,Simpson,Er01,greenwade93}
|
||||
\begin{frame}[fragile]{References}
|
||||
Here are some references~\cite{Knuth92,ConcreteMath,Simpson,Er01,greenwade93} to showcase \verb+[allowframebreaks]+.
|
||||
\end{frame}
|
||||
|
||||
\section{Conclusion}
|
||||
|
@ -239,14 +244,16 @@ or show \textbf{bold} results.\end{verbatim}
|
|||
\begin{frame}{Summary}
|
||||
|
||||
Get the source of this theme and the demo presentation from
|
||||
\begin{center}
|
||||
\url{github.com/jolars/moloch}
|
||||
\end{center}
|
||||
|
||||
\begin{center}\url{github.com/matze/mtheme}\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}.
|
||||
|
||||
The theme \emph{itself} is licensed under a
|
||||
\href{http://creativecommons.org/licenses/by-sa/4.0/}{Creative Commons
|
||||
Attribution-ShareAlike 4.0 International License}.
|
||||
|
||||
\begin{center}\ccbysa\end{center}
|
||||
\begin{center}
|
||||
\ccbysa
|
||||
\end{center}
|
||||
|
||||
\end{frame}
|
||||
|
||||
|
@ -256,15 +263,14 @@ or show \textbf{bold} results.\end{verbatim}
|
|||
|
||||
\appendix
|
||||
|
||||
\begin{frame}[fragile]{Backup slides}
|
||||
Sometimes, it is useful to add slides at the end of your presentation to
|
||||
refer to during audience questions.
|
||||
\begin{frame}[fragile]{Backup Slides}
|
||||
To add slides at the end of your presentation for reference during audience questions, you just need to
|
||||
\begin{enumerate}
|
||||
\item include the "appendixnumberbeamer" package in your preamble, and
|
||||
\item call \verb+\appendix+ command before your backup slides.
|
||||
\end{enumerate}
|
||||
|
||||
The best way to do this is to include the \verb|appendixnumberbeamer|
|
||||
package in your preamble and call \verb|\appendix| before your backup slides.
|
||||
|
||||
\themename will automatically turn off slide numbering and progress bars for
|
||||
slides in the appendix.
|
||||
By doing this, the \themename theme will automatically disable slide numbering and progress bars for the slides in the appendix.
|
||||
\end{frame}
|
||||
|
||||
\begin{frame}[allowframebreaks]{References}
|
||||
|
|
Loading…
Reference in New Issue