diff options
Diffstat (limited to 'macros/latex/contrib/beamer-contrib/themes/beamertheme-pure-minimalistic/beamerinnerthemepureminimalistic.sty')
-rw-r--r-- | macros/latex/contrib/beamer-contrib/themes/beamertheme-pure-minimalistic/beamerinnerthemepureminimalistic.sty | 96 |
1 files changed, 96 insertions, 0 deletions
diff --git a/macros/latex/contrib/beamer-contrib/themes/beamertheme-pure-minimalistic/beamerinnerthemepureminimalistic.sty b/macros/latex/contrib/beamer-contrib/themes/beamertheme-pure-minimalistic/beamerinnerthemepureminimalistic.sty new file mode 100644 index 0000000000..1bc26800b8 --- /dev/null +++ b/macros/latex/contrib/beamer-contrib/themes/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 |