Skip to content

Commit

Permalink
add theme2023
Browse files Browse the repository at this point in the history
  • Loading branch information
TeXhackse committed Oct 3, 2023
1 parent 94e1886 commit a4b58ef
Show file tree
Hide file tree
Showing 5 changed files with 539 additions and 18 deletions.
20 changes: 11 additions & 9 deletions tex/beamercolorthemeTUDa2023.sty
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,17 @@

\RequirePackage{l3keys2e}
\ExplSyntaxOn
\bool_if_exist:NF \g__ptxcd_colorframetitle_bool {\bool_new:N \g__ptxcd_colorframetitle_bool}

\clist_map_inline:nn {colortitle,
colorbacktitle,
colorframetitle,
colorback
} {
\keys_define:nn {ptxcd/beamer/color} {#1 .code:n = \msg_warning:nn {tudabeamer} {option-removed} {#1}}
}

\keys_define:nn {ptxcd/beamer/color} {
colortitle .bool_gset:N = \g_ptxcd_beamer_colortitle_bool,
colortitle .default:n = true,
colortitle .initial:n = true,
colorbacktitle .meta:n = {colortitle=#1},
colorframetitle .code:n = \use:c {bool_gset_#1:N} \g__ptxcd_colorframetitle_bool \cs_if_exist_use:N \__ptxcd_setup_frametitle_color:,
colorframetitle .default:n = true,
colorback .meta:n = {colorframetitle=#1}

}

\ProcessKeysOptions{ptxcd/beamer/color}
Expand All @@ -28,6 +29,7 @@
\setbeamercolor{author}{parent=title}
\setbeamercolor{institute}{parent=title}
\setbeamercolor{date}{parent=title}
\setbeamercolor{titlelike}{parent=title}

\setbeamercolor*{author}{parent=title}
\setbeamercolor*{institute}{parent=title}
Expand All @@ -46,7 +48,7 @@
\setbeamercolor{bibliography entry location}{use=structure,fg=structure.fg}
\setbeamercolor{bibliography entry note}{use=structure,fg=normal text.fg}

\setbeamercolor{titlelike}{fg=textaccentcolor,bg=white}


\setbeamercolor*{block title}{fg=textonaccentcolor,bg=accentcolor}
\setbeamercolor*{block body}{fg=black,bg=black!15}
Expand Down
15 changes: 6 additions & 9 deletions tex/beamerfontthemeTUDa2023.sty
Original file line number Diff line number Diff line change
Expand Up @@ -27,25 +27,22 @@
{\renewcommand*{\familydefault}{\sfdefault}}
\ExplSyntaxOff

\setbeamerfont{title}{size=\large,series=\bfseries}
\setbeamerfont{subtitle}{size=\normalsize,series=\bfseries}
\setbeamerfont{title}{family=\robotoblack,size=\huge}
\setbeamerfont*{subtitle}{family=\normalfont,size=\small}

\setbeamerfont{author}{size=\footnotesize, series=\bfseries}
\setbeamerfont{institute}{size=\footnotesize, series=\mdseries}

\setbeamerfont{frametitle}{series=\bfseries,size*={20}{20},family=\robotoblack}

\setbeamerfont{footline}{size*={3.8}{5}}
\setbeamerfont{author in head/foot}{parent=footline}
\setbeamerfont{title~in~head/foot}{family=\robotoblackspaced}
\setbeamerfont{title in head/foot}{family=\robotoblackspaced}

\setbeamerfont*{section title}{size=\huge,family=\robotoblack}
\setbeamerfont*{section name}{size=\small}
\setbeamerfont{section~entry}{size=\footnotesize}
\setbeamerfont{toc~section~number}{family=\robotoblack,size=\huge}

\setbeamerfont{title}{family=\robotoblack,size=\huge}
\setbeamerfont*{subtitle}{family=\normalfont,size=\small}

\setbeamerfont{section entry}{size=\footnotesize}
\setbeamerfont{toc section number}{family=\robotoblack,size=\huge}

\mode<all>

Expand Down
Loading

0 comments on commit a4b58ef

Please sign in to comment.