| 1 |
\documentclass{l3doc} |
| 2 |
\usepackage[T1]{fontenc} |
| 3 |
\usepackage{pdfpages} |
| 4 |
\usepackage{standalone} |
| 5 |
% \usepackage{gotham} |
| 6 |
% \usepackage{readprov} |
| 7 |
% \ReadPackageInfos{beamerthemegotham} |
| 8 |
\edef\GothamVersion{v1.2.5.a} %{\fileversion} |
| 9 |
\edef\GothamDate{2026-04-02} %{\filedate} |
| 10 |
|
| 11 |
|
| 12 |
\usepackage{parskip} |
| 13 |
\usepackage{setspace} |
| 14 |
\usepackage{xspace} |
| 15 |
\onehalfspacing |
| 16 |
|
| 17 |
\usepackage{xcolor} |
| 18 |
\definecolor{tPrim}{HTML}{00707F} % Green-Blue |
| 19 |
\definecolor{tSec}{HTML}{5FA4B0} % Green-Blue light |
| 20 |
\definecolor{tAccent}{HTML}{F07F3C} % Orange |
| 21 |
\definecolor{tGrey}{HTML}{E6E6E1} % Grey-Beige |
| 22 |
|
| 23 |
\usepackage{listings} |
| 24 |
\lstset{% |
| 25 |
language=[LaTeX]{TeX}, |
| 26 |
basicstyle=\ttfamily, |
| 27 |
keywordstyle=\color{tPrim}\bfseries, |
| 28 |
commentstyle=\color{tSec}, |
| 29 |
stringstyle=\color{tSec}, |
| 30 |
backgroundcolor=\color{white}, |
| 31 |
numbers=none, |
| 32 |
numberstyle=\tiny\ttfamily, |
| 33 |
stepnumber=2, |
| 34 |
showspaces=false, |
| 35 |
showstringspaces=false, |
| 36 |
showtabs=false, |
| 37 |
frame=none, |
| 38 |
framerule=1pt, |
| 39 |
tabsize=2, |
| 40 |
rulesep=5em, |
| 41 |
captionpos=b, |
| 42 |
breaklines=true, |
| 43 |
breakatwhitespace=false, |
| 44 |
framexleftmargin=0em, |
| 45 |
framexrightmargin=0em, |
| 46 |
xleftmargin=0em, |
| 47 |
xrightmargin=0em, |
| 48 |
aboveskip=1em, |
| 49 |
belowskip=1em, |
| 50 |
morekeywords={\usetheme,\institute,\maketitle,\subtitle, |
| 51 |
\gothamset, |
| 52 |
\colorlet,\setbeamercolor, |
| 53 |
plain,\defbeamertemplate |
| 54 |
}, |
| 55 |
} |
| 56 |
\lstMakeShortInline| |
| 57 |
|
| 58 |
\usepackage{hyperref} |
| 59 |
|
| 60 |
\setlength{\fboxsep}{0pt}% |
| 61 |
\usepackage{subcaption} % for subfigures |
| 62 |
\usepackage{cleveref} % for references |
| 63 |
|
| 64 |
\providecommand{\defopt}[1]{\underline{#1}}%{default: #1}%{\underline{#1}} |
| 65 |
\NewDocumentEnvironment{DescribeGothamOption}{ o m m m }{ |
| 66 |
\DescribeOption{#2} % from l3doc |
| 67 |
\IfNoValueTF{#1}{ |
| 68 |
% true => left empty intentionally |
| 69 |
}{ |
| 70 |
\DescribeOption{% add extra info like added or updated dates to mimic 'function' env. |
| 71 |
\rule[2.5ex]{\linewidth}{0.3pt} |
| 72 |
\\[-3.5ex] |
| 73 |
{\scriptsize #1 \hfill\ } |
| 74 |
} |
| 75 |
} |
| 76 |
\begin{minipage}[t]{\textwidth} |
| 77 |
\textit{\textbf{\textcolor{tSec}{#3}}}\dotfill\,\defopt{#4}\par |
| 78 |
\begingroup |
| 79 |
\vspace{0.5em} |
| 80 |
}{ |
| 81 |
\par |
| 82 |
\endgroup |
| 83 |
\end{minipage} |
| 84 |
} |
| 85 |
|
| 86 |
|
| 87 |
%% ===================================================================== |
| 88 |
\title{\textsc{Gotham}\\ A modern, minimal-ish, versatile and extendable theme for Beamer} |
| 89 |
\author{Romain NOEL \\ \url{[email protected]}} |
| 90 |
\date{\GothamVersion~---~\GothamDate} |
| 91 |
|
| 92 |
\providecommand{\themename}{\textbf{\textsc{Gotham}}\xspace} |
| 93 |
|
| 94 |
%% ===================================================================== |
| 95 |
|
| 96 |
|
| 97 |
\begin{document} |
| 98 |
\maketitle |
| 99 |
\tableofcontents |
| 100 |
|
| 101 |
|
| 102 |
%% ------------------------------------ |
| 103 |
\section{Introduction} |
| 104 |
Beamer is an awesome way to make presentations with \LaTeX, but its theme selection is surprisingly sparse. |
| 105 |
The stock themes share an aesthetic that can be a little cluttered, while the few distinctive custom themes available are often specialized for a particular corporate or institutional brand. |
| 106 |
|
| 107 |
The goal of \themename is to provide a simple, modern Beamer theme suitable for anyone to use. |
| 108 |
It tries to minimize noise and maximize space for content; some visual flourishes are offered as options. |
| 109 |
|
| 110 |
The final product provides a modern, elegant and versatile theme with a high degree of customization. |
| 111 |
So it can easily be used to build a particular corporate or institutional brand theme on top of it. |
| 112 |
|
| 113 |
The implementation of this theme is strongly inspired from the excellent \href{https://github.com/matze/mtheme}{\textsc{Metropolis}} theme by Matthias Vogelgesang, from which it borrows numerous options. |
| 114 |
\themename's codebase lives on |
| 115 |
\href{https://gitlab.com/RomainNOEL/beamertheme-gotham} {Gitlab}. |
| 116 |
\newline |
| 117 |
If you have issues, find mistakes in the manual or want to help make the theme even better, please get in touch there. |
| 118 |
Any feature request, issue report or merge requests are welcome. |
| 119 |
|
| 120 |
|
| 121 |
%% ------------------------------------ |
| 122 |
\section{Getting Started} |
| 123 |
\subsection{Installing from CTAN} |
| 124 |
The latest stable version of \themename is available on |
| 125 |
\href{https://ctan.org/pkg/beamertheme-gotham}{CTAN} and should now be part of the usual \TeX\ distributions (\TeX\ Live, Mac\TeX\ , Mik\TeX\ ), under the name \textit{beamertheme-gotham}. |
| 126 |
It means that if your distribution is kept up-to-date, the package should normally be already installed on your system. |
| 127 |
If this is not the case, consider updating the packages of your Tex distribution. |
| 128 |
|
| 129 |
For \TeX\ Live and Mac\TeX\ users, this usually means running |
| 130 |
\begin{lstlisting} |
| 131 |
tlmgr update --all |
| 132 |
\end{lstlisting} |
| 133 |
or if administrative privileges are required |
| 134 |
\begin{lstlisting} |
| 135 |
sudo tlmgr update --all |
| 136 |
\end{lstlisting} |
| 137 |
|
| 138 |
For Mik\TeX\ users, please refer to \href{https://miktex.org/howto/update-miktex}{the official Mik\TeX\ documentation}. |
| 139 |
|
| 140 |
|
| 141 |
\subsection{Installing from Gitlab} |
| 142 |
If you want to use the cutting-edge development version of \themename, you can install it manually by following these steps: |
| 143 |
\begin{description} |
| 144 |
\item[Download the source] from |
| 145 |
\href{https://gitlab.com/RomainNOEL/beamertheme-gotham}{\themename repository} |
| 146 |
using |git clone| or as a |
| 147 |
\href{https://gitlab.com/RomainNOEL/beamertheme-gotham/-/archive/master/beamertheme-gotham-master.zip}{zip archive} |
| 148 |
of the latest development version. |
| 149 |
\item[Compile the style files] by running |l3build unpack| inside the downloaded directory. |
| 150 |
(Or run \LaTeX{} directly on |source/gothamtheme.ins|.) |
| 151 |
\item[Move the resulting |*.sty| files] to the folder containing your presentation. |
| 152 |
To use \themename with many presentations, run |
| 153 |
|l3build install| or move the |*.sty| files to a folder in your \TeX{} path instead. |
| 154 |
\item[Use the theme] by declaring \lstinline|\usetheme{gotham}| in the preamble of your document. |
| 155 |
\end{description} |
| 156 |
|
| 157 |
\themename uses the l3build system to offer the following installation options for advanced users: |
| 158 |
\begin{description} |
| 159 |
\item[|l3build unpack|] builds the theme style files. |
| 160 |
\item[|l3build doc|] builds this documentation manual and the examples. |
| 161 |
\item[|l3build check|] builds the theme and manual. |
| 162 |
\item[|l3build clean|] removes the files generated by |l3build|. |
| 163 |
\item[|l3build install|] installs the theme into your local texmf folder. |
| 164 |
\item[|l3build uninstall|] removes the theme from your local texmf folder. |
| 165 |
\end{description} |
| 166 |
|
| 167 |
|
| 168 |
% \subsection{Overleaf} |
| 169 |
% \themename is therefore automatically supported for new documents. |
| 170 |
% If you want to switch older documents to use the \themename theme, you need to \href{https://www.overleaf.com/blog/new-feature-select-your-tex-live-compiler-version}{select |
| 171 |
% TexLive 2021 or higher as your TeX Live version} (this may cause issues with other packages used in your presentation). |
| 172 |
|
| 173 |
% In addition to that, a template project was created and is publicly available in the \href{https://www.overleaf.com/latex/templates/gotham-beamer-theme/wjyyzvdzqkgf}{Overleaf Gallery} to bootstrap your presentation. |
| 174 |
|
| 175 |
|
| 176 |
%% ------------------------------------ |
| 177 |
\subsection{A Minimal Example} |
| 178 |
The following code shows a minimal example of a Beamer presentation using \themename, and the output generated is given on \cref{fig-minimal}. |
| 179 |
|
| 180 |
\begin{lstlisting} |
| 181 |
\documentclass{beamer} |
| 182 |
\usetheme{gotham} % Loads Gotham theme |
| 183 |
\title{A minimal example} |
| 184 |
\subtitle{using Gotham theme} |
| 185 |
\date{\today} |
| 186 |
\author{John DOE} |
| 187 |
\institute{Your university or company} |
| 188 |
|
| 189 |
\begin{document} |
| 190 |
\maketitle |
| 191 |
\section{First Section} |
| 192 |
\begin{frame}{First Frame} |
| 193 |
Hello world ! |
| 194 |
\end{frame} |
| 195 |
\end{document} |
| 196 |
\end{lstlisting} |
| 197 |
|
| 198 |
\begin{figure}[htp] |
| 199 |
\centering |
| 200 |
\fbox{\includegraphics[width=0.7\textwidth]{gotham-exampleSimple.pdf}} |
| 201 |
\caption{A simple example.} |
| 202 |
\label{fig-minimal} |
| 203 |
\end{figure} |
| 204 |
|
| 205 |
|
| 206 |
\subsection{Dependencies} |
| 207 |
\themename depends on the |beamer| class and the following standard packages: |
| 208 |
\begin{itemize} |
| 209 |
\item |tikz| |
| 210 |
\item |expl3| |
| 211 |
\item |xfp| |
| 212 |
\item |etoolbox| |
| 213 |
\item |ifxetex| |
| 214 |
\item |ifluatex| |
| 215 |
\end{itemize} |
| 216 |
|
| 217 |
For best results, we recommend installing the fonts |
| 218 |
\href{https://github.com/mozilla/Fira}{|Fira Sans|} and |Fira Mono| and compiling with \themename using XeLaTeX or LuaTeX. |
| 219 |
These are optional dependencies; \themename is compatible with (e.g.) pdf\LaTeX\ and will fall back to standard fonts if |Fira Sans| or |Fira Mono| is not installed. |
| 220 |
|
| 221 |
The packaged name of |Fira Sans| is |Fira Sans OT| in some Linux distributions; this case is automatically handled by \themename. |
| 222 |
|
| 223 |
|
| 224 |
%% ------------------------------------ |
| 225 |
\section{Customization} |
| 226 |
\subsection{Package options} |
| 227 |
\themename provides a number of options, which can be set using a key=value interface. |
| 228 |
The primary way to set options is to provide a comma-separated list of option-value pairs when loading \themename in the preamble: |
| 229 |
\begin{lstlisting}[gobble=2] |
| 230 |
\usetheme[option1=value1, option2=value2, ...]{gotham} |
| 231 |
\end{lstlisting} |
| 232 |
|
| 233 |
Options can be changed at any time --- even mid-presentation ! --- with the |\gothamset| command. |
| 234 |
\begin{lstlisting}[gobble=2] |
| 235 |
\gothamset{option1=newvalue1, option2=newvalue2, ...} |
| 236 |
\end{lstlisting} |
| 237 |
|
| 238 |
The list of options is structured as shown in the following example. |
| 239 |
|
| 240 |
\begin{DescribeGothamOption}{option key} |
| 241 |
{list of possible values}{default} |
| 242 |
A short description of the option. |
| 243 |
\end{DescribeGothamOption} |
| 244 |
|
| 245 |
As \themename implementation is heavily inspired from the excellent |
| 246 |
\href{https://github.com/matze/mtheme}{\textsc{Metropolis}} theme by Matthias Vogelgesang, many of \textsc{Metropolis} options are also available in \themename. |
| 247 |
|
| 248 |
|
| 249 |
\subsubsection{Font theme} |
| 250 |
\DescribeOption{format title} |
| 251 |
% \begin{DescribeGothamOption}{format title} |
| 252 |
% {regular, lower, upper, titlecase}{regular}{ |
| 253 |
% A short description of the option. |
| 254 |
% \end{DescribeGothamOption} |
| 255 |
\DescribeOption{format subtitle} |
| 256 |
% \begin{DescribeGothamOption}{format subtitle} |
| 257 |
% {regular, lower, upper, titlecase}{regular}{ |
| 258 |
% A short description of the option. |
| 259 |
% \end{DescribeGothamOption} |
| 260 |
\DescribeOption{format frametitle} |
| 261 |
% \begin{DescribeGothamOption}{format frametitle} |
| 262 |
% {regular, lower, upper, titlecase}{regular}{ |
| 263 |
% A short description of the option. |
| 264 |
% \end{DescribeGothamOption} |
| 265 |
\DescribeOption{format framesubtitle} |
| 266 |
% \begin{DescribeGothamOption}{format framesubtitle} |
| 267 |
% {regular, lower, upper, titlecase}{regular}{ |
| 268 |
% A short description of the option. |
| 269 |
% \end{DescribeGothamOption} |
| 270 |
\DescribeOption{format part} |
| 271 |
% \begin{DescribeGothamOption}{format part} |
| 272 |
% {regular, lower, upper, titlecase}{regular}{ |
| 273 |
% A short description of the option. |
| 274 |
% \end{DescribeGothamOption} |
| 275 |
\DescribeOption{format section} |
| 276 |
% \begin{DescribeGothamOption}{format section} |
| 277 |
% {regular, lower, upper, titlecase}{regular}{ |
| 278 |
% A short description of the option. |
| 279 |
% \end{DescribeGothamOption} |
| 280 |
\begin{DescribeGothamOption}{format subsection} |
| 281 |
{regular, lower, upper, titlecase}{regular} |
| 282 |
Individually controls the format/case of titles, subtitles, frametitle, framesubtitles, part, section and subsection titles. |
| 283 |
\vspace{6em} |
| 284 |
\end{DescribeGothamOption} |
| 285 |
|
| 286 |
\DescribeOption{shape title} |
| 287 |
% \begin{DescribeGothamOption}{shape title} |
| 288 |
% {regular, italic, smallcaps}{regular}{ |
| 289 |
% A short description of the option. |
| 290 |
% \end{DescribeGothamOption} |
| 291 |
\DescribeOption{shape subtitle} |
| 292 |
% \begin{DescribeGothamOption}{shape subtitle} |
| 293 |
% {regular, italic, smallcaps}{regular}{ |
| 294 |
% A short description of the option. |
| 295 |
% }\end{DescribeGothamOption} |
| 296 |
\DescribeOption{shape frametitle} |
| 297 |
% \begin{DescribeGothamOption}{shape frametitle} |
| 298 |
% {regular, italic, smallcaps}{regular}{ |
| 299 |
% A short description of the option. |
| 300 |
% }\end{DescribeGothamOption} |
| 301 |
\DescribeOption{shape framesubtitle} |
| 302 |
% \begin{DescribeGothamOption}{shape framesubtitle} |
| 303 |
% {regular, italic, smallcaps}{regular}{ |
| 304 |
% A short description of the option. |
| 305 |
% }\end{DescribeGothamOption} |
| 306 |
\DescribeOption{shape part} |
| 307 |
% \begin{DescribeGothamOption}{shape part} |
| 308 |
% {regular, italic, smallcaps}{regular}{ |
| 309 |
% A short description of the option. |
| 310 |
% }\end{DescribeGothamOption} |
| 311 |
\DescribeOption{shape section} |
| 312 |
% \begin{DescribeGothamOption}{shape section} |
| 313 |
% {regular, italic, smallcaps}{regular}{ |
| 314 |
% A short description of the option. |
| 315 |
% }\end{DescribeGothamOption} |
| 316 |
\begin{DescribeGothamOption}{shape subsection} |
| 317 |
{regular, italic, smallcaps}{regular}{ |
| 318 |
Individually controls the shape/series of titles, subtitles, frametitle, framesubtitles, part, section and subsection titles. |
| 319 |
\vspace{6em} |
| 320 |
}\end{DescribeGothamOption} |
| 321 |
|
| 322 |
\begin{figure}[htb] |
| 323 |
\centering |
| 324 |
\begin{subfigure}[b]{0.475\textwidth} |
| 325 |
\centering |
| 326 |
\includegraphics[width=\linewidth]{gotham-test-035-a.png} |
| 327 |
\caption{Example of |format~frametitle=titlecase, shape~frametitle=smallcaps, format~framesubtitle= lower, shape~framesubtitle=regular|.} |
| 328 |
\label{fig-035-a} |
| 329 |
\end{subfigure} |
| 330 |
\begin{subfigure}[b]{0.475\textwidth} |
| 331 |
\centering |
| 332 |
\includegraphics[width=\linewidth]{gotham-test-035-b.png} |
| 333 |
\caption{Example of |format~frametitle=lower, shape~frametitle=italic, format~framesubtitle= regular, shape~framesubtitle=italic|.} |
| 334 |
\label{fig-035-b} |
| 335 |
\end{subfigure} |
| 336 |
\caption{Examples of format and shape settings.} |
| 337 |
\label{fig-035} |
| 338 |
\end{figure} |
| 339 |
|
| 340 |
|
| 341 |
\subsubsection{Color theme} |
| 342 |
The included \themename color theme is used by default, but its colors can be easily changed to suit your tastes. |
| 343 |
All of the theme's styles are defined in terms of a few main colors: |
| 344 |
\begin{itemize} |
| 345 |
\item |colorA| The primary theme color, used for frametitle, standout and text if the appropriate options are selected. |
| 346 |
\end{itemize} |
| 347 |
|
| 348 |
An easy way to customize the theme is to redefine these colors using: |
| 349 |
\begin{lstlisting} |
| 350 |
\colorlet{colorPale}{gPaleYell} % BG in light/normal mode |
| 351 |
\colorlet{colorDark}{gDarkBlack} % FG in light/normal mode |
| 352 |
\colorlet{colorA}{gDarkTeal} % frametitle, standin.out, |
| 353 |
\colorlet{colorAreversed}{gLightTeal} % frametitle, standin.in, |
| 354 |
\colorlet{colorB}{gMidGrey} % gray BG : progress bar, blocks |
| 355 |
\colorlet{colorC}{gDeepYellOr} % progress bar |
| 356 |
\colorlet{colorD}{gLightOrange} % alert |
| 357 |
\colorlet{colorE}{gLightGreen} % example |
| 358 |
\gothamReloadColors % do forgot to reload internal colors depending on the above set. |
| 359 |
\end{lstlisting} |
| 360 |
|
| 361 |
\begin{DescribeGothamOption}{background}{light, dark, transparent}{transparent}{ |
| 362 |
Controls weather the color of all headings (title page, frame title, etc.) should be in black (|default|) or in a slightly darker shade of the theme color |theme|. |
| 363 |
}\end{DescribeGothamOption} |
| 364 |
|
| 365 |
\begin{DescribeGothamOption}{colorset} |
| 366 |
{red, anthracite}{anthracite}{% blue, green, orange, teal, |
| 367 |
Predefined set colors (|colorA, colorB, ...|) leading to different ambiances. |
| 368 |
}\end{DescribeGothamOption} |
| 369 |
|
| 370 |
\begin{DescribeGothamOption}{block}{native, transparent, fill}{native}{ |
| 371 |
Optionally adds a light grey background to block environments like |theorem| and |example|. |
| 372 |
}\end{DescribeGothamOption} |
| 373 |
|
| 374 |
|
| 375 |
\subsubsection{Inner theme} |
| 376 |
\begin{DescribeGothamOption}{title page} |
| 377 |
{gotham~normal, gotham~reversed, gotham~dividedpic, gotham~splitvert, <your-name>}{gotham~normal}{ |
| 378 |
By setting this option you can change the title page according predefined style or even set your own template. |
| 379 |
If you want to use your own template, this latter should be previously defined with: |
| 380 |
\lstinline|\defbeamertemplate{title page}{<your-name>}{<your-defintion>}|. |
| 381 |
}\end{DescribeGothamOption} |
| 382 |
|
| 383 |
\begin{DescribeGothamOption}{watermark default} |
| 384 |
{on, off}{off}{ |
| 385 |
Enable or disable the watermark background template by default (ie. without using |\begin{frame}[watermark]|). |
| 386 |
}\end{DescribeGothamOption} |
| 387 |
|
| 388 |
\begin{DescribeGothamOption}{watermark template} |
| 389 |
{gotham~draft, <your-name>}{gotham~draft}{ |
| 390 |
Set the watermark background template to use when the |watermark| option is activated (by default or locally). |
| 391 |
If you want to use your own template, this latter should be previously defined with: |
| 392 |
\lstinline|\defbeamertemplate{background}{watermark/<your-name>}{<your-defintion>}|. |
| 393 |
}\end{DescribeGothamOption} |
| 394 |
|
| 395 |
|
| 396 |
\DescribeOption{standin template} |
| 397 |
% \begin{DescribeGothamOption}{standin template} |
| 398 |
% {list of possible values}{default}{ |
| 399 |
% A short description of the option. |
| 400 |
% }\end{DescribeGothamOption} |
| 401 |
\begin{DescribeGothamOption}[added=2024-11-11]{standout template} |
| 402 |
{gotham, <your-name>}{gotham}{ |
| 403 |
Set the standin and stantout template to use when the |standin| or |stantout| frame option is activated. |
| 404 |
If you want to use your own template, this latter should be previously defined with: |
| 405 |
\lstinline|\defbeamertemplate{standout}{<your-name>}{<your-defintion>}|. |
| 406 |
}\end{DescribeGothamOption} |
| 407 |
|
| 408 |
\DescribeOption{standin BG template} |
| 409 |
% \begin{DescribeGothamOption}{standin BG template} |
| 410 |
% {list of possible values}{default}{ |
| 411 |
% A short description of the option. |
| 412 |
% }\end{DescribeGothamOption} |
| 413 |
\begin{DescribeGothamOption}[updated=2024-11-11]{standout BG template} |
| 414 |
{gotham, <your-name>}{gotham}{ |
| 415 |
Since most of the time the standin and standout are only varying from their backgrounds, \themename{} offers the possibility to change only and simply these local background through this option. |
| 416 |
This option sets the standin and stantout background template to use when the |standin| or |stantout| frame option is activated. |
| 417 |
If you want to use your own template, this latter should be previously defined with: |
| 418 |
\lstinline|\defbeamertemplate{background}{standin/<your-name>}{<your-defintion>}|. |
| 419 |
}\end{DescribeGothamOption} |
| 420 |
|
| 421 |
|
| 422 |
\DescribeOption{partframe default} |
| 423 |
% \begin{DescribeGothamOption}{partframe default} |
| 424 |
% {list of possible values}{default}{ |
| 425 |
% A short description of the option. |
| 426 |
% }\end{DescribeGothamOption} |
| 427 |
\DescribeOption{sectionframe default} |
| 428 |
% \begin{DescribeGothamOption}{sectionframe default} |
| 429 |
% {list of possible values}{default}{ |
| 430 |
% A short description of the option. |
| 431 |
% }\end{DescribeGothamOption} |
| 432 |
\DescribeOption{subsectionframe default} |
| 433 |
% \begin{DescribeGothamOption}{subsectionframe default} |
| 434 |
% {list of possible values}{default}{ |
| 435 |
% A short description of the option. |
| 436 |
% }\end{DescribeGothamOption} |
| 437 |
\begin{DescribeGothamOption}{subsubsectionframe default} |
| 438 |
{on, off}{on}{ |
| 439 |
Enable or disable the display of the part frame (section, subsection and subsubsection respectively) at each part (other respectively) increment. |
| 440 |
\vspace{1em} |
| 441 |
}\end{DescribeGothamOption} |
| 442 |
|
| 443 |
\DescribeOption{partframe template} |
| 444 |
% \begin{DescribeGothamOption}{partframe template} |
| 445 |
% {list of possible values}{default}{ |
| 446 |
% A short description of the option. |
| 447 |
% }\end{DescribeGothamOption} |
| 448 |
\DescribeOption{sectionframe template} |
| 449 |
% \begin{DescribeGothamOption}{sectionframe template} |
| 450 |
% {list of possible values}{default}{ |
| 451 |
% A short description of the option. |
| 452 |
% }\end{DescribeGothamOption} |
| 453 |
\DescribeOption{subsectionframe~template} |
| 454 |
% \begin{DescribeGothamOption}{subsectionframe template} |
| 455 |
% {list of possible values}{default}{ |
| 456 |
% A short description of the option. |
| 457 |
% }\end{DescribeGothamOption} |
| 458 |
\begin{DescribeGothamOption}{subsubsectionframe~template} |
| 459 |
{gotham progressbar, gotham simple, gotham splitvert progressbar, gotham splitvert simple, gotham progressvert}{gotham progressbar}{ |
| 460 |
Set the frame template to use when the |part| (or |section|, |subsection|, |subsubsection| respectively) frame option is activated (ie. using |\begin{frame}[part]|). |
| 461 |
If you want to use your own template, before giving its name to this option, your template should be defined with: |
| 462 |
\lstinline|\defbeamertemplate{part frame}{<your-name>}{<your-defintion>}|. |
| 463 |
% \vspace{3em} |
| 464 |
}\end{DescribeGothamOption} |
| 465 |
|
| 466 |
|
| 467 |
\begin{DescribeGothamOption}{tocframe template} |
| 468 |
{gotham simple, gotham bullet, <your-name>}{gotham bullet}{ |
| 469 |
Set the table of contents template to use when the |toc| option is activated. |
| 470 |
If you want to use your own template, this latter should be previously defined with: |
| 471 |
% \lstinline| |
| 472 |
\begin{lstlisting}[gobble=6] |
| 473 |
\defbeamertemplate{part in toc}{<your-name>}{<your-defintion>} |
| 474 |
\defbeamertemplate{section in toc}{<your-name>}{<your-defintion>} |
| 475 |
\defbeamertemplate{subsection in toc shaded}{<your-name>}{<your-defintion>} |
| 476 |
\defbeamertemplate{subsubsection in toc shaded}{<your-name>}{<your-defintion>} |
| 477 |
\defbeamertemplate{background canvas}{toc/<your-name>}{<your-definition>} |
| 478 |
\defbeamertemplate{toc page}{<your-name>}{<your-defintion, set them now by exmaple>} |
| 479 |
\end{lstlisting} |
| 480 |
% |. |
| 481 |
}\end{DescribeGothamOption} |
| 482 |
|
| 483 |
\DescribeOption{parttocframe default} |
| 484 |
% \begin{DescribeGothamOption}{parttocframe default} |
| 485 |
% {list of possible values}{default}{ |
| 486 |
% A short description of the option. |
| 487 |
% }\end{DescribeGothamOption} |
| 488 |
\DescribeOption{sectiontocframe default} |
| 489 |
% \begin{DescribeGothamOption}{sectiontocframe default} |
| 490 |
% {list of possible values}{default}{ |
| 491 |
% A short description of the option. |
| 492 |
% }\end{DescribeGothamOption} |
| 493 |
\DescribeOption{subsectiontocframe default} |
| 494 |
% \begin{DescribeGothamOption}{subsectiontocframe default} |
| 495 |
% {list of possible values}{default}{ |
| 496 |
% A short description of the option. |
| 497 |
% }\end{DescribeGothamOption} |
| 498 |
\begin{DescribeGothamOption}{subsubsectiontocframe~default} |
| 499 |
{on, off}{on}{ |
| 500 |
Enable or disable the display of the table of content frame after the part frame (section, subsection and subsubsection respectively) at each part (other respectively) increment. |
| 501 |
\vspace{1em} |
| 502 |
}\end{DescribeGothamOption} |
| 503 |
|
| 504 |
\DescribeOption{parttocframe template} |
| 505 |
% \begin{DescribeGothamOption}{parttocframe template} |
| 506 |
% {list of possible values}{default}{ |
| 507 |
% A short description of the option. |
| 508 |
% }\end{DescribeGothamOption} |
| 509 |
\DescribeOption{sectiontocframe template} |
| 510 |
% \begin{DescribeGothamOption}{sectiontocframe template} |
| 511 |
% {list of possible values}{default}{ |
| 512 |
% A short description of the option. |
| 513 |
% }\end{DescribeGothamOption} |
| 514 |
\DescribeOption{subsectiontocframe~template} |
| 515 |
% \begin{DescribeGothamOption}{subsectiontocframe template} |
| 516 |
% {list of possible values}{default}{ |
| 517 |
% A short description of the option. |
| 518 |
% }\end{DescribeGothamOption} |
| 519 |
\begin{DescribeGothamOption}{subsubsectiontocframe~tem..} |
| 520 |
{gotham simple, gotham bullet, <your-name>}{gotham bullet}{ |
| 521 |
Set the frame template to use when the table of contents at each new |part| (or |section|, |subsection|, |subsubsection| respectively). |
| 522 |
This new frame is internally using the |tocpart| frame option to activate the frame template. |
| 523 |
If you want to use your own template, before giving its name to this option, your template should be defined with: |
| 524 |
\lstinline|\defbeamertemplate{part frame}{<your-name>}{<your-defintion>}|. |
| 525 |
% \vspace{3em} |
| 526 |
}\end{DescribeGothamOption} |
| 527 |
|
| 528 |
% \begin{figure}[h!] |
| 529 |
% \begin{subfigure}[b]{0.3\textwidth} |
| 530 |
% \fbox{\includegraphics[width=\textwidth]{screenshots/layout_example-04.jpg}} |
| 531 |
% \caption*{plain (default)} |
| 532 |
% \end{subfigure} |
| 533 |
% \hspace{\fill} |
| 534 |
% \begin{subfigure}[b]{0.3\textwidth} |
| 535 |
% \fbox{\includegraphics[width=\textwidth]{screenshots/layout_example-05.jpg}} |
| 536 |
% \caption*{style1} |
| 537 |
% \end{subfigure} |
| 538 |
% \hspace{\fill} |
| 539 |
% \begin{subfigure}[b]{0.3\textwidth} |
| 540 |
% \fbox{\includegraphics[width=\textwidth]{screenshots/layout_example-06.jpg}} |
| 541 |
% \caption*{style2} |
| 542 |
% \end{subfigure} |
| 543 |
% \end{figure} |
| 544 |
|
| 545 |
|
| 546 |
\subsubsection{Outer theme} |
| 547 |
\DescribeOption{sidebar~canvas~right~template} |
| 548 |
% \begin{DescribeGothamOption}{subsectiontocframe template} |
| 549 |
% {list of possible values}{default}{ |
| 550 |
% A short description of the option. |
| 551 |
% }\end{DescribeGothamOption} |
| 552 |
\begin{DescribeGothamOption}{sidebar~canvas~left~template} |
| 553 |
{~gotham~filigrane, empty, <your-name>}{gotham~filigrane}{ |
| 554 |
Setting templates for left and right sidebar canvas which are activated when giving the frame option |\begin{frame}[edging]|. |
| 555 |
If you want to use your own template, before giving its name to this option, your template should be defined with: |
| 556 |
\lstinline|\defbeamertemplate{sidebar canvas right}{default/<your-name>}{<your-defintion>}| |
| 557 |
}\end{DescribeGothamOption} |
| 558 |
|
| 559 |
\begin{DescribeGothamOption}{edging default} |
| 560 |
{on, off}{off}{ |
| 561 |
The option |edging default=on| can enable the |sidebar canvas right| (and |sidebar canvas left|) templates on every frame; but it can still be turned off for specific frames when using the frame option |\begin{frame}[noedging]|. |
| 562 |
}\end{DescribeGothamOption} |
| 563 |
|
| 564 |
\begin{DescribeGothamOption}{frametitle template} |
| 565 |
{gotham~subsameline, gotham~subnewline, <your-name>}{gotham~subsameline}{ |
| 566 |
Option to set the frametitle template. |
| 567 |
\themename{} offers one template that adds the subtitle on the same line (|gotham~subsameline|) and one that adds the subtitle on a new line (|gotham~subnewline|). |
| 568 |
If you want to use your own template, before giving its name to this option, your template should be defined with: |
| 569 |
\lstinline|\defbeamertemplate{frametitle}{default/<your-name>}{<your-defintion>}| |
| 570 |
}\end{DescribeGothamOption} |
| 571 |
|
| 572 |
\begin{DescribeGothamOption}{framesubtitle template} |
| 573 |
{gotham~subnewline, <your-name>}{gotham~subnewline}{ |
| 574 |
Setting the template to use when the subtitle is on a new line. |
| 575 |
If you want to use your own template, before giving its name to this option, your template should be defined with: |
| 576 |
\lstinline|\defbeamertemplate{framesubtitle}{default/<your-name>}{<your-defintion>}| |
| 577 |
}\end{DescribeGothamOption} |
| 578 |
|
| 579 |
\begin{DescribeGothamOption}{frametitle continuation template} |
| 580 |
{gotham, beamer, tot, <your-name>}{gotham}{ |
| 581 |
Setting the template that is used in the frametitle when a frame too long and is continued/broke into several frames (using the frame option |allowframebreaks|). |
| 582 |
If you want to use your own template, before giving its name to this option, your template should be defined with: |
| 583 |
\lstinline|\defbeamertemplate{frametitle continuation}{default/<your-name>}{<your-defintion>}| |
| 584 |
}\end{DescribeGothamOption} |
| 585 |
|
| 586 |
\begin{DescribeGothamOption}{numbering}{none, framenumber, totalframenumber, appendixframenumber, pagenumber, totalpagenumber, circle}{none}{ |
| 587 |
Setting the template with the frame number at the bottom right of each slide. |
| 588 |
}\end{DescribeGothamOption} |
| 589 |
|
| 590 |
\begin{DescribeGothamOption}{footer template} |
| 591 |
{gotham, <your-name>}{gotham}{ |
| 592 |
Setting the template that appears in the footer of the frame. |
| 593 |
|gotham| footer print the |shortdate| at right, the |shorttitle| in the middle and the |shortauthor| at left. |
| 594 |
Since in 16/9 the height is precious, |gotham| template also offers the possibility to rotate |shortdate| and |shortauthor| so they appear on sides. |
| 595 |
If you want to use your own template, before giving its name to this option, your template should be defined with: |
| 596 |
\lstinline|\defbeamertemplate{frame footer}{default/<your-name>}{<your-defintion>}| |
| 597 |
}\end{DescribeGothamOption} |
| 598 |
|
| 599 |
\begin{DescribeGothamOption}{rotateFooter default} |
| 600 |
{on, off}{off}{ |
| 601 |
Enable or disable the |rotateFooter| frame option by default (ie. without using |\begin{frame}[rotateFooter]| on every frame). |
| 602 |
If the option is activated, it can be deactivated locally using the frame option |\begin{frame}[noRotateFooter]|. |
| 603 |
}\end{DescribeGothamOption} |
| 604 |
|
| 605 |
\begin{DescribeGothamOption}{mini frames shape} |
| 606 |
{default (bullet from beamer), tick, box, gotham minibullet, gotham box, gotham minibox, <your-name>}{gotham~minibullet}{ |
| 607 |
Setting the shape of the mini frames to use, if the mini frame bundle refers to it (which is usually the case). |
| 608 |
If you want to use your own template, before giving its name to this option, your template should be defined with: |
| 609 |
% \lstinline|\defbeamertemplate{frame~footer}{default/<your-name>}{<your-defintion>}| |
| 610 |
\begin{lstlisting}[gobble=6] |
| 611 |
\defbeamertemplate{mini frame}{<your-name>}{ |
| 612 |
<your-defintion> |
| 613 |
}[action]{ |
| 614 |
\setbeamersize{mini frame size=.1cm, mini frame offset=.05cm} |
| 615 |
} |
| 616 |
\defbeamertemplate{mini frame in current subsection}{<your-name>}{ |
| 617 |
<your-defintion> |
| 618 |
} |
| 619 |
\end{lstlisting} |
| 620 |
}\end{DescribeGothamOption} |
| 621 |
|
| 622 |
\begin{DescribeGothamOption}{mini frames bundle} |
| 623 |
{gotham~mini, beamer, gotham~nano <your-name>}{gotham~mini}{ |
| 624 |
Setting the set of symbols used in the mini frame navigation. |
| 625 |
If you want to use your own template, before giving its name to this option, your template should be defined with: |
| 626 |
% \lstinline|\defbeamertemplate{frame~footer}{default/<your-name>}{<your-defintion>}| |
| 627 |
\begin{lstlisting}[gobble=6] |
| 628 |
\defbeamertemplate{miniframe~home}{<your-name>}{<your-def>} |
| 629 |
\defbeamertemplate{miniframe~current~slide}{<your-name>}{<your-def>} |
| 630 |
\defbeamertemplate{miniframe~done~current~section}{<your-name>}{<your-def>} |
| 631 |
\defbeamertemplate{miniframe~todo~current~section}{<your-name>}{<your-def>} |
| 632 |
\defbeamertemplate{miniframe~done~other~section}{<your-name>}{<your-def>} |
| 633 |
\defbeamertemplate{miniframe~todo~other~section}{<your-name>}{<your-def>} |
| 634 |
\defbeamertemplate{miniframe~part}{<your-name>}{<your-def>} |
| 635 |
\defbeamertemplate{miniframe~section~current}{<your-name>}{<your-def>} |
| 636 |
\defbeamertemplate{miniframe~section~done}{<your-name>}{<your-def>} |
| 637 |
\defbeamertemplate{miniframe~section~todo}{<your-name>}{<your-def>} |
| 638 |
\defbeamertemplate{miniframe~subsection~current}{<your-name>}{<your-def>} |
| 639 |
\defbeamertemplate{miniframe~subsection~todo}{<your-name>}{<your-def>} |
| 640 |
\defbeamertemplate{miniframe~subsection~done}{<your-name>}{<your-def>} |
| 641 |
\end{lstlisting} |
| 642 |
}\end{DescribeGothamOption} |
| 643 |
|
| 644 |
\begin{DescribeGothamOption}{mini frames compress} |
| 645 |
{on, off}{on}{ |
| 646 |
A shortcut for the beamer option |compress| that affects the mini frames. |
| 647 |
}\end{DescribeGothamOption} |
| 648 |
|
| 649 |
\begin{DescribeGothamOption}{mini frames nav spreading} |
| 650 |
{spreading, centering, left, right}{spreading}{ |
| 651 |
Controls how the mini frame should spread in the navigation bar. |
| 652 |
}\end{DescribeGothamOption} |
| 653 |
|
| 654 |
\begin{DescribeGothamOption}{mini frames nav sectioning} |
| 655 |
{none, section, secsubsection}{none}{ |
| 656 |
Setting the |section in head/foot| template that is used on top of the mini frame navigation bar. |
| 657 |
}\end{DescribeGothamOption} |
| 658 |
|
| 659 |
\begin{DescribeGothamOption}{mini frames nav position} |
| 660 |
{none, head, foot, left, right}{none}{ |
| 661 |
Setting where the mini frame navigation bar should appear. |
| 662 |
}\end{DescribeGothamOption} |
| 663 |
|
| 664 |
\begin{DescribeGothamOption}{progressbar position} |
| 665 |
{none, head, frametitle, foot, circlehead, left, right}{none}{ |
| 666 |
Setting where the progressbar should appear. |
| 667 |
The different positions are pretty obvious from their name, except for |circlehead|. |
| 668 |
This latter option is putting a circular progressbar around the frametitle-logo (from frametitle template defined with gotham theme). |
| 669 |
It worth noting that by doing so, the frametitle is using the command |\gothamInstituteLogoCircle| instead of |\gothamInstituteLogoSquare| which is used otherwise. |
| 670 |
}\end{DescribeGothamOption} |
| 671 |
|
| 672 |
\begin{DescribeGothamOption}{progressbar style} |
| 673 |
{rectangle, rounded box, moving circle, fixed circle}{rectangle}{ |
| 674 |
Setting how the progressbar should appear. |
| 675 |
|rectangle| option is using sharp rectangle for the progressbar, while |rounded box| is using rounded box and adds the percentage of progression at its right. |
| 676 |
|moving circle| and |fixed circle| are concerning the option |progressbar position=circle| only. |
| 677 |
|moving circle| add the number of the frame in a circle moving (following) the progression of the bar, while |fixed circle| put this framenumber constantly at the right of the circular progressbar. |
| 678 |
}\end{DescribeGothamOption} |
| 679 |
|
| 680 |
\begin{DescribeGothamOption}{progressbar advancement} |
| 681 |
{tlbr, brlt}{tlbr}{ |
| 682 |
Defines in which direction the progressbar should evolve. |
| 683 |
|tlbr| is the shortcut for: starting from the top left corner, it goes bottom then right, ie. anti-clockwise. |
| 684 |
|brtl| is the shortcut for: starting from the bottom right corner, it goes top then left, ie. clockwise. |
| 685 |
}\end{DescribeGothamOption} |
| 686 |
|
| 687 |
\begin{DescribeGothamOption}{progressbar mfn} |
| 688 |
{on, off}{off}{ |
| 689 |
Enable or disable the display of the mini frame navigation bar within the progressbar. |
| 690 |
}\end{DescribeGothamOption} |
| 691 |
|
| 692 |
|
| 693 |
\subsection{Setup all the options} |
| 694 |
\begin{lstlisting} |
| 695 |
\gothamset{ |
| 696 |
% from font theme |
| 697 |
format title, shape title, |
| 698 |
format subtitle, shape subtitle, |
| 699 |
format frametitle, shape frametitle, |
| 700 |
format framesubtitle, shape framesubtitle, |
| 701 |
format part, shape part, |
| 702 |
format section, shape section, |
| 703 |
format subsection, shape subsection, |
| 704 |
% from color theme |
| 705 |
background, |
| 706 |
block, |
| 707 |
colorset, |
| 708 |
% from inner theme |
| 709 |
title page, |
| 710 |
watermark template, watermark default, |
| 711 |
standout template, standin template, |
| 712 |
standout BG template, standin BG template, |
| 713 |
partframe template, partframe default, |
| 714 |
sectionframe template, sectionframe default, |
| 715 |
subsectionframe template, subsectionframe default, |
| 716 |
subsubsectionframe template, subsubsectionframe default, |
| 717 |
tocframe template, |
| 718 |
parttocframe template, parttocframe default, |
| 719 |
sectiontocframe template, sectiontocframe default, |
| 720 |
subsectiontocframe template, subsectiontocframe default, |
| 721 |
%subsubsectiontocframe template, subsubsectiontocframe default, |
| 722 |
% from outer theme |
| 723 |
sidebar canvas right template, sidebar canvas left template, |
| 724 |
edging default, |
| 725 |
frametitle template, framesubtitle template, frametitle continuation template, |
| 726 |
numbering, |
| 727 |
rotateFooter default, |
| 728 |
footer template, |
| 729 |
mini frames shape, mini frames bundle, mini frames compress, mini frames nav spreading, |
| 730 |
progressbar position, progressbar style, progressbar advancement, progressbar mfn, |
| 731 |
} |
| 732 |
\end{lstlisting} |
| 733 |
|
| 734 |
|
| 735 |
\subsection{Frame options} |
| 736 |
Frame options are affecting the templates used on the current frame through the following syntax: |
| 737 |
\begin{lstlisting} |
| 738 |
\begin{frame}[option] ... \end{frame} |
| 739 |
\end{lstlisting} |
| 740 |
Below a description of the different frame options brought by \themename{}. |
| 741 |
|
| 742 |
\DescribeOption{noBGC} |
| 743 |
Apply an empty |background canvas| template. |
| 744 |
|
| 745 |
\DescribeOption{watermark} |
| 746 |
\DescribeOption{nowatermark} |
| 747 |
Apply (with |watermark|) or deactivated (|nowatermark| when \lstinline|\gothamset{watermark default=on}| was given) the |background| template, through %\\ |
| 748 |
\lstinline|\defbeamertemplate{background}{watermark/<your-name>}{<your-def>}| and %\\ |
| 749 |
\lstinline|\gothamset{watermark template=<your-name>}|. |
| 750 |
|
| 751 |
\DescribeOption{standout} |
| 752 |
\DescribeOption{standin} |
| 753 |
Apply the |standin| (and |standout| respectively) templates through the definition |
| 754 |
\lstinline|\defbeamertemplate{standin}{<your-name>}{<your-def>}| and the option \lstinline|\gothamset{standin BG template=<your-name>}|. |
| 755 |
|
| 756 |
\DescribeOption{toc} |
| 757 |
Appy the |toc| template defined by \lstinline|\gothamset{tocframe template=<your-name>}|. |
| 758 |
|
| 759 |
\DescribeOption{edging} |
| 760 |
\DescribeOption{noedging} |
| 761 |
Apply (with |edging|) or deactivated (|noedging| when \lstinline|\gothamset{edging default=on}| was given) the |sidebar canvas left| (and right respectively) template, through |
| 762 |
\lstinline|\defbeamertemplate{sidebar canvas left}{default/<your-name>}{<your-def>}| (and right) |
| 763 |
and the option |
| 764 |
\lstinline|\gothamset{sidebar canvas left template=<your-name>}| (and right). |
| 765 |
|
| 766 |
\DescribeOption{nologo} |
| 767 |
\DescribeOption{nofootline} |
| 768 |
\DescribeOption{nofooter} |
| 769 |
Apply empty |logo| (and |footline|, |footer| respectively) templates. |
| 770 |
This can be convenient when extra space is needed. |
| 771 |
\vspace{1em} |
| 772 |
|
| 773 |
\DescribeOption{rotateFooter} |
| 774 |
\DescribeOption{noRotateFooter} |
| 775 |
Enable or disable the rotation of the elements in the |footer|. |
| 776 |
This can be convenient when extra space is needed in 16/9 mode especially. |
| 777 |
|
| 778 |
\DescribeOption{part} |
| 779 |
\DescribeOption{section} |
| 780 |
\DescribeOption{subsec} |
| 781 |
\DescribeOption{subsubsec} |
| 782 |
Apply \lstinline|\usebeamertemplate{part frame}|, (|section frame|, |subsection frame| and |subsubsection frame| respectively) templates. |
| 783 |
This makes more sense for internal use, but can be reused everywhere else. |
| 784 |
\vspace{2em} |
| 785 |
|
| 786 |
\DescribeOption{tocpart} |
| 787 |
\DescribeOption{tocsec} |
| 788 |
\DescribeOption{tocsubsec} |
| 789 |
\DescribeOption{tocsubsubsec} |
| 790 |
Apply \lstinline|\usebeamertemplate{toc part frame}|, (|toc section frame|, |toc subsection frame| and |toc subsubsection frame| respectively) templates. |
| 791 |
This makes more for internal use, but can be reused everywhere else. |
| 792 |
\vspace{1em} |
| 793 |
|
| 794 |
|
| 795 |
%% ------------------------------------ |
| 796 |
\subsection{Commands for Customization} |
| 797 |
\themename{} defines some commands that can be used as hooks, ie., that can be redefined when needed. |
| 798 |
|
| 799 |
\begin{function}{\gothamInstituteLogoCircle[1][4ex]} |
| 800 |
\begin{arguments} |
| 801 |
\item |height| of the picture. |
| 802 |
\end{arguments} |
| 803 |
Command to include the circular logo of your institute in the frametitle when using \lstinline|\gothamset{progressbar position=circlehead}|. |
| 804 |
For example, you redefine this command through: |
| 805 |
\begin{lstlisting}[gobble=6] |
| 806 |
\renewcommand{\gothamInstituteLogoCircle}[1][4ex]{ |
| 807 |
\includegraphics[height=#1]{<your-logo-circular>} |
| 808 |
} |
| 809 |
\end{lstlisting} |
| 810 |
\end{function} |
| 811 |
|
| 812 |
\begin{function}{\gothamInstituteLogoSquare[1][4ex]} |
| 813 |
\begin{arguments} |
| 814 |
\item |height| of the picture. |
| 815 |
\end{arguments} |
| 816 |
Command to include the circular logo of your institute in the frametitle. |
| 817 |
For example, you redefine this command through: |
| 818 |
\begin{lstlisting}[gobble=6] |
| 819 |
\renewcommand{\gothamInstituteLogoSquare}[1][4ex]{ |
| 820 |
\includegraphics[height=#1]{<your-logo-square>} |
| 821 |
} |
| 822 |
\end{lstlisting} |
| 823 |
\end{function} |
| 824 |
|
| 825 |
\begin{function}{\gothamFrameSubtitleSep} |
| 826 |
Command defining the separator used between the frametitle and the subtitle. |
| 827 |
\end{function} |
| 828 |
|
| 829 |
\begin{function}{\gothamRightFiligrane, \gothamLeftFiligrane} |
| 830 |
Commands that are used by default in the |sidebar canvas right| (and left). |
| 831 |
This avoids the redefinition of the whole templates, especially since the |sidebar canvas right| is containing elements by default in Beamer theme (like the |logo|). |
| 832 |
\end{function} |
| 833 |
|
| 834 |
\begin{function}{\gothamtitlepagelogo} |
| 835 |
% \begin{arguments} |
| 836 |
% \item |height| of the picture. |
| 837 |
% \end{arguments} |
| 838 |
The command to insert the institute logo(s) on title page. |
| 839 |
For example, you redefine this command through: |
| 840 |
\begin{lstlisting}[gobble=6] |
| 841 |
\renewcommand{\gothamtitlepagelogo}{ |
| 842 |
\includegraphics[height=#1]{<your-logo-on-titlepage>} |
| 843 |
} |
| 844 |
\end{lstlisting} |
| 845 |
\end{function} |
| 846 |
|
| 847 |
\begin{function}{\gothamtitlepagebg} |
| 848 |
% \begin{arguments} |
| 849 |
% \item |height| of the picture. |
| 850 |
% \end{arguments} |
| 851 |
The command to insert the background title page. |
| 852 |
For example, you redefine this command through: |
| 853 |
\begin{lstlisting}[gobble=6] |
| 854 |
\renewcommand{\gothamtitlepagebg}{ |
| 855 |
\includegraphics[height=#1]{<your-background-on-titlepage>} |
| 856 |
} |
| 857 |
\end{lstlisting} |
| 858 |
\end{function} |
| 859 |
|
| 860 |
\begin{function}{\partContentName, \secContentName, \subsecContentName} |
| 861 |
% \begin{arguments} |
| 862 |
% \item |height| of the picture. |
| 863 |
% \end{arguments} |
| 864 |
The command to change the title of frames containing part's (or section or subsection) table of contents. |
| 865 |
For example, you redefine this command through: |
| 866 |
\begin{lstlisting}[gobble=6] |
| 867 |
\renewcommand{\partContentName}{Part's agenda} |
| 868 |
\end{lstlisting} |
| 869 |
\end{function} |
| 870 |
|
| 871 |
\begin{function}[added = 2025-01-06]{\partpageOptions, \sectionpageOptions, \subsectionpageOptions, \subsubsectionpageOptions} |
| 872 |
% \begin{arguments} |
| 873 |
% \item |height| of the picture. |
| 874 |
% \end{arguments} |
| 875 |
The commands to change the options of frames containing part's title (or section or subsection) at its start. |
| 876 |
For example, you redefine this command through: |
| 877 |
\begin{lstlisting}[gobble=6] |
| 878 |
\renewcommand{\partpageOptions}{plain} |
| 879 |
\end{lstlisting} |
| 880 |
\end{function} |
| 881 |
|
| 882 |
\begin{function}[added = 2025-01-06]{\partpageTocOptions, \sectionpageTocOptions, \subsectionpageTocOptions}%, \subsubsectionpageTocOptions |
| 883 |
% \begin{arguments} |
| 884 |
% \item |height| of the picture. |
| 885 |
% \end{arguments} |
| 886 |
The command to change the options of frames containing part's (or section or subsection) table of contents. |
| 887 |
For example, you redefine this command through: |
| 888 |
\begin{lstlisting}[gobble=6] |
| 889 |
\renewcommand{\partpageTocOptions}{nofooter} |
| 890 |
\end{lstlisting} |
| 891 |
\end{function} |
| 892 |
|
| 893 |
\begin{function}[added = 2025-01-06]{\partTocOptions, \sectionTocOptions, \subsectionTocOptions}%, \subsubsectionTocOptions |
| 894 |
% \begin{arguments} |
| 895 |
% \item |height| of the picture. |
| 896 |
% \end{arguments} |
| 897 |
The command to change the options for part's (or section or subsection) table of contents at the beginning of this part. |
| 898 |
For example, you redefine this command through: |
| 899 |
\begin{lstlisting}[gobble=6] |
| 900 |
\renewcommand{\sectionTocOptions}{ |
| 901 |
currentsection, hideallsubsections |
| 902 |
} |
| 903 |
\end{lstlisting} |
| 904 |
\end{function} |
| 905 |
|
| 906 |
\begin{variable}{gothamZerosectionframes} |
| 907 |
Boolean variable to flag if they are frame in a zeroth section. |
| 908 |
This variable helps to adapt the spreading of |mini frames nav| bar. |
| 909 |
This variable is automatically set if the spread is set correctly at the beginning of the presention. |
| 910 |
If the spreading or the mini frame nav is disable at the zeroth section then reactivated latter, it might create unwanted spreading. |
| 911 |
In such situation the variable has to be set manually to correct the spreading. |
| 912 |
You change its value with |\booltrue{gothamZerosectionframes}|. |
| 913 |
\end{variable} |
| 914 |
|
| 915 |
\begin{variable}{darkBG, transparentBG} |
| 916 |
A boolean variables that are true with the background mode. |
| 917 |
It can be useful when you want to apply different codes according to the background you are on. |
| 918 |
You can use it as in the following example: |
| 919 |
\begin{lstlisting}[gobble=6] |
| 920 |
\ifbool{darkBG}{code to apply on dark background}{other code for light or transparent backgrounds} |
| 921 |
\end{lstlisting} |
| 922 |
\end{variable} |
| 923 |
|
| 924 |
\begin{function}[updated=2024-11-11]{\gothamHookFooter} |
| 925 |
% \begin{arguments} |
| 926 |
% \item |height| of the picture. |
| 927 |
% \end{arguments} |
| 928 |
The command to add elements (like a logo) in the footer without redefining it completely. |
| 929 |
For example, you redefine this command through: |
| 930 |
\begin{lstlisting}[gobble=6] |
| 931 |
\renewcommand{\gothamHookFooter}{ |
| 932 |
\usebeamertemplate{instituteLogo} |
| 933 |
} |
| 934 |
\end{lstlisting} |
| 935 |
\end{function} |
| 936 |
|
| 937 |
\begin{function}[updated=2024-11-11]{\gothamHookPostColorBGSet} |
| 938 |
% \begin{arguments} |
| 939 |
% \item |height| of the picture. |
| 940 |
% \end{arguments} |
| 941 |
The command to change the colors that are related to the background color setting (ie. frametitle, standin, standout and titlepage). |
| 942 |
For example, you redefine this command through: |
| 943 |
\begin{lstlisting}[gobble=6] |
| 944 |
\renewcommand{\gothamHookPostColorBGSet}{ |
| 945 |
\colorlet{colorFrametitle}{yourColor} |
| 946 |
\colorlet{colorStandout}{yourColor} |
| 947 |
\colorlet{colorStandin}{yourColor} |
| 948 |
\colorlet{colorTitlepage}{yourColor} |
| 949 |
\setbeamercolor{frametitle}{fg=yourRed, bg=} |
| 950 |
} |
| 951 |
\end{lstlisting} |
| 952 |
\end{function} |
| 953 |
|
| 954 |
|
| 955 |
\subsection{Color Customization} |
| 956 |
The included \themename color theme is used by default, but its colors can be easily changed to suit your tastes. |
| 957 |
All of the theme's styles are defined in terms of three Beamer colors: |
| 958 |
\begin{itemize} |
| 959 |
\item |normal text| (dark fg, light bg) |
| 960 |
\item |alerted text| (colored fg, should be visible against dark or light) |
| 961 |
\item |example text| (colored fg, should be visible against dark or light) |
| 962 |
\end{itemize} |
| 963 |
|
| 964 |
An easy way to customize the theme is to redefine these colors using |
| 965 |
\begin{lstlisting} |
| 966 |
\colorlet{colorFG}{black} %{colorDark} |
| 967 |
\colorlet{colorBG}{white} %{colorPale} |
| 968 |
\colorlet{colorStandin}{white} %{colorPale} |
| 969 |
\colorlet{colorStandout}{blue} %{colorA} |
| 970 |
\colorlet{colorFrametitle}{blue} %{colorA} |
| 971 |
\colorlet{colorTitlepage}{blue} %{colorA} |
| 972 |
\colorlet{colorFiligrane}{gray} %{colorB} |
| 973 |
\colorlet{colorBackElement}{gray} %{colorB} |
| 974 |
\colorlet{colorProgBar}{yellow} %{colorC} |
| 975 |
\colorlet{colorAlert}{red} %{colorD} |
| 976 |
\colorlet{colorExample}{green} %{colorE} |
| 977 |
\end{lstlisting} |
| 978 |
in your preamble. |
| 979 |
For greater customization, you can redefine any of the other stock Beamer colors. |
| 980 |
In addition to the stock colors the theme defines a number of \themename specific colors, which can also be redefined to your liking. |
| 981 |
\begin{lstlisting} |
| 982 |
\setbeamercolor{progress bar}{ ... } |
| 983 |
\setbeamercolor{title separator}{ ... } |
| 984 |
\setbeamercolor{progress bar in head/foot}{ ... } |
| 985 |
\setbeamercolor{progress bar in section page}{ ... } |
| 986 |
\end{lstlisting} |
| 987 |
|
| 988 |
|
| 989 |
\subsection{Font Customization} |
| 990 |
The default font for \themename is |Fira|. |
| 991 |
This can be easily changed using the standard font selection commands of the \textsf{fontspec} package. |
| 992 |
So if you prefer, for example, the \href{http://font.ubuntu.com}{|Ubuntu|} font family, just add the following two commands after loading the \themename theme. |
| 993 |
|
| 994 |
\begin{lstlisting} |
| 995 |
\setsansfont{Ubuntu} |
| 996 |
\setmonofont{Ubuntu Mono} |
| 997 |
\end{lstlisting} |
| 998 |
|
| 999 |
If you are expecting to present in a large room or with an underpowered projector, you may want to change the font to a heavier weight of Fira to maximize readability. |
| 1000 |
|
| 1001 |
\begin{lstlisting} |
| 1002 |
\setsansfont[BoldFont={Fira Sans SemiBold}]{Fira Sans Book} |
| 1003 |
\end{lstlisting} |
| 1004 |
|
| 1005 |
|
| 1006 |
\subsubsection{Old style figures} |
| 1007 |
The regular \textsf{fontspec} mechanism for changing glyph appearance also applies to this theme. |
| 1008 |
If you want to have old style figures in the text but regular lined figures for math, you could add the following to your preamble: |
| 1009 |
\begin{lstlisting} |
| 1010 |
\usefonttheme{professionalfonts} % required for mathspec |
| 1011 |
\usepackage{mathspec} |
| 1012 |
\setsansfont[BoldFont={Fira Sans}, |
| 1013 |
Numbers={OldStyle}]{Fira Sans Light} |
| 1014 |
\setmathsfont(Digits)[Numbers={Lining, Proportional}]{Fira Sans Light} |
| 1015 |
\end{lstlisting} |
| 1016 |
|
| 1017 |
|
| 1018 |
% \subsection{Backgrounds available} |
| 1019 |
% xx |
| 1020 |
|
| 1021 |
|
| 1022 |
\subsection{Length Customization} |
| 1023 |
\begin{variable}{\gothamFrametitleToppading, |
| 1024 |
\gothamFrametitleBottompading, |
| 1025 |
\gothamFrametitleLeftpading, |
| 1026 |
\gothamFrametitleRightpading} |
| 1027 |
Lengths controling the padding around the frametitle. |
| 1028 |
\end{variable} |
| 1029 |
|
| 1030 |
\begin{variable}{\gothamFramesubtitleStrutend} |
| 1031 |
Lengths controling the padding around the frametitle. |
| 1032 |
\end{variable} |
| 1033 |
|
| 1034 |
\begin{variable}{\sidebarRightHOffset, \sidebarLeftHOffset} |
| 1035 |
Length controling the horizontal and vertical offset in order to position |\gothamRightFiligrane| (respectively |\gothamLeftFiligrane|) when using the default sidebar canvas (right and left) from \themename. |
| 1036 |
\end{variable} |
| 1037 |
|
| 1038 |
\begin{variable}{\gothamFootlineRuleLeftPadding, \gothamFootlineRuleHeight, \gothamFootlineRuleLength} |
| 1039 |
|\gothamFootlineRuleLeftPadding| is controlling the horizontal space between the left border of the page and the left side of the rule. |
| 1040 |
|\gothamFootlineRuleHeight| controls the height and | \gothamFootlineRuleLength| the length of the rule used to delimit the footer. |
| 1041 |
\end{variable} |
| 1042 |
|
| 1043 |
\begin{variable}[updated=2024-11-11]{\gothamFootlineHRightOffset, \gothamFootlineVOffset, \gothamFootlineHeight, \gothamFootlineDepth} |
| 1044 |
|\gothamFootlineHRightOffset| is controlling the horizontal space between the right border of the page and the side of the footline. |
| 1045 |
|\gothamFootlineVOffset| is controlling space between to bottom of the text (or the footnote) and the footline. |
| 1046 |
|\gothamFootlineHeight| and |\gothamFootlineDepth| are controlling the height and depth of the footline baseline. |
| 1047 |
\end{variable} |
| 1048 |
|
| 1049 |
\begin{variable}{\gothamLeftFooterPadding, \gothamRightFooterPadding, \gothamFooterHOffset} |
| 1050 |
|\gothamLeftFooterPadding| is controlling the horizontal space between the left border of the page and the side of the footer. |
| 1051 |
|\gothamRightFooterPadding| is controlling the horizontal space between the right the footer and the page number. |
| 1052 |
|\gothamFooterHOffset| is controlling the horizontal space between the footer and the bottom of the page (or the progressbar). |
| 1053 |
\end{variable} |
| 1054 |
|
| 1055 |
\begin{variable}{\gothamHposLeftRotFooter, \gothamHposRightRotFooter, \gothamVposLeftRotFooter, \gothamVposRightRotFooter} |
| 1056 |
Lengths that are controlling the horizontal and vertical positioning of the left and right elements of the rotated footer. |
| 1057 |
\end{variable} |
| 1058 |
|
| 1059 |
\begin{variable}{\gothamProgressCircHeight, \gothamCounterCircleRadius, \gothamProgressCircBorderWidth} |
| 1060 |
Lengths controlling the aspect of |progress circle|. |
| 1061 |
|\gothamProgressCircHeight| is controlling the inner height of the circle (related to its diameter). |
| 1062 |
|\gothamCounterCircleRadius| is controlling the size of the counter circle containing the frame number. |
| 1063 |
|\gothamProgressCircBorderWidth| is controlling width of the progress circle. |
| 1064 |
\end{variable} |
| 1065 |
|
| 1066 |
\begin{variable}{\gothamProgressHeadFootLineheight} |
| 1067 |
|\gothamProgressHeadFootLineheight| is controlling the height of the progress bar in "normal" frames (or its width when it is put in side bars). |
| 1068 |
\end{variable} |
| 1069 |
|
| 1070 |
\begin{variable}{\gothamCircleNumberingVshift, \gothamCircleNumberingHshift} |
| 1071 |
Lengths controlling the vertical and horizontal positioning of the |circle| frame numbering template. |
| 1072 |
\end{variable} |
| 1073 |
|
| 1074 |
\begin{variable}{\sectionhoffset, \gothamProgressSectionHeight} |
| 1075 |
|\sectionhoffset| controls the horizontal offset of the (section title + progress bar) block. |
| 1076 |
Can be useful when extra stuff wants to be displayed on sides of the block. |
| 1077 |
The default value is 0pt. |
| 1078 |
|
| 1079 |
|\gothamProgressSectionHeight| controls the height of the progress bar used in part/section/subsection/subsubsection frames (when progress bar are used). |
| 1080 |
\end{variable} |
| 1081 |
|
| 1082 |
\begin{figure}[htp] |
| 1083 |
\centering |
| 1084 |
\fbox{\includegraphics[width=0.7\textwidth]{gotham-layout.pdf}} |
| 1085 |
\caption{The layout used by \themename.} |
| 1086 |
\end{figure} |
| 1087 |
|
| 1088 |
\begin{variable}[added=2025-12-25]{\gothamDividedPicTop, \gothamDividedPicBottomIncr, \gothamDividedPicTextWidth} |
| 1089 |
Theses variables control the dimensions of the splitting trapezoid pn the title page for the gotham divided style. |
| 1090 |
|
| 1091 |
|\gothamDividedPicTop| controls the distance between the top right corner and the top splitting point. |
| 1092 |
|
| 1093 |
|\gothamDividedPicBottomIncr| controls the increment toward the left direction for the bottom splitting point. |
| 1094 |
|
| 1095 |
|\gothamDividedPicTextWidth| controls the width of the text on the titlepage (for the divided style). |
| 1096 |
\end{variable} |
| 1097 |
|
| 1098 |
|
| 1099 |
%% ------------------------------------ |
| 1100 |
\section{Tips \& Tricks} |
| 1101 |
\subsection{Backup Slides} |
| 1102 |
Speakers will often include extra slides at the end of their presentation to refer to during audience questions. |
| 1103 |
One easy way to do this is to include the \verb|appendixnumberbeamer| package in your preamble and call \verb|\appendix| before your backup slides. |
| 1104 |
|
| 1105 |
\themename will automatically turn off slide numbering for slides in the appendix. |
| 1106 |
|
| 1107 |
|
| 1108 |
\subsection{Bibliography with biblatex} |
| 1109 |
For those that would like using biblatex with \themename (or more generally with beaner), might have troubles since by default the command \verb|\printbibliography| tries to add where it is called a section. |
| 1110 |
Therefore, a solution is to remove the section heading of this called command: |
| 1111 |
\begin{lstlisting} |
| 1112 |
\begin{frame}[allowframebreaks]{bibliography} |
| 1113 |
\printbibliography[heading=none] |
| 1114 |
\end{frame} |
| 1115 |
\end{lstlisting} |
| 1116 |
|
| 1117 |
|
| 1118 |
\subsection{Sources of inspiration} |
| 1119 |
Many Beamer themes have been used as sources of inspiration to build \themename{}: |
| 1120 |
\begin{itemize} |
| 1121 |
\item \url{https://github.com/matze/mtheme} for dark/light theme and standout page. |
| 1122 |
\item \url{https://github.com/hamaluik/Beamer-Theme-Execushares} and |
| 1123 |
\\ \url{https://github.com/pcafrica/focus-beamertheme} for titlepage and sectionpage. |
| 1124 |
\item \url{https://github.com/LukasPietzschmann/awesome-beamer} for titlepage. |
| 1125 |
\item \url{https://github.com/luistar/unina-beamer/tree/master} and |
| 1126 |
\\ \url{https://github.com/jkjaer/aauLatexTemplates/tree/master/aauBeamer/aausimple} for circlehead progress bar. |
| 1127 |
\item \url{https://github.com/povanberg/flux-beamer} for toc. |
| 1128 |
\item \url{https://github.com/fliptanedo/FlipBeamerTheme} for numbering circled fraction. |
| 1129 |
\item \url{https://gitlab.com/RomainNOEL/latex3_template_pkg} for LateX3 template. |
| 1130 |
\end{itemize} |
| 1131 |
|
| 1132 |
|
| 1133 |
%% ------------------------------------ |
| 1134 |
\section{Known Issues} |
| 1135 |
|
| 1136 |
\subsection{Title formats} |
| 1137 |
\label{sec:titleformats} |
| 1138 |
Be aware that not every font supports small caps, so the |smallcaps| or |upper| options may not work if you use a font other than |Fira Sans|. |
| 1139 |
In particular, the Computer Modern sans-serif typeface, which is used when \themename is compiled with pdf\LaTeX, does not have a small-caps variant. |
| 1140 |
|
| 1141 |
The title format options |upper| and |smallcaps| are quite nice from an aesthetic point of view, but their use of |\MakeLowercase| and |
| 1142 |
|\MakeUppercase| can cause unexpected problems. |
| 1143 |
For example: |
| 1144 |
\begin{itemize} |
| 1145 |
\item Some commands, like |\\|, do not work inside |\MakeLowercase| and |\MakeUppercase|. |
| 1146 |
(See \href{https://github.com/matze/mtheme/issues/125}{\#125}) |
| 1147 |
\item Only alphabetic characters are affected by |\MakeLowercase|, so numerals and punctuation remain at full height. |
| 1148 |
This can spoil some of the aesthetic benefits of |upper|. |
| 1149 |
(See \href{https://github.com/matze/mtheme/issues/33}{\#33}) |
| 1150 |
\item |\MakeLowercase| and |\MakeUppercase| apply to math mode and |\scshape| does not. |
| 1151 |
This can easily introduce mathematical errors that are hard to catch. |
| 1152 |
\item It is impossible to typeset symbols which are encoded as uppercase letters in a different font. |
| 1153 |
In particular, |\mathbb| and |\mathcal| letters will be replaced by other math glyphs. |
| 1154 |
(See \href{https://github.com/matze/mtheme/issues/153}{\#153}) |
| 1155 |
\end{itemize} |
| 1156 |
|
| 1157 |
The |smallcaps| and |upper| options are safe to use if your titles contain only alphabetic characters and do not require the expansion of any macros. |
| 1158 |
|
| 1159 |
|
| 1160 |
\subsection{Interactions with other color themes} |
| 1161 |
\themename can be used along with any other Beamer color theme, such as |crane| or |seahorse|. |
| 1162 |
If you wish to do this, it is usually best to include the \themename subpackages individually so the \themename color theme is never loaded. |
| 1163 |
This will prevent conflicts between the \themename color theme and your preferred theme. |
| 1164 |
|
| 1165 |
For example, overriding the color theme as follows may not work as expected because |\usetheme{gotham}| loads the \themename color theme, which defines a relationship between the frametitle background and the primary palette of the theme. |
| 1166 |
Since |seahorse| assumes a different relationship between its palettes, the result is a grey, rather than periwinkle, frametitle background. |
| 1167 |
|
| 1168 |
\begin{lstlisting} |
| 1169 |
\usetheme{gotham} |
| 1170 |
\usecolortheme{seahorse} |
| 1171 |
\end{lstlisting} |
| 1172 |
|
| 1173 |
The correct colors are chosen if the \themename outer, inner, and font themes are loaded seperately: |
| 1174 |
\begin{lstlisting} |
| 1175 |
\useoutertheme{gotham} |
| 1176 |
\useinnertheme{gotham} |
| 1177 |
\usefonttheme{gotham} |
| 1178 |
\usecolortheme{seahorse} % or your preferred color theme |
| 1179 |
\end{lstlisting} |
| 1180 |
|
| 1181 |
Please note that \themename may not use all the colors defined in your favourite Beamer color theme. |
| 1182 |
In particular, \themename does not set a background color for the title; this will cause issues when using color themes like |whale| which set a white foreground for the title. |
| 1183 |
|
| 1184 |
|
| 1185 |
\subsection{Notes on second screen} |
| 1186 |
If you use the |[show notes on second screen]| option built into Beamer and compile with XeLaTeX, text on slides following the first section slide may be rendered in white instead of the regular color. |
| 1187 |
This is due to \href{http://tex.stackexchange.com/questions/288408/}{a bug} in Beamer or XeLaTeX itself. |
| 1188 |
You can work around it either by compiling with LuaTeX or by adding the following code to your preamble to reset the text color on each slide. |
| 1189 |
|
| 1190 |
\begin{lstlisting} |
| 1191 |
\makeatletter |
| 1192 |
\def\beamer@framenotesbegin{% at beginning of slide |
| 1193 |
\usebeamercolor[fg]{normal text} |
| 1194 |
\gdef\beamer@noteitems{}% |
| 1195 |
\gdef\beamer@notes{}% |
| 1196 |
} |
| 1197 |
\makeatother |
| 1198 |
\end{lstlisting} |
| 1199 |
|
| 1200 |
|
| 1201 |
\subsection{Standout frames with labels} |
| 1202 |
Because the |standout| frame option creates a group to restrict the colour change to a single slide, labels defined after calling |standout| will stay local to the group. |
| 1203 |
In other words, the following may result in a ``label undefined'' error. |
| 1204 |
\begin{lstlisting} |
| 1205 |
\begin{frame}[standout, label=conclusion]{Conclusion} |
| 1206 |
Awesome slide |
| 1207 |
\end{frame} |
| 1208 |
\end{lstlisting} |
| 1209 |
|
| 1210 |
To fix this problem, change the order of the keys in the frame. |
| 1211 |
\begin{lstlisting} |
| 1212 |
\begin{frame}[label=conclusion, standout]{Conclusion} |
| 1213 |
Awesome slide |
| 1214 |
\end{frame} |
| 1215 |
\end{lstlisting} |
| 1216 |
|
| 1217 |
This error can be unwittingly triggered if you export your slides from Emacs Org mode, which automatically adds labels after frame options. |
| 1218 |
Alex Branham \href{https://github.com/matze/mtheme/issues/203}{offers} the following solution for Org mode users, using |org-set-property|. |
| 1219 |
|
| 1220 |
\begin{lstlisting} |
| 1221 |
* Start of a frame |
| 1222 |
:PROPERTIES: |
| 1223 |
:BEAMER_opt: label=conclusion,standout |
| 1224 |
:END: |
| 1225 |
\end{lstlisting} |
| 1226 |
|
| 1227 |
|
| 1228 |
\subsection{Standout frames with Pandoc} |
| 1229 |
With Pandoc versions prior 1.17.2 it was not possible to create standout frames because Pandoc only supported a specific list of frame attributes thus ignoring additional attributes such as |{.standout}|. |
| 1230 |
|
| 1231 |
|
| 1232 |
\subsection{Other issues} |
| 1233 |
\begin{itemize} |
| 1234 |
\item |enumitem| is not working with Beamer. |
| 1235 |
\end{itemize} |
| 1236 |
|
| 1237 |
|
| 1238 |
\subsection*{Todo} |
| 1239 |
List of thing that could be improved (any volunteer welcome): |
| 1240 |
\begin{itemize} |
| 1241 |
\item Improve documentation. |
| 1242 |
\item Add a hexagonal, wavy and add lengths on the blueprint layout backgrounds. |
| 1243 |
\item add colorset more "blue-ish", "green-ish" ... from colorA etc. |
| 1244 |
\item Put all the not-used templates into separated files that could be loaded on the fly, in order to avoid unnecessary memory consumption and compilation time. |
| 1245 |
\item Reduce the number of @ . |
| 1246 |
\item Rename a lot of length with gotham at the beginning of their name. |
| 1247 |
\item Turn internal length into \_dim. |
| 1248 |
\item Remove colors from tests inner and outer. |
| 1249 |
\item Replace the |\setbeamertemplate{yy}[default/xx]| by |\__gotham_inner_set_template:nn{title~page}| or merge them because the default values in dict/template are interesting but |\__gotham_inner_set_template| are simpler. |
| 1250 |
\end{itemize} |
| 1251 |
|
| 1252 |
|
| 1253 |
\section{License} |
| 1254 |
\themename is licensed under the terms of the |
| 1255 |
% \href{https://creativecommons.org/licenses/by-sa/4.0/}{Creative Commons Attribution-ShareAlike 4.0} |
| 1256 |
\href{https://www.latex-project.org/lppl/lppl-1-3c/}{LaTeX project public license (LPPL) 1.3c} |
| 1257 |
license. |
| 1258 |
|
| 1259 |
|
| 1260 |
\end{document} |
| 1261 |
% EoF |
| 1262 |
|
| 1263 |
|
| 1264 |
% \begin{documentation} |
| 1265 |
% \begin{macro|function|variable}[updated|added=2025-02-25]{\nameMacro} |
| 1266 |
% \begin{syntax} |
| 1267 |
% \cs{nameMacro}\oarg{option1=value1, ...}\marg{tempkg} |
| 1268 |
% \textrm{where the options are (default marked as} \defopt{default}\textrm{):} |
| 1269 |
% \meta{footer template} = \oarg{\defopt{tempkg} \textbar ... } |
| 1270 |
% \end{syntax} |
| 1271 |
% Description of |nameMacro| which xxx. |
| 1272 |
% \end{macro|function|variable} |
| 1273 |
% \end{documentation} |
| 1274 |
%%%% |
| 1275 |
% \begin{implementation} |
| 1276 |
% \begin{macro|function|variable}[updated|added=2025-02-25]{\nameMacro} |
| 1277 |
% \begin{arguments} |
| 1278 |
% \item |width| Name of the option to add, this name should also correspond to the name of the environment followed by the suffix 'env'. |
| 1279 |
% \end{arguments} |
| 1280 |
% Description |
| 1281 |
% \changes{v1.0.1}{2025-02-25}{original version} |
| 1282 |
% \UnitTested % NOT FOR VARIABLES OF FUNCTIONS |
| 1283 |
% \TestFiles{tempkg-test-xxx} % NOT FOR VARIABLES |
| 1284 |
% \begin{macrocode} |
| 1285 |
%% MY CODE |
| 1286 |
% \end{macrocode} |
| 1287 |
% \end{macro|function|variable} |
| 1288 |
% \end{implementation} |
| 1289 |
|
| 1290 |
|
| 1291 |
|
| 1292 |
% \begin{implementation} |
| 1293 |
% \begin{macro}[updated|added=2025-02-25]{\nameMacro} |
| 1294 |
% \begin{arguments} |
| 1295 |
% \item |width| Name of the option to add, this name should also correspond to the name of the environment followed by the suffix 'env'. |
| 1296 |
% \end{arguments} |
| 1297 |
% Description |
| 1298 |
% \changes{v1.0.1}{2025-02-25}{original version} |
| 1299 |
% \UnitTested % NOT FOR VARIABLES OF FUNCTIONS |
| 1300 |
% \TestFiles{tempkg-test-xxx} % NOT FOR VARIABLES |
| 1301 |
% \begin{macrocode} |
| 1302 |
%% MY CODE |
| 1303 |
% \end{macrocode} |
| 1304 |
% \end{macro} |
| 1305 |
% \end{implementation} |