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{%