% Copyright 2021 by Jan Benda
%
% This file may be distributed and/or modified
%
% 1. under the LaTeX Project Public License and/or
% 2. under the GNU Public License.

\ProvidesPackage{beamerthemeut}[2021/03/02 beamer theme for the cooperate design of the University of Tuebingen]

\RequirePackage[scaled]{helvet}
\RequirePackage{sfmath}

% pass options to lines theme:
\DeclareOptionBeamer{author}{\PassOptionsToPackage{author}{beamerthemelines}}
\DeclareOptionBeamer{hideauthor}{\PassOptionsToPackage{hideauthor}{beamerthemelines}}
\DeclareOptionBeamer{institute}{\PassOptionsToPackage{institute}{beamerthemelines}}
\DeclareOptionBeamer{hideinstitute}{\PassOptionsToPackage{hideinstitute}{beamerthemelines}}
\DeclareOptionBeamer{date}{\PassOptionsToPackage{date}{beamerthemelines}}
\DeclareOptionBeamer{hidedate}{\PassOptionsToPackage{hidedate}{beamerthemelines}}
\DeclareOptionBeamer{title}{\PassOptionsToPackage{title}{beamerthemelines}}
\DeclareOptionBeamer{hidetitle}{\PassOptionsToPackage{hidetitle}{beamerthemelines}}
\DeclareOptionBeamer{page}{\PassOptionsToPackage{page}{beamerthemelines}}
\DeclareOptionBeamer{hidepage}{\PassOptionsToPackage{hidepage}{beamerthemelines}}
\DeclareOptionBeamer{logo}{\PassOptionsToPackage{logo}{beamerthemelines}}
\DeclareOptionBeamer{hidelogo}{\PassOptionsToPackage{hidelogo}{beamerthemelines}}

\ExecuteOptionsBeamer{author}
\ExecuteOptionsBeamer{page}
\ExecuteOptionsBeamer{logo}

\ProcessOptionsBeamer


\mode<presentation>

\usetheme[noset]{lines}

\setbeamertemplate{frametitle}[boxline]           % boxline, boxlinelogo
\setbeamertemplate{frametitle line}[page][0.75pt] % text, page

\setbeamertemplate{page number in head/foot}[frames] % frames, framestotal, slides
\setbeamertemplate{footline}[linesleft]     % default, linesleft
\setbeamertemplate{footline line}[page][0.3pt]      % text, page
\setbeamertemplate{footline separator}[text][0.3pt] % text, full, dash, space

\setbeamertemplate{itemize item}[arrow]     % default, triangle, circle, square, ball, arrow, dash
\setbeamertemplate{itemize subitem}[dash]   % default, triangle, circle, square, ball, arrow, dash

\setbeamertemplate{enumerate item}[arabic]  % default, circle, square, ball, alph, Alph, arabic, roman, Roman
\setbeamertemplate{enumerate subitem}[alph] % default, circle, square, ball, alph, arabic, roman

\setbeamertemplate{blocks}[default]          % default, rounded

\setbeamertemplate{title page}[leftlines]    % leftlines, centerlines
\setbeamertemplate{title page graphic line}[default][1.4ex]
\setbeamertemplate{title page title line}[default][0.75pt]
\setbeamertemplate{title page author and}[line]    % space, comma, line, and
\setbeamertemplate{title page institute and}[line] % default, space, comma, line

\setbeamertemplate{section name separator}[text][2pt] % space, text
\setbeamertemplate{subsection name separator}[text][2pt] % space, text

\setbeamerfont{footline}{size=\tiny}

\usecolortheme{ut}

\mode<all>
