texlive[72808] Master/texmf-dist: beamertheme-gotham (9nov24)
commits+karl at tug.org
commits+karl at tug.org
Sat Nov 9 17:32:37 CET 2024
Revision: 72808
https://tug.org/svn/texlive?view=revision&revision=72808
Author: karl
Date: 2024-11-09 17:32:37 +0100 (Sat, 09 Nov 2024)
Log Message:
-----------
beamertheme-gotham (9nov24)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/beamertheme-gotham/MANIFEST.md
trunk/Master/texmf-dist/doc/latex/beamertheme-gotham/README.md
trunk/Master/texmf-dist/doc/latex/beamertheme-gotham/ctan.ann
trunk/Master/texmf-dist/doc/latex/beamertheme-gotham/gotham-dev-impl.pdf
trunk/Master/texmf-dist/doc/latex/beamertheme-gotham/gotham-doc.pdf
trunk/Master/texmf-dist/doc/latex/beamertheme-gotham/gotham-doc.tex
trunk/Master/texmf-dist/doc/latex/beamertheme-gotham/gotham-example169transp.pdf
trunk/Master/texmf-dist/doc/latex/beamertheme-gotham/gotham-example43dark.pdf
trunk/Master/texmf-dist/doc/latex/beamertheme-gotham/gotham-exampleSimple.pdf
trunk/Master/texmf-dist/doc/latex/beamertheme-gotham/gotham-user-cmds.pdf
trunk/Master/texmf-dist/doc/latex/beamertheme-gotham/gotham.pdf
trunk/Master/texmf-dist/doc/latex/beamertheme-gotham/section-Beamer.tex
trunk/Master/texmf-dist/doc/latex/beamertheme-gotham/section-Conclusion.tex
trunk/Master/texmf-dist/doc/latex/beamertheme-gotham/section-Gotham.tex
trunk/Master/texmf-dist/source/latex/beamertheme-gotham/gotham.dtx
trunk/Master/texmf-dist/tex/latex/beamertheme-gotham/beamercolorthemegotham.sty
trunk/Master/texmf-dist/tex/latex/beamertheme-gotham/beamerfontthemegotham.sty
trunk/Master/texmf-dist/tex/latex/beamertheme-gotham/beamerinnerthemegotham.sty
trunk/Master/texmf-dist/tex/latex/beamertheme-gotham/beamerouterthemegotham.sty
trunk/Master/texmf-dist/tex/latex/beamertheme-gotham/beamerthemegotham.sty
Modified: trunk/Master/texmf-dist/doc/latex/beamertheme-gotham/MANIFEST.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/beamertheme-gotham/MANIFEST.md 2024-11-09 11:21:23 UTC (rev 72807)
+++ trunk/Master/texmf-dist/doc/latex/beamertheme-gotham/MANIFEST.md 2024-11-09 16:32:37 UTC (rev 72808)
@@ -102,6 +102,7 @@
* gotham-test-1031.lvt
* gotham-test-1032.lvt
* gotham-test-1037.lvt
+* gotham-test-1038.lvt
* gotham-test-001.lve
* gotham-test-035.luatex.tlg
* gotham-test-035.tlg
@@ -217,6 +218,9 @@
* gotham-test-1037.luatex.tlg
* gotham-test-1037.tlg
* gotham-test-1037.xetex.tlg
+* gotham-test-1038.luatex.tlg
+* gotham-test-1038.tlg
+* gotham-test-1038.xetex.tlg
## TDS manifest
@@ -272,30 +276,3 @@
## CTAN manifest
The following group lists the files included in the CTAN package.
-
-### CTAN files
-
-* MANIFEST.md
-* README.md
-* ctan.ann
-* ctan.note
-* gotham-blueprint.pdf
-* gotham-dev-impl.pdf
-* gotham-doc.pdf
-* gotham-doc.tex
-* gotham-example169transp.pdf
-* gotham-example169transp.tex
-* gotham-example43dark.pdf
-* gotham-example43dark.tex
-* gotham-exampleSimple.pdf
-* gotham-exampleSimple.tex
-* gotham-layout.pdf
-* gotham-logo.pdf
-* gotham-safetybox.pdf
-* gotham-user-cmds.pdf
-* gotham.dtx
-* gotham.ins
-* gotham.pdf
-* section-Beamer.tex
-* section-Conclusion.tex
-* section-Gotham.tex
Modified: trunk/Master/texmf-dist/doc/latex/beamertheme-gotham/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/beamertheme-gotham/README.md 2024-11-09 11:21:23 UTC (rev 72807)
+++ trunk/Master/texmf-dist/doc/latex/beamertheme-gotham/README.md 2024-11-09 16:32:37 UTC (rev 72808)
@@ -9,13 +9,14 @@
<!-- BADGES -->
<p align="center">
- <a href="https://ctan.org/pkg/gotham"><img src="https%3A%2F%2Fctan.org%2Fjson%2F2.0%2Fpkg%2Fgotham&query=%24.version.number&logo=latex&label=CTAN"/></a>
- <a href="https://gitlab.com/RomainNOEL/beamertheme-gotham/-/release/"><img src="https://img.shields.io/badge/Latest_Release-%{latest_tag}-blue"/></a>
- <a href="https://gitlab.com/RomainNOEL/beamertheme-gotham/-/pipelines?page=1&scope=all&ref=main"><img src="https://gitlab.com/RomainNOEL/beamertheme-gotham/badges/main/pipeline.svg"/></a>
- <a href="https://gitlab.com/RomainNOEL/beamertheme-gotham/-/blob/main/LICENSE.txt"><img src="https://img.shields.io/badge/License-LPPL_1.3c--Clause-blue.svg"/></a>
- <a href="https://gitlab.com/RomainNOEL/beamertheme-gotham/-/artifacts/"><img src="https://img.shields.io/badge/Documentation-PDF_online-green"/></a>
- <a href="https://gitlab.com/RomainNOEL/beamertheme-gotham/-/blob/main/Authors.md"><img src="https://www.repostatus.org/badges/latest/active.svg"/></a>
+ <a href="https://ctan.org/pkg/beamertheme-gotham"><img src="https://img.shields.io/ctan/v/beamertheme-gotham?logo=LaTeX&logoColor=%23008080&color=%23008080"/></a>
+ <a href="https://gitlab.com/RomainNOEL/beamertheme-gotham/-/release/"><img src="https://img.shields.io/badge/Latest_Release-v1.2.0-FC6D26?logo=Gitlab&logoColor=%#FC6D26"/></a>
+ <a href="https://gitlab.com/RomainNOEL/beamertheme-gotham/-/pipelines?page=1&scope=all&ref=main"><img src="https://img.shields.io/gitlab/pipeline-status/RomainNOEL%2Fbeamertheme-gotham?branch=main&logo=githubactions&label=pipeline"/></a>
+ <a href="https://gitlab.com/RomainNOEL/beamertheme-gotham/-/blob/main/LICENSE.txt"><img src="https://img.shields.io/badge/License-LPPL_1.3c-blue?logo=opensourceinitiative"/></a>
+ <a href="https://gitlab.com/api/v4/projects/52144864/jobs/artifacts/main/raw/gotham.pdf?job=deploy-files"><img src="https://img.shields.io/badge/Documentation-PDF_online-green?logo=readthedocs"/></a>
+ <a href="https://www.repostatus.org/lifecycle"><img src="https://img.shields.io/badge/repo_status-active-FC6D26?logo=framework&color=#F10001"/></a>
</p>
+<!-- Latest_Release-v1.2.0 Date: 2024-11-11 -->
## What is Gotham ?
@@ -27,25 +28,34 @@
## Why this package ?
-ONCE UPON THE TIME, I was adapting `Metropolis` Beamer theme to get my institutional templates.
+ONCE UPON THE TIME, I was adapting `Metropolis` [Beamer](https://ctan.org/pkg/beamer) theme to get my institutional templates.
Indeed, `Metropolis` Beamer theme is a great work that is very convenient and well appreciated by many.
-BUT, `Metropolis` seems not maintained anymore and is not flexible enough.
+BUT, [`Metropolis`](https://ctan.org/pkg/beamertheme-metropolis) seems not maintained anymore and is not flexible enough.
Moreover, `Metropolis` (or its successor initiative Moloch) and Beamer in some extends are not very flexible.
For example, it requires cumbersome modifications to apply a different background for your section frames.
-SO, `Gotham` tries to bring that kind of flexibility and `LaTeX3` implementation on top of the good-looking `Metropolis` theme.
+SO, `Gotham` tries to bring that kind of flexibility and [`LaTeX3`](https://www.latex-project.org/latex3/) implementation on top of the good-looking `Metropolis` theme.
+## Some of the features included
+- :gear: `l3build` a build system for LaTeX testing and deployment, etc...
+- :hammer_and_wrench: `expl3` compliant
+- :first_quarter_moon: dark, light and transparent background
+- :movie_camera: can adapt to 16:9 and 4:3 screen format
+- :stopwatch: multiple progress bar style
+- :shopping_cart: **can mix** themes
+
+
## See it in action
Here are some screenshot of what you can obtain:
-<img src="support/gotham-example169transp-1.png" width="700">
+| Example using a transparent background in 16/9 | Example using a transparent background in 4/3 |
+:-------------------------:|:-------------------------:
+| <img src="support/gotham-example169transp-1.png" width="475"> | <img src="support/gotham-example43dark-1.png" width="375"> |
-<img src="support/gotham-example43dark-1.png" width="700">
+A deeper taste of how `Gotham` can render is available through the **`pdf` example/demo** that can be found [here](https://gitlab.com/api/v4/projects/52144864/jobs/artifacts/main/raw/gotham-example169transp.pdf?job=deploy-files), and the `tex` source file to build it is available [here](https://gitlab.com/RomainNOEL/beamertheme-gotham/-/blob/main/examples/gotham-example169transp.tex?ref_type=heads).
-An `pdf` example/demo result is available [here](https://gitlab.com/RomainNOEL/beamertheme-gotham/-/artifacts/), and the `tex` source file to build it is available [here](/examples/section-Gotham.tex).
-
The following code shows a **minimal example** of a Beamer presentation using Gotham.
```latex
\documentclass{beamer}
@@ -64,20 +74,11 @@
```
is yielding the following:
-<img src="support/gotham-exampleSimple-1.png" width="700">
+<img src="support/gotham-exampleSimple-1.png" width="500">
-## Some of the features included
-- `l3build` a build system for LaTeX that unpack the sources, build the documentation and examples, run unit tests, check tags, prepare for CTAN publishing, etc...
-- `expl3`
-- dark, light and transparent theme
-- can adapt to 16:9 and 4:3 screen format
-- progress bar
-- **can mix** themes
-
-
## Documentation
-The complete `pdf` documentation can be found through an [artefact](https://gitlab.com/RomainNOEL/beamertheme-gotham/-/artifacts/).
+The complete `pdf` documentation can be found through an [artefact](https://gitlab.com/api/v4/projects/52144864/jobs/artifacts/main/raw/gotham.pdf?job=deploy-files).
## How to install ?
@@ -104,7 +105,7 @@
- `l3build doc` builds this documentation manual and the examples.
- `l3build check` builds the theme and manual.
- `l3build install` installs the theme into your local texmf folder.
-- STOP unless you want remove it.
+- **STOP** unless you want remove it.
- `l3build uninstall` removes the theme from your local texmf folder.
- `l3build clean` removes the files generated by `l3build`.
@@ -115,13 +116,17 @@
```
### Fork from Overleaf example
-If you want to play with it before installing, you can fork this [Overleaf project](https://overleaf.com) and have fun.
+If you want to play with it before installing, you can fork this Gotham example on [Overleaf](https://www.overleaf.com/read/ybdcnjxjrwgq#3ae7f9) and have fun.
+If you want to go further and have examples about how to adapt Gotham to obtain custom theme for your institution, visit this Overleaf example [adaptation](https://www.overleaf.com/read/vxnjgfmyvccj).
+
## License
-The LaTeX Project Public License [(LPPL)](/LICENSE.txt)
+The LaTeX Project Public License, version 1.3c [(LPPL1.3c)](/LICENSE.txt)
-## Project status
+## Project status & contribution
The status of the project is "maintained".
-However, if you have a bit of free time and good will to help the maintenance, it will be very appreciated and welcomed.
\ No newline at end of file
+The changelog file is tracking the [changes](https://gitlab.com/RomainNOEL/beamertheme-gotham/-/blob/main/CHANGELOG.md?ref_type=heads) made across versions.
+However, if you have a bit of free time and good will to help the maintenance, it will be very appreciated and welcomed.
+If you intend to contribute to this project, you can read the dedicated [document](https://gitlab.com/RomainNOEL/beamertheme-gotham/-/blob/main/CONTRIBUTING.md?ref_type=heads).
\ No newline at end of file
Modified: trunk/Master/texmf-dist/doc/latex/beamertheme-gotham/ctan.ann
===================================================================
--- trunk/Master/texmf-dist/doc/latex/beamertheme-gotham/ctan.ann 2024-11-09 11:21:23 UTC (rev 72807)
+++ trunk/Master/texmf-dist/doc/latex/beamertheme-gotham/ctan.ann 2024-11-09 16:32:37 UTC (rev 72808)
@@ -1,11 +1,23 @@
# [Gotham](https://gitlab.com/RomainNOEL/beamertheme-gotham) announcement
-This `Gotham` package is a modern, minimal-ish, versatile and extendable theme for your `Beamer` presentations using `LaTeX(3)`.
+The `Gotham` package is a modern, minimal-ish, versatile and extendable theme for your `Beamer` presentations using `LaTeX(3)`.
`Gotham` tries to bring higher flexibility thanks to `LaTeX3` implementation on top of the good-looking `Metropolis` theme.
-## Features
-- 16:9 and 4:3 compatible
-- supports different background color (dark and light)
-- can adapt beamertemplate to declared context
-- extend color set
-- improved progress bars
+
+
+
+## Version: 1.2.0.a Date: 2024-11-11
+
+### Breaking changes
+- `standout template` option renamed to `standout BG template`.
+- `\gothamFootlineOffset` length renamed `\gothamFootlineVOffset`.
+
+### News
+- test with theorem from `thmtools`.
+- add hook after colorset `\gothamHookPostColorBGSet`.
+- add hook in footer `\gothamHookFooter` and add `\gothamFootlineHRightOffset` length.
+- `standout template` option to change the whole page.
+
+### Fixes
+- length of subtitle in title page of gotham-normal and gotham-splitvert
+- primary palette typo
\ No newline at end of file
Modified: trunk/Master/texmf-dist/doc/latex/beamertheme-gotham/gotham-dev-impl.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/beamertheme-gotham/gotham-doc.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/beamertheme-gotham/gotham-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/beamertheme-gotham/gotham-doc.tex 2024-11-09 11:21:23 UTC (rev 72807)
+++ trunk/Master/texmf-dist/doc/latex/beamertheme-gotham/gotham-doc.tex 2024-11-09 16:32:37 UTC (rev 72808)
@@ -5,8 +5,8 @@
% \usepackage{gotham}
% \usepackage{readprov}
% \ReadPackageInfos{beamerthemegotham}
- \edef\GothamVersion{v1.1.0.b} %{\fileversion}
- \edef\GothamDate{2024-09-20} %{\filedate}
+ \edef\GothamVersion{v1.2.0.a} %{\fileversion}
+ \edef\GothamDate{2024-11-11} %{\filedate}
\usepackage{parskip}
@@ -382,6 +382,7 @@
\lstinline|\defbeamertemplate{background}{watermark/<your-name>}{<your-defintion>}|.
}\end{DescribeGothamOption}
+
\DescribeOption{standin template}
% \begin{DescribeGothamOption}{standin template}
% {list of possible values}{default}{
@@ -388,9 +389,22 @@
% A short description of the option.
% }\end{DescribeGothamOption}
\begin{DescribeGothamOption}{standout template}
- {gotham, <your-name>}{default}{
- Set the standin and stantout background template to use when the |standin| or |stantout| frame option is activated.
+ {gotham, <your-name>}{gotham}{
+ Set the standin and stantout template to use when the |standin| or |stantout| frame option is activated.
If you want to use your own template, this latter should be previously defined with:
+ \lstinline|\defbeamertemplate{standout}{<your-name>}{<your-defintion>}|.
+ }\end{DescribeGothamOption}
+
+ \DescribeOption{standin BG template}
+ % \begin{DescribeGothamOption}{standin BG template}
+ % {list of possible values}{default}{
+ % A short description of the option.
+ % }\end{DescribeGothamOption}
+ \begin{DescribeGothamOption}{standout BG template}
+ {gotham, <your-name>}{gotham}{
+ 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.
+ This option sets the standin and stantout background template to use when the |standin| or |stantout| frame option is activated.
+ If you want to use your own template, this latter should be previously defined with:
\lstinline|\defbeamertemplate{background}{standin/<your-name>}{<your-defintion>}|.
}\end{DescribeGothamOption}
@@ -472,7 +486,7 @@
% A short description of the option.
% }\end{DescribeGothamOption}
\begin{DescribeGothamOption}{subsubsectiontocframe~default}
- {on, off}{default}{
+ {on, off}{on}{
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.
\vspace{1em}
}\end{DescribeGothamOption}
@@ -685,6 +699,7 @@
title page,
watermark template, watermark default,
standout template, standin template,
+ standout BG template, standin BG template,
partframe template, partframe default,
sectionframe template, sectionframe default,
subsectionframe template, subsectionframe default,
@@ -726,7 +741,7 @@
\DescribeOption{standout}
\DescribeOption{standin}
Apply the |standin| (and |standout| respectively) templates through the definition
- \lstinline|\defbeamertemplate{standin}{<your-name>}{<your-def>}| and the option \lstinline|\gothamset{standin template=<your-name>}|.
+ \lstinline|\defbeamertemplate{standin}{<your-name>}{<your-def>}| and the option \lstinline|\gothamset{standin BG template=<your-name>}|.
\DescribeOption{toc}
Appy the |toc| template defined by \lstinline|\gothamset{tocframe template=<your-name>}|.
@@ -806,7 +821,92 @@
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|).
\end{function}
+ \begin{function}{\gothamtitlepagelogo}
+ % \begin{arguments}
+ % \item |height| of the picture.
+ % \end{arguments}
+ The command to insert the institute logo(s) on title page.
+ For example, you redefine this command through:
+ \begin{lstlisting}[gobble=6]
+ \renewcommand{\gothamtitlepagelogo}{
+ \includegraphics[height=#1]{<your-logo-on-titlepage>}
+ }
+ \end{lstlisting}
+ \end{function}
+ \begin{function}{\gothamtitlepagebg}
+ % \begin{arguments}
+ % \item |height| of the picture.
+ % \end{arguments}
+ The command to insert the background title page.
+ For example, you redefine this command through:
+ \begin{lstlisting}[gobble=6]
+ \renewcommand{\gothamtitlepagebg}{
+ \includegraphics[height=#1]{<your-background-on-titlepage>}
+ }
+ \end{lstlisting}
+ \end{function}
+
+ \begin{function}{\partContentName, \secContentName, \subsecContentName}
+ % \begin{arguments}
+ % \item |height| of the picture.
+ % \end{arguments}
+ The command to change the title of frames containing part (or section or subsection) table of contents.
+ For example, you redefine this command through:
+ \begin{lstlisting}[gobble=6]
+ \renewcommand{\partContentName}{Part's agenda}
+ \end{lstlisting}
+ \end{function}
+
+ \begin{variable}{gothamZerosectionframes}
+ Boolean variable to flag if they are frame in a zeroth section.
+ This variable helps to adapt the spreading of |mini frames nav| bar.
+ This variable is automatically set if the spread is set correctly at the beginning of the presention.
+ If the spreading or the mini frame nav is disable at the zeroth section then reactivated latter, it might create unwanted spreading.
+ In such situation the variable has to be set manually to correct the spreading.
+ You change its value with |\booltrue{gothamZerosectionframes}|.
+ \end{variable}
+
+ \begin{variable}{darkBG, transparentBG}
+ A boolean variables that are true with the background mode.
+ It can be useful when you want to apply different codes according to the background you are on.
+ You can use it as in the following example:
+ \begin{lstlisting}[gobble=6]
+ \ifbool{darkBG}{code to apply on dark background}{other code for light or transparent backgrounds}
+ \end{lstlisting}
+ \end{variable}
+
+ \begin{function}{\gothamHookFooter}
+ % \begin{arguments}
+ % \item |height| of the picture.
+ % \end{arguments}
+ The command to add elements (like a logo) in the footer without redefining it completely.
+ For example, you redefine this command through:
+ \begin{lstlisting}[gobble=6]
+ \renewcommand{\gothamHookFooter}{
+ \usebeamertemplate{instituteLogo}
+ }
+ \end{lstlisting}
+ \end{function}
+
+ \begin{function}{\gothamHookPostColorBGSet}
+ % \begin{arguments}
+ % \item |height| of the picture.
+ % \end{arguments}
+ The command to change the colors that are related to the background color setting (ie. frametitle, standin, standout and titlepage).
+ For example, you redefine this command through:
+ \begin{lstlisting}[gobble=6]
+ \renewcommand{\gothamHookPostColorBGSet}{
+ \colorlet{colorFrametitle}{yourColor}
+ \colorlet{colorStandout}{yourColor}
+ \colorlet{colorStandin}{yourColor}
+ \colorlet{colorTitlepage}{yourColor}
+ \setbeamercolor{frametitle}{fg=yourRed, bg=}
+ }
+ \end{lstlisting}
+ \end{function}
+
+
\subsection{Color Customization}
The included \themename color theme is used by default, but its colors can be easily changed to suit your tastes.
All of the theme's styles are defined in terms of three Beamer colors:
@@ -866,27 +966,41 @@
\subsection{Length Customization}
- \begin{variable}{\sectionhoffset}
- length controlling the horizontal offset of the (section title + progress bar) block.
- Can be useful when extra stuff wants to be displayed on sides of the block.
- The default value is 0pt.
+ \begin{variable}{\gothamFrametitleToppading,
+ \gothamFrametitleBottompading,
+ \gothamFrametitleLeftpading,
+ \gothamFrametitleRightpading}
+ Lengths controling the padding around the frametitle.
\end{variable}
+ \begin{variable}{\gothamFramesubtitleStrutend}
+ Lengths controling the padding around the frametitle.
+ \end{variable}
+
\begin{variable}{\sidebarRightHOffset, \sidebarLeftHOffset}
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.
\end{variable}
- \begin{variable}{\gothamHposLeftRotFooter, \gothamHposRightRotFooter, \gothamVposLeftRotFooter, \gothamVposRightRotFooter}
- length controlling the horizontal and vertical positioning of the left and right elements of the rotated footer.
+ \begin{variable}{\gothamFootlineRuleLeftPadding, \gothamFootlineRuleHeight, \gothamFootlineRuleLength}
+ |\gothamFootlineRuleLeftPadding| is controlling the horizontal space between the left border of the page and the left side of the rule.
+ |\gothamFootlineRuleHeight| controls the height and | \gothamFootlineRuleLength| the length of the rule used to delimit the footer.
\end{variable}
-
- \begin{variable}{\gothamFootlineRuleLeftPadding}
- length controlling the horizontal space between the left border of the page and the left side of the rule.
+
+ \begin{variable}{\gothamFootlineHRightOffset, \gothamFootlineVOffset, \gothamFootlineHeight, \gothamFootlineDepth}
+ |\gothamFootlineHRightOffset| is controlling the horizontal space between the right border of the page and the side of the footline.
+ |\gothamFootlineVOffset| is controlling space between to bottom of the text (or the footnote) and the footline.
+ |\gothamFootlineHeight| and |\gothamFootlineDepth| are controlling the height and depth of the footline baseline.
\end{variable}
-
- \begin{variable}{\gothamFootlineRuleHeight, \gothamFootlineRuleLength}
- Dimensions controlling the height and the length of the rule used to delimit the footer.
+
+ \begin{variable}{\gothamLeftFooterPadding, \gothamRightFooterPadding, \gothamFooterHOffset}
+ |\gothamLeftFooterPadding| is controlling the horizontal space between the left border of the page and the side of the footer.
+ |\gothamRightFooterPadding| is controlling the horizontal space between the right the footer and the page number.
+ |\gothamFooterHOffset| is controlling the horizontal space between the footer and the bottom of the page (or the progressbar).
\end{variable}
+
+ \begin{variable}{\gothamHposLeftRotFooter, \gothamHposRightRotFooter, \gothamVposLeftRotFooter, \gothamVposRightRotFooter}
+ Lengths that are controlling the horizontal and vertical positioning of the left and right elements of the rotated footer.
+ \end{variable}
\begin{variable}{\gothamProgressCircHeight, \gothamCounterCircleRadius, \gothamProgressCircBorderWidth}
Lengths controlling the aspect of |progress circle|.
@@ -895,6 +1009,22 @@
|\gothamProgressCircBorderWidth| is controlling width of the progress circle.
\end{variable}
+ \begin{variable}{\gothamProgressHeadFootLineheight}
+ |\gothamProgressHeadFootLineheight| is controlling the height of the progress bar in "normal" frames (or its width when it is put in side bars).
+ \end{variable}
+
+ \begin{variable}{\gothamCircleNumberingVshift, \gothamCircleNumberingHshift}
+ Lengths controlling the vertical and horizontal positioning of the |circle| frame numbering template.
+ \end{variable}
+
+ \begin{variable}{\sectionhoffset, \gothamProgressSectionHeight}
+ |\sectionhoffset| controls the horizontal offset of the (section title + progress bar) block.
+ Can be useful when extra stuff wants to be displayed on sides of the block.
+ The default value is 0pt.
+
+ |\gothamProgressSectionHeight| controls the height of the progress bar used in part/section/subsection/subsubsection frames (when progress bar are used).
+ \end{variable}
+
\begin{figure}[htp]
\centering
\fbox{\includegraphics[width=0.7\textwidth]{gotham-layout.pdf}}
@@ -1049,8 +1179,9 @@
\section{License}
\themename is licensed under the terms of the
- \href{https://creativecommons.org/licenses/by-sa/4.0/}{Creative Commons
- Attribution-ShareAlike 4.0} license.
+ % \href{https://creativecommons.org/licenses/by-sa/4.0/}{Creative Commons Attribution-ShareAlike 4.0}
+ \href{https://www.latex-project.org/lppl/lppl-1-3c/}{LaTeX project public license (LPPL) 1.3c}
+ license.
\end{document}
Modified: trunk/Master/texmf-dist/doc/latex/beamertheme-gotham/gotham-example169transp.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/beamertheme-gotham/gotham-example43dark.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/beamertheme-gotham/gotham-exampleSimple.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/beamertheme-gotham/gotham-user-cmds.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/beamertheme-gotham/gotham.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/beamertheme-gotham/section-Beamer.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/beamertheme-gotham/section-Beamer.tex 2024-11-09 11:21:23 UTC (rev 72807)
+++ trunk/Master/texmf-dist/doc/latex/beamertheme-gotham/section-Beamer.tex 2024-11-09 16:32:37 UTC (rev 72808)
@@ -9,7 +9,6 @@
\usepackage{natbib}
\begin{filecontents*}[overwrite]{pres.bib}
-
@article{Knuth92,
author = "D.E. Knuth",
title = "Two notes on notation",
@@ -55,6 +54,7 @@
}
\end{filecontents*}
+
\begin{document}
\section{Introduction: Beamer}
@@ -335,7 +335,7 @@
% FRAME
\begin{frame}[fragile]{References}
- Some references to showcase \verb|[allowframebreaks]| on next slide \cite{Knuth92,ConcreteMath,Simpson,Er01,greenwade93}
+ Some references to showcase \verb|[allowframebreaks]| on next slide~\cite{Knuth92,ConcreteMath,Simpson,Er01,greenwade93}
\end{frame}
% % FRAME
Modified: trunk/Master/texmf-dist/doc/latex/beamertheme-gotham/section-Conclusion.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/beamertheme-gotham/section-Conclusion.tex 2024-11-09 11:21:23 UTC (rev 72807)
+++ trunk/Master/texmf-dist/doc/latex/beamertheme-gotham/section-Conclusion.tex 2024-11-09 16:32:37 UTC (rev 72808)
@@ -1,5 +1,5 @@
\documentclass[aspectratio=169]{beamer}
-% \usetheme{gotham}
+\usetheme{gotham}
\usepackage{appendixnumberbeamer}
\usepackage[scale=2]{ccicons}
@@ -10,21 +10,23 @@
\section{Conclusion}
- \begin{frame}{Summary}
- Get the source of this theme and the demo presentation from
+ % FRAME
+ \begin{frame}{Summary}
+ Get the source of this theme and the demo presentation from
- \begin{center}\url{https://gitlab.com/RomainNOEL/beamertheme-gotham}\end{center}
+ \begin{center}\url{https://gitlab.com/RomainNOEL/beamertheme-gotham}\end{center}
- The theme \emph{itself} is licensed under a \href{http://creativecommons.org/licenses/by-sa/4.0/}{Creative Commons Attribution-ShareAlike 4.0 International License}.
- \begin{center} \ccbysa \end{center}
- \end{frame}
+ The theme \emph{itself} is licensed under a \href{http://creativecommons.org/licenses/by-sa/4.0/}{Creative Commons Attribution-ShareAlike 4.0 International License}.
+ \begin{center} \ccbysa \end{center}
+ \end{frame}
+ % FRAME
\begin{standoutenv}
\begin{frame}[fragile]
The final slide using the standout style with command:
\begin{verbatim}
- \begin{frame}[standout]{Thank You !}
- Questions ?
+ \begin{frame}[standout, plain]{Thank You !}
+ Questions ?
\end{frame }
\end{verbatim}
Modified: trunk/Master/texmf-dist/doc/latex/beamertheme-gotham/section-Gotham.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/beamertheme-gotham/section-Gotham.tex 2024-11-09 11:21:23 UTC (rev 72807)
+++ trunk/Master/texmf-dist/doc/latex/beamertheme-gotham/section-Gotham.tex 2024-11-09 16:32:37 UTC (rev 72808)
@@ -66,8 +66,7 @@
They can either be set at once for every title type or individually.
\end{frame}
- {
- \gothamset{shape frametitle=smallcaps, format frametitle=titlecase}
+ { \gothamset{shape frametitle=smallcaps, format frametitle=titlecase}
% FRAME
\begin{frame}{Titles: Small caps and titlecase}
This frame uses the title format options: \texttt{shape frametitle=smallcaps, format frametitle=titlecase}.
@@ -82,8 +81,7 @@
\end{frame}
}
- {
- \gothamset{format frametitle=upper, shape frametitle=italic}
+ { \gothamset{format frametitle=upper, shape frametitle=italic}
% FRAME
\begin{frame}{Titles: Upper and italic}
This frame uses the title format options: \texttt{format frametitle=upper, shape frametitle=smallcaps}.
@@ -92,14 +90,11 @@
As this title format also uses small caps you face the same problems as with the \texttt{smallcaps} title format.
Additionally this format can cause some other problems.
Please refer to the documentation if you consider using it.
-
-
\end{alertblock}
\end{frame}
}
- {
- \gothamset{format frametitle=lower}
+ { \gothamset{format frametitle=lower}
% FRAME
\begin{frame}{Titles: LOWER and regular}
This frame uses the title format options: \texttt{format frametitle=lower, shape frametitle=regular}.
@@ -109,8 +104,7 @@
\subsection{Colors}
- {
- \gothamset{background=dark}
+ { \gothamset{background=dark}
% FRAME
\begin{frame}[fragile]{Presentation style via background color}
The color mode (a.k.a. background color) can be changed using:
@@ -272,13 +266,13 @@
Note that the background can also be tuned using:
\begin{verbatim} \defbeamertemplate{background canvas}{standin/name}{your def}
- \gothamset{standin template= name}\end{verbatim}
+ \gothamset{standin BG template= name}\end{verbatim}
\end{frame}
\end{standinenv}
% FRAME
- \begin{frame}[fragile, standout, watermark]{Standout}
+ \begin{frame}[standout, watermark]{Standout}
Here is an example of standout (working as standin), that can be combined with a watermark.
Another difference, apart the obvious color change is the font size and series.
Modified: trunk/Master/texmf-dist/source/latex/beamertheme-gotham/gotham.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/beamertheme-gotham/gotham.dtx 2024-11-09 11:21:23 UTC (rev 72807)
+++ trunk/Master/texmf-dist/source/latex/beamertheme-gotham/gotham.dtx 2024-11-09 16:32:37 UTC (rev 72808)
@@ -23,7 +23,7 @@
\input expl3-generic \relax
%</internal>
%<class>\NeedsTeXFormat{LaTeX3e}
-%<package>\ProvidesExplPackage{beamerthemegotham}{2024/09/20}{1.1.0.b}{A modern, minimal-ish, versatile and extendable yet robust theme for Beamer}
+%<package>\ProvidesExplPackage{beamerthemegotham}{2024-11-11}{1.2.0.a}{A modern, minimal-ish, versatile and extendable yet robust theme for Beamer}
%<author>Romain NOEL</author>
%<maintainer>Romain NOEL</maintainer>
%<url>https://gitlab.com/RomainNOEL/beamertheme-gotham</url>
@@ -39,8 +39,8 @@
% \usepackage{gotham}
% \usepackage{readprov}
% \ReadPackageInfos{beamerthemegotham}
- \edef\GothamVersion{v1.1.0.b} %{\fileversion}
- \edef\GothamDate{2024-09-20} %{\filedate}
+ \edef\GothamVersion{v1.2.0.a} %{\fileversion}
+ \edef\GothamDate{2024-11-11} %{\filedate}
\usepackage{parskip}
\usepackage{setspace}
@@ -188,7 +188,7 @@
%\begin{implementation}
% \begin{macrocode}
%<*font>
-\ProvidesExplPackage{beamerfontthemegotham}{2024/09/20}{1.1.0.b}{gotham font theme}
+\ProvidesExplPackage{beamerfontthemegotham}{2024-11-11}{1.2.0.a}{gotham font theme}
\RequirePackage{expl3}
\RequirePackage{xparse}
\RequirePackage{etoolbox}
@@ -274,7 +274,7 @@
% \TestFiles{gotham-test-035}
% \TestMissing{a isolated unit test would be nice.}
% \begin{macrocode}
-\newcommand{\iffontsavailable}[3]
+\providecommand{\iffontsavailable}[3]
{
\int_zero:N \g_gotham_fontsnotfound_int
\clist_map_function:nN { #1 } \checkfont:n
@@ -378,12 +378,14 @@
\setbeamerfont{frametitleToc}{size=\LARGE, series=\bfseries}
\setbeamerfont{frametitleSection}{size*={60}{1}, series=\bfseries}
+\setbeamerfont{page~number~in~head/foot}{size=\footnotesize}
+\setbeamerfont{footline}{size=\scriptsize}
+
\setbeamerfont{block~title}{size=\normalsize, series=\bfseries}
\setbeamerfont{block~title~alerted}{size=\normalsize, series=\bfseries}
\setbeamerfont{caption}{size=\small}
\setbeamerfont{caption~name}{series=\bfseries}
\setbeamerfont{description~item}{series=\bfseries}
-\setbeamerfont{page~number~in~head/foot}{size=\scriptsize}
\setbeamerfont{bibliography~entry~author}{size=\normalsize, series=\normalfont}
\setbeamerfont{bibliography~entry~title}{size=\normalsize, series=\bfseries}
@@ -971,7 +973,7 @@
%\begin{implementation}
% \begin{macrocode}
%<*color>
-\ProvidesExplPackage{beamercolorthemegotham}{2024/09/20}{1.1.0.b}{Gotham color theme}
+\ProvidesExplPackage{beamercolorthemegotham}{2024-11-11}{1.2.0.a}{Gotham color theme}
\RequirePackage{expl3}
\RequirePackage{xparse}
\RequirePackage{xcolor}
@@ -1046,6 +1048,7 @@
}{
% else nothing to do, colors are already defined.
}
+\providecommand{\gothamHookPostColorBGSet}{}
% \end{macrocode}
% \end{variable}
% \end{implementation}
@@ -1113,11 +1116,11 @@
% A set of variable easily adapted.
% \begin{macrocode}
% Define the color palette
+\colorlet{colorFG}{colorDark}
\colorlet{colorBG}{colorPale}
-\colorlet{colorFG}{colorDark}
+\colorlet{colorStandin}{colorPale}
+\colorlet{colorStandout}{colorA}
\colorlet{colorFrametitle}{colorA}
-\colorlet{colorStandout}{colorA}
-\colorlet{colorStandin}{colorPale}
\colorlet{colorTitlepage}{colorA}
\colorlet{colorFiligrane}{colorB}
\colorlet{colorBackElement}{colorB}
@@ -1159,12 +1162,21 @@
\colorlet{colorStandout}{colorAreversed}
\colorlet{colorStandin}{colorFG}
\colorlet{colorTitlepage}{colorAreversed}
- % dark
- \setbeamercolor{palette~primary}{% reversed color compared to normal text
+ % %%% adapt and reload
+ % \colorlet{colorBG}{colorPale}
+ % \colorlet{colorFG}{colorDark}
+ % \colorlet{colorFiligrane}{colorB}
+ % \colorlet{colorBackElement}{colorB}
+ % \colorlet{colorProgBar}{colorC}
+ % \colorlet{colorAlert}{colorD}
+ % \colorlet{colorExample}{colorE}
+ %%% dark
+ \setbeamercolor{primary~palette}{% reversed color compared to normal text
use=normal~text,
fg=normal~text.bg,
bg=normal~text.fg
}
+ \gothamHookPostColorBGSet{}
}
% \end{macrocode}
% \end{function}
@@ -1187,13 +1199,22 @@
\colorlet{colorStandout}{colorA}
\colorlet{colorStandin}{colorBG}
\colorlet{colorTitlepage}{colorA}
- % light
- \setbeamercolor{palette~primary}{
+ % %%% adapt and reload
+ % \colorlet{colorBG}{colorPale}
+ % \colorlet{colorFG}{colorDark}
+ % \colorlet{colorFiligrane}{colorB}
+ % \colorlet{colorBackElement}{colorB}
+ % \colorlet{colorProgBar}{colorC}
+ % \colorlet{colorAlert}{colorD}
+ % \colorlet{colorExample}{colorE}
+ %%% light
+ \setbeamercolor{primary~palette}{
% reversed color compared to normal text
use=normal~text,
fg=normal~text.bg,
bg=normal~text.fg
}
+ \gothamHookPostColorBGSet{}
}
% \end{macrocode}
% \end{function}
@@ -1204,7 +1225,7 @@
% Command to activate transparent background.
% \TestFiles{gotham-test-037}
% \begin{macrocode}
-% \newcommand{\gotham at colors@transparent}{
+% \providecommand{\gotham at colors@transparent}{
\cs_new_protected:Nn \__gotham_color_set_transparentBG:{
\setbeamercolor{normal~text}{
fg=colorFG,
@@ -1219,13 +1240,22 @@
% \usebeamercolor{normal~text} % reset % NOT working neither
\colorlet{colorStandin}{colorBG} % since the two previous lines are not working, let define it like light-bg
\colorlet{colorTitlepage}{colorA}
- % like light background.
- \setbeamercolor{palette~primary}{
+ % %%% adapt and reload
+ % \colorlet{colorBG}{colorPale}
+ % \colorlet{colorFG}{colorDark}
+ % \colorlet{colorFiligrane}{colorB}
+ % \colorlet{colorBackElement}{colorB}
+ % \colorlet{colorProgBar}{colorC}
+ % \colorlet{colorAlert}{colorD}
+ % \colorlet{colorExample}{colorE}
+ %%% like light background.
+ \setbeamercolor{primary~palette}{
% reversed color compared to normal text
use=normal~text,
fg=colorBG,
bg=normal~text.fg
}
+ \gothamHookPostColorBGSet{}
}
% \end{macrocode}
% \end{function}
@@ -1369,8 +1399,8 @@
\setbeamercolor{date}{use=normal~text, parent=normal~text}
\setbeamercolor{institute}{use=normal~text, parent=normal~text}
\setbeamercolor{frametitle}{
- use=palette~primary,
- parent=palette~primary,
+ use=primary~palette,
+ parent=primary~palette,
bg=colorFrametitle
}
% The Gotham inner or outer themes optionally display progress bars in various locations.
@@ -1431,7 +1461,9 @@
% \UnitTested
% \TestFiles{gotham-test-037}
% \begin{macrocode}
-\setbeamercolor{frametitleSection}{use=primary~palette, bg=, fg=primary~palette.bg}
+% \setbeamercolor{frametitleSection}{use=primary~palette, bg=, fg=primary~palette.bg}
+\setbeamercolor{frametitleSection}{use=structure,fg=structure.bg}
+
\setbeamercolor{standout}{use=primary~palette, bg=colorStandout, fg=primary~palette.bg}
\setbeamercolor{standin}{use=normal~text, bg=colorStandin, fg=normal~text.fg}
@@ -1438,6 +1470,7 @@
\setbeamercolor{section~in~toc}{use=normal~text, parent=normal~text,}
\setbeamercolor{subsection~in~toc}{use=normal~text, parent=normal~text,}
\setbeamercolor{subsubsection~in~toc}{use=normal~text, parent=normal~text,}
+\setbeamercolor{footlineRule}{use=normal~text, parent=normal~text,}
% \end{macrocode}
% \end{macro}
% \end{implementation}
@@ -1545,7 +1578,7 @@
%\begin{implementation}
% \begin{macrocode}
%<*inner>
-\ProvidesExplPackage{beamerinnerthemegotham}{2024/09/20}{1.1.0.b}{gotham inner theme}
+\ProvidesExplPackage{beamerinnerthemegotham}{2024-11-11}{1.2.0.a}{gotham inner theme}
\RequirePackage{expl3}
\RequirePackage{xparse}
\RequirePackage{calc}
@@ -1597,8 +1630,6 @@
\colorlet{colorProgBar}{orange}
\colorlet{colorAlert}{red}
\colorlet{colorExample}{green}
- \colorlet{colorFrametitle}{purple}
- \colorlet{colorTitlepage}{purple}
\setbeamercolor{progress~bar}{
use=alerted~text,
fg=colorProgBar,
@@ -1645,10 +1676,14 @@
\ifbeamer at inframe
\titlepage
\else
- \frame[plain, noframenumbering]{\titlepage}
+ \frame[plain, c, noframenumbering]{\titlepage}
\fi
}
\def\titlepage{
+ % \setkeys{beamerframe}{c} % no effect
+ % \setkeys{beamerframe}{plain} % no effect
+ % \setbeamertemplate{footline}[empty] % no effect
+ % \setkeys{beamerframe}{nofootline} % create error of unclosed env
\usebeamertemplate{title~page}
}
% \end{macrocode}
@@ -1792,8 +1827,17 @@
\parbox[c][0pt][c]{0pt}{\gothamtitlepagebg}
\centering
\vfill
- \ifx\inserttitle\@empty\else\usebeamertemplate*{title}\fi
- \ifx\insertsubtitle\@empty\else\usebeamertemplate*{subtitle}\fi
+ \ifx\inserttitle\@empty\else
+ \parbox{0.9\textwidth}{\centering
+ \usebeamertemplate*{title}
+ }\\[1.ex]
+ \fi
+ \ifx\insertsubtitle\@empty\else
+ \parbox{0.9\textwidth}{\centering
+ \usebeamertemplate*{subtitle}
+ }\\[2.ex]
+ \fi
+ % \hspace*{-0pt}
\usebeamertemplate*{title~separator}
% from above patch
\expandafter\ifblank\expandafter{\beamer at andstripped}{
@@ -1991,20 +2035,27 @@
\end{tikzpicture}
}
- % \vspace*{-1.65\baselineskip}
- \begin{minipage}[b][0.35\paperheight]{\textwidth}
+ % \vspace{1.65\baselineskip}
+ \begin{minipage}[b][0.5\paperheight]{\textwidth}
% \vspace{\baselineskip}
- \usebeamerfont{title}
- \usebeamercolor[fg]{frametitle}
- \inserttitle
+ \vbox{}
+ \vfill
+ {
+ \usebeamerfont{title}
+ \usebeamercolor[fg]{frametitle}
+ \inserttitle
+ }
+ \ifx\insertsubtitle\@empty\else
+ \\[1ex]
+ {
+ \usebeamerfont{subtitle}
+ \usebeamercolor[fg]{frametitle}
+ \insertsubtitle
+ }
+ \fi
+ \vspace{1.\baselineskip}
\end{minipage}
- \newline
- \begin{minipage}[t][0.1\paperheight]{\textwidth}
- \usebeamerfont{subtitle}
- \usebeamercolor[fg]{frametitle}
- \insertsubtitle
- \end{minipage}
% Set the title graphic in a zero-height box, so that
% the position of other elements is not affected.
@@ -2029,7 +2080,7 @@
% \usebeamercolor{normal~text}
% \usebeamerfont{author}
% \insertauthor
- \vspace*{-1.5\baselineskip}
+ \vspace*{-0.65\baselineskip}
\usebeamertemplate*{author}
\end{minipage}
}
@@ -2522,8 +2573,7 @@
% \UnitTested
% \TestFiles{gotham-test-040}
% \begin{macrocode}
-\defbeamertemplate*{standout}{gotham}{%
- %
+\defbeamertemplate*{standout}{gotham}{
% \setkeys{beamerframe}{c}
% \setkeys{beamerframe}{noframenumbering}
% \centering
@@ -2532,23 +2582,21 @@
% \usebeamertemplate{background~canvas}%[standout/gotham]
\usebeamerfont{standout}
% if the background color is switched, then change foreground (font) color.
- \ifbeamercolorempty[bg]{palette~primary}{
+ \ifbeamercolorempty[bg]{primary~palette}{
%true : empty background (transparent)
\setbeamercolor{background~canvas}{
- use=palette~primary,
- bg=palette~primary.fg
+ use=primary~palette,
+ bg=primary~palette.fg
}
}{
%false : background not empty (dark or light)
\setbeamercolor{background~canvas}{
- use=palette~primary,
- bg=palette~primary.bg
+ use=primary~palette,
+ bg=primary~palette.bg
}
}
- \setbeamercolor{local~structure}{
- fg=palette~primary.bg
- }
- \usebeamercolor[fg]{palette~primary}
+ \setbeamercolor{local~structure}{fg=primary~palette.bg}
+ \usebeamercolor[fg]{primary~palette}
}
% \end{macrocode}
% \end{macro}
@@ -2670,6 +2718,8 @@
% \textrm{where the options are (default marked as} \defopt{default}\textrm{):}
% \meta{standin template} = \oarg{\defopt{gotham} \textbar ...}
% \meta{standout template} = \oarg{\defopt{gotham} \textbar ...}
+% \meta{standin BG template} = \oarg{\defopt{gotham} \textbar ...}
+% \meta{standout BG template} = \oarg{\defopt{gotham} \textbar ...}
% \end{syntax}
% The 'package' (useinnertheme) options can control |standout| (and |standin|) templates.
% These templates are activated when giving the frame option |\begin{frame}[standin]| and |standout|.
@@ -2684,10 +2734,30 @@
% \begin{macrocode}
\keys_define:nn { gotham / inner }
{
+ % standout BG template
+ standout~BG~template .usage:n = { general },
+ standout~BG~template .default:n = { gotham },
+ standout~BG~template .code:n = {
+ \__gotham_set_prop_template:nn{background~canvas/standout}{#1}
+ },
+}
+\keys_define:nn { gotham / inner }
+{
+ % standin BG template
+ standin~BG~template .usage:n = { general },
+ standin~BG~template .default:n = { gotham },
+ standin~BG~template .code:n = {
+ \__gotham_set_prop_template:nn{background~canvas/standin}{#1}
+ },
+}
+\keys_define:nn { gotham / inner }
+{
% standout template
standout~template .usage:n = { general },
standout~template .default:n = { gotham },
- standout~template .code:n = { \__gotham_set_prop_template:nn{background~canvas/standout}{#1} },
+ standout~template .code:n = {
+ \__gotham_set_template:nn{standout}{#1}
+ },
}
\keys_define:nn { gotham / inner }
{
@@ -2694,7 +2764,9 @@
% standin template
standin~template .usage:n = { general },
standin~template .default:n = { gotham },
- standin~template .code:n = { \__gotham_set_prop_template:nn{background~canvas/standin}{#1} },
+ standin~template .code:n = {
+ \__gotham_set_template:nn{standin}{#1}
+ },
}
% \end{macrocode}
% \end{macro}
@@ -3081,21 +3153,21 @@
% \end{implementation}
% \begin{documentation}
-% \begin{variable}{\gotham at progressonsectionpage@linewidth}
+% \begin{variable}{\gothamProgressSectionHeight}
% Variables used to defined the progress bar in section pages.
-% If the vertical size of the bar want to be changed, the command |\setlength{\gotham at progressonsectionpage@linewidth}{<0.4pt>}| can be used.
+% If the vertical size of the bar want to be changed, the command |\setlength{\gothamProgressSectionHeight}{<0.4pt>}| can be used.
% \end{variable}
% \end{documentation}
%%%%%%
% \begin{implementation}
-% \begin{variable}{\gotham at progressonsectionpage@linewidth}
+% \begin{variable}{\gothamProgressSectionHeight}
% Variables used to defined the progress bar in section pages.
% \begin{macrocode}
% horizontal size of the bar (used internally and set to |\textwidth|.
\newlength{\gotham at progressonsectionpage}
% vertical size of the bar
-\newlength{\gotham at progressonsectionpage@linewidth}
-\setlength{\gotham at progressonsectionpage@linewidth}{3pt}
+\newlength{\gothamProgressSectionHeight}
+\setlength{\gothamProgressSectionHeight}{3pt}
% \end{macrocode}
% \end{variable}
% \end{implementation}
@@ -3107,7 +3179,7 @@
% \TestFiles{gotham-test-041}
% \begin{macrocode}
\defbeamertemplate{progress~bar~in~section~page}{empty}{
- \vspace{\gotham at progressonsectionpage@linewidth+1ex}
+ \vspace{\gothamProgressSectionHeight+1ex}
}
\def\inserttotalframenumber{100}
@@ -3116,8 +3188,8 @@
\textwidth * \ratio{\insertframenumber~pt}{\inserttotalframenumber~pt}
}
\begin{tikzpicture}
- \fill[bg] (0,0) rectangle (\textwidth, \gotham at progressonsectionpage@linewidth);
- \fill[fg] (0,0) rectangle (\gotham at progressonsectionpage, \gotham at progressonsectionpage@linewidth);
+ \fill[bg] (0,0) rectangle (\textwidth, \gothamProgressSectionHeight);
+ \fill[fg] (0,0) rectangle (\gotham at progressonsectionpage, \gothamProgressSectionHeight);
\end{tikzpicture}
}
% \end{macrocode}
@@ -3365,8 +3437,8 @@
\paperwidth * \ratio{\insertframenumber pt}{\inserttotalframenumber pt}
}
\begin{tikzpicture}
- \fill[bg] (0,0) rectangle (\paperwidth, \gotham at progressonsectionpage@linewidth);
- \fill[fg] (0,0) rectangle (\gotham at progressonsectionpage, \gotham at progressonsectionpage@linewidth);
+ \fill[bg] (0,0) rectangle (\paperwidth, \gothamProgressSectionHeight);
+ \fill[fg] (0,0) rectangle (\gotham at progressonsectionpage, \gothamProgressSectionHeight);
\end{tikzpicture}
}
% \end{macrocode}
@@ -4121,7 +4193,7 @@
\\
}
\defbeamertemplate{subsection~in~toc}{gotham~simple}{
- \quad{{\inserttocsectionnumber}.\inserttocsubsectionnumber.}~\inserttocsubsection%
+ \quad{{\inserttocsectionnumber}.\inserttocsubsectionnumber.}~\inserttocsubsection
\\
}
\defbeamertemplate{subsubsection~in~toc}{gotham~simple}{
@@ -4570,7 +4642,7 @@
% \UnitTested
% \TestFiles{gotham-test-043}
% \begin{macrocode}
-\newcommand{\gotham at block}[1]{
+\providecommand{\gotham at block}[1]{
\par\vskip\medskipamount
\setlength{\parskip}{0pt}
@@ -4768,7 +4840,7 @@
%\begin{implementation}
% \begin{macrocode}
%<*outer>
-\ProvidesExplPackage{beamerouterthemegotham}{2024/09/20}{1.1.0.b}{gotham outer theme}
+\ProvidesExplPackage{beamerouterthemegotham}{2024-11-11}{1.2.0.a}{gotham outer theme}
\RequirePackage{expl3}
\RequirePackage{xfp}
\RequirePackage{calc}
@@ -4799,8 +4871,6 @@
\colorlet{colorProgBar}{orange}
\colorlet{colorAlert}{red}
\colorlet{colorExample}{green}
- \colorlet{colorFrametitle}{purple}
- \colorlet{colorTitlepage}{purple}
\setbeamercolor{progress~bar}{
use=alerted~text,
fg=colorProgBar,
@@ -5046,12 +5116,11 @@
% \TestFiles{gotham-test-044}
% \begin{macrocode}
% Command to add filigrane/edging in sidebar
-\newcommand{\gothamRightFiligrane}{
+\providecommand{\gothamRightFiligrane}{
% left empty intentionally
% \rotatebox{90}{gotham right filigrane pattern}
-
}
-\newcommand{\gothamLeftFiligrane}{
+\providecommand{\gothamLeftFiligrane}{
% left empty intentionally
% \rotatebox{-90}{\hspace*{5em} gotham left filigrane pattern}
}
@@ -5350,24 +5419,24 @@
%%% Frametitle %%%
% \begin{documentation}
-% \begin{variable}{\gotham at frametitle@toppadding, \gotham at frametitle@bottompadding, \gotham at frametitle@leftpadding, \gotham at frametitle@rightpadding}
+% \begin{variable}{\gothamFrametitleToppading, \gothamFrametitleBottompading, \gothamFrametitleLeftpading, \gothamFrametitleRightpading}
% Dimensions controlling the top, bottom, left and right padding in the frametitle.
% \end{variable}
% \end{documentation}
%%%%%%
% \begin{implementation}
-% \begin{variable}{\gotham at frametitle@toppadding, \gotham at frametitle@bottompadding, \gotham at frametitle@leftpadding, \gotham at frametitle@rightpadding}
+% \begin{variable}{\gothamFrametitleToppading, \gothamFrametitleBottompading, \gothamFrametitleLeftpading, \gothamFrametitleRightpading}
% Dimensions of lengths used in the frametitle: top, bottom, left and right padding.
% All of them are equal to 2.2ex by default.
% \begin{macrocode}
-\newlength{\gotham at frametitle@toppadding}
-\setlength{\gotham at frametitle@toppadding}{2.2ex}
-\newlength{\gotham at frametitle@bottompadding}
-\setlength{\gotham at frametitle@bottompadding}{2.2ex}
-\newlength{\gotham at frametitle@leftpadding}
-\setlength{\gotham at frametitle@leftpadding}{2.2ex}
-\newlength{\gotham at frametitle@rightpadding}
-\setlength{\gotham at frametitle@rightpadding}{2.2ex}
+\newlength{\gothamFrametitleToppading}
+\newlength{\gothamFrametitleBottompading}
+\newlength{\gothamFrametitleLeftpading}
+\newlength{\gothamFrametitleRightpading}
+\setlength{\gothamFrametitleToppading}{2.2ex}
+\setlength{\gothamFrametitleBottompading}{2.2ex}
+\setlength{\gothamFrametitleLeftpading}{2.2ex}
+\setlength{\gothamFrametitleRightpading}{2.2ex}
% \gotham at strut from inner
\providecommand{\gotham at strut}{
\vphantom{ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz (/)}
@@ -5382,15 +5451,15 @@
% \UnitTested
% \TestFiles{gotham-test-046, gotham-test-046b, gotham-test-047}
% \begin{macrocode}
-\newcommand{\gotham at frametitlestrut@start}{
- \rule{0pt}{\gotham at frametitle@toppadding +
+\providecommand{\gotham at frametitlestrut@start}{
+ \rule{0pt}{\gothamFrametitleToppading +
\totalheightof{
\ifcsdef{gotham at frametitleformat}{\gotham at frametitleformat{X}}{X}
}
}
}
-\newcommand{\gotham at frametitlestrut@end}{
- \rule[-\gotham at frametitle@bottompadding]{0pt}{\gotham at frametitle@bottompadding}
+\providecommand{\gotham at frametitlestrut@end}{
+ \rule[-\gothamFrametitleBottompading]{0pt}{\gothamFrametitleBottompading}
}
% \end{macrocode}
% \end{macro}
@@ -5414,7 +5483,7 @@
% For example your can do |\renewcommand{\gothamInstituteLogoSquare}[1][4ex]{\includegraphics[height=#1]{gotham-logo.pdf}}|.
% \TestFiles{gotham-test-046, gotham-test-047}
% \begin{macrocode}
-\newcommand{\gothamInstituteLogoSquare}[1][4ex]{
+\providecommand{\gothamInstituteLogoSquare}[1][4ex]{
%\includegraphics[height=#1]{gotham-logo.pdf}
}
\defbeamertemplate{includeLogo}{default/gotham~square}{
@@ -5473,7 +5542,7 @@
% Hyphen used as separator between title of the frame and its subtitle (within frametitle template).
% \TestFiles{ gotham-test-047}
% \begin{macrocode}
-\newcommand{\gothamFrameSubtitleSep}{
+\providecommand{\gothamFrameSubtitleSep}{
% \\[-.42em] % if newline (as default Beamer)
% or if same line with a -- separator.
\ ---~
@@ -5510,8 +5579,8 @@
\begin{beamercolorbox}[
wd=\paperwidth,
sep=0pt,
- leftskip=\gotham at frametitle@leftpadding,
- rightskip=\gotham at frametitle@rightpadding,
+ leftskip=\gothamFrametitleLeftpading,
+ rightskip=\gothamFrametitleRightpading,
]{frametitle}
\gotham at frametitlestrut@start
\insertframetitle
@@ -5548,8 +5617,8 @@
\begin{beamercolorbox}[
wd=\paperwidth,
sep=0pt,
- leftskip=\gotham at frametitle@leftpadding,
- rightskip=\gotham at frametitle@rightpadding,
+ leftskip=\gothamFrametitleLeftpading,
+ rightskip=\gothamFrametitleRightpading,
]{frametitle}
% put the subtitle in a raisebox to have no influence on the result.
\raisebox{0pt}[0pt][0pt]{
@@ -5578,8 +5647,8 @@
\begin{beamercolorbox}[
wd=\paperwidth,
sep=0pt,
- leftskip=\gotham at frametitle@leftpadding,
- rightskip=\gotham at frametitle@rightpadding,
+ leftskip=\gothamFrametitleLeftpading,
+ rightskip=\gothamFrametitleRightpading,
]{frametitle}
\gotham at frametitlestrut@start
\insertframetitle
@@ -5777,10 +5846,11 @@
% \end{implementation}
% \begin{documentation}
-% \begin{variable}{\gothamFootlineOffset, \gothamFootlineHeight, \gothamFootlineDepth}
+% \begin{variable}{\gothamFootlineVOffset, \gothamFootlineHRightOffset,\gothamFootlineHeight, \gothamFootlineDepth}
% Lengths controlling the position of |footline|.
-% |\gothamFootlineOffset| is controlling space between to bottom of the text (or the footnote) and the footline.
-% |\gothamFootlineOffset| is by default -0.5ex, to have more space in the frame but if the footer is not really used, the space can be even more optimized using |\setlength{\gothamFootlineOffset}{-2.0ex}|.
+% |\gothamFootlineVOffset| is controlling vertical space between to bottom of the text (or the footnote) and the footline.
+% |\gothamFootlineVOffset| is by default -0.5ex, to have more space in the frame but if the footer is not really used, the space can be even more optimized using |\setlength{\gothamFootlineVOffset}{-2.0ex}|.
+% |\gothamFootlineHRightOffset| is horizontal space between the right corner and the footline.
% Obviously, it can be back to "normal" setting it to 0pt.
% |\gothamFootlineHeight| and |\gothamFootlineDepth| are controlling the heigth of the footline and the position of the text within.
% \end{variable}
@@ -5787,18 +5857,20 @@
% \end{documentation}
%%%%%%
% \begin{implementation}
-% \begin{variable}{\gothamFootlineOffset, \gothamFootlineHeight, \gothamFootlineDepth}
+% \begin{variable}{\gothamFootlineVOffset, \gothamFootlineHeight, \gothamFootlineDepth}
% Lengths used in |footline| template.
% \begin{macrocode}
% Footline lengths
% space between to bottom of the text (or the footnote) and the footline
-\newlength{\gothamFootlineOffset}
-\setlength{\gothamFootlineOffset}{-0.5ex}
-
+\newlength{\gothamFootlineVOffset}
\newlength{\gothamFootlineHeight}
-\setlength{\gothamFootlineHeight}{1.5ex}
\newlength{\gothamFootlineDepth}
-\setlength{\gothamFootlineDepth}{0.1ex}
+\newlength{\gothamFootlineHRightOffset}
+
+\setlength{\gothamFootlineVOffset}{-0.5ex}
+\setlength{\gothamFootlineDepth}{0.1ex}
+\setlength{\gothamFootlineHeight}{1.5ex}
+\setlength{\gothamFootlineHRightOffset}{\spaceskip}
% \end{macrocode}
% \end{variable}
% \end{implementation}
@@ -5811,7 +5883,7 @@
% \begin{macrocode}
\defbeamertemplate*{footline}{default/gotham}{
% new line to adjust the footline position.
- \vspace*{\gothamFootlineOffset}
+ \vspace*{\gothamFootlineVOffset}
\begin{beamercolorbox}[
wd=\textwidth,
sep=0pt,
@@ -5829,7 +5901,8 @@
\usebeamertemplate*{frame~footer}
}
\hspace{\gothamRightFooterPadding}
- {\usebeamertemplate{page~number~in~head/foot}}~
+ {\usebeamertemplate{page~number~in~head/foot}}
+ \hspace*{\gothamFootlineHRightOffset}
\end{beamercolorbox}
}
\prop_put:Nnn \l__gotham_template_name_prop {footline/default} {gotham}
@@ -5853,10 +5926,10 @@
% Lengths used in |footer| template for positioning left right and bottom.
% \begin{macrocode}
\newlength{\gothamLeftFooterPadding}
+\newlength{\gothamRightFooterPadding}
+\newlength{\gothamFooterHOffset}
\setlength{\gothamLeftFooterPadding}{2.0ex}
-\newlength{\gothamRightFooterPadding}
\setlength{\gothamRightFooterPadding}{3.5ex}
-\newlength{\gothamFooterHOffset}
\setlength{\gothamFooterHOffset}{0pt}
% \end{macrocode}
% \end{variable}
@@ -6042,15 +6115,16 @@
\newlength{\gothamFootlineRuleLeftPadding}
\newlength{\gothamFootlineRuleHeight}
\newlength{\gothamFootlineRuleLength}
+
\setlength{\gothamFootlineRuleLeftPadding}{7mm}
\setlength{\gothamFootlineRuleHeight}{0.0pt}
% \setlength{\gothamFootlineRuleHeight}{0.5pt} % This is nice also but have a cleaner default, I turned it to 0.
\setlength{\gothamFootlineRuleLength}{15mm}
+% horizontal position (in picture env) for the rotated footer.
\newlength{\gothamHposLeftRotFooter}
\newlength{\gothamHposRightRotFooter}
\newlength{\gothamVposLeftRotFooter}
-% horizontal position (in picture env) for the rotated footer.
\newlength{\gothamVposRightRotFooter}
\setlength{\gothamHposLeftRotFooter}{-7pt}
@@ -6081,15 +6155,18 @@
% \UnitTested
% \TestFiles{gotham-test-048}
% \begin{macrocode}
+\providecommand{\gothamHookFooter}{}
\defbeamertemplate{frame~footer}{default/gotham}{
- % add a ruler but wihtout affecting the dimensions of the footline
+ %%% Add a ruler but wihtout affecting the dimensions of the footline
\vbox to 0pt{
% Vertical stretch to ensure proper spacing
\vss
\hbox to 0pt{
\hspace*{\gothamFootlineRuleLeftPadding}
- \usebeamercolor{frametitle}
- \color{frametitle.bg}
+ % \usebeamercolor{frametitle}
+ % \color{frametitle.bg}
+ \usebeamercolor{footlineRule}
+ \color{footlineRule.fg}
\rule{\gothamFootlineRuleLength}{\gothamFootlineRuleHeight}
\vspace*{
\dimexpr \gothamFootlineHeight -0.25em\relax
@@ -6098,6 +6175,9 @@
\hss
}
}
+ %%% Add Hook
+ \gothamHookFooter{}
+ %%% Add short date
\hspace{\gothamLeftFooterPadding}
\settowidth{\hlenLeftRotFooter}{\hspace{-\gothamLeftFooterPadding}}
\addtolength{\hlenLeftRotFooter}{\gothamHposLeftRotFooter}
@@ -6112,15 +6192,16 @@
\insertshortdate
}
\hfill \
+ %%% Add short title
\hfill \ \insertshorttitle
- % make sure that the vertical space is constant: strut.
- \gotham at strut
+ % make sure that the vertical space is constant: strut.
+ \gotham at strut
\hfill \
\hfill \
- % \ifbool{rotateFooter}{
+ %%% Add short author
\bool_if:NTF \l_gotham_RotateFooter {
% rotateFooter true
- \settowidth{\hlenRightRotFooter}{\hspace{\gothamRightFooterPadding}\usebeamertemplate{page~number~in~head/foot}}
+ \settowidth{\hlenRightRotFooter}{\hspace{\gothamRightFooterPadding}\usebeamertemplate{page~number~in~head/foot}\hspace*{\gothamFootlineHRightOffset}}
\addtolength{\hlenRightRotFooter}{\gothamHposRightRotFooter}
\begin{picture}(0,0)(0,0)
\put(\hlenRightRotFooter,\gothamVposRightRotFooter){\rotatebox{90}{\insertshortauthor}}
@@ -6128,9 +6209,8 @@
}{
% rotateFooter false
\insertshortauthor
- %\hspace{-7em}
}
- % decrease space between progress bar and footer
+ %%% Decrease space between progress bar and footer
\vspace*{\gothamFooterHOffset}
}
\prop_put:Nnn \l__gotham_template_name_prop {frame~footer/default} {gotham}
@@ -6199,7 +6279,7 @@
% \begin{documentation}
% \begin{variable}{\gothamCircleNumberingVshift, \gothamCircleNumberingHshift}
-% Variable lengths controling the vertical and horizontal positioning of the |circle| numbering template.
+% Variable lengths controling the vertical and horizontal positioning of the |circle| frame numbering template.
% \end{variable}
% \end{documentation}
%%%%
@@ -6208,8 +6288,8 @@
% Length used in |raisebox| and |hspace| in |circle| frame numbering.
% \begin{macrocode}
\newlength{\gothamCircleNumberingVshift}
+\newlength{\gothamCircleNumberingHshift}
\setlength{\gothamCircleNumberingVshift}{1.4mm}
-\newlength{\gothamCircleNumberingHshift}
\setlength{\gothamCircleNumberingHshift}{2.6mm}
% \end{macrocode}
% \end{variable}
@@ -6377,7 +6457,7 @@
\defbeamertemplate*{mini~nav~progress~left}{gotham~miniframes~theme}
{
\settoheight{\gotham at temp@heightFrametitle}{\gotham at strut}
- \addtolength{\gotham at temp@heightFrametitle}{\gotham at frametitle@toppadding+\gotham at frametitle@bottompadding+\gothamProgressHeadFootLineheight}
+ \addtolength{\gotham at temp@heightFrametitle}{\gothamFrametitleToppading+\gothamFrametitleBottompading+\gothamProgressHeadFootLineheight}
\setlength{\gotham at temp@PaperheightFrametitle}{\paperheight-\gotham at temp@heightFrametitle-\gothamFootlineHeight-\gothamFootlineDepth-\gothamProgressHeadFootLineheight}
@@ -6395,7 +6475,7 @@
\defbeamertemplate*{mini~nav~progress~right}{gotham~miniframes~theme}
{
\settoheight{\gotham at temp@heightFrametitle}{\gotham at strut}
- \addtolength{\gotham at temp@heightFrametitle}{\gotham at frametitle@toppadding+\gotham at frametitle@bottompadding+\gothamProgressHeadFootLineheight}
+ \addtolength{\gotham at temp@heightFrametitle}{\gothamFrametitleToppading+\gothamFrametitleBottompading+\gothamProgressHeadFootLineheight}
\setlength{\gotham at temp@PaperheightFrametitle}{\paperheight-\gotham at temp@heightFrametitle-\gothamFootlineHeight-\gothamFootlineDepth-\gothamProgressHeadFootLineheight}
@@ -7309,6 +7389,7 @@
% \TestFiles{gotham-test-051}
% \begin{macrocode}
\tl_new:N \l__gotham_out_tmp_mfnposi_tl
+\tl_new:N \l__gotham_out_tmp_pbar_tl
\keys_define:nn { gotham / outer }{
% mini~frames~nav~position default
mini~frames~nav~position .choice:,
@@ -7657,7 +7738,7 @@
\nointerlineskip
\settoheight{\gotham at temp@heightFrametitle}{\gotham at strut}
- \addtolength{\gotham at temp@heightFrametitle}{\gotham at frametitle@toppadding+\gotham at frametitle@bottompadding+\gothamProgressHeadFootLineheight}
+ \addtolength{\gotham at temp@heightFrametitle}{\gothamFrametitleToppading+\gothamFrametitleBottompading+\gothamProgressHeadFootLineheight}
\setlength{\gotham at temp@PaperheightFrametitle}{\paperheight-\gotham at temp@heightFrametitle-\gothamFootlineHeight-\gothamFootlineDepth-0.25\baselineskip}
@@ -7670,7 +7751,7 @@
\nointerlineskip
\settoheight{\gotham at temp@heightFrametitle}{\gotham at strut}
- \addtolength{\gotham at temp@heightFrametitle}{\gotham at frametitle@toppadding+\gotham at frametitle@bottompadding+\gothamProgressHeadFootLineheight}
+ \addtolength{\gotham at temp@heightFrametitle}{\gothamFrametitleToppading+\gothamFrametitleBottompading+\gothamProgressHeadFootLineheight}
\setlength{\gotham at temp@PaperheightFrametitle}{\paperheight-\gotham at temp@heightFrametitle-\gothamFootlineHeight-\gothamFootlineDepth-0.25\baselineskip}
@@ -7792,7 +7873,7 @@
\nointerlineskip
\settoheight{\gotham at temp@heightFrametitle}{\gotham at strut}
- \addtolength{\gotham at temp@heightFrametitle}{\gotham at frametitle@toppadding+\gotham at frametitle@bottompadding+\gothamProgressHeadFootLineheight}
+ \addtolength{\gotham at temp@heightFrametitle}{\gothamFrametitleToppading+\gothamFrametitleBottompading+\gothamProgressHeadFootLineheight}
\setlength{\gotham at temp@PaperheightFrametitle}{\paperheight-\gotham at temp@heightFrametitle-\gothamFootlineHeight-\gothamFootlineDepth-0.25\baselineskip}
@@ -7812,7 +7893,7 @@
\nointerlineskip
\settoheight{\gotham at temp@heightFrametitle}{\gotham at strut}
- \addtolength{\gotham at temp@heightFrametitle}{\gotham at frametitle@toppadding+\gotham at frametitle@bottompadding+\gothamProgressHeadFootLineheight}
+ \addtolength{\gotham at temp@heightFrametitle}{\gothamFrametitleToppading+\gothamFrametitleBottompading+\gothamProgressHeadFootLineheight}
\setlength{\gotham at temp@PaperheightFrametitle}{\paperheight-\gotham at temp@heightFrametitle-\gothamFootlineHeight-\gothamFootlineDepth-0.25\baselineskip}
@@ -7906,7 +7987,7 @@
% Command to be redefined by users.
% \TestFiles{ gotham-test-046b}
% \begin{macrocode}
-\newcommand{\gothamInstituteLogoCircle}[1][4ex]{
+\providecommand{\gothamInstituteLogoCircle}[1][4ex]{
\includegraphics[height=#1]{gotham-logo.pdf}
}
% \end{macrocode}
@@ -7918,7 +7999,7 @@
% Internal command plotting the circle progress and that is used internal in the instituteLogo template within the frametitle template.
% \TestFiles{ gotham-test-046b}
% \begin{macrocode}
-\newcommand{\gothamProgressCircle}{
+\providecommand{\gothamProgressCircle}{
% \tikzexternaldisable
\begin{tikzpicture}[remember~picture,overlay]
% Load colors
@@ -8096,7 +8177,7 @@
% \TestFiles{gotham-test-048}
% \begin{macrocode}
% token list to remember what is the current state
-\tl_new:N \l__gotham_out_tmp_pbar_tl
+% \tl_new:N \l__gotham_out_tmp_pbar_tl
\keys_define:nn { gotham / outer }{
% progressbar~position default
progressbar~position .choice:,
@@ -8653,44 +8734,6 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%
-%
-\providecommand\ifratio[3]{%
- \ifnum#1=169%
- \ifdim\beamer at paperwidth=16.00cm\relax%
- \ifdim\beamer at paperheight=9.00cm\relax%
- #2%
- \else%
- #3%
- \fi%
- \else%
- #3%
- \fi%
- \else%
- \ifnum#1=43%
- \ifdim\beamer at paperwidth=12.80cm\relax%
- \ifdim\beamer at paperheight=9.60cm\relax%
- #2%
- \else%
- #3%
- \fi%
- \else%
- #3%
- \fi%
- \fi%
- \fi%
-}
-\providecommand\ifscreenratio[2]{%
- \ifdim\beamer at paperwidth=16.00cm\relax%
- \ifdim\beamer at paperheight=9.00cm\relax%
- #1%
- \fi%
- \fi%
- \ifdim\beamer at paperwidth=12.80cm\relax%
- \ifdim\beamer at paperheight=9.60cm\relax%
- #2%
- \fi%
- \fi%
-}
% \end{macrocode}
% \end{implementation}
%
@@ -8796,7 +8839,7 @@
}
\def\gotham at plaintitleformat#1{#1}
-\newcommand{\mreducelistspacing}{\vspace{-\topsep}}
+\providecommand{\mreducelistspacing}{\vspace{-\topsep}}
\ProcessOptionsBeamer
\keys_define:nn { gotham / font }
Modified: trunk/Master/texmf-dist/tex/latex/beamertheme-gotham/beamercolorthemegotham.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/beamertheme-gotham/beamercolorthemegotham.sty 2024-11-09 11:21:23 UTC (rev 72807)
+++ trunk/Master/texmf-dist/tex/latex/beamertheme-gotham/beamercolorthemegotham.sty 2024-11-09 16:32:37 UTC (rev 72808)
@@ -21,7 +21,7 @@
%% The Current Maintainer of this work is Romain NOËL.
%% Contributors: Romain NOËL (2023-20**)
%%
-\ProvidesExplPackage{beamercolorthemegotham}{2024/09/20}{1.1.0.b}{Gotham color theme}
+\ProvidesExplPackage{beamercolorthemegotham}{2024-11-11}{1.2.0.a}{Gotham color theme}
\RequirePackage{expl3}
\RequirePackage{xparse}
\RequirePackage{xcolor}
@@ -52,6 +52,7 @@
\colorlet{colorE}{gLightGreen} % example
}{
}
+\providecommand{\gothamHookPostColorBGSet}{}
\cs_new_protected:Nn \__gotham_color_set_style_anthracite:{
\colorlet{colorPale}{gPaleYell} % BG in light/normal mode
@@ -76,11 +77,11 @@
}
%%%%%%
+\colorlet{colorFG}{colorDark}
\colorlet{colorBG}{colorPale}
-\colorlet{colorFG}{colorDark}
+\colorlet{colorStandin}{colorPale}
+\colorlet{colorStandout}{colorA}
\colorlet{colorFrametitle}{colorA}
-\colorlet{colorStandout}{colorA}
-\colorlet{colorStandin}{colorPale}
\colorlet{colorTitlepage}{colorA}
\colorlet{colorFiligrane}{colorB}
\colorlet{colorBackElement}{colorB}
@@ -105,11 +106,13 @@
\colorlet{colorStandout}{colorAreversed}
\colorlet{colorStandin}{colorFG}
\colorlet{colorTitlepage}{colorAreversed}
-\setbeamercolor{palette~primary}{% reversed color compared to normal text
+%%% dark
+\setbeamercolor{primary~palette}{% reversed color compared to normal text
use=normal~text,
fg=normal~text.bg,
bg=normal~text.fg
}
+\gothamHookPostColorBGSet{}
}
\cs_new_protected:Nn \__gotham_color_set_lightBG:{
@@ -124,11 +127,13 @@
\colorlet{colorStandout}{colorA}
\colorlet{colorStandin}{colorBG}
\colorlet{colorTitlepage}{colorA}
-\setbeamercolor{palette~primary}{
+%%% light
+\setbeamercolor{primary~palette}{
use=normal~text,
fg=normal~text.bg,
bg=normal~text.fg
}
+\gothamHookPostColorBGSet{}
}
\cs_new_protected:Nn \__gotham_color_set_transparentBG:{
@@ -144,11 +149,13 @@
{\usebeamercolor[bg]{normal~text}\colorlet{colorStandin}{bg}}% this is not working because the colorlet is not kept outside of the {} environment...
\colorlet{colorStandin}{colorBG} % since the two previous lines are not working, let define it like light-bg
\colorlet{colorTitlepage}{colorA}
-\setbeamercolor{palette~primary}{
+%%% like light background.
+\setbeamercolor{primary~palette}{
use=normal~text,
fg=colorBG,
bg=normal~text.fg
}
+\gothamHookPostColorBGSet{}
}
\cs_new_protected:Nn \__gotham_color_set_transparent_block:{
@@ -247,8 +254,8 @@
\setbeamercolor{date}{use=normal~text, parent=normal~text}
\setbeamercolor{institute}{use=normal~text, parent=normal~text}
\setbeamercolor{frametitle}{
-use=palette~primary,
-parent=palette~primary,
+use=primary~palette,
+parent=primary~palette,
bg=colorFrametitle
}
\setbeamercolor{title~separator}{
@@ -276,7 +283,8 @@
\setbeamercolor{footnote}{fg=normal~text.fg!90}
\setbeamercolor{footnote~mark}{fg=.}
-\setbeamercolor{frametitleSection}{use=primary~palette, bg=, fg=primary~palette.bg}
+\setbeamercolor{frametitleSection}{use=structure,fg=structure.bg}
+
\setbeamercolor{standout}{use=primary~palette, bg=colorStandout, fg=primary~palette.bg}
\setbeamercolor{standin}{use=normal~text, bg=colorStandin, fg=normal~text.fg}
@@ -283,6 +291,7 @@
\setbeamercolor{section~in~toc}{use=normal~text, parent=normal~text,}
\setbeamercolor{subsection~in~toc}{use=normal~text, parent=normal~text,}
\setbeamercolor{subsubsection~in~toc}{use=normal~text, parent=normal~text,}
+\setbeamercolor{footlineRule}{use=normal~text, parent=normal~text,}
%%%%
\keys_define:nn { gotham / color }
Modified: trunk/Master/texmf-dist/tex/latex/beamertheme-gotham/beamerfontthemegotham.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/beamertheme-gotham/beamerfontthemegotham.sty 2024-11-09 11:21:23 UTC (rev 72807)
+++ trunk/Master/texmf-dist/tex/latex/beamertheme-gotham/beamerfontthemegotham.sty 2024-11-09 16:32:37 UTC (rev 72808)
@@ -21,7 +21,7 @@
%% The Current Maintainer of this work is Romain NOËL.
%% Contributors: Romain NOËL (2023-20**)
%%
-\ProvidesExplPackage{beamerfontthemegotham}{2024/09/20}{1.1.0.b}{gotham font theme}
+\ProvidesExplPackage{beamerfontthemegotham}{2024-11-11}{1.2.0.a}{gotham font theme}
\RequirePackage{expl3}
\RequirePackage{xparse}
\RequirePackage{etoolbox}
@@ -61,7 +61,7 @@
}
}
-\newcommand{\iffontsavailable}[3]
+\providecommand{\iffontsavailable}[3]
{
\int_zero:N \g_gotham_fontsnotfound_int
\clist_map_function:nN { #1 } \checkfont:n
@@ -133,12 +133,14 @@
\setbeamerfont{frametitleToc}{size=\LARGE, series=\bfseries}
\setbeamerfont{frametitleSection}{size*={60}{1}, series=\bfseries}
+\setbeamerfont{page~number~in~head/foot}{size=\footnotesize}
+\setbeamerfont{footline}{size=\scriptsize}
+
\setbeamerfont{block~title}{size=\normalsize, series=\bfseries}
\setbeamerfont{block~title~alerted}{size=\normalsize, series=\bfseries}
\setbeamerfont{caption}{size=\small}
\setbeamerfont{caption~name}{series=\bfseries}
\setbeamerfont{description~item}{series=\bfseries}
-\setbeamerfont{page~number~in~head/foot}{size=\scriptsize}
\setbeamerfont{bibliography~entry~author}{size=\normalsize, series=\normalfont}
\setbeamerfont{bibliography~entry~title}{size=\normalsize, series=\bfseries}
Modified: trunk/Master/texmf-dist/tex/latex/beamertheme-gotham/beamerinnerthemegotham.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/beamertheme-gotham/beamerinnerthemegotham.sty 2024-11-09 11:21:23 UTC (rev 72807)
+++ trunk/Master/texmf-dist/tex/latex/beamertheme-gotham/beamerinnerthemegotham.sty 2024-11-09 16:32:37 UTC (rev 72808)
@@ -21,7 +21,7 @@
%% The Current Maintainer of this work is Romain NOËL.
%% Contributors: Romain NOËL (2023-20**)
%%
-\ProvidesExplPackage{beamerinnerthemegotham}{2024/09/20}{1.1.0.b}{gotham inner theme}
+\ProvidesExplPackage{beamerinnerthemegotham}{2024-11-11}{1.2.0.a}{gotham inner theme}
\RequirePackage{expl3}
\RequirePackage{xparse}
\RequirePackage{calc}
@@ -46,8 +46,6 @@
\colorlet{colorProgBar}{orange}
\colorlet{colorAlert}{red}
\colorlet{colorExample}{green}
-\colorlet{colorFrametitle}{purple}
-\colorlet{colorTitlepage}{purple}
\setbeamercolor{progress~bar}{
use=alerted~text,
fg=colorProgBar,
@@ -82,7 +80,7 @@
\ifbeamer at inframe
\titlepage
\else
-\frame[plain, noframenumbering]{\titlepage}
+\frame[plain, c, noframenumbering]{\titlepage}
\fi
}
\def\titlepage{
@@ -156,8 +154,16 @@
\parbox[c][0pt][c]{0pt}{\gothamtitlepagebg}
\centering
\vfill
-\ifx\inserttitle\@empty\else\usebeamertemplate*{title}\fi
-\ifx\insertsubtitle\@empty\else\usebeamertemplate*{subtitle}\fi
+\ifx\inserttitle\@empty\else
+\parbox{0.9\textwidth}{\centering
+\usebeamertemplate*{title}
+}\\[1.ex]
+\fi
+\ifx\insertsubtitle\@empty\else
+\parbox{0.9\textwidth}{\centering
+\usebeamertemplate*{subtitle}
+}\\[2.ex]
+\fi
\usebeamertemplate*{title~separator}
\expandafter\ifblank\expandafter{\beamer at andstripped}{
\vspace*{1.em}
@@ -298,17 +304,23 @@
\end{tikzpicture}
}
-\begin{minipage}[b][0.35\paperheight]{\textwidth}
+\begin{minipage}[b][0.5\paperheight]{\textwidth}
+\vbox{}
+\vfill
+{
\usebeamerfont{title}
\usebeamercolor[fg]{frametitle}
\inserttitle
-\end{minipage}
-
-\newline
-\begin{minipage}[t][0.1\paperheight]{\textwidth}
+}
+\ifx\insertsubtitle\@empty\else
+\\[1ex]
+{
\usebeamerfont{subtitle}
\usebeamercolor[fg]{frametitle}
\insertsubtitle
+}
+\fi
+\vspace{1.\baselineskip}
\end{minipage}
\ifx\inserttitlegraphic\@empty\else
@@ -325,7 +337,7 @@
}{
\newline
\begin{minipage}[t]{\textwidth}
-\vspace*{-1.5\baselineskip}
+\vspace*{-0.65\baselineskip}
\usebeamertemplate*{author}
\end{minipage}
}
@@ -531,26 +543,24 @@
}
\prop_put:Nnn \l__gotham_template_name_prop {background~canvas/standout} {gotham}
-\defbeamertemplate*{standout}{gotham}{%
+\defbeamertemplate*{standout}{gotham}{
\setbeamertemplate{background~canvas}[standout/\prop_item:Nn \l__gotham_template_name_prop {background~canvas/standout}]
\usebeamerfont{standout}
-\ifbeamercolorempty[bg]{palette~primary}{
+\ifbeamercolorempty[bg]{primary~palette}{
\setbeamercolor{background~canvas}{
-use=palette~primary,
-bg=palette~primary.fg
+use=primary~palette,
+bg=primary~palette.fg
}
}{
\setbeamercolor{background~canvas}{
-use=palette~primary,
-bg=palette~primary.bg
+use=primary~palette,
+bg=primary~palette.bg
}
}
-\setbeamercolor{local~structure}{
-fg=palette~primary.bg
+\setbeamercolor{local~structure}{fg=primary~palette.bg}
+\usebeamercolor[fg]{primary~palette}
}
-\usebeamercolor[fg]{palette~primary}
-}
%%%%%%
\newenvironment{standoutenv}{
@@ -589,15 +599,35 @@
%%%%
\keys_define:nn { gotham / inner }
{
+standout~BG~template .usage:n = { general },
+standout~BG~template .default:n = { gotham },
+standout~BG~template .code:n = {
+\__gotham_set_prop_template:nn{background~canvas/standout}{#1}
+},
+}
+\keys_define:nn { gotham / inner }
+{
+standin~BG~template .usage:n = { general },
+standin~BG~template .default:n = { gotham },
+standin~BG~template .code:n = {
+\__gotham_set_prop_template:nn{background~canvas/standin}{#1}
+},
+}
+\keys_define:nn { gotham / inner }
+{
standout~template .usage:n = { general },
standout~template .default:n = { gotham },
-standout~template .code:n = { \__gotham_set_prop_template:nn{background~canvas/standout}{#1} },
+standout~template .code:n = {
+\__gotham_set_template:nn{standout}{#1}
+},
}
\keys_define:nn { gotham / inner }
{
standin~template .usage:n = { general },
standin~template .default:n = { gotham },
-standin~template .code:n = { \__gotham_set_prop_template:nn{background~canvas/standin}{#1} },
+standin~template .code:n = {
+\__gotham_set_template:nn{standin}{#1}
+},
}
%%%% Sections %%%%
@@ -810,11 +840,11 @@
%%%%%%
\newlength{\gotham at progressonsectionpage}
-\newlength{\gotham at progressonsectionpage@linewidth}
-\setlength{\gotham at progressonsectionpage@linewidth}{3pt}
+\newlength{\gothamProgressSectionHeight}
+\setlength{\gothamProgressSectionHeight}{3pt}
\defbeamertemplate{progress~bar~in~section~page}{empty}{
-\vspace{\gotham at progressonsectionpage@linewidth+1ex}
+\vspace{\gothamProgressSectionHeight+1ex}
}
\def\inserttotalframenumber{100}
@@ -823,8 +853,8 @@
\textwidth * \ratio{\insertframenumber~pt}{\inserttotalframenumber~pt}
}
\begin{tikzpicture}
-\fill[bg] (0,0) rectangle (\textwidth, \gotham at progressonsectionpage@linewidth);
-\fill[fg] (0,0) rectangle (\gotham at progressonsectionpage, \gotham at progressonsectionpage@linewidth);
+\fill[bg] (0,0) rectangle (\textwidth, \gothamProgressSectionHeight);
+\fill[fg] (0,0) rectangle (\gotham at progressonsectionpage, \gothamProgressSectionHeight);
\end{tikzpicture}
}
@@ -1006,8 +1036,8 @@
\paperwidth * \ratio{\insertframenumber pt}{\inserttotalframenumber pt}
}
\begin{tikzpicture}
-\fill[bg] (0,0) rectangle (\paperwidth, \gotham at progressonsectionpage@linewidth);
-\fill[fg] (0,0) rectangle (\gotham at progressonsectionpage, \gotham at progressonsectionpage@linewidth);
+\fill[bg] (0,0) rectangle (\paperwidth, \gothamProgressSectionHeight);
+\fill[fg] (0,0) rectangle (\gotham at progressonsectionpage, \gothamProgressSectionHeight);
\end{tikzpicture}
}
@@ -1613,7 +1643,7 @@
\\
}
\defbeamertemplate{subsection~in~toc}{gotham~simple}{
-\quad{{\inserttocsectionnumber}.\inserttocsubsectionnumber.}~\inserttocsubsection%
+\quad{{\inserttocsectionnumber}.\inserttocsubsectionnumber.}~\inserttocsubsection
\\
}
\defbeamertemplate{subsubsection~in~toc}{gotham~simple}{
@@ -1857,7 +1887,7 @@
\setlength{\parskip}{\gotham at parskip}
\linespread{1.15}
-\newcommand{\gotham at block}[1]{
+\providecommand{\gotham at block}[1]{
\par\vskip\medskipamount
\setlength{\parskip}{0pt}
Modified: trunk/Master/texmf-dist/tex/latex/beamertheme-gotham/beamerouterthemegotham.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/beamertheme-gotham/beamerouterthemegotham.sty 2024-11-09 11:21:23 UTC (rev 72807)
+++ trunk/Master/texmf-dist/tex/latex/beamertheme-gotham/beamerouterthemegotham.sty 2024-11-09 16:32:37 UTC (rev 72808)
@@ -21,7 +21,7 @@
%% The Current Maintainer of this work is Romain NOËL.
%% Contributors: Romain NOËL (2023-20**)
%%
-\ProvidesExplPackage{beamerouterthemegotham}{2024/09/20}{1.1.0.b}{gotham outer theme}
+\ProvidesExplPackage{beamerouterthemegotham}{2024-11-11}{1.2.0.a}{gotham outer theme}
\RequirePackage{expl3}
\RequirePackage{xfp}
\RequirePackage{calc}
@@ -43,8 +43,6 @@
\colorlet{colorProgBar}{orange}
\colorlet{colorAlert}{red}
\colorlet{colorExample}{green}
-\colorlet{colorFrametitle}{purple}
-\colorlet{colorTitlepage}{purple}
\setbeamercolor{progress~bar}{
use=alerted~text,
fg=colorProgBar,
@@ -163,10 +161,9 @@
\setlength{\sidebarLeftHOffset}{+0.5ex}
%%%%%%
-\newcommand{\gothamRightFiligrane}{
-
+\providecommand{\gothamRightFiligrane}{
}
-\newcommand{\gothamLeftFiligrane}{
+\providecommand{\gothamLeftFiligrane}{
}
\defbeamertemplate{sidebar~right}{default/beamer}{
@@ -287,31 +284,31 @@
%%% Frametitle %%%
%%%%%%
-\newlength{\gotham at frametitle@toppadding}
-\setlength{\gotham at frametitle@toppadding}{2.2ex}
-\newlength{\gotham at frametitle@bottompadding}
-\setlength{\gotham at frametitle@bottompadding}{2.2ex}
-\newlength{\gotham at frametitle@leftpadding}
-\setlength{\gotham at frametitle@leftpadding}{2.2ex}
-\newlength{\gotham at frametitle@rightpadding}
-\setlength{\gotham at frametitle@rightpadding}{2.2ex}
+\newlength{\gothamFrametitleToppading}
+\newlength{\gothamFrametitleBottompading}
+\newlength{\gothamFrametitleLeftpading}
+\newlength{\gothamFrametitleRightpading}
+\setlength{\gothamFrametitleToppading}{2.2ex}
+\setlength{\gothamFrametitleBottompading}{2.2ex}
+\setlength{\gothamFrametitleLeftpading}{2.2ex}
+\setlength{\gothamFrametitleRightpading}{2.2ex}
\providecommand{\gotham at strut}{
\vphantom{ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz (/)}
}
-\newcommand{\gotham at frametitlestrut@start}{
-\rule{0pt}{\gotham at frametitle@toppadding +
+\providecommand{\gotham at frametitlestrut@start}{
+\rule{0pt}{\gothamFrametitleToppading +
\totalheightof{
\ifcsdef{gotham at frametitleformat}{\gotham at frametitleformat{X}}{X}
}
}
}
-\newcommand{\gotham at frametitlestrut@end}{
-\rule[-\gotham at frametitle@bottompadding]{0pt}{\gotham at frametitle@bottompadding}
+\providecommand{\gotham at frametitlestrut@end}{
+\rule[-\gothamFrametitleBottompading]{0pt}{\gothamFrametitleBottompading}
}
%%%%%%
-\newcommand{\gothamInstituteLogoSquare}[1][4ex]{
+\providecommand{\gothamInstituteLogoSquare}[1][4ex]{
}
\defbeamertemplate{includeLogo}{default/gotham~square}{
\gothamInstituteLogoSquare
@@ -333,7 +330,7 @@
\prop_put:Nnn \l__gotham_template_name_prop {instituteLogo/default} {gotham}
%%%%%%
-\newcommand{\gothamFrameSubtitleSep}{
+\providecommand{\gothamFrameSubtitleSep}{
\ ---~
}
@@ -346,8 +343,8 @@
\begin{beamercolorbox}[
wd=\paperwidth,
sep=0pt,
-leftskip=\gotham at frametitle@leftpadding,
-rightskip=\gotham at frametitle@rightpadding,
+leftskip=\gothamFrametitleLeftpading,
+rightskip=\gothamFrametitleRightpading,
]{frametitle}
\gotham at frametitlestrut@start
\insertframetitle
@@ -375,8 +372,8 @@
\begin{beamercolorbox}[
wd=\paperwidth,
sep=0pt,
-leftskip=\gotham at frametitle@leftpadding,
-rightskip=\gotham at frametitle@rightpadding,
+leftskip=\gothamFrametitleLeftpading,
+rightskip=\gothamFrametitleRightpading,
]{frametitle}
\raisebox{0pt}[0pt][0pt]{
\raisebox{-0.3ex}{
@@ -394,8 +391,8 @@
\begin{beamercolorbox}[
wd=\paperwidth,
sep=0pt,
-leftskip=\gotham at frametitle@leftpadding,
-rightskip=\gotham at frametitle@rightpadding,
+leftskip=\gothamFrametitleLeftpading,
+rightskip=\gothamFrametitleRightpading,
]{frametitle}
\gotham at frametitlestrut@start
\insertframetitle
@@ -487,16 +484,18 @@
\__gotham_add_beamerframe_key:n {nofootline}
%%%%%%
-\newlength{\gothamFootlineOffset}
-\setlength{\gothamFootlineOffset}{-0.5ex}
-
+\newlength{\gothamFootlineVOffset}
\newlength{\gothamFootlineHeight}
-\setlength{\gothamFootlineHeight}{1.5ex}
\newlength{\gothamFootlineDepth}
+\newlength{\gothamFootlineHRightOffset}
+
+\setlength{\gothamFootlineVOffset}{-0.5ex}
\setlength{\gothamFootlineDepth}{0.1ex}
+\setlength{\gothamFootlineHeight}{1.5ex}
+\setlength{\gothamFootlineHRightOffset}{\spaceskip}
\defbeamertemplate*{footline}{default/gotham}{
-\vspace*{\gothamFootlineOffset}
+\vspace*{\gothamFootlineVOffset}
\begin{beamercolorbox}[
wd=\textwidth,
sep=0pt,
@@ -512,7 +511,8 @@
\usebeamertemplate*{frame~footer}
}
\hspace{\gothamRightFooterPadding}
-{\usebeamertemplate{page~number~in~head/foot}}~
+{\usebeamertemplate{page~number~in~head/foot}}
+\hspace*{\gothamFootlineHRightOffset}
\end{beamercolorbox}
}
\prop_put:Nnn \l__gotham_template_name_prop {footline/default} {gotham}
@@ -521,10 +521,10 @@
%%%%%%
\newlength{\gothamLeftFooterPadding}
+\newlength{\gothamRightFooterPadding}
+\newlength{\gothamFooterHOffset}
\setlength{\gothamLeftFooterPadding}{2.0ex}
-\newlength{\gothamRightFooterPadding}
\setlength{\gothamRightFooterPadding}{3.5ex}
-\newlength{\gothamFooterHOffset}
\setlength{\gothamFooterHOffset}{0pt}
\defbeamertemplate{frame~footer}{none}{}
@@ -586,6 +586,7 @@
\newlength{\gothamFootlineRuleLeftPadding}
\newlength{\gothamFootlineRuleHeight}
\newlength{\gothamFootlineRuleLength}
+
\setlength{\gothamFootlineRuleLeftPadding}{7mm}
\setlength{\gothamFootlineRuleHeight}{0.0pt}
\setlength{\gothamFootlineRuleLength}{15mm}
@@ -603,13 +604,15 @@
\newlength{\hlenRightRotFooter}
\newlength{\hlenLeftRotFooter}
+\providecommand{\gothamHookFooter}{}
\defbeamertemplate{frame~footer}{default/gotham}{
+%%% Add a ruler but wihtout affecting the dimensions of the footline
\vbox to 0pt{
\vss
\hbox to 0pt{
\hspace*{\gothamFootlineRuleLeftPadding}
-\usebeamercolor{frametitle}
-\color{frametitle.bg}
+\usebeamercolor{footlineRule}
+\color{footlineRule.fg}
\rule{\gothamFootlineRuleLength}{\gothamFootlineRuleHeight}
\vspace*{
\dimexpr \gothamFootlineHeight -0.25em\relax
@@ -617,6 +620,9 @@
\hss
}
}
+%%% Add Hook
+\gothamHookFooter{}
+%%% Add short date
\hspace{\gothamLeftFooterPadding}
\settowidth{\hlenLeftRotFooter}{\hspace{-\gothamLeftFooterPadding}}
\addtolength{\hlenLeftRotFooter}{\gothamHposLeftRotFooter}
@@ -628,12 +634,14 @@
\insertshortdate
}
\hfill \
+%%% Add short title
\hfill \ \insertshorttitle
\gotham at strut
\hfill \
\hfill \
+%%% Add short author
\bool_if:NTF \l_gotham_RotateFooter {
-\settowidth{\hlenRightRotFooter}{\hspace{\gothamRightFooterPadding}\usebeamertemplate{page~number~in~head/foot}}
+\settowidth{\hlenRightRotFooter}{\hspace{\gothamRightFooterPadding}\usebeamertemplate{page~number~in~head/foot}\hspace*{\gothamFootlineHRightOffset}}
\addtolength{\hlenRightRotFooter}{\gothamHposRightRotFooter}
\begin{picture}(0,0)(0,0)
\put(\hlenRightRotFooter,\gothamVposRightRotFooter){\rotatebox{90}{\insertshortauthor}}
@@ -641,6 +649,7 @@
}{
\insertshortauthor
}
+%%% Decrease space between progress bar and footer
\vspace*{\gothamFooterHOffset}
}
\prop_put:Nnn \l__gotham_template_name_prop {frame~footer/default} {gotham}
@@ -666,8 +675,8 @@
%%%%
\newlength{\gothamCircleNumberingVshift}
+\newlength{\gothamCircleNumberingHshift}
\setlength{\gothamCircleNumberingVshift}{1.4mm}
-\newlength{\gothamCircleNumberingHshift}
\setlength{\gothamCircleNumberingHshift}{2.6mm}
\defbeamertemplate{page~number~in~head/foot}{circle}{
@@ -753,7 +762,7 @@
\defbeamertemplate*{mini~nav~progress~left}{gotham~miniframes~theme}
{
\settoheight{\gotham at temp@heightFrametitle}{\gotham at strut}
-\addtolength{\gotham at temp@heightFrametitle}{\gotham at frametitle@toppadding+\gotham at frametitle@bottompadding+\gothamProgressHeadFootLineheight}
+\addtolength{\gotham at temp@heightFrametitle}{\gothamFrametitleToppading+\gothamFrametitleBottompading+\gothamProgressHeadFootLineheight}
\setlength{\gotham at temp@PaperheightFrametitle}{\paperheight-\gotham at temp@heightFrametitle-\gothamFootlineHeight-\gothamFootlineDepth-\gothamProgressHeadFootLineheight}
@@ -768,7 +777,7 @@
\defbeamertemplate*{mini~nav~progress~right}{gotham~miniframes~theme}
{
\settoheight{\gotham at temp@heightFrametitle}{\gotham at strut}
-\addtolength{\gotham at temp@heightFrametitle}{\gotham at frametitle@toppadding+\gotham at frametitle@bottompadding+\gothamProgressHeadFootLineheight}
+\addtolength{\gotham at temp@heightFrametitle}{\gothamFrametitleToppading+\gothamFrametitleBottompading+\gothamProgressHeadFootLineheight}
\setlength{\gotham at temp@PaperheightFrametitle}{\paperheight-\gotham at temp@heightFrametitle-\gothamFootlineHeight-\gothamFootlineDepth-\gothamProgressHeadFootLineheight}
@@ -1336,6 +1345,7 @@
%%%%
\tl_new:N \l__gotham_out_tmp_mfnposi_tl
+\tl_new:N \l__gotham_out_tmp_pbar_tl
\keys_define:nn { gotham / outer }{
mini~frames~nav~position .choice:,
mini~frames~nav~position .usage:n = { general },
@@ -1548,7 +1558,7 @@
\nointerlineskip
\settoheight{\gotham at temp@heightFrametitle}{\gotham at strut}
-\addtolength{\gotham at temp@heightFrametitle}{\gotham at frametitle@toppadding+\gotham at frametitle@bottompadding+\gothamProgressHeadFootLineheight}
+\addtolength{\gotham at temp@heightFrametitle}{\gothamFrametitleToppading+\gothamFrametitleBottompading+\gothamProgressHeadFootLineheight}
\setlength{\gotham at temp@PaperheightFrametitle}{\paperheight-\gotham at temp@heightFrametitle-\gothamFootlineHeight-\gothamFootlineDepth-0.25\baselineskip}
@@ -1561,7 +1571,7 @@
\nointerlineskip
\settoheight{\gotham at temp@heightFrametitle}{\gotham at strut}
-\addtolength{\gotham at temp@heightFrametitle}{\gotham at frametitle@toppadding+\gotham at frametitle@bottompadding+\gothamProgressHeadFootLineheight}
+\addtolength{\gotham at temp@heightFrametitle}{\gothamFrametitleToppading+\gothamFrametitleBottompading+\gothamProgressHeadFootLineheight}
\setlength{\gotham at temp@PaperheightFrametitle}{\paperheight-\gotham at temp@heightFrametitle-\gothamFootlineHeight-\gothamFootlineDepth-0.25\baselineskip}
@@ -1632,7 +1642,7 @@
\nointerlineskip
\settoheight{\gotham at temp@heightFrametitle}{\gotham at strut}
-\addtolength{\gotham at temp@heightFrametitle}{\gotham at frametitle@toppadding+\gotham at frametitle@bottompadding+\gothamProgressHeadFootLineheight}
+\addtolength{\gotham at temp@heightFrametitle}{\gothamFrametitleToppading+\gothamFrametitleBottompading+\gothamProgressHeadFootLineheight}
\setlength{\gotham at temp@PaperheightFrametitle}{\paperheight-\gotham at temp@heightFrametitle-\gothamFootlineHeight-\gothamFootlineDepth-0.25\baselineskip}
@@ -1651,7 +1661,7 @@
\nointerlineskip
\settoheight{\gotham at temp@heightFrametitle}{\gotham at strut}
-\addtolength{\gotham at temp@heightFrametitle}{\gotham at frametitle@toppadding+\gotham at frametitle@bottompadding+\gothamProgressHeadFootLineheight}
+\addtolength{\gotham at temp@heightFrametitle}{\gothamFrametitleToppading+\gothamFrametitleBottompading+\gothamProgressHeadFootLineheight}
\setlength{\gotham at temp@PaperheightFrametitle}{\paperheight-\gotham at temp@heightFrametitle-\gothamFootlineHeight-\gothamFootlineDepth-0.25\baselineskip}
@@ -1693,11 +1703,11 @@
}
%%%%%%
-\newcommand{\gothamInstituteLogoCircle}[1][4ex]{
+\providecommand{\gothamInstituteLogoCircle}[1][4ex]{
\includegraphics[height=#1]{gotham-logo.pdf}
}
-\newcommand{\gothamProgressCircle}{
+\providecommand{\gothamProgressCircle}{
\begin{tikzpicture}[remember~picture,overlay]
\usebeamercolor{standin}
\usebeamercolor{frametitle}
@@ -1829,7 +1839,6 @@
}
%%%%
-\tl_new:N \l__gotham_out_tmp_pbar_tl
\keys_define:nn { gotham / outer }{
progressbar~position .choice:,
progressbar~position .usage:n = { general },
Modified: trunk/Master/texmf-dist/tex/latex/beamertheme-gotham/beamerthemegotham.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/beamertheme-gotham/beamerthemegotham.sty 2024-11-09 11:21:23 UTC (rev 72807)
+++ trunk/Master/texmf-dist/tex/latex/beamertheme-gotham/beamerthemegotham.sty 2024-11-09 16:32:37 UTC (rev 72808)
@@ -21,49 +21,12 @@
%% The Current Maintainer of this work is Romain NOËL.
%% Contributors: Romain NOËL (2023-20**)
%%
-\ProvidesExplPackage{beamerthemegotham}{2024/09/20}{1.1.0.b}{A modern, minimal-ish, versatile and extendable yet robust theme for Beamer}
+\ProvidesExplPackage{beamerthemegotham}{2024-11-11}{1.2.0.a}{A modern, minimal-ish, versatile and extendable yet robust theme for Beamer}
\RequirePackage{expl3}
\RequirePackage{xparse}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%% PACKAGE %%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\providecommand\ifratio[3]{%
-\ifnum#1=169%
-\ifdim\beamer at paperwidth=16.00cm\relax%
-\ifdim\beamer at paperheight=9.00cm\relax%
-#2%
-\else%
-#3%
-\fi%
-\else%
-#3%
-\fi%
-\else%
-\ifnum#1=43%
-\ifdim\beamer at paperwidth=12.80cm\relax%
-\ifdim\beamer at paperheight=9.60cm\relax%
-#2%
-\else%
-#3%
-\fi%
-\else%
-#3%
-\fi%
-\fi%
-\fi%
-}
-\providecommand\ifscreenratio[2]{%
-\ifdim\beamer at paperwidth=16.00cm\relax%
-\ifdim\beamer at paperheight=9.00cm\relax%
-#1%
-\fi%
-\fi%
-\ifdim\beamer at paperwidth=12.80cm\relax%
-\ifdim\beamer at paperheight=9.60cm\relax%
-#2%
-\fi%
-\fi%
-}
\usefonttheme{gotham}
\usecolortheme{gotham}
@@ -137,7 +100,7 @@
}
\def\gotham at plaintitleformat#1{#1}
-\newcommand{\mreducelistspacing}{\vspace{-\topsep}}
+\providecommand{\mreducelistspacing}{\vspace{-\topsep}}
\ProcessOptionsBeamer
\keys_define:nn { gotham / font }
More information about the tex-live-commits
mailing list.