summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/beamertheme-focus
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-06-25 20:56:02 +0000
committerKarl Berry <karl@freefriends.org>2018-06-25 20:56:02 +0000
commit9bb712f8fc9e7900a46230fa2430e0c0beaa8806 (patch)
tree77efee91794470e3fd79c252c198800a0f18d786 /Master/texmf-dist/tex/latex/beamertheme-focus
parent73a726257fb2fa0afadb64ae36f6267d683cfc63 (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')
-rw-r--r--Master/texmf-dist/tex/latex/beamertheme-focus/beamerouterthemefocus.sty4
-rw-r--r--Master/texmf-dist/tex/latex/beamertheme-focus/beamerthemefocus.sty2
2 files changed, 4 insertions, 2 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]
diff --git a/Master/texmf-dist/tex/latex/beamertheme-focus/beamerthemefocus.sty b/Master/texmf-dist/tex/latex/beamertheme-focus/beamerthemefocus.sty
index ec0244a13a2..98aa019495f 100644
--- a/Master/texmf-dist/tex/latex/beamertheme-focus/beamerthemefocus.sty
+++ b/Master/texmf-dist/tex/latex/beamertheme-focus/beamerthemefocus.sty
@@ -16,7 +16,7 @@
% along with beamerthemefocus. If not, see <http://www.gnu.org/licenses/>.
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{beamerthemefocus}[2018/06/24 v1.0 Focus Beamer theme]
+\ProvidesPackage{beamerthemefocus}[2018/06/25 v1.1 Focus Beamer theme]
\mode<presentation>