fix: add % at the end of some commands

This commit is contained in:
Johan Larsson 2024-07-04 08:34:56 +02:00
parent 1ca26e857a
commit 33b9833f21
2 changed files with 7 additions and 7 deletions

View File

@ -340,8 +340,8 @@
\setbeamertemplate{progress bar in section page}{
\pgfmathsetlength{\moloch@progressonsectionpage}{
\textwidth * min(1,\insertframenumber/\inserttotalframenumber)
}
\tikzexternaldisable
}%
\tikzexternaldisable%
\begin{tikzpicture}
\mmzUnmemoizable%
\fill[bg]
@ -353,7 +353,7 @@
rectangle
(\moloch@progressonsectionpage, \moloch@progressonsectionpage@linewidth);
\end{tikzpicture}
\tikzexternalenable
\tikzexternalenable%
}
% \end{macrocode}
%

View File

@ -192,12 +192,12 @@
\newlength{\moloch@progressinheadfoot@linewidth}
\setlength{\moloch@progressinheadfoot@linewidth}{0.4pt}
\setbeamertemplate{progress bar in head/foot}{
\nointerlineskip
\nointerlineskip%
\pgfmathsetlength{\moloch@progressinheadfoot}{%
\paperwidth * min(1,\insertframenumber/\inserttotalframenumber)%
}
}%
\begin{beamercolorbox}[wd=\paperwidth]{progress bar in head/foot}
\tikzexternaldisable
\tikzexternaldisable%
\begin{tikzpicture}
\mmzUnmemoizable%
\fill[bg]
@ -209,7 +209,7 @@
rectangle
(\moloch@progressinheadfoot, \moloch@progressinheadfoot@linewidth);
\end{tikzpicture}
\tikzexternalenable
\tikzexternalenable%
\end{beamercolorbox}
}
% \end{macrocode}