texlive[56957] Master/texmf-dist: beamertheme-focus (18nov20)

commits+karl at tug.org commits+karl at tug.org
Wed Nov 18 23:04:44 CET 2020


Revision: 56957
          http://tug.org/svn/texlive?view=revision&revision=56957
Author:   karl
Date:     2020-11-18 23:04:44 +0100 (Wed, 18 Nov 2020)
Log Message:
-----------
beamertheme-focus (18nov20)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/beamertheme-focus/README.md
    trunk/Master/texmf-dist/doc/latex/beamertheme-focus/focus-demo.tex
    trunk/Master/texmf-dist/tex/latex/beamertheme-focus/beamerouterthemefocus.sty
    trunk/Master/texmf-dist/tex/latex/beamertheme-focus/beamerthemefocus.sty

Modified: trunk/Master/texmf-dist/doc/latex/beamertheme-focus/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/beamertheme-focus/README.md	2020-11-18 22:04:23 UTC (rev 56956)
+++ trunk/Master/texmf-dist/doc/latex/beamertheme-focus/README.md	2020-11-18 22:04:44 UTC (rev 56957)
@@ -1,4 +1,4 @@
-# Focus v2.7.1
+# Focus v2.8
 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.
 
@@ -63,8 +63,13 @@
 ```latex
 \usetheme[numbering=fullbar]{focus}
 ```
+In such case, an optional text to be printed on the left side of the footline
+can be customized with:
+```latex
+\footlineinfo{Custom footline text}
+```
 
-The footline may also be disabled by typing:
+The footline may also be disabled globally by typing:
 ```latex
 \usetheme[numbering=none]{focus}
 ```

Modified: trunk/Master/texmf-dist/doc/latex/beamertheme-focus/focus-demo.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/beamertheme-focus/focus-demo.tex	2020-11-18 22:04:23 UTC (rev 56956)
+++ trunk/Master/texmf-dist/doc/latex/beamertheme-focus/focus-demo.tex	2020-11-18 22:04:44 UTC (rev 56957)
@@ -11,6 +11,9 @@
 \institute{Institute Name \\ Institute Address}
 \date{dd mm yyyy}
 
+% Footline info is printed only if [numbering=fullbar].
+%\footlineinfo{Custom footline text}
+
 \begin{document}
     \begin{frame}
         \maketitle

Modified: trunk/Master/texmf-dist/tex/latex/beamertheme-focus/beamerouterthemefocus.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/beamertheme-focus/beamerouterthemefocus.sty	2020-11-18 22:04:23 UTC (rev 56956)
+++ trunk/Master/texmf-dist/tex/latex/beamertheme-focus/beamerouterthemefocus.sty	2020-11-18 22:04:44 UTC (rev 56957)
@@ -109,6 +109,7 @@
 }
 
 % Full bar footline.
+\def\footlineinfo#1{\def\focus at footlineinfo{#1}}
 \defbeamertemplate{footline}{fullbar}{%
     % If not appendix.
     \ifnum\mainend<0% From package appendixnumberbeamer.
@@ -124,7 +125,12 @@
             \begin{tikzpicture}[inner xsep=0.5em, inner ysep=0.5ex]
                 \clip (0,0) rectangle ++(\paperwidth,\the\focus at pbar@height);
                 \fill[footline.bg] (0,0) rectangle ++(\paperwidth,\the\focus at pbar@height);
-                
+
+                \ifx\focus at footlineinfo\empty
+                \else
+                    \node[anchor=west, footline.fg] at ({\the\focus at pbar@leftoffset},{0.5*\focus at pbar@height}) {\focus at footlineinfo};
+                \fi
+
                 \node[anchor=east, footline.fg] at ({\paperwidth-\the\focus at pbar@rightoffset},{0.5*\focus at pbar@height}) {\strut\insertframenumber};
                 \node[footline.fg] at ({\paperwidth-\the\focus at pbar@rightoffset},{0.5*\focus at pbar@height}) {\strut/};
                 \node[anchor=west, footline.fg] at ({\paperwidth-\the\focus at pbar@rightoffset},{0.5*\focus at pbar@height}) {\strut\inserttotalframenumber};

Modified: trunk/Master/texmf-dist/tex/latex/beamertheme-focus/beamerthemefocus.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/beamertheme-focus/beamerthemefocus.sty	2020-11-18 22:04:23 UTC (rev 56956)
+++ trunk/Master/texmf-dist/tex/latex/beamertheme-focus/beamerthemefocus.sty	2020-11-18 22:04:44 UTC (rev 56957)
@@ -19,7 +19,7 @@
 % along with beamerthemefocus. If not, see <http://www.gnu.org/licenses/>.
 
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{beamerthemefocus}[2020/10/28 v2.7.1 Focus Beamer theme]
+\ProvidesPackage{beamerthemefocus}[2020/11/17 v2.8 Focus Beamer theme]
 
 \mode<presentation>
 



More information about the tex-live-commits mailing list.