Debian Codegraph @

texmf-dist/source/latex/tuda-ci/beamerfontthemeTUDa.dtx

raw
1 % \iffalse meta-comment
2 %
3 % TUDa-CI -- Corporate Design for TU Darmstadt
4 % ----------------------------------------------------------------------------
5 %
6 % Copyright (C) 2018--2025 by Marei Peischl <[email protected]>
7 %
8 % ============================================================================
9 % This work may be distributed and/or modified under the
10 % conditions of the LaTeX Project Public License, either version 1.3c
11 % of this license or (at your option) any later version.
12 % The latest version of this license is in
13 % http://www.latex-project.org/lppl.txt
14 % and version 1.3c or later is part of all distributions of LaTeX
15 % version 2008/05/04 or later.
16 %
17 % This work has the LPPL maintenance status `maintained'.
18 %
19 % The Current Maintainer of this work is
20 % Marei Peischl <[email protected]>
21 %
22 % The development repository can be found at
23 % https://github.com/tudace/tuda_latex_templates
24 % Please use the issue tracker for feedback!
25 %
26 % ============================================================================
27 %
28 % \fi
29 %
30 % \iffalse% no documentation on this
31 % \iffalse^^A Preparation for real docstrip documentation
32 %<*driver>
33 \ProvidesFile{beamerfontthemeTUDa.dtx}
34 [2025-11-13 v4.05 Beamer font theme of tuda-ci]
35 \typeout{***********************************************************}
36 \typeout{No documentation included in this file! Please see tuda-ci.pdf for more information and DEMO-TUDaBeamer.tex/.pdf for an example of use.}
37 \typeout{***********************************************************}
38 \stop
39 %</driver>
40 %<*package>
41 %<@@=ptxcd>
42 \NeedsTeXFormat{LaTeX2e}[2022/06/01]
43 %</package>
44 %<!2008>\ProvidesExplPackage{beamerfontthemeTUDa}{2025-11-13}{4.05}{Beamer font theme of tuda-ci}
45 %<2008>\ProvidesExplPackage{beamerfontthemeTUDa2008}{2025-11-13}{4.05}{Beamer font theme of tuda-ci, compatibility for design of 2008}
46 %
47 %<*driver>^^A Preparation for real docstrip documentation
48 \providecommand*{\TUDaDocDTXfiles}{beamerfontthemeTUDa.dtx}
49 \input{tuda-ci.dtx}
50 %</driver>
51 % \fi
52 %
53 % \changes{v4.00}{2025-01-26}{Converted to DTX file}
54 %
55 % \MaybeStop{}
56 %
57 % \section{Implementation}
58 %
59 % \iffalse
60 %<*package>
61 % \fi
62 % \begin{macrocode}
63 \RequirePackage{tudafonts}
64 \keys_define:nn {ptxcd/beamer/fonts} {
65 serif .bool_gset:N = \g_ptxcd_serif_bool,
66 serif .default:n = true,
67 serif .initial:n = false,
68 sans-serif .bool_gset_inverse:N = \g_ptxcd_serif_bool,
69 sans-serif .default:n = true,
70 }
71 \ProcessKeyOptions[ptxcd/beamer/fonts]
72 \mode<presentation>
73 \bool_if:NTF \g_ptxcd_serif_bool
74 {\usefonttheme{serif}}
75 {\renewcommand*{\familydefault}{\sfdefault}}
76 \setbeamerfont{author}{size=\footnotesize, series=\bfseries}
77 \setbeamerfont{institute}{size=\footnotesize, series=\mdseries}
78 % \end{macrocode}
79 % \iffalse
80 %<*main>
81 % \fi
82 % \begin{macrocode}
83 \ExplSyntaxOff
84 \setbeamerfont{title}{family=\robotoblack,size=\huge}
85 \setbeamerfont*{subtitle}{family=\normalfont,size=\small}
86 \setbeamerfont*{frametitle}{size*={20}{20},family=\robotoblack}
87 \setbeamerfont{footline}{size*={3.8}{5}}
88 \setbeamerfont{author in head/foot}{parent=footline}
89 \setbeamerfont{title in head/foot}{family=\robotoblackspaced}
90 \setbeamerfont*{section title}{size=\huge,family=\robotoblack}
91 \setbeamerfont*{section name}{size=\small}
92 \setbeamerfont{section entry}{size=\footnotesize}
93 \setbeamerfont{toc section number}{family=\robotoblack,size=\huge}
94 \setbeamerfont{section entry}{size=\footnotesize}
95 \setbeamerfont{subsection in toc}{parent=section entry}
96 \setbeamerfont{subsubsection in toc}{parent=section entry}
97 \ExplSyntaxOn
98 % \end{macrocode}
99 % \iffalse
100 %</main>
101 %<*2008>
102 % \fi
103 % \begin{macrocode}
104 \setbeamerfont{title}{size=\large,series=\bfseries}
105 \setbeamerfont{subtitle}{size=\normalsize,series=\bfseries}
106 \setbeamerfont{frametitle}{size=\large,series=\bfseries}
107 \setbeamerfont{author~in~head/foot}{size=\tiny}
108 % \end{macrocode}
109 % \iffalse
110 %</2008>
111 %<*package>
112 % \fi
113 % \begin{macrocode}
114 \mode<all>
115 % \end{macrocode}
116 % \iffalse
117 %</package>
118 % \fi
119 % \Finale
120 % \fi^^A No documentation on this
121 \endinput