%% This is file `beamerfontthemeTUDa2023.sty' version 3.35 (2023-12-11),
%% it is part of
%% TUDa-CI -- Corporate Design for TU Darmstadt
%% ----------------------------------------------------------------------------
%%
%%  Copyright (C) 2018--2023 by Marei Peischl <marei@peitex.de>
%%
%% ============================================================================
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3c
%% of this license or (at your option) any later version.
%% The latest version of this license is in
%% http://www.latex-project.org/lppl.txt
%% and version 1.3c or later is part of all distributions of LaTeX
%% version 2008/05/04 or later.
%%
%% This work has the LPPL maintenance status `maintained'.
%%
%% The Current Maintainers of this work are
%%   Marei Peischl <tuda-ci@peitex.de>
%%   Markus Lazanowski <latex@ce.tu-darmstadt.de>
%%
%% The development respository can be found at
%% https://github.com/tudace/tuda_latex_templates
%% Please use the issue tracker for feedback!
%%
%% ============================================================================
%%
\def\fileversion{3.35}
\def\filedate{2023-12-11}
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{beamerfontthemeTUDa2023}
 [\filedate\space\fileversion]

\ExplSyntaxOn
\keys_define:nn {ptxcd/beamer/fonts} {
	serif .bool_gset:N = \g_ptxcd_serif_bool,
	serif .default:n = true,
	serif .initial:n = false,
	sans-serif .bool_gset_inverse:N = \g_ptxcd_serif_bool,
	sans-serif .default:n = true,
}

\ProcessKeyOptions[ptxcd/beamer/fonts]

\ExplSyntaxOff

\mode<presentation>

\RequirePackage{tudafonts}

\ExplSyntaxOn
\bool_if:NTF \g_ptxcd_serif_bool
	{\usefonttheme{serif}}
	{\renewcommand*{\familydefault}{\sfdefault}}
\ExplSyntaxOff

\setbeamerfont{title}{family=\robotoblack,size=\huge}
\setbeamerfont*{subtitle}{family=\normalfont,size=\small}

\setbeamerfont{author}{size=\footnotesize, series=\bfseries}
\setbeamerfont{institute}{size=\footnotesize, series=\mdseries}

\setbeamerfont{frametitle}{series=\bfseries,size*={20}{20},family=\robotoblack}

\setbeamerfont{footline}{size*={3.8}{5}}
\setbeamerfont{author in head/foot}{parent=footline}
\setbeamerfont{title in head/foot}{family=\robotoblackspaced}

\setbeamerfont*{section title}{size=\huge,family=\robotoblack}
\setbeamerfont*{section name}{size=\small}
\setbeamerfont{section entry}{size=\footnotesize}
\setbeamerfont{toc section number}{family=\robotoblack,size=\huge}

\setbeamerfont{subsection in toc}{parent=section entry}
\setbeamerfont{subsubsection in toc}{parent=section entry}

\mode<all>

\endinput
