Commit 1eef71d7 authored by pacien's avatar pacien
Browse files

Fix #335: end standout theme within frame env

Restore theme within frame, making standout slides work with ignorenonframetext
parent 1a42fa19
...@@ -569,11 +569,11 @@ ...@@ -569,11 +569,11 @@
% in order to restore the colours and fonts for the rest of the % in order to restore the colours and fonts for the rest of the
% presentation. Unfortunately, we cannot use \AfterEndEnvironment{frame} for % presentation. Unfortunately, we cannot use \AfterEndEnvironment{frame} for
% this (see \url{http://tex.stackexchange.com/questions/226319/}). % 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. % exactly once at the end of each slide.
% %
% \begin{macrocode} % \begin{macrocode}
\apptocmd{\beamer@reseteecodes}{% \pretocmd{\beamer@reseteecodes}{%
\ifbool{metropolis@standout}{ \ifbool{metropolis@standout}{
\endgroup \endgroup
\boolfalse{metropolis@standout} \boolfalse{metropolis@standout}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment