diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/tuda-ci/beamerfontthemeTUDa2008.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/tuda-ci/beamerfontthemeTUDa2008.sty | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/tuda-ci/beamerfontthemeTUDa2008.sty b/Master/texmf-dist/tex/latex/tuda-ci/beamerfontthemeTUDa2008.sty new file mode 100644 index 00000000000..7edc07a3c1d --- /dev/null +++ b/Master/texmf-dist/tex/latex/tuda-ci/beamerfontthemeTUDa2008.sty @@ -0,0 +1,59 @@ +%% This is file `beamerfontthemeTUDa2008.sty' version 3.37 (2024-04-21) +%% it is part of +%% TUDa-CI -- Corporate Design for TU Darmstadt +%% ---------------------------------------------------------------------------- +%% +%% Copyright (C) 2018--2024 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> +%% +%% The development respository can be found at +%% https://github.com/tudace/tuda_latex_templates +%% Please use the issue tracker for feedback! +%% +%% ============================================================================ +%% +\NeedsTeXFormat{LaTeX2e}[2022/06/01] +\ProvidesExplPackage{beamerfontthemeTUDa2008}{2024-04-21}{3.37}{Beamer font theme of tuda-ci, compatibility for design of 2008} + +\RequirePackage{tudafonts} + +\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] + +\mode<presentation> + +\bool_if:NTF \g_ptxcd_serif_bool + {\usefonttheme{serif}} + {\renewcommand*{\familydefault}{\sfdefault}} + +\setbeamerfont{title}{size=\large,series=\bfseries} +\setbeamerfont{subtitle}{size=\normalsize,series=\bfseries} +\setbeamerfont{author}{size=\footnotesize, series=\bfseries} +\setbeamerfont{institute}{size=\footnotesize, series=\mdseries} + +\setbeamerfont{frametitle}{size=\large,series=\bfseries} +\setbeamerfont{author~in~head/foot}{size=\tiny} + +\mode<all> + +\endinput |