mirror of https://github.com/matze/mtheme.git
Fix the "Overfull \hbox (0.4pt too wide)" bug when using progress bar.
This commit is contained in:
parent
127b9aca65
commit
3b08e613fe
|
@ -197,7 +197,7 @@
|
||||||
% \begin{macrocode}
|
% \begin{macrocode}
|
||||||
\setbeamertemplate{title separator}{
|
\setbeamertemplate{title separator}{
|
||||||
\begin{tikzpicture}
|
\begin{tikzpicture}
|
||||||
\draw[fg, fill=fg] (0,0) rectangle (\textwidth, 0.4pt);
|
\fill[fg] (0,0) rectangle (\textwidth, 0.4pt);
|
||||||
\end{tikzpicture}%
|
\end{tikzpicture}%
|
||||||
\par%
|
\par%
|
||||||
}
|
}
|
||||||
|
@ -332,8 +332,8 @@
|
||||||
\textwidth * \ratio{\insertframenumber pt}{\inserttotalframenumber pt}%
|
\textwidth * \ratio{\insertframenumber pt}{\inserttotalframenumber pt}%
|
||||||
}%
|
}%
|
||||||
\begin{tikzpicture}
|
\begin{tikzpicture}
|
||||||
\draw[bg, fill=bg] (0,0) rectangle (\textwidth, 0.4pt);
|
\fill[bg] (0,0) rectangle (\textwidth, 0.4pt);
|
||||||
\draw[fg, fill=fg] (0,0) rectangle (\metropolis@progressonsectionpage, 0.4pt);
|
\fill[fg] (0,0) rectangle (\metropolis@progressonsectionpage, 0.4pt);
|
||||||
\end{tikzpicture}%
|
\end{tikzpicture}%
|
||||||
}
|
}
|
||||||
% \end{macrocode}
|
% \end{macrocode}
|
||||||
|
|
|
@ -187,8 +187,8 @@
|
||||||
}%
|
}%
|
||||||
\begin{beamercolorbox}[wd=\paperwidth]{progress bar in head/foot}
|
\begin{beamercolorbox}[wd=\paperwidth]{progress bar in head/foot}
|
||||||
\begin{tikzpicture}
|
\begin{tikzpicture}
|
||||||
\draw[bg, fill=bg] (0,0) rectangle (\paperwidth, 0.4pt);
|
\fill[bg] (0,0) rectangle (\paperwidth, 0.4pt);
|
||||||
\draw[fg, fill=fg] (0,0) rectangle (\metropolis@progressinheadfoot, 0.4pt);
|
\fill[fg] (0,0) rectangle (\metropolis@progressinheadfoot, 0.4pt);
|
||||||
\end{tikzpicture}%
|
\end{tikzpicture}%
|
||||||
\end{beamercolorbox}
|
\end{beamercolorbox}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue