diff options
author | Karl Berry <karl@freefriends.org> | 2019-06-27 20:58:17 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-06-27 20:58:17 +0000 |
commit | e79ccbb041045e467e9bae3ba9e4b6490c1b9110 (patch) | |
tree | a8af605cb15a75553ab5b50cb34c462bfe7cf2de /Master/texmf-dist | |
parent | e74c348e84fe30d7277b437eae715c0afeddb7f7 (diff) |
beamertheme-focus (27jun19)
git-svn-id: svn://tug.org/texlive/trunk@51489 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r-- | Master/texmf-dist/doc/latex/beamertheme-focus/README.md | 4 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/beamertheme-focus/demo-screenshots/demo-sectionpage.jpg | bin | 6229 -> 0 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/beamertheme-focus/demo-screenshots/demo-subsectionpage.jpg | bin | 0 -> 26430 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/beamertheme-focus/demo.pdf | bin | 323369 -> 324539 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/beamertheme-focus/demo.tex | 4 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/beamertheme-focus/beamerfontthemefocus.sty | 1 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/beamertheme-focus/beamerinnerthemefocus.sty | 42 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/beamertheme-focus/beamerthemefocus.sty | 2 |
8 files changed, 47 insertions, 6 deletions
diff --git a/Master/texmf-dist/doc/latex/beamertheme-focus/README.md b/Master/texmf-dist/doc/latex/beamertheme-focus/README.md index b4f059b7b32..f8acd784ffd 100644 --- a/Master/texmf-dist/doc/latex/beamertheme-focus/README.md +++ b/Master/texmf-dist/doc/latex/beamertheme-focus/README.md @@ -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 @@ Demo 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) diff --git a/Master/texmf-dist/doc/latex/beamertheme-focus/demo-screenshots/demo-sectionpage.jpg b/Master/texmf-dist/doc/latex/beamertheme-focus/demo-screenshots/demo-sectionpage.jpg Binary files differdeleted file mode 100644 index 2abd93bd471..00000000000 --- a/Master/texmf-dist/doc/latex/beamertheme-focus/demo-screenshots/demo-sectionpage.jpg +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/beamertheme-focus/demo-screenshots/demo-subsectionpage.jpg b/Master/texmf-dist/doc/latex/beamertheme-focus/demo-screenshots/demo-subsectionpage.jpg Binary files differnew file mode 100644 index 00000000000..f993c1beea2 --- /dev/null +++ b/Master/texmf-dist/doc/latex/beamertheme-focus/demo-screenshots/demo-subsectionpage.jpg diff --git a/Master/texmf-dist/doc/latex/beamertheme-focus/demo.pdf b/Master/texmf-dist/doc/latex/beamertheme-focus/demo.pdf Binary files differindex 20b099ab756..bd40c547454 100644 --- a/Master/texmf-dist/doc/latex/beamertheme-focus/demo.pdf +++ b/Master/texmf-dist/doc/latex/beamertheme-focus/demo.pdf diff --git a/Master/texmf-dist/doc/latex/beamertheme-focus/demo.tex b/Master/texmf-dist/doc/latex/beamertheme-focus/demo.tex index c22dbb63f3f..a4153d1be47 100644 --- a/Master/texmf-dist/doc/latex/beamertheme-focus/demo.tex +++ b/Master/texmf-dist/doc/latex/beamertheme-focus/demo.tex @@ -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} diff --git a/Master/texmf-dist/tex/latex/beamertheme-focus/beamerfontthemefocus.sty b/Master/texmf-dist/tex/latex/beamertheme-focus/beamerfontthemefocus.sty index 0b5314ebe27..3a956c61546 100644 --- a/Master/texmf-dist/tex/latex/beamertheme-focus/beamerfontthemefocus.sty +++ b/Master/texmf-dist/tex/latex/beamertheme-focus/beamerfontthemefocus.sty @@ -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} diff --git a/Master/texmf-dist/tex/latex/beamertheme-focus/beamerinnerthemefocus.sty b/Master/texmf-dist/tex/latex/beamertheme-focus/beamerinnerthemefocus.sty index 1fc1be8442a..a753dacf367 100644 --- a/Master/texmf-dist/tex/latex/beamertheme-focus/beamerinnerthemefocus.sty +++ b/Master/texmf-dist/tex/latex/beamertheme-focus/beamerinnerthemefocus.sty @@ -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> diff --git a/Master/texmf-dist/tex/latex/beamertheme-focus/beamerthemefocus.sty b/Master/texmf-dist/tex/latex/beamertheme-focus/beamerthemefocus.sty index 2a6ccbc72f9..550e120c47b 100644 --- a/Master/texmf-dist/tex/latex/beamertheme-focus/beamerthemefocus.sty +++ b/Master/texmf-dist/tex/latex/beamertheme-focus/beamerthemefocus.sty @@ -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> |