From 490276c482d6fabcd3142c95a3e86ca2bfb24f9c Mon Sep 17 00:00:00 2001 From: Fabian Weik Date: Tue, 11 Jul 2023 18:31:39 +0200 Subject: [PATCH] support more than 36 frames --- tex/beamerthemeStuttgart.sty | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/tex/beamerthemeStuttgart.sty b/tex/beamerthemeStuttgart.sty index a22d195..ec4f3b6 100644 --- a/tex/beamerthemeStuttgart.sty +++ b/tex/beamerthemeStuttgart.sty @@ -471,8 +471,6 @@ \colorlet{pbgray}{mittelblau} \def\progressbar@progressbar{} % the progress bar -\newcount\progressbar@tmpcounta % auxiliary counter -\newcount\progressbar@tmpcountb % auxiliary counter \newdimen\progressbar@pbht % progressbar height \newdimen\progressbar@pbwd % progressbar width \newdimen\progressbar@tmpdim % auxiliary dimension @@ -481,11 +479,9 @@ \progressbar@pbht=0.4ex \def\progressbar@progressbar{% - \progressbar@tmpcounta=\insertframenumber - \progressbar@tmpcountb=\inserttotalframenumber \progressbar@tmpdim=\progressbar@pbwd - \multiply\progressbar@tmpdim by \progressbar@tmpcounta - \divide\progressbar@tmpdim by \progressbar@tmpcountb + \divide\progressbar@tmpdim by \inserttotalframenumber + \multiply\progressbar@tmpdim by \insertframenumber \begin{tikzpicture} \shade[top color=pbgray,bottom color=pbgray,middle color=pbgray]