diff options
author | Karl Berry <karl@freefriends.org> | 2020-10-26 20:57:16 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-10-26 20:57:16 +0000 |
commit | f8c8363fb37068be56ed7b34df7bc3b1e80e0b0b (patch) | |
tree | 493398702068a913853c1cdc056fec2d25763b78 /Master/texmf-dist/doc/latex/beamertheme-focus/focus-demo.tex | |
parent | 758182cda777f61889fcaba4286dc6cf50d667a6 (diff) |
beamertheme-focus (26oct20)
git-svn-id: svn://tug.org/texlive/trunk@56767 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/beamertheme-focus/focus-demo.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/beamertheme-focus/focus-demo.tex | 143 |
1 files changed, 143 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/beamertheme-focus/focus-demo.tex b/Master/texmf-dist/doc/latex/beamertheme-focus/focus-demo.tex new file mode 100644 index 00000000000..bc77b118d04 --- /dev/null +++ b/Master/texmf-dist/doc/latex/beamertheme-focus/focus-demo.tex @@ -0,0 +1,143 @@ +% Full instructions available at: +% https://github.com/elauksap/focus-beamertheme + +\documentclass{beamer} +\usetheme{focus} + +\title{Focus: \\ A Minimalist Beamer Theme} +\subtitle{Subtitle} +\author{Author 1\texorpdfstring{\\}{,} Author 2} +\titlegraphic{\includegraphics[scale=1.25]{focuslogo.pdf}} +\institute{Institute Name \\ Institute Address} +\date{dd mm yyyy} + +\begin{document} + \begin{frame} + \maketitle + \end{frame} + + % Use starred version (e.g. \section*{Section name}) + % to disable (sub)section page. + \section{Section 1} + \subsection{Subsection 1.1} + \begin{frame}{Simple frame} + This is a simple frame. + \end{frame} + + \begin{frame}[plain]{Plain frame} + This is a frame with plain style and it is numbered. + \end{frame} + + \subsection{Subsection 1.2} + \begin{frame}[t] + This frame has an empty title and is aligned to top. + \end{frame} + + \begin{frame}[noframenumbering]{No frame numbering} + This frame is not numbered and is citing reference \cite{knuth74}. + \end{frame} + + \begin{frame}{Typesetting and Math} + The packages \texttt{inputenc} 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. + \vfill + This theme provides styling commands to typeset \emph{emphasized}, \alert{alerted}, \textbf{bold}, \textcolor{example}{example text}, \dots + \vfill + \texttt{FiraSans} also provides support for mathematical symbols: + \begin{equation*} + e^{i\pi} + 1 = 0. + \end{equation*} + \end{frame} + + \section{Section 2} + \begin{frame}{Blocks} + \begin{block}{Block} + Text. + \end{block} + \pause + \begin{alertblock}{Alert block} + Alert \alert{text}. + \end{alertblock} + \pause + \begin{exampleblock}{Example block} + Example \textcolor{example}{text}. + \end{exampleblock} + \end{frame} + + \begin{frame}{Lists} + \begin{columns}[t, onlytextwidth] + \column{0.33\textwidth} + Items: + \begin{itemize} + \item Item 1 + \begin{itemize} + \item Subitem 1.1 + \item Subitem 1.2 + \end{itemize} + \item Item 2 + \item Item 3 + \end{itemize} + + \column{0.33\textwidth} + Enumerations: + \begin{enumerate} + \item First + \item Second + \begin{enumerate} + \item Sub-first + \item Sub-second + \end{enumerate} + \item Third + \end{enumerate} + + \column{0.33\textwidth} + Descriptions: + \begin{description} + \item[First] Yes. + \item[Second] No. + \end{description} + \end{columns} + \end{frame} +\setbeamertemplate{caption}[numbered] + \begin{frame}{Figures and Tables} + \begin{columns} + \column{0.4\textwidth} + \begin{figure} + \centering + \includegraphics{focus-logo.pdf} + \caption{Figure caption.} + \label{fig:focuslogo} + \end{figure} + + \column{0.6\textwidth} + \begin{table} + \centering + \begin{tabular}{rcc} + & Heading 1 & Heading 2 \\\hline + Row 1 & \(v_{11}\) & \(v_{12}\) \\ + Row 2 & \(v_{21}\) & \(v_{22}\) \\ + Row 3 & \(v_{31}\) & \(v_{32}\) \\ + \end{tabular} + \caption{Table caption.} + \label{tab:demo} + \end{table} + \end{columns} + \end{frame} + + \begin{frame}[focus] + Thanks for using \textbf{Focus}! + \end{frame} + + \appendix + \begin{frame}{References} + \nocite{*} + \bibliography{focus-demo_bibliography} + \bibliographystyle{plain} + \end{frame} + + \begin{frame}{Backup frame} + \usebeamercolor[fg]{normal text} + This is a backup frame, useful to include additional material for questions from the audience. + \vfill + The package \texttt{appendixnumberbeamer} is used not to number appendix frames. + \end{frame} +\end{document} |