From 1eef71d75a82de56ec87ed17621f7f45e2ac2ae9 Mon Sep 17 00:00:00 2001 From: pacien Date: Sun, 22 Jul 2018 23:53:57 +0200 Subject: [PATCH] Fix #335: end standout theme within frame env Restore theme within frame, making standout slides work with ignorenonframetext --- source/beamerinnerthememetropolis.dtx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/beamerinnerthememetropolis.dtx b/source/beamerinnerthememetropolis.dtx index 1c36543..aa79bbc 100644 --- a/source/beamerinnerthememetropolis.dtx +++ b/source/beamerinnerthememetropolis.dtx @@ -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}