Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
i4
TeX Vorlagen
neo
Commits
a7fad7f1
Commit
a7fad7f1
authored
Jul 23, 2018
by
pacien
Browse files
Fix #334: restrict standout theme to inner content
So that the speaker's notes aren't affected by the typesetting of the slide.
parent
1a42fa19
Changes
1
Hide whitespace changes
Inline
Side-by-side
source/beamerinnerthememetropolis.dtx
View file @
a7fad7f1
...
...
@@ -536,7 +536,7 @@
% Optional arguments to Beamer's frames are implemented using
% |\define@key| from the |keyval| package, which will execute code when the
% defined option is called. For the |standout| option, we begin a group,
% change the colors and
fonts, and set a \centering alignment
.
% change the colors and
set frame options
.
%
% \begin{macrocode}
\providebool{metropolis@standout}
...
...
@@ -559,9 +559,7 @@
\setbeamercolor{local structure}{
fg=palette primary.fg
}
\centering
\usebeamercolor[fg]{palette primary}
\usebeamerfont{standout}
}
% \end{macrocode}
%
...
...
@@ -580,6 +578,19 @@
}{}
}{}{}
% \end{macrocode}
%
% We set the fonts and the \centering alignment on the inner content,
% in such a way that the speaker's note layout isn't affected by the custom
% formatting.
%
% \begin{macrocode}
\AtBeginEnvironment{beamer@frameslide}{
\ifbool{metropolis@standout}{
\centering
\usebeamerfont{standout}
}{}
}
% \end{macrocode}
% \end{macro}
%
% \subsubsection{Process package options}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment