Commit 9326308c authored by Michael Eischer's avatar Michael Eischer
Browse files

Ensure that slide numbers don't jump

parent 044fdac1
......@@ -135,11 +135,13 @@
\defbeamertemplate{frame footer}{custom}[1]{ #1 }
% \end{macrocode}
%
% Add strut to ensure that frame numbers don't jump
% \begin{macrocode}
\newcommand{\neo@framenumberingstrut}{\vphantom{0123456789}}
\defbeamertemplate{frame numbering}{none}{}
\defbeamertemplate{frame numbering}{counter}{\insertframenumber}
\defbeamertemplate{frame numbering}{counter}{\neo@framenumberingstrut\insertframenumber}
\defbeamertemplate{frame numbering}{fraction}{
\insertframenumber/\inserttotalframenumber
\neo@framenumberingstrut\insertframenumber/\inserttotalframenumber
}
% \end{macrocode}
% \end{macro}
......
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