diff options
author | Karl Berry <karl@freefriends.org> | 2018-06-25 20:56:02 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-06-25 20:56:02 +0000 |
commit | 9bb712f8fc9e7900a46230fa2430e0c0beaa8806 (patch) | |
tree | 77efee91794470e3fd79c252c198800a0f18d786 /Master/texmf-dist/tex/latex/beamertheme-focus/beamerouterthemefocus.sty | |
parent | 73a726257fb2fa0afadb64ae36f6267d683cfc63 (diff) |
beamertheme-focus (25jun18)
git-svn-id: svn://tug.org/texlive/trunk@48087 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/beamertheme-focus/beamerouterthemefocus.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/beamertheme-focus/beamerouterthemefocus.sty | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/beamertheme-focus/beamerouterthemefocus.sty b/Master/texmf-dist/tex/latex/beamertheme-focus/beamerouterthemefocus.sty index 06810a3aeba..a3eb3d9e72b 100644 --- a/Master/texmf-dist/tex/latex/beamertheme-focus/beamerouterthemefocus.sty +++ b/Master/texmf-dist/tex/latex/beamertheme-focus/beamerouterthemefocus.sty @@ -29,6 +29,8 @@ \usebeamerfont{frametitle} \usebeamercolor[fg]{frametitle} \insertframetitle + % Fix for vertical centering. + \vphantom{ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz(),} }; \end{tikzpicture} \fi @@ -57,7 +59,7 @@ \ifnum\c@framenumber>0 \ifnum\c@framenumber<\inserttotalframenumber \begin{tikzpicture}[overlay, remember picture] - \pgfmathsetmacro{\progress}{(\insertframenumber-1)/\inserttotalframenumber * \textwidth} + \pgfmathsetmacro{\progress}{(\insertframenumber-1)/(\inserttotalframenumber-1) * (\textwidth-2*\beamer@leftmargin)} % Current frame number. \fill[color=main] (current page.south west) rectangle ([shift = {(\progress pt + \beamer@leftmargin, \footlineheight)}] current page.south west); \node at ([shift = {(\progress pt + \beamer@leftmargin, 0.5\footlineheight)}] current page.south west) [anchor = east, inner sep = 0pt] |