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 /Master/texmf-dist/tex | |
parent | 9fe86978e3c05cc8ffe90251487f8240f3765402 (diff) |
beamertheme-focus (18jan19)
git-svn-id: svn://tug.org/texlive/trunk@49748 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
5 files changed, 51 insertions, 27 deletions
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> |