diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/tuda-ci/beamerfontthemeTUDa.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/tuda-ci/beamerfontthemeTUDa.sty | 32 |
1 files changed, 27 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/tuda-ci/beamerfontthemeTUDa.sty b/Master/texmf-dist/tex/latex/tuda-ci/beamerfontthemeTUDa.sty index fbdf3382fa9..b1f54a81850 100644 --- a/Master/texmf-dist/tex/latex/tuda-ci/beamerfontthemeTUDa.sty +++ b/Master/texmf-dist/tex/latex/tuda-ci/beamerfontthemeTUDa.sty @@ -1,4 +1,4 @@ -%% This is file `beamerfontthemeTUDa.sty' version 1.10 (2019/09/09), +%% This is file `beamerfontthemeTUDa.sty' version 1.11 (2019/09/25), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- @@ -26,16 +26,36 @@ %% %% ============================================================================ %% -\def\fileversion{1.10} -\def\filedate{2019/09/09} +\def\fileversion{1.11} +\def\filedate{2019/09/25} \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{beamerfontthemeTUDa} [\filedate\space\fileversion] + +\RequirePackage{l3keys2e} + +\ExplSyntaxOn +\keys_define:nn {TUDa/beamer/fonts} { + serif .bool_gset:N = \g_TUDa_serif_bool, + serif .default:n = true, + serif .initial:n = false, + sans-serif .bool_gset_inverse:N = \g_TUDa_serif_bool, + sans-serif .default:n = true, +} + +\ProcessKeysOptions{TUDa/beamer/fonts} + +\ExplSyntaxOff + +\mode<presentation> \RequirePackage{tudafonts} -\renewcommand*{\familydefault}{\sfdefault} -\mode<presentation>{\beamer@suppressreplacementstrue} +\ExplSyntaxOn +\bool_if:NTF \g_TUDa_serif_bool + {\usefonttheme{serif}} + {\renewcommand*{\familydefault}{\sfdefault}} +\ExplSyntaxOff \setbeamerfont{title}{size=\large,series=\bfseries} \setbeamerfont{subtitle}{size=\normalsize,series=\bfseries} @@ -44,4 +64,6 @@ \setbeamerfont{frametitle}{size=\large,series=\bfseries} \setbeamerfont{author in head/foot}{size=\tiny} +\mode<all> + \endinput |