Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

\appendix resets templates to plain mode #342

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kno10
Copy link

@kno10 kno10 commented Sep 13, 2018

The metropolis \appendix command is invoking

\pgfkeys{%
      /metropolis/outer/.cd,
      numbering=none,
      progressbar=none}

this will invoke

\setbeamertemplate{frame numbering}[none]
\setbeamertemplate{headline}[plain]
\setbeamertemplate{frametitle}[plain]
\setbeamertemplate{footline}[plain]

IMHO, appendix pages should be numbered, and have headlines, frametitles, footlines. But in particular, this kills any modifications done to these templates. My workaround is to kill the pgfkey .code statements before the appendix, so that metropolis doesn't modify them.

If a user wants to hide numbers, he can simply do

\setbeamertemplate{frame numbering}[none]
\appendix

similar, if he indeed wants the appendix frames to be plain. Resetting them should not be the default.

For the progressbar, IMHO a proper fix for #274 is better than this hack to hide them.

The metropolis `\appendix` command is invoking
```
\pgfkeys{%
      /metropolis/outer/.cd,
      numbering=none,
      progressbar=none}
```
this will invoke
```
\setbeamertemplate{frame numbering}[none]
\setbeamertemplate{headline}[plain]
\setbeamertemplate{frametitle}[plain]
\setbeamertemplate{footline}[plain]
```
IMHO, appendix pages *should* be numbered, and have headlines, frametitles, footlines. But in particular, this kills any modifications done to these templates. My workaround is to kill the pgfkey `.code` statements before the appendix, so that metropolis doesn't modify them.

If a user wants to hide numbers, he can simply do
```
\setbeamertemplate{frame numbering}[none]
\appendix
```
similar, if he indeed wants the appendix frames to be plain. Resetting them should not be the default.

For the progressbar, IMHO a proper fix for matze#274 is better than this hack to hide them.
jolars added a commit to jolars/moloch that referenced this pull request Jan 12, 2024
Remove the custom appendix modification, as per the suggestion in matze#342 by @kno10.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant