summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/beamertheme-pure-minimalistic
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-05-31 21:10:21 +0000
committerKarl Berry <karl@freefriends.org>2020-05-31 21:10:21 +0000
commit1e4ada3a2007431617c98c097519e60b9c0f3c75 (patch)
treed58c8c7c5532e9232b9ecf71af5138e6868dabce /Master/texmf-dist/tex/latex/beamertheme-pure-minimalistic
parent3e86a36eb445cf50d221446f0f26d09559ea7912 (diff)
beamertheme-pure-minimalistic (31may20)
git-svn-id: svn://tug.org/texlive/trunk@55360 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/beamertheme-pure-minimalistic')
-rw-r--r--Master/texmf-dist/tex/latex/beamertheme-pure-minimalistic/beamercolorthemepureminimalistic.sty78
-rw-r--r--Master/texmf-dist/tex/latex/beamertheme-pure-minimalistic/beamerfontthemepureminimalistic.sty87
-rw-r--r--Master/texmf-dist/tex/latex/beamertheme-pure-minimalistic/beamerinnerthemepureminimalistic.sty96
-rw-r--r--Master/texmf-dist/tex/latex/beamertheme-pure-minimalistic/beamerouterthemepureminimalistic.sty125
-rw-r--r--Master/texmf-dist/tex/latex/beamertheme-pure-minimalistic/beamerthemepureminimalistic.sty57
5 files changed, 443 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/beamertheme-pure-minimalistic/beamercolorthemepureminimalistic.sty b/Master/texmf-dist/tex/latex/beamertheme-pure-minimalistic/beamercolorthemepureminimalistic.sty
new file mode 100644
index 00000000000..ded9343170b
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/beamertheme-pure-minimalistic/beamercolorthemepureminimalistic.sty
@@ -0,0 +1,78 @@
+% A pure minimalistic LaTeX-Beamer theme for everyone to use.
+% Copyright (C) 2020 Kai Norman Clasen
+
+% This program 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
+% (at your option) any later version.
+
+% This program is distributed in the hope that it will be useful,
+% but WITHOUT ANY WARRANTY; without even the implied warranty of
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+% GNU General Public License for more details.
+
+% You should have received a copy of the GNU General Public License
+% along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+% This file is part of beamerthemepureminimalistic.
+
+% If problems/bugs are found or enhancements are desired, please contact
+% me over: https://github.com/kai-tub/latex-beamer-pure-minimalistic
+
+\ProvidesPackage{beamercolorthemepureminimalistic}[v1.2.4]
+\RequirePackage{ifthen}
+\mode<presentation>
+
+\newboolean{darkmode}
+\setboolean{darkmode}{false}
+
+\DeclareOptionBeamer{darkmode}{\setboolean{darkmode}{true}}
+\ProcessOptionsBeamer
+
+\definecolor{pureminimalistic@text@black}{RGB}{0,0,0}
+\definecolor{pureminimalistic@text@gray}{RGB}{113,113,113}
+\definecolor{pureminimalistic@text@whiter_gray}{RGB}{200,200,200}
+\definecolor{pureminimalistic@text@red}{RGB}{190,15,30}
+\definecolor{pureminimalistic@text@white}{RGB}{255, 255, 255}
+
+\newcommand{\beamertitlecolor}{pureminimalistic@text@red}
+
+\ifthenelse{\boolean{darkmode}}{
+ \newcommand{\beamertextcolor}{pureminimalistic@text@white}%
+ \newcommand{\beamerbgcolor}{pureminimalistic@text@black}%
+ \newcommand{\beamerfootertextcolor}{pureminimalistic@text@whiter_gray}%
+}{%
+ \newcommand{\beamertextcolor}{pureminimalistic@text@black}%
+ \newcommand{\beamerbgcolor}{pureminimalistic@text@white}%
+ \newcommand{\beamerfootertextcolor}{pureminimalistic@text@gray}%
+}
+
+\setbeamercolor*{normal text}{fg=\beamertextcolor, bg=\beamerbgcolor}
+\setbeamercolor*{alerted text}{fg=\beamertitlecolor, bg=\beamerbgcolor}
+\setbeamercolor*{footline}{fg=\beamerfootertextcolor, bg=\beamerbgcolor}
+\setbeamercolor*{frametitle}{fg=\beamertitlecolor, bg=\beamerbgcolor}
+
+\setbeamercolor*{author}{parent=normal text}
+\setbeamercolor*{title}{parent=frametitle}
+
+\setbeamercolor*{section in toc}{parent=normal text}
+\setbeamercolor*{subsection in toc}{parent=normal text}
+\setbeamercolor*{subsubsection in toc}{parent=normal text}
+
+\setbeamercolor*{enumerate item}{parent=normal text}
+\setbeamercolor*{enumerate subitem}{parent=normal text}
+\setbeamercolor*{enumerate subsubitem}{parent=normal text}
+
+\setbeamercolor*{itemize item}{parent=normal text}
+\setbeamercolor*{itemize subitem}{parent=normal text}
+\setbeamercolor*{itemize subsubitem}{parent=normal text}
+
+\setbeamercolor*{bibliography item}{parent=normal text}
+\setbeamercolor*{bibliography entry title}{parent=normal text}
+\setbeamercolor*{bibliography entry author}{parent=normal text}
+\setbeamercolor*{bibliography entry location}{parent=normal text}
+\setbeamercolor*{bibliography entry note}{parent=normal text}
+
+\setbeamercolor*{caption name}{parent=normal text}
+
+\mode<all> \ No newline at end of file
diff --git a/Master/texmf-dist/tex/latex/beamertheme-pure-minimalistic/beamerfontthemepureminimalistic.sty b/Master/texmf-dist/tex/latex/beamertheme-pure-minimalistic/beamerfontthemepureminimalistic.sty
new file mode 100644
index 00000000000..7df83b361e7
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/beamertheme-pure-minimalistic/beamerfontthemepureminimalistic.sty
@@ -0,0 +1,87 @@
+% A pure minimalistic LaTeX-Beamer theme for everyone to use.
+% Copyright (C) 2020 Kai Norman Clasen
+
+% This program 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
+% (at your option) any later version.
+
+% This program is distributed in the hope that it will be useful,
+% but WITHOUT ANY WARRANTY; without even the implied warranty of
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+% GNU General Public License for more details.
+
+% You should have received a copy of the GNU General Public License
+% along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+% This file is part of beamerthemepureminimalistic.
+
+% If problems/bugs are found or enhancements are desired, please contact
+% me over: https://github.com/kai-tub/latex-beamer-pure-minimalistic
+
+\ProvidesPackage{beamerfontthemepureminimalistic}[v1.2.4]
+\RequirePackage{ifthen}
+\mode<presentation>
+
+\newboolean{nofirafonts}
+\setboolean{nofirafonts}{false}
+\newboolean{helvetica}
+\setboolean{helvetica}{false}
+
+\DeclareOptionBeamer{nofirafonts}{\setboolean{nofirafonts}{true}}
+\DeclareOptionBeamer{helvetica}{\setboolean{helvetica}{true}}
+\ProcessOptionsBeamer
+
+\RequirePackage{silence}
+% I have no clue how I can fix this warning
+\WarningFilter{latex}{Font shape declaration has incorrect series value}
+
+\ifthenelse{\boolean{helvetica}}{%
+ % If Helvetica overwrites the fira fonts settings
+ \RequirePackage[T1]{fontenc}
+ \RequirePackage[scaled]{helvet}
+}{%
+ \ifthenelse{\boolean{nofirafonts}}{%
+ % Load default fonts
+ }{%
+ % By default load Fira
+ \RequirePackage[T1]{fontenc}
+ \RequirePackage[sfdefault]{FiraSans}
+ \RequirePackage{FiraMono}
+ }
+}
+
+\renewcommand\normalsize{\fontsize{12pt}{14pt}\selectfont}
+\renewcommand\small{\fontsize{10pt}{12pt}\selectfont}
+\renewcommand\large{\fontsize{14pt}{16pt}\selectfont}
+\renewcommand\Large{\fontsize{16pt}{18pt}\selectfont}
+
+\setbeamerfont{normal text}{family=\sffamily,size*={12pt}{14pt},series=\mdseries}
+\setbeamerfont{alerted text}{parent=normal text}
+
+\setbeamerfont{structure}{parent=normal text,series=\mdseries}
+
+\setbeamerfont{footline}{parent=structure,size*={8pt}{10pt}}
+
+\setbeamerfont{title}{size*={14pt}{16pt},parent=alerted text,shape=\scshape}
+\setbeamerfont{title in head/foot}{parent=footline,series=\bfseries}
+
+\setbeamerfont{subtitle}{parent=title,shape=\upshape}
+
+\setbeamerfont{section in toc}{parent=normal text}
+\setbeamerfont{subsection in toc}{parent=section in toc}
+\setbeamerfont{subsubsection in toc}{parent=subsection in toc}
+
+\setbeamerfont{author}{parent=normal text}
+\setbeamerfont{author in head/foot}{parent=footline}
+\setbeamerfont*{institute}{parent=normal text}
+
+\setbeamerfont{frametitle}{parent=alerted text,size*={16pt}{18pt}}
+\setbeamerfont{caption}{series=\normalfont, size=\small}
+\setbeamerfont{caption name}{series=\normalfont, size=\small}
+
+\setbeamerfont*{itemize/enumerate body}{parent=normal text}
+\setbeamerfont*{itemize/enumerate subbody}{parent=itemize/enumerate body}
+\setbeamerfont*{itemize/enumerate subsubbody}{parent=itemize/enumerate subbody}
+
+\mode<all> \ No newline at end of file
diff --git a/Master/texmf-dist/tex/latex/beamertheme-pure-minimalistic/beamerinnerthemepureminimalistic.sty b/Master/texmf-dist/tex/latex/beamertheme-pure-minimalistic/beamerinnerthemepureminimalistic.sty
new file mode 100644
index 00000000000..1bc26800b80
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/beamertheme-pure-minimalistic/beamerinnerthemepureminimalistic.sty
@@ -0,0 +1,96 @@
+% A pure minimalistic LaTeX-Beamer theme for everyone to use.
+% Copyright (C) 2020 Kai Norman Clasen
+
+% This program 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
+% (at your option) any later version.
+
+% This program is distributed in the hope that it will be useful,
+% but WITHOUT ANY WARRANTY; without even the implied warranty of
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+% GNU General Public License for more details.
+
+% You should have received a copy of the GNU General Public License
+% along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+% This file is part of beamerthemepureminimalistic.
+
+% If problems/bugs are found or enhancements are desired, please contact
+% me over: https://github.com/kai-tub/latex-beamer-pure-minimalistic
+
+\ProvidesPackage{beamerinnerthemepureminimalistic}[v1.2.4]
+
+\mode<presentation>
+
+\def\itemsymbol{\raisebox{0.3ex}{\small$\bullet$}}
+\let\svitem\item
+\newenvironment{vfilleditems}{%
+ \begin{itemize} %
+ \let\olditem\item
+ \renewcommand\item[1][\itemsymbol]{\vfill\svitem[##1]}}%
+ {\end{itemize}\vfill}
+
+\defbeamertemplate*{section in toc}{pureminimalistic}{%
+ \hspace{0.5em} \inserttocsectionnumber.~\inserttocsection
+}
+
+\defbeamertemplate*{subsection in toc}{pureminimalistic}{%
+ \hspace{1.5em} \inserttocsectionnumber.\inserttocsubsectionnumber~\inserttocsubsection\par
+}
+
+\defbeamertemplate*{subsubsection in toc}{pureminimalistic}{% No one should use subsubsections in a presentation
+}
+
+\defbeamertemplate*{itemize item}{pureminimalistic}{%
+ \usebeamerfont*{itemize item}\itemsymbol
+}
+
+\defbeamertemplate*{itemize subitem}{pureminimalistic}{%
+ \usebeamerfont*{itemize subitem}\itemsymbol
+}
+
+\defbeamertemplate*{itemize subsubitem}{pureminimalistic}{%
+ \usebeamerfont*{itemize subsubitem}\itemsymbol
+}
+
+\defbeamertemplate*{bibliography item}{pureminimalistic}{%
+ \insertbiblabel
+}
+
+\setlength{\abovecaptionskip}{0ex}
+\setlength{\belowcaptionskip}{1ex}
+
+\setbeamertemplate{caption}{%
+ \insertcaption%
+}
+
+\defbeamertemplate*{title page}{pureminimalistic}[1][]
+{
+ \usebeamerfont{title}
+ \begin{beamercolorbox}[sep=0ex,wd=\textwidth,dp=1ex]{headline}
+ \vskip 3pt
+ \hfill\logotitle\par% \logotitle is defined in outertheme
+ \vskip 75pt
+ \parbox{\linewidth}{%
+ \begin{beamercolorbox}[wd=\textwidth]{title}%
+ {\inserttitle}%
+ \end{beamercolorbox}
+
+ \begin{beamercolorbox}[wd=\textwidth,dp=1ex]{author}%
+ \vskip 3pt
+ \small\usebeamerfont{author}\usebeamercolor{author}\insertauthor $\quad$
+ \ifx\insertinstitute\@empty%
+ \else%
+ {\usebeamerfont{institute}\insertinstitute $\quad$}%
+ \fi%
+ \ifx\insertsubtitle\@empty%
+ \else%
+ {\usebeamerfont{subtitle}\insertsubtitle}%
+ \fi%
+ \end{beamercolorbox}%
+ }%
+ \end{beamercolorbox}
+}
+
+\mode<all> \ No newline at end of file
diff --git a/Master/texmf-dist/tex/latex/beamertheme-pure-minimalistic/beamerouterthemepureminimalistic.sty b/Master/texmf-dist/tex/latex/beamertheme-pure-minimalistic/beamerouterthemepureminimalistic.sty
new file mode 100644
index 00000000000..0e501bf5aa6
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/beamertheme-pure-minimalistic/beamerouterthemepureminimalistic.sty
@@ -0,0 +1,125 @@
+% A pure minimalistic LaTeX-Beamer theme for everyone to use.
+% Copyright (C) 2020 Kai Norman Clasen
+
+% This program 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
+% (at your option) any later version.
+
+% This program is distributed in the hope that it will be useful,
+% but WITHOUT ANY WARRANTY; without even the implied warranty of
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+% GNU General Public License for more details.
+
+% You should have received a copy of the GNU General Public License
+% along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+% This file is part of beamerthemepureminimalistic.
+
+% If problems/bugs are found or enhancements are desired, please contact
+% me over: https://github.com/kai-tub/latex-beamer-pure-minimalistic
+
+\ProvidesPackage{beamerouterthemepureminimalistic}[v1.2.4]
+\RequirePackage{ifthen}
+\RequirePackage{etoolbox}
+\RequirePackage{calc}
+
+\mode<presentation>
+
+\newboolean{showmaxslides}
+\setboolean{showmaxslides}{false}
+
+\newboolean{nofooter}
+\setboolean{nofooter}{false}
+
+\DeclareOptionBeamer{showmaxslides}{\setboolean{showmaxslides}{true}}
+\DeclareOptionBeamer{nofooter}{\setboolean{nofooter}{true}}
+
+\ProcessOptionsBeamer
+
+% invertcolor is already processed in colortheme
+\ifthenelse{\boolean{darkmode}}{%
+ \newcommand{\headerpath}{logos/header_logo_darkmode}
+ \newcommand{\institutepath}{logos/institute_logo_darkmode}
+}{%
+ \newcommand{\headerpath}{logos/header_logo}
+ \newcommand{\institutepath}{logos/institute_logo}
+}
+% The header shares the horizontal space with the frame title in normal mode
+% a relative width value between .5 and .8 should usually be the best
+\newcommand{\logoheader}{\includegraphics[width=.5\linewidth]{\headerpath}}
+% For the title page, the logo is embedded in the total frame, meaning that \linewidth
+% here refers to the complete \paperwidth, small width values of < .4 are usually best.
+\newcommand{\logotitle}{\includegraphics[width=.2\linewidth]{\headerpath}}
+% The footer will only use part of the space under the line. Usually almost the
+% full linewidth should be used
+\newcommand{\logofooter}{\includegraphics[width=.8\linewidth]{\institutepath}}
+
+\defbeamertemplate*{frametitle}{largetitle}{
+ \logotitle
+}
+
+\newlength{\myleftmargin}
+\setlength{\myleftmargin}{.0625\paperwidth}
+\newlength{\myrightmargin}
+\setlength{\myrightmargin}{.0625\paperwidth}
+\newlength{\mytextlength}
+\setlength{\mytextlength}{\paperwidth - \myleftmargin - \myrightmargin}
+\newlength{\myfooterheight}
+\setlength{\myfooterheight}{.08\paperheight}
+
+\setbeamersize{text margin left=\myleftmargin, text margin right=\myrightmargin}
+
+\defbeamertemplate*{frametitle}{pureminimalistictitle}{
+ \vskip 10pt
+ \leavevmode
+ \begin{beamercolorbox}[sep=0ex, wd=.65\paperwidth, left]{frametitle}
+ \usebeamerfont{frametitle}%
+ \insertframetitle%
+ \end{beamercolorbox}%
+ \begin{beamercolorbox}[sep=0pt, wd=.2\paperwidth, right]{headline}
+ \logoheader
+ \end{beamercolorbox}
+}%
+
+\defbeamertemplate*{footline}{pureminimalisticfooter}{%
+ \ifthenelse{\boolean{nofooter}}{}{%
+ \leavevmode
+ \begin{beamercolorbox}[sep=0pt, wd=\myleftmargin, ht=\myfooterheight, dp=1ex]{footline}
+ \end{beamercolorbox}%
+ \begin{beamercolorbox}[sep=0pt, wd=\mytextlength, ht=\myfooterheight, dp=1ex]{footline}
+ \parbox{\linewidth}%
+ % Don't ask me why I had to insert a space/character after \usebeamercolor
+ % for it to have an effect on \hrule. Same goes for \color{white} \hrule
+ { \usebeamercolor[fg]{normal text}\ \hrule }
+ \leavevmode
+ \begin{beamercolorbox}[sep=0mm, wd=.6\paperwidth, ht=\myfooterheight]{footline}%
+ \usebeamerfont{footline}%
+ \vbox to\myfooterheight{%
+ \vfil%
+ \insertshorttitle{} $~|~$ %
+ \insertshortauthor{} $\quad$ %
+ \insertshortsubtitle{}\par%
+ Page \insertframenumber\ifthenelse{%
+ \boolean{showmaxslides}}%
+ {/\inserttotalframenumber}%
+ {}\par%
+ \vfil%
+ \vfil%
+ }%
+ \end{beamercolorbox}%
+ \begin{beamercolorbox}[sep=0mm, wd=.275\paperwidth,right, ht=\myfooterheight]{footline}
+ \vbox to\myfooterheight{%
+ \vfil%
+ \logofooter
+ \vfil%
+ \vfil%
+ }%
+ \end{beamercolorbox}%
+ \end{beamercolorbox}%
+ \begin{beamercolorbox}[sep=0pt, wd=\myrightmargin, dp=1ex, ht=\myfooterheight]{footline}
+ \end{beamercolorbox}
+ }
+ }
+
+\mode<all> \ No newline at end of file
diff --git a/Master/texmf-dist/tex/latex/beamertheme-pure-minimalistic/beamerthemepureminimalistic.sty b/Master/texmf-dist/tex/latex/beamertheme-pure-minimalistic/beamerthemepureminimalistic.sty
new file mode 100644
index 00000000000..0f38bd834f4
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/beamertheme-pure-minimalistic/beamerthemepureminimalistic.sty
@@ -0,0 +1,57 @@
+% A pure minimalistic LaTeX-Beamer theme for everyone to use.
+% Copyright (C) 2020 Kai Norman Clasen
+
+% This program 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
+% (at your option) any later version.
+
+% This program is distributed in the hope that it will be useful,
+% but WITHOUT ANY WARRANTY; without even the implied warranty of
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+% GNU General Public License for more details.
+
+% You should have received a copy of the GNU General Public License
+% along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+% This file is part of beamerthemepureminimalistic.
+
+% If problems/bugs are found or enhancements are desired, please contact
+% me over: https://github.com/kai-tub/latex-beamer-pure-minimalistic
+
+\ProvidesPackage{beamerthemepureminimalistic}[v1.2.4]
+
+\mode<presentation>
+
+\DeclareOptionBeamer{darkmode}{\PassOptionsToPackage{darkmode}{beamercolorthemepureminimalistic}}
+\DeclareOptionBeamer{showmaxslides}{\PassOptionsToPackage{showmaxslides}{beamerouterthemepureminimalistic}}
+\DeclareOptionBeamer{nofooter}{\PassOptionsToPackage{nofooter}{beamerouterthemepureminimalistic}}
+\DeclareOptionBeamer{nofirafonts}{\PassOptionsToPackage{nofirafonts}{beamerfontthemepureminimalistic}}
+\DeclareOptionBeamer{helvetica}{\PassOptionsToPackage{helvetica}{beamerfontthemepureminimalistic}}
+
+\ProcessOptionsBeamer
+
+% Settings
+\usefonttheme{pureminimalistic}
+\usecolortheme{pureminimalistic}
+\useoutertheme{pureminimalistic}
+\useinnertheme{pureminimalistic}
+
+\setbeamertemplate{navigation symbols}{}%
+\beamerdefaultoverlayspecification{}
+
+\def\maketitle{%
+ {%Set beamer template only works for the following frames.
+ % Would need a different way to support calling \maketitle in
+ % a frame environment
+ \setbeamertemplate{footline}{}%
+ \setbeamertemplate{frametitle}[largetitle]%
+
+ \begin{frame}[noframenumbering]%
+ \titlepage%
+ \end{frame}%
+ }
+}
+
+
+\mode<all>