From 7412eb57b148d2ecd77d0291c97fb05bea8efbb0 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Thu, 16 Apr 2020 03:01:17 +0000 Subject: CTAN sync 202004160301 --- .../themes/beamertheme-focus/README.md | 2 +- .../beamertheme-focus/beamercolorthemefocus.sty | 2 +- .../beamertheme-focus/beamerfontthemefocus.sty | 2 +- .../beamertheme-focus/beamerinnerthemefocus.sty | 3 ++- .../beamertheme-focus/beamerouterthemefocus.sty | 14 ++++++++------ .../themes/beamertheme-focus/beamerthemefocus.sty | 4 ++-- .../themes/beamertheme-focus/demo.pdf | Bin 324539 -> 324539 bytes 7 files changed, 15 insertions(+), 12 deletions(-) (limited to 'macros/latex/contrib/beamer-contrib') diff --git a/macros/latex/contrib/beamer-contrib/themes/beamertheme-focus/README.md b/macros/latex/contrib/beamer-contrib/themes/beamertheme-focus/README.md index 1a6155d4c7..154ae8123a 100644 --- a/macros/latex/contrib/beamer-contrib/themes/beamertheme-focus/README.md +++ b/macros/latex/contrib/beamer-contrib/themes/beamertheme-focus/README.md @@ -1,4 +1,4 @@ -# Focus v2.5 +# Focus v2.6 A presentation theme for LaTeX Beamer that aims at a clean and minimalist design, so to minimize distractions and put the focus directly on the content. diff --git a/macros/latex/contrib/beamer-contrib/themes/beamertheme-focus/beamercolorthemefocus.sty b/macros/latex/contrib/beamer-contrib/themes/beamertheme-focus/beamercolorthemefocus.sty index 4a45cecba1..80dd314b67 100644 --- a/macros/latex/contrib/beamer-contrib/themes/beamertheme-focus/beamercolorthemefocus.sty +++ b/macros/latex/contrib/beamer-contrib/themes/beamertheme-focus/beamercolorthemefocus.sty @@ -1,4 +1,4 @@ -% Copyright (C) 2018-2019 Pasquale Claudio Africa and the LaTeX community. +% Copyright (C) 2018-2020 Pasquale Claudio Africa and the LaTeX community. % A full list of contributors can be found at % % https://github.com/elauksap/focus-beamertheme diff --git a/macros/latex/contrib/beamer-contrib/themes/beamertheme-focus/beamerfontthemefocus.sty b/macros/latex/contrib/beamer-contrib/themes/beamertheme-focus/beamerfontthemefocus.sty index 3a956c6154..380af92254 100644 --- a/macros/latex/contrib/beamer-contrib/themes/beamertheme-focus/beamerfontthemefocus.sty +++ b/macros/latex/contrib/beamer-contrib/themes/beamertheme-focus/beamerfontthemefocus.sty @@ -1,4 +1,4 @@ -% Copyright (C) 2018-2019 Pasquale Claudio Africa and the LaTeX community. +% Copyright (C) 2018-2020 Pasquale Claudio Africa and the LaTeX community. % A full list of contributors can be found at % % https://github.com/elauksap/focus-beamertheme diff --git a/macros/latex/contrib/beamer-contrib/themes/beamertheme-focus/beamerinnerthemefocus.sty b/macros/latex/contrib/beamer-contrib/themes/beamertheme-focus/beamerinnerthemefocus.sty index a753dacf36..e0317d51af 100644 --- a/macros/latex/contrib/beamer-contrib/themes/beamertheme-focus/beamerinnerthemefocus.sty +++ b/macros/latex/contrib/beamer-contrib/themes/beamertheme-focus/beamerinnerthemefocus.sty @@ -1,4 +1,4 @@ -% Copyright (C) 2018-2019 Pasquale Claudio Africa and the LaTeX community. +% Copyright (C) 2018-2020 Pasquale Claudio Africa and the LaTeX community. % A full list of contributors can be found at % % https://github.com/elauksap/focus-beamertheme @@ -84,6 +84,7 @@ \vspace*{0pt plus 100fill} \addtocounter{framenumber}{-1} + \addtocounter{realframenumber}{-1} } % Section page. diff --git a/macros/latex/contrib/beamer-contrib/themes/beamertheme-focus/beamerouterthemefocus.sty b/macros/latex/contrib/beamer-contrib/themes/beamertheme-focus/beamerouterthemefocus.sty index 26afe6799e..bbf893eeaa 100644 --- a/macros/latex/contrib/beamer-contrib/themes/beamertheme-focus/beamerouterthemefocus.sty +++ b/macros/latex/contrib/beamer-contrib/themes/beamertheme-focus/beamerouterthemefocus.sty @@ -1,4 +1,4 @@ -% Copyright (C) 2018-2019 Pasquale Claudio Africa and the LaTeX community. +% Copyright (C) 2018-2020 Pasquale Claudio Africa and the LaTeX community. % A full list of contributors can be found at % % https://github.com/elauksap/focus-beamertheme @@ -37,11 +37,12 @@ \RequirePackage{etoolbox} % \BeforeBeginEnvironment. \RequirePackage{tikz} +\newcounter{realframenumber} % FRAMETITLE TEMPLATES. -------------------------------------------------------- \defbeamertemplate*{frametitle}{focus}{% % If not title page. - \ifnum\value{framenumber}>0% + \ifnum\value{realframenumber}>0% \vspace{-1pt}% \begin{beamercolorbox}[wd=\paperwidth,leftskip=0.55cm,rightskip=0.55cm,sep=0.2cm]{frametitle}% \strut\insertframetitle\strut% @@ -52,7 +53,7 @@ % Plain header. \defbeamertemplate*{frametitle}{plain}{% % If not title page. - \ifnum\value{framenumber}>0% + \ifnum\value{realframenumber}>0% \vspace{-1pt}% \begin{beamercolorbox}[wd=\paperwidth,leftskip=0.55cm,rightskip=0.55cm,sep=0.2cm,ignorebg]{frametitle}% \strut% @@ -78,8 +79,8 @@ \addtolength{\focus@pbar@rightoffset}{1.5em}% % % If not title page. - \ifnum\c@framenumber>0% - \ifnum\c@framenumber<\inserttotalframenumber% + \ifnum\value{realframenumber}>0% + \ifnum\value{framenumber}<\inserttotalframenumber% \begin{tikzpicture}[inner xsep=0.5em, inner ysep=0.5ex]\usebeamerfont{footline} \pgfmathsetmacro{\focus@pbar@progress}% {(\paperwidth-\focus@pbar@leftoffset-\focus@pbar@rightoffset)*(\insertframenumber/\inserttotalframenumber)} @@ -119,7 +120,7 @@ \addtolength{\focus@pbar@rightoffset}{1.5em}% % % If not title page. - \ifnum\c@framenumber>0% + \ifnum\value{realframenumber}>0% \begin{tikzpicture}[inner xsep=0.5em, inner ysep=0.5ex] \clip (0,0) rectangle ++(\paperwidth,\the\focus@pbar@height); \fill[footline.bg] (0,0) rectangle ++(\paperwidth,\the\focus@pbar@height); @@ -169,6 +170,7 @@ % HOOKS FOR CREATING FRAMES. --------------------------------------------------- \BeforeBeginEnvironment{frame}{% + \stepcounter{realframenumber} \setbeamertemplate{background canvas}[focus]% \setbeamertemplate{frametitle}[focus]% % diff --git a/macros/latex/contrib/beamer-contrib/themes/beamertheme-focus/beamerthemefocus.sty b/macros/latex/contrib/beamer-contrib/themes/beamertheme-focus/beamerthemefocus.sty index 134cd0596b..6da4b05683 100644 --- a/macros/latex/contrib/beamer-contrib/themes/beamertheme-focus/beamerthemefocus.sty +++ b/macros/latex/contrib/beamer-contrib/themes/beamertheme-focus/beamerthemefocus.sty @@ -1,4 +1,4 @@ -% Copyright (C) 2018-2019 Pasquale Claudio Africa and the LaTeX community. +% Copyright (C) 2018-2020 Pasquale Claudio Africa and the LaTeX community. % A full list of contributors can be found at % % https://github.com/elauksap/focus-beamertheme @@ -19,7 +19,7 @@ % along with beamerthemefocus. If not, see . \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{beamerthemefocus}[2019/11/20 v2.5 Focus Beamer theme] +\ProvidesPackage{beamerthemefocus}[2020/04/15 v2.6 Focus Beamer theme] \mode diff --git a/macros/latex/contrib/beamer-contrib/themes/beamertheme-focus/demo.pdf b/macros/latex/contrib/beamer-contrib/themes/beamertheme-focus/demo.pdf index bd40c54745..d4eafee0dc 100644 Binary files a/macros/latex/contrib/beamer-contrib/themes/beamertheme-focus/demo.pdf and b/macros/latex/contrib/beamer-contrib/themes/beamertheme-focus/demo.pdf differ -- cgit v1.2.3