From df42b39352bb8ffd623c43a39225b9d869e698e3 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Thu, 26 Sep 2019 21:49:06 +0000
Subject: tuda-ci (26sep19)

git-svn-id: svn://tug.org/texlive/trunk@52184 c570f23f-e606-0410-a88d-b1316a301751
---
 .../tex/latex/tuda-ci/beamerfontthemeTUDa.sty      | 32 ++++++++++++++++++----
 1 file changed, 27 insertions(+), 5 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/tuda-ci/beamerfontthemeTUDa.sty')

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
-- 
cgit v1.2.3

