diff options
author | Karl Berry <karl@freefriends.org> | 2019-01-18 22:36:53 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-01-18 22:36:53 +0000 |
commit | ac52c731712b8871bb99e63035680ea98bfa1445 (patch) | |
tree | d180b79f81de94326eec568e170fa9634ca7cecd | |
parent | 9fe86978e3c05cc8ffe90251487f8240f3765402 (diff) |
beamertheme-focus (18jan19)
git-svn-id: svn://tug.org/texlive/trunk@49748 c570f23f-e606-0410-a88d-b1316a301751
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 Binary files differindex 14de76281d7..d8ad6e3bfa7 100644 --- 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 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 Binary files differindex dc488a98043..1a2e576abae 100644 --- 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 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 Binary files differindex 0998f39e7ed..e2f93f76a45 100644 --- 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 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 differindex f055e95f66e..2abd93bd471 100644 --- 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 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 Binary files differindex 09f6ffe81f2..000339af6e8 100644 --- 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 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 Binary files differindex 982a38f8f64..8d7d3c3b4b5 100644 --- 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 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 Binary files differindex b2f01050c66..a0132b54ea2 100644 --- 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 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 c4f9ddea735..20b099ab756 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 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<presentation> -\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 <http://www.gnu.org/licenses/>. \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{beamerthemefocus}[2018/11/19 v2.2.1 Focus Beamer theme] +\ProvidesPackage{beamerthemefocus}[2019/01/18 v2.3 Focus Beamer theme] \mode<presentation> |