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

View File

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