Merge pull request #200 from wagermn/my-branch

Fix the "Overfull \hbox (0.4pt too wide)" bug when using progress bar.
This commit is contained in:
Matthias Vogelgesang 2016-03-25 09:44:45 +01:00
commit 73d94ddd81
2 changed files with 5 additions and 5 deletions

View File

@ -197,7 +197,7 @@
% \begin{macrocode}
\setbeamertemplate{title separator}{
\begin{tikzpicture}
\draw[fg, fill=fg] (0,0) rectangle (\textwidth, 0.4pt);
\fill[fg] (0,0) rectangle (\textwidth, 0.4pt);
\end{tikzpicture}%
\par%
}
@ -332,8 +332,8 @@
\textwidth * \ratio{\insertframenumber pt}{\inserttotalframenumber pt}%
}%
\begin{tikzpicture}
\draw[bg, fill=bg] (0,0) rectangle (\textwidth, 0.4pt);
\draw[fg, fill=fg] (0,0) rectangle (\metropolis@progressonsectionpage, 0.4pt);
\fill[bg] (0,0) rectangle (\textwidth, 0.4pt);
\fill[fg] (0,0) rectangle (\metropolis@progressonsectionpage, 0.4pt);
\end{tikzpicture}%
}
% \end{macrocode}

View File

@ -187,8 +187,8 @@
}%
\begin{beamercolorbox}[wd=\paperwidth]{progress bar in head/foot}
\begin{tikzpicture}
\draw[bg, fill=bg] (0,0) rectangle (\paperwidth, 0.4pt);
\draw[fg, fill=fg] (0,0) rectangle (\metropolis@progressinheadfoot, 0.4pt);
\fill[bg] (0,0) rectangle (\paperwidth, 0.4pt);
\fill[fg] (0,0) rectangle (\metropolis@progressinheadfoot, 0.4pt);
\end{tikzpicture}%
\end{beamercolorbox}
}