| 1 |
% !TeX TS-program = xelatex |
| 2 |
% !BIB TS-program = bibtex |
| 3 |
|
| 4 |
% Full instructions available at: |
| 5 |
% https://github.com/pcafrica/focus-beamertheme |
| 6 |
|
| 7 |
\documentclass{beamer} |
| 8 |
\usetheme{focus} |
| 9 |
|
| 10 |
\title{Focus: \\ A Minimalist Beamer Theme} |
| 11 |
\subtitle{Subtitle} |
| 12 |
\author{Author 1\texorpdfstring{\\}{,} Author 2} |
| 13 |
\titlegraphic{\includegraphics[scale=1.25]{focus-logo.pdf}} |
| 14 |
\institute{Institute Name \\ Institute Address} |
| 15 |
\date{dd mm yyyy} |
| 16 |
|
| 17 |
% Footline info is printed only if [numbering=fullbar]. |
| 18 |
%\footlineinfo{Custom footline text} |
| 19 |
|
| 20 |
\begin{document} |
| 21 |
\begin{frame} |
| 22 |
\maketitle |
| 23 |
\end{frame} |
| 24 |
|
| 25 |
% Use starred version (e.g. \section*{Section name}) |
| 26 |
% to disable (sub)section page. |
| 27 |
\section{Section 1} |
| 28 |
\subsection{Subsection 1.1} |
| 29 |
\begin{frame}{Simple frame} |
| 30 |
This is a simple frame. |
| 31 |
\end{frame} |
| 32 |
|
| 33 |
\begin{frame}[plain]{Plain frame} |
| 34 |
This is a frame with plain style and it is numbered. |
| 35 |
\end{frame} |
| 36 |
|
| 37 |
\subsection{Subsection 1.2} |
| 38 |
\begin{frame}[t] |
| 39 |
This frame has an empty title and is aligned to top. |
| 40 |
\end{frame} |
| 41 |
|
| 42 |
\begin{frame}[noframenumbering]{No frame numbering} |
| 43 |
This frame is not numbered and is citing reference \cite{knuth74}. |
| 44 |
\end{frame} |
| 45 |
|
| 46 |
\begin{frame}{Typesetting and Math} |
| 47 |
The packages \texttt{fontenc} and \texttt{FiraSans}\footnote{\url{https://fonts.google.com/specimen/Fira+Sans}}\textsuperscript{,}\footnote{\url{http://mozilla.github.io/Fira/}} are used to properly set the main fonts. |
| 48 |
\vfill |
| 49 |
This theme provides styling commands to typeset \emph{emphasized}, \alert{alerted}, \textbf{bold}, \textcolor{example}{example text}, \dots |
| 50 |
\vfill |
| 51 |
\texttt{FiraSans} also provides support for mathematical symbols: |
| 52 |
\begin{align*} |
| 53 |
e^{i\pi} + 1 & = 0, \\ |
| 54 |
\int_{-\infty}^\infty e^{-x^2}\,\mathrm{d}x & = \sqrt{\pi}. |
| 55 |
\end{align*} |
| 56 |
\end{frame} |
| 57 |
|
| 58 |
\section{Section 2} |
| 59 |
\begin{frame}{Blocks} |
| 60 |
\begin{block}{Block} |
| 61 |
Text. |
| 62 |
\end{block} |
| 63 |
\pause |
| 64 |
\begin{alertblock}{Alert block} |
| 65 |
Alert \alert{text}. |
| 66 |
\end{alertblock} |
| 67 |
\pause |
| 68 |
\begin{exampleblock}{Example block} |
| 69 |
Example \textcolor{example}{text}. |
| 70 |
\end{exampleblock} |
| 71 |
\end{frame} |
| 72 |
|
| 73 |
\begin{frame}{Lists} |
| 74 |
\begin{columns}[t, onlytextwidth] |
| 75 |
\column{0.33\textwidth} |
| 76 |
Items: |
| 77 |
\begin{itemize} |
| 78 |
\item Item 1 |
| 79 |
\begin{itemize} |
| 80 |
\item Subitem 1.1 |
| 81 |
\item Subitem 1.2 |
| 82 |
\end{itemize} |
| 83 |
\item Item 2 |
| 84 |
\item Item 3 |
| 85 |
\end{itemize} |
| 86 |
|
| 87 |
\column{0.33\textwidth} |
| 88 |
Enumerations: |
| 89 |
\begin{enumerate} |
| 90 |
\item First |
| 91 |
\item Second |
| 92 |
\begin{enumerate} |
| 93 |
\item Sub-first |
| 94 |
\item Sub-second |
| 95 |
\end{enumerate} |
| 96 |
\item Third |
| 97 |
\end{enumerate} |
| 98 |
|
| 99 |
\column{0.33\textwidth} |
| 100 |
Descriptions: |
| 101 |
\begin{description} |
| 102 |
\item[First] Yes. |
| 103 |
\item[Second] No. |
| 104 |
\end{description} |
| 105 |
\end{columns} |
| 106 |
\end{frame} |
| 107 |
\setbeamertemplate{caption}[numbered] |
| 108 |
\begin{frame}{Figures and Tables} |
| 109 |
\begin{columns} |
| 110 |
\column{0.4\textwidth} |
| 111 |
\begin{figure} |
| 112 |
\centering |
| 113 |
\includegraphics{focus-logo.pdf} |
| 114 |
\caption{Figure caption.} |
| 115 |
\label{fig:focuslogo} |
| 116 |
\end{figure} |
| 117 |
|
| 118 |
\column{0.6\textwidth} |
| 119 |
\begin{table} |
| 120 |
\centering |
| 121 |
\begin{tabular}{rcc} |
| 122 |
& Heading 1 & Heading 2 \\\hline |
| 123 |
Row 1 & \(v_{11}\) & \(v_{12}\) \\ |
| 124 |
Row 2 & \(v_{21}\) & \(v_{22}\) \\ |
| 125 |
Row 3 & \(v_{31}\) & \(v_{32}\) \\ |
| 126 |
\end{tabular} |
| 127 |
\caption{Table caption.} |
| 128 |
\label{tab:demo} |
| 129 |
\end{table} |
| 130 |
\end{columns} |
| 131 |
\end{frame} |
| 132 |
|
| 133 |
\begin{frame}[focus] |
| 134 |
Thanks for using \textbf{Focus}! |
| 135 |
\end{frame} |
| 136 |
|
| 137 |
\appendix |
| 138 |
\begin{frame}{References} |
| 139 |
\nocite{*} |
| 140 |
\bibliography{focus-demo_bibliography} |
| 141 |
\bibliographystyle{plain} |
| 142 |
\end{frame} |
| 143 |
|
| 144 |
\begin{frame}{Backup frame} |
| 145 |
This is a backup frame, useful to include additional material for questions from the audience. |
| 146 |
\vfill |
| 147 |
The package \texttt{appendixnumberbeamer} is used not to number appendix frames. |
| 148 |
\end{frame} |
| 149 |
\end{document} |