texlive[51489] Master: beamertheme-focus (27jun19)

commits+karl at tug.org commits+karl at tug.org
Thu Jun 27 22:58:17 CEST 2019


Revision: 51489
          http://tug.org/svn/texlive?view=revision&revision=51489
Author:   karl
Date:     2019-06-27 22:58:17 +0200 (Thu, 27 Jun 2019)
Log Message:
-----------
beamertheme-focus (27jun19)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/beamertheme-focus/README.md
    trunk/Master/texmf-dist/doc/latex/beamertheme-focus/demo.pdf
    trunk/Master/texmf-dist/doc/latex/beamertheme-focus/demo.tex
    trunk/Master/texmf-dist/tex/latex/beamertheme-focus/beamerfontthemefocus.sty
    trunk/Master/texmf-dist/tex/latex/beamertheme-focus/beamerinnerthemefocus.sty
    trunk/Master/texmf-dist/tex/latex/beamertheme-focus/beamerthemefocus.sty
    trunk/Master/tlpkg/bin/tlpkg-ctan-check

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/latex/beamertheme-focus/demo-screenshots/demo-subsectionpage.jpg

Removed Paths:
-------------
    trunk/Master/texmf-dist/doc/latex/beamertheme-focus/demo-screenshots/demo-sectionpage.jpg

Modified: trunk/Master/texmf-dist/doc/latex/beamertheme-focus/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/beamertheme-focus/README.md	2019-06-27 08:20:17 UTC (rev 51488)
+++ trunk/Master/texmf-dist/doc/latex/beamertheme-focus/README.md	2019-06-27 20:58:17 UTC (rev 51489)
@@ -1,4 +1,4 @@
-# Focus v2.3
+# Focus v2.4
 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.
 
@@ -14,7 +14,7 @@
 A full demo is available. Refer to `demo.tex` and `demo.pdf`.
 
 ![](https://github.com/elauksap/focustheme/blob/master/demo-screenshots/demo-titlepage.jpg)
-![](https://github.com/elauksap/focustheme/blob/master/demo-screenshots/demo-sectionpage.jpg)
+![](https://github.com/elauksap/focustheme/blob/master/demo-screenshots/demo-subsectionpage.jpg)
 ![](https://github.com/elauksap/focustheme/blob/master/demo-screenshots/demo-typeset.jpg)
 ![](https://github.com/elauksap/focustheme/blob/master/demo-screenshots/demo-focus.jpg)
 ![](https://github.com/elauksap/focustheme/blob/master/demo-screenshots/demo-references.jpg)

Deleted: trunk/Master/texmf-dist/doc/latex/beamertheme-focus/demo-screenshots/demo-sectionpage.jpg
===================================================================
(Binary files differ)

Added: trunk/Master/texmf-dist/doc/latex/beamertheme-focus/demo-screenshots/demo-subsectionpage.jpg
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/latex/beamertheme-focus/demo-screenshots/demo-subsectionpage.jpg
===================================================================
--- trunk/Master/texmf-dist/doc/latex/beamertheme-focus/demo-screenshots/demo-subsectionpage.jpg	2019-06-27 08:20:17 UTC (rev 51488)
+++ trunk/Master/texmf-dist/doc/latex/beamertheme-focus/demo-screenshots/demo-subsectionpage.jpg	2019-06-27 20:58:17 UTC (rev 51489)

Property changes on: trunk/Master/texmf-dist/doc/latex/beamertheme-focus/demo-screenshots/demo-subsectionpage.jpg
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Modified: trunk/Master/texmf-dist/doc/latex/beamertheme-focus/demo.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/beamertheme-focus/demo.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/beamertheme-focus/demo.tex	2019-06-27 08:20:17 UTC (rev 51488)
+++ trunk/Master/texmf-dist/doc/latex/beamertheme-focus/demo.tex	2019-06-27 20:58:17 UTC (rev 51489)
@@ -16,7 +16,10 @@
         \maketitle
     \end{frame}
     
+    % Use starred version (e.g. \section*{Section name})
+    % to disable (sub)section page.
     \section{Section 1}
+    \subsection{Subsection 1.1}
     \begin{frame}{Simple frame}
         This is a simple frame.
     \end{frame}
@@ -25,6 +28,7 @@
         This is a frame with plain style and it is numbered.
     \end{frame}
     
+    \subsection{Subsection 1.2}
     \begin{frame}[t]
         This frame has an empty title and is aligned to top.
     \end{frame}

Modified: trunk/Master/texmf-dist/tex/latex/beamertheme-focus/beamerfontthemefocus.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/beamertheme-focus/beamerfontthemefocus.sty	2019-06-27 08:20:17 UTC (rev 51488)
+++ trunk/Master/texmf-dist/tex/latex/beamertheme-focus/beamerfontthemefocus.sty	2019-06-27 20:58:17 UTC (rev 51489)
@@ -30,6 +30,7 @@
 \setbeamerfont{date}{size=\large, shape=\scshape}
 
 \setbeamerfont{sectiontitle}{size=\huge, series=\scshape\bfseries}
+\setbeamerfont{subsectiontitle}{size=\Large, series=\scshape\bfseries}
 \setbeamerfont{frametitle}{size=\Large, shape=\scshape}
 
 \setbeamerfont{footline}{size=\scriptsize}

Modified: trunk/Master/texmf-dist/tex/latex/beamertheme-focus/beamerinnerthemefocus.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/beamertheme-focus/beamerinnerthemefocus.sty	2019-06-27 08:20:17 UTC (rev 51488)
+++ trunk/Master/texmf-dist/tex/latex/beamertheme-focus/beamerinnerthemefocus.sty	2019-06-27 20:58:17 UTC (rev 51489)
@@ -77,7 +77,8 @@
     
     \vspace*{\baselineskip}
     \begin{minipage}[t]{\textwidth}
-        \usebeamerfont{date}{\insertdate}
+        \usebeamerfont{date}
+        \insertdate
     \end{minipage}
 
    	\vspace*{0pt plus 100fill}
@@ -100,8 +101,13 @@
         \usebeamercolor[fg]{frametitle}
         \let\hyperlink\@secondoftwo\insertsection
     \end{minipage}
-    
-    \vspace*{0pt plus 100fill}
+
+    \vspace{1.5\baselineskip}
+    \begin{minipage}[t][0.55\paperheight]{\textwidth}
+        \usebeamerfont{subsectiontitle}
+        \usebeamercolor[bg]{frametitle}
+        \insertsubsection
+    \end{minipage}
 }
 
 \AtBeginSection[]{%
@@ -110,4 +116,34 @@
     \end{frame}%
 }
 
+% Subsection page.
+\defbeamertemplate*{subsection page}{focus}{%
+    {%
+        \usebeamercolor{frametitle}\colorlet{focus@@temp}{bg}%
+        \begin{tikzpicture}[overlay, remember picture]
+        \fill[color=focus@@temp] (current page.north west) rectangle ([shift = {(0, -0.45\paperheight)}] current page.north east);
+        \end{tikzpicture}%
+    }
+    
+    \vspace{-2.5\baselineskip}
+    \begin{minipage}[b][0.45\paperheight]{\textwidth}
+        \usebeamerfont{sectiontitle}
+        \usebeamercolor[fg]{frametitle}
+        \let\hyperlink\@secondoftwo\insertsection
+    \end{minipage}
+    
+    \vspace{1.5\baselineskip}
+    \begin{minipage}[t][0.55\paperheight]{\textwidth}
+        \usebeamerfont{subsectiontitle}
+        \usebeamercolor[bg]{frametitle}
+        \insertsubsection
+    \end{minipage}
+}
+
+\AtBeginSubsection[]{%
+    \begin{frame}[plain, noframenumbering]{}
+        \subsectionpage
+    \end{frame}%
+}
+
 \mode<all>

Modified: trunk/Master/texmf-dist/tex/latex/beamertheme-focus/beamerthemefocus.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/beamertheme-focus/beamerthemefocus.sty	2019-06-27 08:20:17 UTC (rev 51488)
+++ trunk/Master/texmf-dist/tex/latex/beamertheme-focus/beamerthemefocus.sty	2019-06-27 20:58:17 UTC (rev 51489)
@@ -19,7 +19,7 @@
 % along with beamerthemefocus. If not, see <http://www.gnu.org/licenses/>.
 
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{beamerthemefocus}[2019/01/18 v2.3 Focus Beamer theme]
+\ProvidesPackage{beamerthemefocus}[2019/06/26 v2.4 Focus Beamer theme]
 
 \mode<presentation>
 

Modified: trunk/Master/tlpkg/bin/tlpkg-ctan-check
===================================================================
--- trunk/Master/tlpkg/bin/tlpkg-ctan-check	2019-06-27 08:20:17 UTC (rev 51488)
+++ trunk/Master/tlpkg/bin/tlpkg-ctan-check	2019-06-27 20:58:17 UTC (rev 51489)
@@ -24,7 +24,7 @@
     SIstyle SIunits Tabbing Type1fonts
   a0poster a2ping a4wide a5comb
     aastex abbr abc abnt abntex2 abraces abstract abstyles
-    academicons accanthis accfonts achemso
+    academicons accanthis accents accfonts achemso
     acmart acmconf acro acronym acroterm
     active-conf actuarialangle actuarialsymbol
     addfont addliga addlines adfathesis adforn adhocfilelist adigraph



More information about the tex-live-commits mailing list