summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tuda-ci/tex/beamerthemeTUDa.sty
blob: 7287a8625e97b31f8743297e9a0807d83bc322ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
%% This is file `beamerthemeTUDa.sty' version 3.38 (2024-05-07),
%% 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{beamerthemeTUDa}{2024-04-21}{3.37}{Beamer theme using the Corporate Design of TU Darmstadt}

\mode<presentation>

\tl_if_exist:NF \g__ptxcd_design_tl {
	\tl_new:N \g__ptxcd_design_tl
	\keys_define:nn {ptxcd/beamer} {
		design .choice:,
		design / 2023 .code:n = {
			\tl_gset:Nn  \g__ptxcd_design_tl {2023}
			\PassOptionsToClass{aspectratio=169}{beamer}
		},
		design / 2008 .code:n = {
			\tl_gset:Nn  \g__ptxcd_design_tl {2008}
		},
		design .initial:n = 2023,
		design .usage:n = load,
		design2023 .meta:n = {design=2023},
		design2008 .meta:n = {design=2008},
	}
	\ProcessKeyOptions[ptxcd/beamer]
}

\RequirePackageWithOptions{beamerthemeTUDa\g__ptxcd_design_tl}

\mode<all>

\endinput