Fixed the wobbly footer again
This commit is contained in:
@@ -428,6 +428,8 @@ segmentation style={solid, shorten >=1mm,shorten <=1mm, line width=\smile@linewi
|
|||||||
\global\maxfooterwd=#1%
|
\global\maxfooterwd=#1%
|
||||||
\immediate\write\@auxout{\global\maxfooterwd=\the#1}%
|
\immediate\write\@auxout{\global\maxfooterwd=\the#1}%
|
||||||
\fi}
|
\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
|
\newsavebox\footerright
|
||||||
\def\setfooter#1#2#3{\savebox\footerright{\color{white}\hspace{0.3cm}#3\hspace{0.3cm}}
|
\def\setfooter#1#2#3{\savebox\footerright{\color{white}\hspace{0.3cm}#3\hspace{0.3cm}}
|
||||||
\updatemaxfooterwd{\wd\footerright}\leavevmode\hbox{%
|
\updatemaxfooterwd{\wd\footerright}\leavevmode\hbox{%
|
||||||
|
|||||||
Reference in New Issue
Block a user