Skip to content

Commit

Permalink
Fix #335: end standout theme within frame env
Browse files Browse the repository at this point in the history
Restore theme within frame, making standout slides work with ignorenonframetext
  • Loading branch information
pacien committed Aug 1, 2018
1 parent 1a42fa1 commit 1eef71d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/beamerinnerthememetropolis.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -569,11 +569,11 @@
% in order to restore the colours and fonts for the rest of the
% presentation. Unfortunately, we cannot use \AfterEndEnvironment{frame} for
% this (see \url{http://tex.stackexchange.com/questions/226319/}).
% Instead, we add the |\endgroup| to |\beamer@reseteecodes|, which is run
% Instead, we prepend the |\endgroup| to |\beamer@reseteecodes|, which is run
% exactly once at the end of each slide.
%
% \begin{macrocode}
\apptocmd{\beamer@reseteecodes}{%
\pretocmd{\beamer@reseteecodes}{%
\ifbool{metropolis@standout}{
\endgroup
\boolfalse{metropolis@standout}
Expand Down

0 comments on commit 1eef71d

Please sign in to comment.