From ac52c731712b8871bb99e63035680ea98bfa1445 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 18 Jan 2019 22:36:53 +0000 Subject: beamertheme-focus (18jan19) git-svn-id: svn://tug.org/texlive/trunk@49748 c570f23f-e606-0410-a88d-b1316a301751 --- .../doc/latex/beamertheme-focus/README.md | 15 +++++++----- .../demo-screenshots/demo-appendix.jpg | Bin 114395 -> 27131 bytes .../demo-screenshots/demo-focus.jpg | Bin 48564 -> 9717 bytes .../demo-screenshots/demo-references.jpg | Bin 145563 -> 32126 bytes .../demo-screenshots/demo-sectionpage.jpg | Bin 41534 -> 6229 bytes .../demo-screenshots/demo-titlepage-color.jpg | Bin 197491 -> 57942 bytes .../demo-screenshots/demo-titlepage.jpg | Bin 134197 -> 35777 bytes .../demo-screenshots/demo-typeset.jpg | Bin 213686 -> 49291 bytes .../doc/latex/beamertheme-focus/demo.pdf | Bin 467405 -> 323369 bytes .../doc/latex/beamertheme-focus/demo.tex | 2 +- .../beamertheme-focus/beamercolorthemefocus.sty | 8 +++--- .../beamertheme-focus/beamerfontthemefocus.sty | 8 +++--- .../beamertheme-focus/beamerinnerthemefocus.sty | 27 ++++++++++++--------- .../beamertheme-focus/beamerouterthemefocus.sty | 25 +++++++++++++++---- .../latex/beamertheme-focus/beamerthemefocus.sty | 10 +++++--- 15 files changed, 61 insertions(+), 34 deletions(-) diff --git a/Master/texmf-dist/doc/latex/beamertheme-focus/README.md b/Master/texmf-dist/doc/latex/beamertheme-focus/README.md index d8ed9f77266..b4f059b7b32 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.2.1 +# Focus v2.3 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. @@ -90,11 +90,14 @@ Any suggestions, comments, criticism or appreciation are welcome! Contact information are available to registered users on my Github profile page. -Authors -======= +Contributors +============ Focus was initially created and designed by [Pasquale Africa](https://github.com/elauksap). -My gratitude goes to the following authors, whose help has provided a significant contribution -to its development. +The following people deserve appreciation and acknowledgment for improving the template with +additions and modifications (in alphabetical order): + +- Sebastian Friedl +- Benjamin Goldman -[Sebastian Friedl](https://github.com/SFr682k) +A more detailed contribution list is found [here](https://github.com/elauksap/focus-beamertheme/graphs/contributors). diff --git a/Master/texmf-dist/doc/latex/beamertheme-focus/demo-screenshots/demo-appendix.jpg b/Master/texmf-dist/doc/latex/beamertheme-focus/demo-screenshots/demo-appendix.jpg index 14de76281d7..d8ad6e3bfa7 100644 Binary files a/Master/texmf-dist/doc/latex/beamertheme-focus/demo-screenshots/demo-appendix.jpg and b/Master/texmf-dist/doc/latex/beamertheme-focus/demo-screenshots/demo-appendix.jpg differ diff --git a/Master/texmf-dist/doc/latex/beamertheme-focus/demo-screenshots/demo-focus.jpg b/Master/texmf-dist/doc/latex/beamertheme-focus/demo-screenshots/demo-focus.jpg index dc488a98043..1a2e576abae 100644 Binary files a/Master/texmf-dist/doc/latex/beamertheme-focus/demo-screenshots/demo-focus.jpg and b/Master/texmf-dist/doc/latex/beamertheme-focus/demo-screenshots/demo-focus.jpg differ diff --git a/Master/texmf-dist/doc/latex/beamertheme-focus/demo-screenshots/demo-references.jpg b/Master/texmf-dist/doc/latex/beamertheme-focus/demo-screenshots/demo-references.jpg index 0998f39e7ed..e2f93f76a45 100644 Binary files a/Master/texmf-dist/doc/latex/beamertheme-focus/demo-screenshots/demo-references.jpg and b/Master/texmf-dist/doc/latex/beamertheme-focus/demo-screenshots/demo-references.jpg differ 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 index f055e95f66e..2abd93bd471 100644 Binary files a/Master/texmf-dist/doc/latex/beamertheme-focus/demo-screenshots/demo-sectionpage.jpg and b/Master/texmf-dist/doc/latex/beamertheme-focus/demo-screenshots/demo-sectionpage.jpg differ diff --git a/Master/texmf-dist/doc/latex/beamertheme-focus/demo-screenshots/demo-titlepage-color.jpg b/Master/texmf-dist/doc/latex/beamertheme-focus/demo-screenshots/demo-titlepage-color.jpg index 09f6ffe81f2..000339af6e8 100644 Binary files a/Master/texmf-dist/doc/latex/beamertheme-focus/demo-screenshots/demo-titlepage-color.jpg and b/Master/texmf-dist/doc/latex/beamertheme-focus/demo-screenshots/demo-titlepage-color.jpg differ diff --git a/Master/texmf-dist/doc/latex/beamertheme-focus/demo-screenshots/demo-titlepage.jpg b/Master/texmf-dist/doc/latex/beamertheme-focus/demo-screenshots/demo-titlepage.jpg index 982a38f8f64..8d7d3c3b4b5 100644 Binary files a/Master/texmf-dist/doc/latex/beamertheme-focus/demo-screenshots/demo-titlepage.jpg and b/Master/texmf-dist/doc/latex/beamertheme-focus/demo-screenshots/demo-titlepage.jpg differ diff --git a/Master/texmf-dist/doc/latex/beamertheme-focus/demo-screenshots/demo-typeset.jpg b/Master/texmf-dist/doc/latex/beamertheme-focus/demo-screenshots/demo-typeset.jpg index b2f01050c66..a0132b54ea2 100644 Binary files a/Master/texmf-dist/doc/latex/beamertheme-focus/demo-screenshots/demo-typeset.jpg and b/Master/texmf-dist/doc/latex/beamertheme-focus/demo-screenshots/demo-typeset.jpg differ diff --git a/Master/texmf-dist/doc/latex/beamertheme-focus/demo.pdf b/Master/texmf-dist/doc/latex/beamertheme-focus/demo.pdf index c4f9ddea735..20b099ab756 100644 Binary files a/Master/texmf-dist/doc/latex/beamertheme-focus/demo.pdf and b/Master/texmf-dist/doc/latex/beamertheme-focus/demo.pdf differ diff --git a/Master/texmf-dist/doc/latex/beamertheme-focus/demo.tex b/Master/texmf-dist/doc/latex/beamertheme-focus/demo.tex index 8d69b7790a1..c22dbb63f3f 100644 --- a/Master/texmf-dist/doc/latex/beamertheme-focus/demo.tex +++ b/Master/texmf-dist/doc/latex/beamertheme-focus/demo.tex @@ -6,7 +6,7 @@ \title{Focus: \\ A Minimalist Beamer Theme} \subtitle{Subtitle} -\author{Author 1 \\ Author 2} +\author{Author 1\texorpdfstring{\\}{,} Author 2} \titlegraphic{\includegraphics[scale=1.25]{focuslogo.pdf}} \institute{Institute Name \\ Institute Address} \date{dd mm yyyy} diff --git a/Master/texmf-dist/tex/latex/beamertheme-focus/beamercolorthemefocus.sty b/Master/texmf-dist/tex/latex/beamertheme-focus/beamercolorthemefocus.sty index ff80737d101..4a45cecba1c 100644 --- a/Master/texmf-dist/tex/latex/beamertheme-focus/beamercolorthemefocus.sty +++ b/Master/texmf-dist/tex/latex/beamertheme-focus/beamercolorthemefocus.sty @@ -1,8 +1,10 @@ -% Copyright (C) 2018 Pasquale Claudio Africa. -% 2018 Sebastian Friedl. +% Copyright (C) 2018-2019 Pasquale Claudio Africa and the LaTeX community. +% A full list of contributors can be found at % +% https://github.com/elauksap/focus-beamertheme +% % This file is part of beamerthemefocus. -% +% % beamerthemefocus is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or diff --git a/Master/texmf-dist/tex/latex/beamertheme-focus/beamerfontthemefocus.sty b/Master/texmf-dist/tex/latex/beamertheme-focus/beamerfontthemefocus.sty index 8e85dd5d006..0b5314ebe27 100644 --- a/Master/texmf-dist/tex/latex/beamertheme-focus/beamerfontthemefocus.sty +++ b/Master/texmf-dist/tex/latex/beamertheme-focus/beamerfontthemefocus.sty @@ -1,8 +1,10 @@ -% Copyright (C) 2018 Pasquale Claudio Africa. -% 2018 Sebastian Friedl. +% Copyright (C) 2018-2019 Pasquale Claudio Africa and the LaTeX community. +% A full list of contributors can be found at % +% https://github.com/elauksap/focus-beamertheme +% % This file is part of beamerthemefocus. -% +% % beamerthemefocus is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or diff --git a/Master/texmf-dist/tex/latex/beamertheme-focus/beamerinnerthemefocus.sty b/Master/texmf-dist/tex/latex/beamertheme-focus/beamerinnerthemefocus.sty index 9c0ac298e01..1fc1be8442a 100644 --- a/Master/texmf-dist/tex/latex/beamertheme-focus/beamerinnerthemefocus.sty +++ b/Master/texmf-dist/tex/latex/beamertheme-focus/beamerinnerthemefocus.sty @@ -1,8 +1,10 @@ -% Copyright (C) 2018 Pasquale Claudio Africa. -% 2018 Sebastian Friedl. +% Copyright (C) 2018-2019 Pasquale Claudio Africa and the LaTeX community. +% A full list of contributors can be found at % +% https://github.com/elauksap/focus-beamertheme +% % This file is part of beamerthemefocus. -% +% % beamerthemefocus is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or @@ -34,10 +36,12 @@ % STRUCTURE FRAME TEMPLATE DEFINITIONS. ---------------------------------------- % Title page. \defbeamertemplate*{title 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}} + {% + \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{-1.65\baselineskip} \begin{minipage}[b][0.35\paperheight]{\textwidth} @@ -75,8 +79,8 @@ \begin{minipage}[t]{\textwidth} \usebeamerfont{date}{\insertdate} \end{minipage} - - \vspace*{5\baselineskip} + + \vspace*{0pt plus 100fill} \addtocounter{framenumber}{-1} } @@ -90,15 +94,14 @@ \end{tikzpicture}% } - \vspace{-2\baselineskip} + \vspace{-2.5\baselineskip} \begin{minipage}[b][0.45\paperheight]{\textwidth} \usebeamerfont{sectiontitle} \usebeamercolor[fg]{frametitle} \let\hyperlink\@secondoftwo\insertsection \end{minipage} - \begin{minipage}[t][0.55\paperheight]{\textwidth} - \end{minipage} + \vspace*{0pt plus 100fill} } \AtBeginSection[]{% diff --git a/Master/texmf-dist/tex/latex/beamertheme-focus/beamerouterthemefocus.sty b/Master/texmf-dist/tex/latex/beamertheme-focus/beamerouterthemefocus.sty index 3f05f338e0e..c8fb6d55bc9 100644 --- a/Master/texmf-dist/tex/latex/beamertheme-focus/beamerouterthemefocus.sty +++ b/Master/texmf-dist/tex/latex/beamertheme-focus/beamerouterthemefocus.sty @@ -1,8 +1,10 @@ -% Copyright (C) 2018 Pasquale Claudio Africa. -% 2018 Sebastian Friedl. +% Copyright (C) 2018-2019 Pasquale Claudio Africa and the LaTeX community. +% A full list of contributors can be found at % +% https://github.com/elauksap/focus-beamertheme +% % This file is part of beamerthemefocus. -% +% % beamerthemefocus is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or @@ -18,8 +20,21 @@ \mode -\RequirePackage{appendixnumberbeamer}% Don't number appendix frames. -\RequirePackage{etoolbox}% \BeforeBeginEnvironment +\RequirePackage{appendixnumberbeamer} % Don't number appendix frames. +% Fix hyperref warning caused by \appendix +% (https://tex.stackexchange.com/questions/192686/hyperref-warning-caused-by-beamer-appendix). +\newcommand*{\bkmtranslateto}{\languagename} +\newcommand*{\bkmtranslate}[1]{% + \ifcsname tr@@@\bkmtranslateto @#1\endcsname + \csname tr@@@\bkmtranslateto @#1\endcsname + \else + #1% + \fi +} +\pdfstringdefDisableCommands{\let\translate\bkmtranslate} +\RequirePackage{bookmark} + +\RequirePackage{etoolbox} % \BeforeBeginEnvironment. \RequirePackage{tikz} diff --git a/Master/texmf-dist/tex/latex/beamertheme-focus/beamerthemefocus.sty b/Master/texmf-dist/tex/latex/beamertheme-focus/beamerthemefocus.sty index e9df3053179..2a6ccbc72f9 100644 --- a/Master/texmf-dist/tex/latex/beamertheme-focus/beamerthemefocus.sty +++ b/Master/texmf-dist/tex/latex/beamertheme-focus/beamerthemefocus.sty @@ -1,8 +1,10 @@ -% Copyright (C) 2018 Pasquale Claudio Africa. -% 2018 Sebastian Friedl. +% Copyright (C) 2018-2019 Pasquale Claudio Africa and the LaTeX community. +% A full list of contributors can be found at % +% https://github.com/elauksap/focus-beamertheme +% % This file is part of beamerthemefocus. -% +% % beamerthemefocus is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or @@ -17,7 +19,7 @@ % along with beamerthemefocus. If not, see . \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{beamerthemefocus}[2018/11/19 v2.2.1 Focus Beamer theme] +\ProvidesPackage{beamerthemefocus}[2019/01/18 v2.3 Focus Beamer theme] \mode -- cgit v1.2.3