From 05c17badab69b0b848bceca630ccda0cb75b30f9 Mon Sep 17 00:00:00 2001 From: Lukas Pietzschmann Date: Wed, 17 Apr 2024 10:33:10 +0200 Subject: [PATCH] Fixed the wobbly footer again --- beamerthemeawesome.sty | 2 ++ 1 file changed, 2 insertions(+) diff --git a/beamerthemeawesome.sty b/beamerthemeawesome.sty index 29a9567..7cfaa28 100644 --- a/beamerthemeawesome.sty +++ b/beamerthemeawesome.sty @@ -428,6 +428,8 @@ segmentation style={solid, shorten >=1mm,shorten <=1mm, line width=\smile@linewi \global\maxfooterwd=#1% \immediate\write\@auxout{\global\maxfooterwd=\the#1}% \fi} +% Make sure we always put the current max footer width into the aux file +\AtEndDocument{\immediate\write\@auxout{\global\maxfooterwd=\the\maxfooterwd}} \newsavebox\footerright \def\setfooter#1#2#3{\savebox\footerright{\color{white}\hspace{0.3cm}#3\hspace{0.3cm}} \updatemaxfooterwd{\wd\footerright}\leavevmode\hbox{%