| 1 |
% A pure minimalistic LaTeX-Beamer theme for everyone to use. |
| 2 |
% Copyright (C) 2020 Kai Norman Clasen |
| 3 |
|
| 4 |
% This program is free software: you can redistribute it and/or modify |
| 5 |
% it under the terms of the GNU General Public License as published by |
| 6 |
% the Free Software Foundation, either version 3 of the License, or |
| 7 |
% (at your option) any later version. |
| 8 |
|
| 9 |
% This program is distributed in the hope that it will be useful, |
| 10 |
% but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 |
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 |
% GNU General Public License for more details. |
| 13 |
|
| 14 |
% You should have received a copy of the GNU General Public License |
| 15 |
% along with this program. If not, see <https://www.gnu.org/licenses/>. |
| 16 |
|
| 17 |
% This file is part of beamerthemepureminimalistic. |
| 18 |
|
| 19 |
% If problems/bugs are found or enhancements are desired, please contact |
| 20 |
% me over: https://github.com/kai-tub/latex-beamer-pure-minimalistic |
| 21 |
|
| 22 |
\documentclass[aspectratio=169]{beamer} |
| 23 |
% should also look nice for the classic aspectratio |
| 24 |
% of course, than the text has to be refitted |
| 25 |
% \documentclass{beamer} |
| 26 |
\usepackage[utf8]{inputenc} |
| 27 |
\usepackage[T1]{fontenc} |
| 28 |
\usepackage{tikz} |
| 29 |
\usetheme[darkmode, showmaxslides]{pureminimalistic} |
| 30 |
% \renewcommand{\pageword}{} |
| 31 |
% \renewcommand{\logoheader}{\vspace{1.5em}} |
| 32 |
\usepackage[backend=biber, doi=false, maxbibnames=2, maxcitenames=2,% |
| 33 |
style=numeric, sorting=none, url=false, eprint=false]{biblatex} |
| 34 |
\addbibresource{demo_bib.bib} |
| 35 |
% this makes it possible to add backup slides, without counting them |
| 36 |
\usepackage{appendixnumberbeamer} |
| 37 |
\renewcommand{\appendixname}{\texorpdfstring{\translate{appendix}}{appendix}} |
| 38 |
|
| 39 |
% if loaded after begin{document} a warning will appear: "pdfauthor already used" |
| 40 |
\title[short title]{This is the normal length of a research paper: |
| 41 |
always longer than you would expect} |
| 42 |
\author{Kai Norman Clasen} |
| 43 |
\institute{Insitute name} |
| 44 |
\date{\today} |
| 45 |
|
| 46 |
\begin{document} |
| 47 |
% has to be loaded outside of a frame to work! |
| 48 |
\maketitle |
| 49 |
|
| 50 |
% For longer table of contents, I find it cleaner to |
| 51 |
% use no footline. |
| 52 |
\begin{frame}[plain, noframenumbering]{Outline} |
| 53 |
\tableofcontents |
| 54 |
\end{frame} |
| 55 |
|
| 56 |
\section{Aspect ratio} |
| 57 |
\begin{frame}[fragile]{Aspect ratio} |
| 58 |
This pdf uses a 16:9 aspect ratio. To utilize |
| 59 |
this version, simply use: |
| 60 |
\begin{verbatim} |
| 61 |
\documentclass[aspectratio=169]{beamer} |
| 62 |
\end{verbatim} |
| 63 |
\vfill |
| 64 |
The default is a 4:3 aspect ratio. |
| 65 |
\begin{verbatim} |
| 66 |
\documentclass{beamer} |
| 67 |
\end{verbatim} |
| 68 |
\end{frame} |
| 69 |
|
| 70 |
\section{vfilleditems} |
| 71 |
\begin{frame}{Using itemize} |
| 72 |
\begin{itemize} |
| 73 |
\item I like it to have my bullet points |
| 74 |
\item evenly spaced from one another |
| 75 |
\item then few bullet points, are not crammed on |
| 76 |
the upper part of the slide |
| 77 |
like it is right now with itemize |
| 78 |
\end{itemize} |
| 79 |
\end{frame} |
| 80 |
|
| 81 |
\begin{frame}[fragile]{Using vfilleditems} |
| 82 |
\begin{verbatim} |
| 83 |
Use the provided \vfilleditems environment |
| 84 |
to create nicely spaced bullet points. |
| 85 |
|
| 86 |
\begin{vfilleditems} |
| 87 |
\item I like it to have my bullet points |
| 88 |
\item evenly spaced from one another |
| 89 |
\item then few bullet points, are not crammed on |
| 90 |
the upper part of the slide |
| 91 |
\end{vfilleditems} |
| 92 |
\end{verbatim} |
| 93 |
\end{frame} |
| 94 |
|
| 95 |
\begin{frame}{Using vfilleditems} |
| 96 |
\begin{vfilleditems} |
| 97 |
\item I like it to have my bullet points |
| 98 |
\item evenly spaced from one another |
| 99 |
\item then few bullet points, are not crammed on |
| 100 |
the upper part of the slide |
| 101 |
\end{vfilleditems} |
| 102 |
\end{frame} |
| 103 |
|
| 104 |
\begin{frame}{Using vfilleditems} |
| 105 |
\begin{vfilleditems} |
| 106 |
\item Note that the overlay specification |
| 107 |
is a bit different to \emph{itemize} |
| 108 |
\item For grouped overlay specifications, simply add it |
| 109 |
directly after the environment: |
| 110 |
\begin{vfilleditems} |
| 111 |
\item \texttt{\textbackslash{}begin\{vfilleditems\}<+->} |
| 112 |
\end{vfilleditems} |
| 113 |
\end{vfilleditems} |
| 114 |
\end{frame} |
| 115 |
|
| 116 |
|
| 117 |
\section{Fonts} |
| 118 |
\begin{frame}[fragile]{Fonts} |
| 119 |
Fonts: |
| 120 |
|
| 121 |
{\small This is small} |
| 122 |
|
| 123 |
This is normal size |
| 124 |
|
| 125 |
{\large This is large} |
| 126 |
\vfill |
| 127 |
Per default the \emph{Fira Font} Package is |
| 128 |
used. The \emph{Noto Font} is also bundled into this |
| 129 |
package. |
| 130 |
\end{frame} |
| 131 |
|
| 132 |
\begin{frame}[fragile]{Fonts} |
| 133 |
To use \emph{Noto} instead of \emph{Fira Fonts} |
| 134 |
\begin{verbatim} |
| 135 |
\usetheme[noto]{pureminimalistic} |
| 136 |
\end{verbatim} |
| 137 |
\vfill |
| 138 |
To disable the \emph{Fira Fonts} and use the default font |
| 139 |
\begin{verbatim} |
| 140 |
\usetheme[customfont]{pureminimalistic} |
| 141 |
\end{verbatim} |
| 142 |
\end{frame} |
| 143 |
|
| 144 |
\section{Color} |
| 145 |
\begin{frame}[fragile]{Color} |
| 146 |
To overwrite the theme color |
| 147 |
\begin{enumerate} |
| 148 |
\item Define a new color |
| 149 |
\item redefine the themes color (before document begins) |
| 150 |
\end{enumerate} |
| 151 |
\end{frame} |
| 152 |
|
| 153 |
\begin{frame}[fragile]{Change color example} |
| 154 |
\small |
| 155 |
\begin{verbatim} |
| 156 |
\usetheme{pureminimalistic} |
| 157 |
\definecolor{textcolor}{RGB}{0, 0, 120} |
| 158 |
\definecolor{title}{RGB}{0, 0, 0} |
| 159 |
\definecolor{footercolor}{RGB}{133, 133, 133} |
| 160 |
\definecolor{bg}{RGB}{25, 116, 210} |
| 161 |
|
| 162 |
\renewcommand{\beamertextcolor}{textcolor} |
| 163 |
\renewcommand{\beamerbgcolor}{bg} |
| 164 |
\renewcommand{\beamerfootertextcolor}{footercolor} |
| 165 |
\renewcommand{\beamertitlecolor}{title} |
| 166 |
\end{verbatim} |
| 167 |
\end{frame} |
| 168 |
|
| 169 |
\begin{frame}[fragile]{Dark mode} |
| 170 |
I've included a simple way to use a dark mode |
| 171 |
color theme. To use the dark color mode, provide the \texttt{darkmode} |
| 172 |
option. |
| 173 |
\begin{verbatim} |
| 174 |
\usetheme[darkmode]{pureminimalistic} |
| 175 |
\end{verbatim} |
| 176 |
Sometimes, the logos have to be changed to look nice on a |
| 177 |
dark background. For now, I am simply loading different |
| 178 |
files if \texttt{darkmode} is used. |
| 179 |
\end{frame} |
| 180 |
|
| 181 |
\section{Graphics} |
| 182 |
\begin{frame}{Logos} |
| 183 |
Commands setting the logos: |
| 184 |
\begin{itemize} |
| 185 |
\item \texttt{\textbackslash{}logotitle} -- Command used for the title page. |
| 186 |
Here \texttt{\textbackslash{}linewidth} corresponds to the entire paper width. |
| 187 |
\item \texttt{\textbackslash{}logoheader} -- Command used for the header. |
| 188 |
Here \texttt{\textbackslash{}linewidth} corresponds to a smaller box, |
| 189 |
as the horizontal space is shared with the title. |
| 190 |
\item \texttt{\textbackslash{}logofooter} -- Command used for the footer. |
| 191 |
Here \texttt{\textbackslash{}linewidth} corresponds to a smaller box, |
| 192 |
as the horizontal space is shared with the footer text. |
| 193 |
\end{itemize} |
| 194 |
\end{frame} |
| 195 |
|
| 196 |
\begin{frame}[fragile]{Logos -- Load own logo} |
| 197 |
To use your own logos, simply redefine the commands and adjust the sizes. |
| 198 |
\begin{verbatim} |
| 199 |
\renewcommand{\logotitle}{\includegraphics% |
| 200 |
[width=.2\linewidth]{alternative_logo/gameboy.png}} |
| 201 |
\renewcommand{\logoheader}{\includegraphics% |
| 202 |
[width=.5\linewidth]{alternative_logo/gameboy.png}} |
| 203 |
\renewcommand{\logofooter}{\includegraphics% |
| 204 |
[width=.15\linewidth]{alternative_logo/console.png}} |
| 205 |
\end{verbatim} |
| 206 |
\end{frame} |
| 207 |
|
| 208 |
\begin{frame}[fragile]{Logos -- Disable logo} |
| 209 |
To disable the logo, overwrite the default logo command with an empty |
| 210 |
command. |
| 211 |
\begin{verbatim} |
| 212 |
\renewcommand{\logoheader}{} |
| 213 |
\end{verbatim} |
| 214 |
You may want to add some vertical space if you wish to delete the \texttt{logoheader}. |
| 215 |
\begin{verbatim} |
| 216 |
\renewcommand{\logoheader}{\vspace{1.5em}} |
| 217 |
\end{verbatim} |
| 218 |
\end{frame} |
| 219 |
|
| 220 |
\begin{frame}{Figures} |
| 221 |
I also changed the default caption settings to not |
| 222 |
include \texttt{Figure:} and reduced the font size. |
| 223 |
\begin{figure}[H] |
| 224 |
\centering |
| 225 |
\begin{columns}[T] |
| 226 |
\begin{column}{.3\linewidth} |
| 227 |
\includegraphics[width=\linewidth]{example-image-a} |
| 228 |
\caption{Example A} |
| 229 |
\end{column} |
| 230 |
\begin{column}{.3\linewidth} |
| 231 |
\includegraphics[width=\linewidth]{example-image-b} |
| 232 |
\caption{Example B} |
| 233 |
\end{column} |
| 234 |
\end{columns} |
| 235 |
\end{figure} |
| 236 |
\end{frame} |
| 237 |
|
| 238 |
\begin{frame}[fragile]{Figures -- Set background watermark} |
| 239 |
There is no extra option to define a background watermark, but here |
| 240 |
is a command that could be used to create one manually: |
| 241 |
\vfill |
| 242 |
\begin{verbatim} |
| 243 |
\setbeamertemplate{background}{% |
| 244 |
\tikz[overlay,remember picture]% |
| 245 |
\node[opacity=0.8]at (current page.center)% |
| 246 |
{\includegraphics[width=.2\linewidth]% |
| 247 |
{example-image-a}};% |
| 248 |
} |
| 249 |
\end{verbatim} |
| 250 |
\end{frame} |
| 251 |
|
| 252 |
{ |
| 253 |
\setbeamertemplate{background}{% |
| 254 |
\tikz[overlay,remember picture]% |
| 255 |
\node[opacity=0.8]at (current page.center)% |
| 256 |
{\includegraphics[width=.2\linewidth]% |
| 257 |
{example-image-a}};% |
| 258 |
} |
| 259 |
\begin{frame}{Figures -- Set background watermark} |
| 260 |
Usually you would add this command to specific |
| 261 |
frames by enclosing this command and all desired frames with |
| 262 |
curly brackets. |
| 263 |
\vfill |
| 264 |
See the source code of this \emph{*.tex} file for an |
| 265 |
example. |
| 266 |
\end{frame} |
| 267 |
} |
| 268 |
|
| 269 |
\section{Footer options} |
| 270 |
\begin{frame}[fragile]{Disable footer} |
| 271 |
If you do not want to use a footer, disable it with: |
| 272 |
\begin{verbatim} |
| 273 |
\usetheme[nofooter]{pureminimalistic} |
| 274 |
\end{verbatim} |
| 275 |
\end{frame} |
| 276 |
|
| 277 |
\begin{frame}[fragile]{Show max slide numbers} |
| 278 |
For these slides, I used the option to |
| 279 |
show the maximum number of slides. To activate it |
| 280 |
one has to activate it with: |
| 281 |
\begin{verbatim} |
| 282 |
\usetheme[showmaxslides]{pureminimalistic} |
| 283 |
\end{verbatim} |
| 284 |
Usually, I prefer to not show the maximum number of |
| 285 |
slides, as the people tend to lose focus if they know |
| 286 |
the last few slides are shown. |
| 287 |
\end{frame} |
| 288 |
|
| 289 |
\begin{frame}[fragile]{Remove footer logo} |
| 290 |
If you wish to remove the footer logo \emph{and} |
| 291 |
move the page number to the right parts use: |
| 292 |
\begin{verbatim} |
| 293 |
\usetheme[nofooterlogo]{pureminimalistic} |
| 294 |
\end{verbatim} |
| 295 |
\end{frame} |
| 296 |
|
| 297 |
\begin{frame}[fragile]{Change Page word} |
| 298 |
If you wish to remove or change the word \emph{Page} |
| 299 |
in the footer, change the value with |
| 300 |
\begin{verbatim} |
| 301 |
\renewcommand{\pageword}{Seite} |
| 302 |
\end{verbatim} |
| 303 |
\end{frame} |
| 304 |
|
| 305 |
\section{Citations} |
| 306 |
\begin{frame}{Citations} |
| 307 |
I've also changed the bibliography options to be minimalistic: |
| 308 |
|
| 309 |
Just showing a simple \texttt{\textbackslash{}cite} \cite{AlexNet} |
| 310 |
\vfill |
| 311 |
\printbibliography |
| 312 |
\end{frame} |
| 313 |
|
| 314 |
\appendix % do not count the following slides for the total number |
| 315 |
\section*{Backup Slides} |
| 316 |
\begin{frame}[plain, noframenumbering] |
| 317 |
\centering |
| 318 |
\vfill |
| 319 |
{\fontsize{40}{50}\selectfont Backup Slides} |
| 320 |
\vfill |
| 321 |
\end{frame} |
| 322 |
|
| 323 |
\begin{frame}{What happened to the page numbering?} |
| 324 |
\begin{itemize} |
| 325 |
\item I've used the \texttt{appendixnumberbeamer} |
| 326 |
package, which resets the frame counting after calling |
| 327 |
\texttt{\textbackslash{}appendix} |
| 328 |
\item Depending on the used pdf viewer, the total |
| 329 |
count of frames shouldn't include the backup slides and |
| 330 |
won't demotivate the audience. |
| 331 |
\item Usually, I would use a \texttt{plain} frame |
| 332 |
for the backup slides. |
| 333 |
\end{itemize} |
| 334 |
\end{frame} |
| 335 |
|
| 336 |
\end{document} |