diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex')
36 files changed, 937 insertions, 1019 deletions
diff --git a/Master/texmf-dist/tex/latex/tuda-ci/beamercolorthemeTUDa.sty b/Master/texmf-dist/tex/latex/tuda-ci/beamercolorthemeTUDa.sty index f57f5caefe5..0715afa9d39 100644 --- a/Master/texmf-dist/tex/latex/tuda-ci/beamercolorthemeTUDa.sty +++ b/Master/texmf-dist/tex/latex/tuda-ci/beamercolorthemeTUDa.sty @@ -1,9 +1,9 @@ -%% This is file `beamercolorthemeTUDa.sty' version 3.36 (2024-01-05), +%% This is file `beamercolorthemeTUDa.sty' version 3.37 (2024-04-21), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2018--2023 by Marei Peischl <marei@peitex.de> +%% Copyright (C) 2018--2024 by Marei Peischl <marei@peitex.de> %% %% ============================================================================ %% This work may be distributed and/or modified under the @@ -25,53 +25,50 @@ %% %% ============================================================================ %% -\def\fileversion{3.36} -\def\filedate{2024-01-05} -\NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{beamercolorthemeTUDa} -[\filedate\space\fileversion] -\ExplSyntaxOn -\bool_if_exist:NF \g__ptxcd_colorframetitle_bool {\bool_new:N \g__ptxcd_colorframetitle_bool} +\NeedsTeXFormat{LaTeX2e}[2022/06/01] +\ProvidesPackage{beamercolorthemeTUDa}[2024-01-22 v3.35] -\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} +\ExplSyntaxOn +\clist_map_inline:nn { + colortitle, + colorbacktitle, + colorframetitle, + colorback +} { + \keys_define:nn {ptxcd/beamer/color} {#1 .code:n = \msg_warning:nnn {tudabeamer} {option-removed} {#1}} } -\ProcessKeyOptions[ptxcd/beamer/color] - -\ExplSyntaxOff -\RequirePackage[RGB]{tudacolors} - -\mode<presentation> - -\setbeamercolor*{smallrule}{bg=black} -\setbeamercolor*{identbar}{bg=identbarcolor} +\keys_define:nn {ptxcd/beamer/color} { -\ExplSyntaxOn -\bool_if:NTF \g_ptxcd_beamer_colortitle_bool { - \setbeamercolor*{title}{fg=textonaccentcolor,bg=accentcolor} -}{ - \setbeamercolor*{title}{parent=normal~text} } +\ExplSyntaxOff +\ProcessKeyOptions[ptxcd/beamer/color] -\cs_new:Nn \__ptxcd_setup_frametitle_color: { - \bool_if:NTF \g__ptxcd_colorframetitle_bool { - \setbeamercolor*{frametitle}{fg=textonaccentcolor,bg=accentcolor} - } { - \setbeamercolor*{frametitle}{use=normal~text,fg=normal~text.fg,bg=} - } +\RequirePackage{tudacolors} + +\definecolorset{HTML}{TUDa-}{}{% + dark1,000000;% + dark2,44546A;% + light1,FFFFFF;% + light2,E7E6E6;% + accent1,E6001A;% + accent2,004E8A;% + accent3,009CDA;% + accent4,00689D;% + accent5,B5B5B5;% + accent5,535353;% + hyperlink,243572% } -\__ptxcd_setup_frametitle_color: +\mode<presentation> -\ExplSyntaxOff +\setbeamercolor*{title}{parent=normal text} +\setbeamercolor{subtitle}{parent=title} +\setbeamercolor{author}{parent=title} +\setbeamercolor{institute}{parent=title} +\setbeamercolor{date}{parent=title} +\setbeamercolor{titlelike}{parent=title} \setbeamercolor*{author}{parent=title} \setbeamercolor*{institute}{parent=title} @@ -82,7 +79,7 @@ \setbeamercolor*{footline}{parent=normal text} \setbeamercolor*{alerted text}{fg=textaccentcolor} -\setbeamercolor*{structure}{fg=textaccentcolor} +\setbeamercolor*{structure}{fg=black} \setbeamercolor{bibliography item}{parent=item} \setbeamercolor{bibliography entry author}{use=structure,fg=structure.fg} @@ -90,21 +87,21 @@ \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} -\setbeamercolor*{block title alerted}{fg=TUDa-9b,bg=black!15} +\setbeamercolor*{block title alerted}{fg=TUDa-accent1,bg=TUDa-light2} \setbeamercolor*{block body alerted}{use=normal text, bg=white} -\setbeamercolor*{block frame alerted}{bg=TUDa-9b} +\setbeamercolor*{block frame alerted}{bg=TUDa-accent1} -\setbeamercolor*{block title example}{fg=TUDa-4d,bg=black!15} +\setbeamercolor*{block title example}{fg=TUDa-accent2,bg=TUDa-light2} \setbeamercolor*{block body example}{use=normal text, bg=white} -\setbeamercolor*{block frame example}{bg=TUDa-4d} +\setbeamercolor*{block frame example}{bg=TUDa-accent2} +\setbeamercolor{footline}{fg=black!50} -\mode -<all> +\mode<all> \endinput diff --git a/Master/texmf-dist/tex/latex/tuda-ci/beamercolorthemeTUDa2023.sty b/Master/texmf-dist/tex/latex/tuda-ci/beamercolorthemeTUDa2008.sty index f1f4835aec2..c9b9747fb6c 100644 --- a/Master/texmf-dist/tex/latex/tuda-ci/beamercolorthemeTUDa2023.sty +++ b/Master/texmf-dist/tex/latex/tuda-ci/beamercolorthemeTUDa2008.sty @@ -1,9 +1,9 @@ -%% This is file `beamercolorthemeTUDa2023.sty' version 3.36 (2024-01-05), +%% This is file `beamercolorthemeTUDa2008.sty' version 3.37 (2024-04-21) %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2018--2023 by Marei Peischl <marei@peitex.de> +%% Copyright (C) 2018--2024 by Marei Peischl <marei@peitex.de> %% %% ============================================================================ %% This work may be distributed and/or modified under the @@ -25,23 +25,18 @@ %% %% ============================================================================ %% -\def\fileversion{3.36} -\def\filedate{2024-01-05} -\NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{beamercolorthemeTUDa2023} -[\filedate\space\fileversion] -\ExplSyntaxOn - -\clist_map_inline:nn {colortitle, - colorbacktitle, - colorframetitle, - colorback -} { - \keys_define:nn {ptxcd/beamer/color} {#1 .code:n = \msg_warning:nn {tudabeamer} {option-removed} {#1}} -} +\NeedsTeXFormat{LaTeX2e}[2022/06/01] +\ProvidesExplPackage{beamercolorthemeTUDa2008}{2024-04-21}{3.37}{Beamer color theme of tuda-ci, compatibility for design of 2008} +\bool_if_exist:NF \g__ptxcd_colorframetitle_bool {\bool_new:N \g__ptxcd_colorframetitle_bool} \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} } \ProcessKeyOptions[ptxcd/beamer/color] @@ -49,29 +44,29 @@ \ExplSyntaxOff \RequirePackage[RGB]{tudacolors} -\definecolorset{HTML}{TUDa-}{}{% - dark1,000000;% - dark2,44546A;% - light1,FFFFFF;% - light2,E7E6E6;% - accent1,E6001A;% - accent2,004E8A;% - accent3,009CDA;% - accent4,00689D;% - accent5,B5B5B5;% - accent5,535353;% - hyperlink,243572% +\mode<presentation> + +\setbeamercolor*{smallrule}{bg=black} +\setbeamercolor*{identbar}{bg=identbarcolor} + +\ExplSyntaxOn +\bool_if:NTF \g_ptxcd_beamer_colortitle_bool { + \setbeamercolor*{title}{fg=textonaccentcolor,bg=accentcolor} +}{ + \setbeamercolor*{title}{parent=normal~text} } -\mode<presentation> +\cs_new:Nn \__ptxcd_setup_frametitle_color: { + \bool_if:NTF \g__ptxcd_colorframetitle_bool { + \setbeamercolor*{frametitle}{fg=textonaccentcolor,bg=accentcolor} + } { + \setbeamercolor*{frametitle}{use=normal~text,fg=normal~text.fg,bg=} + } +} -\setbeamercolor*{title}{parent=normal text} -\setbeamercolor{subtitle}{parent=title} -\setbeamercolor{author}{parent=title} -\setbeamercolor{institute}{parent=title} -\setbeamercolor{date}{parent=title} -\setbeamercolor{titlelike}{parent=title} +\__ptxcd_setup_frametitle_color: +\ExplSyntaxOff \setbeamercolor*{author}{parent=title} \setbeamercolor*{institute}{parent=title} @@ -81,7 +76,7 @@ \setbeamercolor*{footline}{parent=normal text} \setbeamercolor*{alerted text}{fg=textaccentcolor} -\setbeamercolor*{structure}{fg=black} +\setbeamercolor*{structure}{fg=textaccentcolor} \setbeamercolor{bibliography item}{parent=item} \setbeamercolor{bibliography entry author}{use=structure,fg=structure.fg} @@ -89,7 +84,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} @@ -101,11 +96,10 @@ \setbeamercolor*{block title example}{fg=TUDa-4d,bg=black!15} \setbeamercolor*{block body example}{use=normal text, bg=white} \setbeamercolor*{block frame example}{bg=TUDa-4d} +\ExplSyntaxOn -\setbeamercolor{footline}{fg=black!50} +\mode<all> -\mode -<all> \endinput diff --git a/Master/texmf-dist/tex/latex/tuda-ci/beamerfontthemeTUDa.sty b/Master/texmf-dist/tex/latex/tuda-ci/beamerfontthemeTUDa.sty index e5d474ff9aa..9b3dd3a6196 100644 --- a/Master/texmf-dist/tex/latex/tuda-ci/beamerfontthemeTUDa.sty +++ b/Master/texmf-dist/tex/latex/tuda-ci/beamerfontthemeTUDa.sty @@ -1,9 +1,9 @@ -%% This is file `beamerfontthemeTUDa.sty' version 3.36 (2024-01-05), +%% This is file `beamerfontthemeTUDa.sty' version 3.37 (2024-04-21) %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2018--2023 by Marei Peischl <marei@peitex.de> +%% Copyright (C) 2018--2024 by Marei Peischl <marei@peitex.de> %% %% ============================================================================ %% This work may be distributed and/or modified under the @@ -25,13 +25,10 @@ %% %% ============================================================================ %% -\def\fileversion{3.36} -\def\filedate{2024-01-05} -\NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{beamerfontthemeTUDa} - [\filedate\space\fileversion] +\NeedsTeXFormat{LaTeX2e}[2022/06/01] +\ProvidesExplPackage{beamerfontthemeTUDa}{2024-04-21}{3.37}{Beamer font theme of tuda-ci} +\RequirePackage{tudafonts} -\ExplSyntaxOn \keys_define:nn {ptxcd/beamer/fonts} { serif .bool_gset:N = \g_ptxcd_serif_bool, serif .default:n = true, @@ -42,25 +39,35 @@ \ProcessKeyOptions[ptxcd/beamer/fonts] -\ExplSyntaxOff - \mode<presentation> -\RequirePackage{tudafonts} - -\ExplSyntaxOn \bool_if:NTF \g_ptxcd_serif_bool {\usefonttheme{serif}} {\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}{size=\large,series=\bfseries} -\setbeamerfont{author in head/foot}{size=\tiny} +\setbeamerfont*{frametitle}{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*{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{subsection in toc}{parent=section entry} +\setbeamerfont{subsubsection in toc}{parent=section entry} + +\ExplSyntaxOn \mode<all> diff --git a/Master/texmf-dist/tex/latex/tuda-ci/beamerfontthemeTUDa2023.sty b/Master/texmf-dist/tex/latex/tuda-ci/beamerfontthemeTUDa2008.sty index 14663a8528c..7edc07a3c1d 100644 --- a/Master/texmf-dist/tex/latex/tuda-ci/beamerfontthemeTUDa2023.sty +++ b/Master/texmf-dist/tex/latex/tuda-ci/beamerfontthemeTUDa2008.sty @@ -1,9 +1,9 @@ -%% This is file `beamerfontthemeTUDa2023.sty' version 3.36 (2024-01-05), +%% This is file `beamerfontthemeTUDa2008.sty' version 3.37 (2024-04-21) %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2018--2023 by Marei Peischl <marei@peitex.de> +%% Copyright (C) 2018--2024 by Marei Peischl <marei@peitex.de> %% %% ============================================================================ %% This work may be distributed and/or modified under the @@ -25,13 +25,11 @@ %% %% ============================================================================ %% -\def\fileversion{3.36} -\def\filedate{2024-01-05} -\NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{beamerfontthemeTUDa2023} - [\filedate\space\fileversion] +\NeedsTeXFormat{LaTeX2e}[2022/06/01] +\ProvidesExplPackage{beamerfontthemeTUDa2008}{2024-04-21}{3.37}{Beamer font theme of tuda-ci, compatibility for design of 2008} + +\RequirePackage{tudafonts} -\ExplSyntaxOn \keys_define:nn {ptxcd/beamer/fonts} { serif .bool_gset:N = \g_ptxcd_serif_bool, serif .default:n = true, @@ -42,37 +40,19 @@ \ProcessKeyOptions[ptxcd/beamer/fonts] -\ExplSyntaxOff - \mode<presentation> -\RequirePackage{tudafonts} - -\ExplSyntaxOn \bool_if:NTF \g_ptxcd_serif_bool {\usefonttheme{serif}} {\renewcommand*{\familydefault}{\sfdefault}} -\ExplSyntaxOff - -\setbeamerfont{title}{family=\robotoblack,size=\huge} -\setbeamerfont*{subtitle}{family=\normalfont,size=\small} +\setbeamerfont{title}{size=\large,series=\bfseries} +\setbeamerfont{subtitle}{size=\normalsize,series=\bfseries} \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*{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{subsection in toc}{parent=section entry} -\setbeamerfont{subsubsection in toc}{parent=section entry} +\setbeamerfont{frametitle}{size=\large,series=\bfseries} +\setbeamerfont{author~in~head/foot}{size=\tiny} \mode<all> diff --git a/Master/texmf-dist/tex/latex/tuda-ci/beamerinnerthemeTUDa.sty b/Master/texmf-dist/tex/latex/tuda-ci/beamerinnerthemeTUDa.sty index 832504cbf4a..7789e86e6e0 100644 --- a/Master/texmf-dist/tex/latex/tuda-ci/beamerinnerthemeTUDa.sty +++ b/Master/texmf-dist/tex/latex/tuda-ci/beamerinnerthemeTUDa.sty @@ -1,9 +1,9 @@ -%% This is file `beamerinnerthemeTUDa2023.sty' version 3.36 (2024-01-05), +%% This is file `beamerinnerthemeTUDa.sty' version 3.37 (2024-04-21) %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2018--2023 by Marei Peischl <marei@peitex.de> +%% Copyright (C) 2018--2024 by Marei Peischl <marei@peitex.de> %% %% ============================================================================ %% This work may be distributed and/or modified under the @@ -25,10 +25,8 @@ %% %% ============================================================================ %% -\def\fileversion{3.36} -\def\filedate{2024-01-05} \NeedsTeXFormat{LaTeX2e} -\ProvidesExplPackage{beamerinnerthemeTUDa2023}{\filedate}{\fileversion}{Inner~beamer~theme~of~tuda-ci} +\ProvidesExplPackage{beamerinnerthemeTUDa}{2024-04-21}{3.37}{Inner~beamer~theme~of~tuda-ci} \int_new:N \g__ptxcd_beamer_toc_col_int @@ -43,7 +41,7 @@ design / 2008 .code:n = { \tl_gset:Nn \g__ptxcd_design_tl {2008} }, - design .initial:n = 2008, + design .initial:n = 2023, design2023 .meta:n = {design=2023}, design2008 .meta:n = {design=2008}, } @@ -53,14 +51,14 @@ author-on-title .bool_gset:N = \g_ptxcd_authorontitle_bool, author-on-title .initial:n = false, author-on-title .default:n = true, - authorontitle .meta:n = {author-on-title}, + authorontitle .meta:n = {author-on-title=#1}, toc-columns .choices:nn = {one,two,auto} { \int_gset_eq:NN \g__ptxcd_beamer_toc_col_int \l_keys_choice_int - }, - toc-columns / 1 .meta:n = {toc-columns=one}, - toc-columns / 2 .meta:n = {toc-columns=two}, - toc-columns .initial:n = auto, - design .meta:nn = {ptxcd/beamer} {design=#1} + }, + toc-columns / 1 .meta:n = {toc-columns=one}, + toc-columns / 2 .meta:n = {toc-columns=two}, + toc-columns .initial:n = auto, + design .meta:nn = {ptxcd/beamer} {design=#1} } \ProcessKeyOptions[ptxcd/beamer/inner] @@ -106,10 +104,7 @@ \useinnertheme{TUDa\g__ptxcd_design_tl} % Blocks - - -\defbeamertemplate*{block~begin}{TUDa} -{ +\defbeamertemplate*{block~begin}{TUDa}{ \par\vskip\medskipamount% \begin{beamercolorbox}[wd=\dimexpr\linewidth+2\l__ptxcd_beamer_extraindent_dim,sep=.5pt, leftskip=\dim_eval:n {\dim_compare:nTF {\l__ptxcd_beamer_extraindent_dim>\c_zero_dim} {\l__ptxcd_beamer_extraindent_dim-\beamer@colbox@sep} {\__ptxcd_block_colorsep:}}, @@ -128,13 +123,11 @@ \begin{beamercolorbox}[colsep*=\__ptxcd_block_colorsep:,vmode, wd=\dimexpr\linewidth-1.5ex-1pt\relax]{block~body}% \usebeamerfont{block~body}% \ifbeamercolorempty[bg]{block~body}{\vskip-.25ex}{\vskip-\__ptxcd_block_colorsep:}\vbox{}% - } - +} \defbeamertemplate*{block~end}{TUDa} {\end{beamercolorbox}\end{beamercolorbox}\vskip\smallskipamount} -\defbeamertemplate*{block~alerted~begin}{TUDa} -{ +\defbeamertemplate*{block~alerted~begin}{TUDa}{ \par\vskip\medskipamount% \begin{beamercolorbox}[ wd=\dimexpr\linewidth+2\l__ptxcd_beamer_extraindent_dim, @@ -151,14 +144,12 @@ \leavevmode \usebeamerfont{block~body~alerted}% \begin{beamercolorbox}[wd=\dim_eval:n {\linewidth-1.5ex-3pt},colsep*=\__ptxcd_block_colorsep:]{block~body~alerted}% - } - +} \defbeamertemplate*{block~alerted~end}{TUDa} {\end{beamercolorbox}\end{beamercolorbox}\vskip\smallskipamount} -\defbeamertemplate*{block~example~begin}{TUDa} -{ +\defbeamertemplate*{block~example~begin}{TUDa}{ \par\vskip\medskipamount% \begin{beamercolorbox}[ wd=\dimexpr\linewidth+2\l__ptxcd_beamer_extraindent_dim, @@ -175,7 +166,7 @@ \leavevmode \usebeamerfont{block~body~example}% \begin{beamercolorbox}[wd=\dim_eval:n {\linewidth-1.5ex-3pt},colsep*=\__ptxcd_block_colorsep:]{block~body~example}% - } +} \defbeamertemplate*{block~example~end}{TUDa} {\end{beamercolorbox}\end{beamercolorbox}\vskip\smallskipamount} diff --git a/Master/texmf-dist/tex/latex/tuda-ci/beamerinnerthemeTUDa2008.sty b/Master/texmf-dist/tex/latex/tuda-ci/beamerinnerthemeTUDa2008.sty index 0e87fea6832..b8b9d7d4f20 100644 --- a/Master/texmf-dist/tex/latex/tuda-ci/beamerinnerthemeTUDa2008.sty +++ b/Master/texmf-dist/tex/latex/tuda-ci/beamerinnerthemeTUDa2008.sty @@ -1,9 +1,9 @@ -%% This is file `beamerinnerthemeTUDa2008.sty' version 3.36 (2024-01-05), +%% This is file `beamerinnerthemeTUDa2008.sty' version 3.37 (2024-04-21), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2018--2023 by Marei Peischl <marei@peitex.de> +%% Copyright (C) 2018--2024 by Marei Peischl <marei@peitex.de> %% %% ============================================================================ %% This work may be distributed and/or modified under the @@ -25,88 +25,91 @@ %% %% ============================================================================ %% -\def\fileversion{3.36} -\def\filedate{2024-01-05} -\NeedsTeXFormat{LaTeX2e} -\ProvidesExplPackage{beamerinnerthemeTUDa}{\filedate}{\fileversion}{Inner~beamer~theme~of~tuda-ci, compatibility for design of 2008} +\NeedsTeXFormat{LaTeX2e}[2022-06-01] +\ProvidesExplPackage{beamerinnerthemeTUDa2008}{2024-04-21}{3.37}{Inner~beamer~theme~of~tuda-ci, compatibility for design of 2008} \mode<presentation> \RequirePackage{beamerinnerthemeTUDa2008} -\defbeamertemplate*{title~ page}{TUDa}[1][] -{ +\defbeamertemplate*{title~ page}{TUDa}[1][]{ \nointerlineskip \vspace{\dim_eval:n {-\c_ptxcd_largerule_dim}} \hbox_set:Nn \l__ptxcd_titlehead_box { - \parbox{\dimexpr\paperwidth-2\g__ptxcd_beamer_sep_dim}{% - \begin{beamercolorbox}[ - wd=\linewidth, - sep=\g__ptxcd_beamer_logosep_dim, - ]{title} - \raggedright - \usebeamerfont{title} - \skip_horizontal:n {1ex} - \strut\parbox[t]{\dimexpr\linewidth- \box_wd:N \g__ptxcd_logo_box-2ex\relax}{ - \inserttitle - \par - } - \hspace{\fill}\raisebox{\dimexpr-\height+\ht\strutbox\relax}{\box_use:N \g__ptxcd_logo_box} - \ifx\insertsubtitle\@empty - \else - \par\vspace{\c_ptxcd_largerule_dim} - \skip_horizontal:n {1ex}\parbox[t]{\dimexpr\linewidth- \box_wd:N \g__ptxcd_logo_box-2ex\relax}{ - \usebeamerfont{subtitle}\insertsubtitle - } - \fi - \end{beamercolorbox} -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\bool_if:NT \g_ptxcd_authorontitle_bool { -\par\nointerlineskip -\begin{beamercolorbox}[ - wd=\dimexpr\paperwidth-2\g__ptxcd_beamer_sep_dim,ht=\c_ptxcd_smallrule_dim,dp=\z@]{smallrule} -\end{beamercolorbox} -\par\nointerlineskip - \begin{beamercolorbox}[ - wd=\linewidth, - sep=\c_ptxcd_largerule_dim, - ]{title} - \raggedright - \skip_horizontal:n {1ex} - \parbox[t]{\dimexpr\paperwidth-2\g__ptxcd_beamer_sep_dim-2ex\relax}{ - \ifx\insertauthor\@empty - \else - \usebeamercolor[fg]{author}\usebeamerfont{author}\insertauthor\par - \fi - \ifx\insertauthor\@empty - \else - \usebeamercolor[fg]{institute}\usebeamerfont{institute}\insertinstitute - \fi - } -\end{beamercolorbox} -} - } + \parbox{\dimexpr\paperwidth-2\g__ptxcd_beamer_sep_dim}{% + \begin{beamercolorbox}[ + wd=\linewidth, + sep=\g__ptxcd_beamer_logosep_dim, + ]{title} + \raggedright + \usebeamerfont{title} + \skip_horizontal:n {1ex} + \strut\parbox[t]{\dimexpr\linewidth- \box_wd:N \g__ptxcd_logo_box-2ex\relax}{ + \inserttitle + \par + } + \hspace{\fill}\raisebox{\dimexpr-\height+\ht\strutbox\relax}{\box_use:N \g__ptxcd_logo_box} + \ifx\insertsubtitle\@empty + \else + \par\vspace{\c_ptxcd_largerule_dim} + \skip_horizontal:n {1ex}\parbox[t]{\dimexpr\linewidth- \box_wd:N \g__ptxcd_logo_box-2ex\relax}{ + \usebeamerfont{subtitle}\insertsubtitle + } + \fi + \end{beamercolorbox} + + \bool_if:NT \g_ptxcd_authorontitle_bool { + \par\nointerlineskip + \begin{beamercolorbox}[ + wd=\dimexpr\paperwidth-2\g__ptxcd_beamer_sep_dim,ht=\c_ptxcd_smallrule_dim,dp=\z@]{smallrule} + \end{beamercolorbox} + \par\nointerlineskip + \begin{beamercolorbox}[ + wd=\linewidth, + sep=\c_ptxcd_largerule_dim, + ]{title} + \raggedright + \skip_horizontal:n {1ex} + \parbox[t]{\dimexpr\paperwidth-2\g__ptxcd_beamer_sep_dim-2ex\relax}{ + \ifx\insertauthor\@empty + \else + \usebeamercolor[fg]{author}\usebeamerfont{author}\insertauthor\par + \fi + \ifx\insertauthor\@empty + \else + \usebeamercolor[fg]{institute}\usebeamerfont{institute}\insertinstitute + \fi + } + \end{beamercolorbox} + } + } } \box_use:N \l__ptxcd_titlehead_box -\nointerlineskip\begin{beamercolorbox}[ - wd=\dimexpr\paperwidth-2\g__ptxcd_beamer_sep_dim,ht=\c_ptxcd_smallrule_dim,dp=\z@]{smallrule} + \nointerlineskip\begin{beamercolorbox}[ + wd=\dimexpr\paperwidth-2\g__ptxcd_beamer_sep_dim,ht=\c_ptxcd_smallrule_dim,dp=\z@]{smallrule} \end{beamercolorbox} \dim_set:Nn \l__ptxcd_titlegraphic_ht_dim {\textheight-\box_ht:N\l__ptxcd_titlehead_box-\box_dp:N \l__ptxcd_titlehead_box - +\c_ptxcd_largerule_dim-.5\c_ptxcd_rulesep_dim-\c_ptxcd_smallrule_dim} + +\c_ptxcd_largerule_dim-.5\c_ptxcd_rulesep_dim-\c_ptxcd_smallrule_dim} \let\height\l__ptxcd_titlegraphic_ht_dim \dim_set:Nn \l__ptxcd_titlegraphic_wd_dim{\dimexpr\paperwidth-2\g__ptxcd_beamer_sep_dim} \let\width\l__ptxcd_titlegraphic_wd_dim \nointerlineskip \begin{beamercolorbox}[wd=\width,center]{titlegraphic} - \raisebox{-\c_ptxcd_largerule_dim}[\dim_eval:n {\height-\c_ptxcd_largerule_dim}][0pt]{\inserttitlegraphic} + \raisebox{-\c_ptxcd_largerule_dim}[\dim_eval:n {\height-\c_ptxcd_largerule_dim}][0pt]{\inserttitlegraphic} \end{beamercolorbox} -% \endgroup } %Itemize Items -\defbeamertemplate*{itemize~item}{TUDa}{\usebeamerfont*{itemize~item}\raise\dimexpr.4\ht\strutbox-.4ex\hbox{\rule{.8ex}{.8ex}}} -\defbeamertemplate*{itemize~subitem}{TUDa}{\usebeamerfont*{itemize~item}\setlength{\fboxsep}{\z@}\setlength{\fboxrule}{1pt}\raise\dimexpr.4\ht\strutbox-.2ex-\fboxrule\hbox{\fbox{\color{bg}\rule{.4ex}{.4ex}}}} -\defbeamertemplate*{itemize~subsubitem}{TUDa}{\usebeamerfont*{itemize~subitem}\hbox{--}} +\defbeamertemplate*{itemize~item}{TUDa}{ + \usebeamerfont*{itemize~item} + \raise\dimexpr.4\ht\strutbox-.4ex\hbox{\rule{.8ex}{.8ex}} +} +\defbeamertemplate*{itemize~subitem}{TUDa}{ + \usebeamerfont*{itemize~subitem} + \setlength{\fboxsep}{\z@}\setlength{\fboxrule}{1pt} + \raise\dimexpr.4\ht\strutbox-.2ex-\fboxrule\hbox{\fbox{\color{bg}\rule{.4ex}{.4ex}}} +} +\defbeamertemplate*{itemize~subsubitem}{TUDa}{\usebeamerfont*{itemize~subsubitem}\hbox{--}} \mode<all> diff --git a/Master/texmf-dist/tex/latex/tuda-ci/beamerinnerthemeTUDa2023.sty b/Master/texmf-dist/tex/latex/tuda-ci/beamerinnerthemeTUDa2023.sty index 615e2ab5a31..ebef3683a60 100644 --- a/Master/texmf-dist/tex/latex/tuda-ci/beamerinnerthemeTUDa2023.sty +++ b/Master/texmf-dist/tex/latex/tuda-ci/beamerinnerthemeTUDa2023.sty @@ -1,9 +1,9 @@ -%% This is file `beamerinnerthemeTUDa2023.sty' version 3.36 (2024-01-05), +%% This is file `beamerinnerthemeTUDa2023.sty' version 3.37 (2024-04-21), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2018--2023 by Marei Peischl <marei@peitex.de> +%% Copyright (C) 2018--2024 by Marei Peischl <marei@peitex.de> %% %% ============================================================================ %% This work may be distributed and/or modified under the @@ -25,10 +25,8 @@ %% %% ============================================================================ %% -\def\fileversion{3.36} -\def\filedate{2024-01-05} -\NeedsTeXFormat{LaTeX2e} -\ProvidesExplPackage{beamerinnerthemeTUDa2023}{\filedate}{\fileversion}{Inner~beamer~theme~of~tuda-ci,~Design~of~2023} +\NeedsTeXFormat{LaTeX2e}[2022/10/01] +\ProvidesExplPackage{beamerinnerthemeTUDa2023}{2024-04-21}{3.37}{Inner~beamer~theme~of~tuda-ci,~Design~of~2023} \mode<presentation> @@ -38,75 +36,74 @@ \RequirePackage{multicol} \ExplSyntaxOn - \AddToHook{begindocument}[ptxcd-titlegraphic]{ \dim_set:Nn \l__ptxcd_titlegraphic_ht_dim {\paperheight} \dim_set:Nn \l__ptxcd_titlegraphic_wd_dim {\paperwidth} } \defbeamertemplate*{titlegraphic}{TUDa2023}{{ - \def\width{\l__ptxcd_titlegraphic_wd_dim} - \def\height{\l__ptxcd_titlegraphic_ht_dim} - \usebeamercolor[fg]{titlegraphic}\inserttitlegraphic\par -}} + \def\width{\l__ptxcd_titlegraphic_wd_dim} + \def\height{\l__ptxcd_titlegraphic_ht_dim} + \usebeamercolor[fg]{titlegraphic}\inserttitlegraphic\par + }} \def\ps@titlegraphic@titlepage{% - \setbeamertemplate{background}{\usebeamertemplate{titlegraphic}} - \@nameuse{ps@navigation}% + \setbeamertemplate{background}{\usebeamertemplate{titlegraphic}} + \@nameuse{ps@navigation}% } \defbeamertemplate*{title~page}{TUDa2023}[1][] { - \ifbeamer@plainframe - \skip_vertical:n {\dimexpr\paperheight/38- \beamer@frametopskip}% - \color{red} - \hspace*{\fill} - \raisebox{\dimexpr-\height+.33\c_ptxcd_logoheight_dim}{\includegraphics[height=\dim_use:N \c_ptxcd_logoheight_dim]{tuda_logo}}\hspace*{\dimexpr.7pt-\beamer@rightmargin} - \par - \vskip1.39\baselineskip - \fi - \vbox{} - \thispagestyle{titlegraphic@titlepage} + \ifbeamer@plainframe + \skip_vertical:n {\dimexpr\paperheight/38- \beamer@frametopskip}% + \color{red} + \hspace*{\fill} + \raisebox{\dimexpr-\height+.33\c_ptxcd_logoheight_dim}{\includegraphics[height=\dim_use:N \c_ptxcd_logoheight_dim]{tuda_logo}}\hspace*{\dimexpr.7pt-\beamer@rightmargin} + \par + \vskip1.39\baselineskip + \fi + \vbox{} + \thispagestyle{titlegraphic@titlepage} \vskip.185\paperheight - \begingroup + \begingroup \centering \usebeamertemplate{title} -% \vskip1em\par -\bool_if:NT \g_ptxcd_authorontitle_bool { - \usebeamertemplate{author} - \usebeamertemplate{institute} - } + % \vskip1em\par + \bool_if:NT \g_ptxcd_authorontitle_bool { + \usebeamertemplate{author} + \usebeamertemplate{institute} + } \usebeamertemplate{date} - \endgroup - \vfill + \endgroup + \vfill } \defbeamertemplate*{title}{TUDa2023}[1][]{% - \begin{beamercolorbox}[sep=8pt,center,#1]{title} - \usebeamerfont{title}\text_uppercase:n {\inserttitle}\par% - \ifx\insertsubtitle\@empty% - \else% - \vskip.45em% - {\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle\par}% - \fi% - \end{beamercolorbox}% + \begin{beamercolorbox}[sep=8pt,center,#1]{title} + \usebeamerfont{title}\text_uppercase:n {\inserttitle}\par% + \ifx\insertsubtitle\@empty% + \else% + \vskip.45em% + {\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle\par}% + \fi% + \end{beamercolorbox}% } \defbeamertemplate{author}{TUDa2023}[1][]{% - \begin{beamercolorbox}[sep=8pt,center,#1]{author} - \usebeamerfont{author}\insertauthor - \end{beamercolorbox} + \begin{beamercolorbox}[sep=8pt,center,#1]{author} + \usebeamerfont{author}\insertauthor + \end{beamercolorbox} } \defbeamertemplate{institute}{TUDa2023}[1][]{% - \begin{beamercolorbox}[sep=8pt,center,#1]{institute} - \usebeamerfont{institute}\insertinstitute - \end{beamercolorbox} + \begin{beamercolorbox}[sep=8pt,center,#1]{institute} + \usebeamerfont{institute}\insertinstitute + \end{beamercolorbox} } \defbeamertemplate{date}{TUDa2023}[1][]{% \begin{beamercolorbox}[sep=8pt,center,#1]{date} - \usebeamerfont{date}\insertdate + \usebeamerfont{date}\insertdate \end{beamercolorbox} } @@ -125,16 +122,16 @@ \cs_new:Nn \__ptxcd_setup_logo_box:nnn { \begingroup - \def\width{\use:c {l__ptxcd_#2_wd_dim}} - \def\height{\use:c {l__ptxcd_#2_ht_dim}} - \IfBooleanTF{#1}{ - \hbox_gset:cn {g__ptxcd_#2_box} {#3} - \box_gautosize_to_wd_and_ht_plus_dp:cnn {g__ptxcd_#2_box} {\width} {\height} - } { - \hbox_gset:cn {g__ptxcd_#2_box} { - #3 - } + \def\width{\use:c {l__ptxcd_#2_wd_dim}} + \def\height{\use:c {l__ptxcd_#2_ht_dim}} + \IfBooleanTF{#1}{ + \hbox_gset:cn {g__ptxcd_#2_box} {#3} + \box_gautosize_to_wd_and_ht_plus_dp:cnn {g__ptxcd_#2_box} {\width} {\height} + } { + \hbox_gset:cn {g__ptxcd_#2_box} { + #3 } + } \endgroup } @@ -142,109 +139,39 @@ \__ptxcd_setup_logo_box:nnn {#1} {partnerlogo} {#2} } -\NewDocumentCommand{\sublogo}{sm}{ +\NewDocumentCommand{\sublogo}{sms}{ \__ptxcd_setup_logo_box:nnn {#1} {sublogo} {#2} + \IfBooleanT{#3}{ + \hbox_gset:Nn \g__ptxcd_sublogo_box { + \hbox_unpack_drop:N \g__ptxcd_sublogo_box + \hskip.6\l__ptxcd_sublogo_ht_dim + } + } } - -% Blocks - -% -%\defbeamertemplate*{block~begin}{TUDa} -%{ -% \par\vskip\medskipamount% -% \begin{beamercolorbox}[wd=\dimexpr\linewidth+2\l__ptxcd_beamer_extraindent_dim,sep=.5pt, -% leftskip=\dim_eval:n {\dim_compare:nTF {\l__ptxcd_beamer_extraindent_dim>\c_zero_dim} {\l__ptxcd_beamer_extraindent_dim-\beamer@colbox@sep} {\__ptxcd_block_colorsep:}}, -% ]{block~title} -% \ifx\insertblocktitle\@empty -% \else -% \begin{beamercolorbox}[colsep*=\__ptxcd_block_colorsep:, -% wd=\dimexpr\linewidth-1pt-1.5ex\relax]{block~title} -% \usebeamerfont*{block title}\insertblocktitle% -% \end{beamercolorbox}% -% \ifbeamercolorempty[bg]{block~title} -% {} -% {\ifbeamercolorempty[bg]{block~body}{}{\par\nointerlineskip\vskip-0.5pt}}% -% \leavevmode -% \fi -% \begin{beamercolorbox}[colsep*=\__ptxcd_block_colorsep:,vmode, wd=\dimexpr\linewidth-1.5ex-1pt\relax]{block~body}% -% \usebeamerfont{block~body}% -% \ifbeamercolorempty[bg]{block~body}{\vskip-.25ex}{\vskip-\__ptxcd_block_colorsep:}\vbox{}% -% } -% -%\defbeamertemplate*{block~end}{TUDa} -% {\end{beamercolorbox}\end{beamercolorbox}\vskip\smallskipamount} -% -%\defbeamertemplate*{block~alerted~begin}{TUDa} -%{ -% \par\vskip\medskipamount% -% \begin{beamercolorbox}[ -% wd=\dimexpr\linewidth+2\l__ptxcd_beamer_extraindent_dim, -% sep=1.5pt, -% leftskip=\dim_eval:n {\dim_compare:nTF {\l__ptxcd_beamer_extraindent_dim>\c_zero_dim} {\l__ptxcd_beamer_extraindent_dim-\beamer@colbox@sep} {\__ptxcd_block_colorsep:}}, -% ]{block~frame~alerted} -% \ifx\insertblocktitle\@empty -% \else -% \begin{beamercolorbox}[wd=\dim_eval:n {\linewidth-1.5ex-3pt},colsep*=\__ptxcd_block_colorsep:]{block~title~alerted} -% \usebeamerfont*{block~title~alerted}\insertblocktitle% -% \end{beamercolorbox}% -% \vskip1.5pt\par\nointerlineskip -% \fi -% \leavevmode -% \usebeamerfont{block~body~alerted}% -% \begin{beamercolorbox}[wd=\dim_eval:n {\linewidth-1.5ex-3pt},colsep*=\__ptxcd_block_colorsep:]{block~body~alerted}% -% } -% -%\defbeamertemplate*{block~alerted~end}{TUDa} -% {\end{beamercolorbox}\end{beamercolorbox}\vskip\smallskipamount} -% -% -%\defbeamertemplate*{block~example~begin}{TUDa} -%{ -% \par\vskip\medskipamount% -% \begin{beamercolorbox}[ -% wd=\dimexpr\linewidth+2\l__ptxcd_beamer_extraindent_dim, -% sep=1.5pt, -% leftskip=\dim_eval:n {\dim_compare:nTF {\l__ptxcd_beamer_extraindent_dim>\c_zero_dim} {\l__ptxcd_beamer_extraindent_dim-\beamer@colbox@sep} {\__ptxcd_block_colorsep:}}, -% ]{block~frame~example} -% \ifx\insertblocktitle\@empty -% \else -% \begin{beamercolorbox}[wd=\dim_eval:n {\linewidth-1.5ex-3pt},colsep*=\__ptxcd_block_colorsep:]{block~title~example} -% \usebeamerfont*{block~title~example}\insertblocktitle% -% \end{beamercolorbox}% -%\vskip1.5pt\par\nointerlineskip -% \fi -% \leavevmode -% \usebeamerfont{block~body~example}% -% \begin{beamercolorbox}[wd=\dim_eval:n {\linewidth-1.5ex-3pt},colsep*=\__ptxcd_block_colorsep:]{block~body~example}% -% } -%\defbeamertemplate*{block~example~end}{TUDa} -% {\end{beamercolorbox}\end{beamercolorbox}\vskip\smallskipamount} -% - % section page \defbeamertemplate*{section~page}{TUDa2023}[1][] {% -\ifbeamer@inframe - \begingroup - \vbox{} - \vspace{0pt plus 1 filll} - \begin{beamercolorbox}[#1]{section title} - \usebeamerfont{section~title}\text_uppercase:n {\insertsection}\par - \end{beamercolorbox} - {\usebeamerfont{section~name}\usebeamercolor[fg]{section~name}\sectionname{}~\insertsectionnumber} - \par - \skip_vertical:n {\c_ptxcd_logoheight_dim+\baselineskip} - \endgroup - \else - \begin{frame}[b] - \begin{beamercolorbox}[#1]{section title} - \usebeamerfont{section~title}\text_uppercase:n {\insertsection}\par - \end{beamercolorbox} - {\usebeamerfont{section~name}\usebeamercolor[fg]{section~name}\sectionname{}~\insertsectionnumber} - \skip_vertical:n {\c_ptxcd_logoheight_dim+\baselineskip} -\end{frame} -\fi + \ifbeamer@inframe + \begingroup + \vbox{} + \vspace{0pt plus 1 filll} + \begin{beamercolorbox}[#1]{section title} + \usebeamerfont{section~title}\text_uppercase:n {\secname}\par + \end{beamercolorbox} + {\usebeamerfont{section~name}\usebeamercolor[fg]{section~name}\sectionname{}~\insertsectionnumber} + \par + \skip_vertical:n {\c_ptxcd_logoheight_dim+\baselineskip} + \endgroup + \else + \begin{frame}[b] + \begin{beamercolorbox}[#1]{section title} + \usebeamerfont{section~title}\text_uppercase:n {\secname}\par + \end{beamercolorbox} + {\usebeamerfont{section~name}\usebeamercolor[fg]{section~name}\sectionname{}~\insertsectionnumber} + \skip_vertical:n {\c_ptxcd_logoheight_dim+\baselineskip} + \end{frame} + \fi } % toc @@ -263,66 +190,66 @@ % See the file LICENSE.md for more details. \ExplSyntaxOn \cs_new:Nn \__ptxcd_toc_check: { - \int_compare:nNnT {\g__ptxcd_beamer_toc_col_int} = {3} { - % if all subsections/subsubsections are hidden we can have two columns - \str_if_eq:eeTF { - \beamer@toc@css - \beamer@toc@oss - \beamer@toc@ooss - \beamer@toc@csss - \beamer@toc@osss - \beamer@toc@oosss - \beamer@toc@ooosss - }{ - \prg_replicate:nn {7} {hide} - }{ - % if all subsections/subsubsections are hidden standard twocolumn layout will be choosen - \int_set:Nn \g__ptxcd_beamer_toc_col_int {2} - } { - % check if there are subsections/subsubsections - \int_gzero:N \g_tmpa_int - {\makeatletter%% - \let\babel@toc\use_none:nn - \let\beamer@sectionintoc \use_none:nnnnn - \def\beamer@subsectionintoc##1##2##3##4##5##6{\int_gset:Nn \g_tmpa_int {1}\endinput} - \def\beamer@subsubsectionintoc##1##2##3##4##5##6##7{\int_gset:Nn \g_tmpa_int {1}\endinput} - \@input{\jobname.toc}% - } - \int_compare:nNnT {\g_tmpa_int} = {1} {\int_set:Nn \g__ptxcd_beamer_toc_col_int {1}} - } - } +\int_compare:nNnT {\g__ptxcd_beamer_toc_col_int} = {3} { +% if all subsections/subsubsections are hidden we can have two columns +\str_if_eq:eeTF { +\beamer@toc@css +\beamer@toc@oss +\beamer@toc@ooss +\beamer@toc@csss +\beamer@toc@osss +\beamer@toc@oosss +\beamer@toc@ooosss +}{ +\prg_replicate:nn {7} {hide} +}{ +% if all subsections/subsubsections are hidden standard twocolumn layout will be choosen +\int_set:Nn \g__ptxcd_beamer_toc_col_int {2} +} { +% check if there are subsections/subsubsections +\int_gzero:N \g_tmpa_int +{\makeatletter%% + \let\babel@toc\use_none:nn + \let\beamer@sectionintoc \use_none:nnnnn + \def\beamer@subsectionintoc##1##2##3##4##5##6{\int_gset:Nn \g_tmpa_int {1}\endinput} + \def\beamer@subsubsectionintoc##1##2##3##4##5##6##7{\int_gset:Nn \g_tmpa_int {1}\endinput} + \@input{\jobname.toc}% +} +\int_compare:nNnT {\g_tmpa_int} = {1} {\int_set:Nn \g__ptxcd_beamer_toc_col_int {1}} +} +} } \def\beamer@twocoltableofcontents[#1]{% \begin{beamercolorbox}[wd=\paperwidth]{}% - \def\beamer@toc@cs{show}% - \def\beamer@toc@os{show}% - \def\beamer@toc@css{show}% - \def\beamer@toc@oss{show}% - \def\beamer@toc@ooss{show}% - \def\beamer@toc@csss{show}% - \def\beamer@toc@osss{show}% - \def\beamer@toc@oosss{show}% - \def\beamer@toc@ooosss{show}% - \beamer@showpartnumber=\c@part% - \beamer@pausesectionsfalse% - \beamer@pausesubsectionsfalse% - \def\beamer@tocsections{<*>}% - \setkeys{beamertoc}{firstsection=1}% - \setkeys{beamertoc}{#1}% - \UseName{__ptxcd_toc_check:} - \int_compare:nNnT {\g__ptxcd_beamer_toc_col_int} > {1} { - \setlength{\columnsep}{5ex}% - \raggedcolumns - \begin{multicols}{2} - } - {\makeatletter% - \pause[0]% - \@input{\jobname.toc}% - }% - \int_compare:nNnT {\g__ptxcd_beamer_toc_col_int} > {1} { - \end{multicols}% - } + \def\beamer@toc@cs{show}% + \def\beamer@toc@os{show}% + \def\beamer@toc@css{show}% + \def\beamer@toc@oss{show}% + \def\beamer@toc@ooss{show}% + \def\beamer@toc@csss{show}% + \def\beamer@toc@osss{show}% + \def\beamer@toc@oosss{show}% + \def\beamer@toc@ooosss{show}% + \beamer@showpartnumber=\c@part% + \beamer@pausesectionsfalse% + \beamer@pausesubsectionsfalse% + \def\beamer@tocsections{<*>}% + \setkeys{beamertoc}{firstsection=1}% + \setkeys{beamertoc}{#1}% + \UseName{__ptxcd_toc_check:} + \int_compare:nNnT {\g__ptxcd_beamer_toc_col_int} > {1} { + \setlength{\columnsep}{5ex}% + \raggedcolumns + \begin{multicols}{2} + } + {\makeatletter% + \pause[0]% + \@input{\jobname.toc}% + }% + \int_compare:nNnT {\g__ptxcd_beamer_toc_col_int} > {1} { + \end{multicols}% + } \end{beamercolorbox}% \vspace*{.68\baselineskip}%} } @@ -331,10 +258,10 @@ \def\beamer@tableofcontents[#1]{% \ifbeamer@inframe - \beamer@twocoltableofcontents[#1] + \beamer@twocoltableofcontents[#1] \else \begin{frame}[b]{\contentsname} - \beamer@twocoltableofcontents[#1] + \beamer@twocoltableofcontents[#1] \end{frame} \fi } @@ -342,22 +269,22 @@ \defbeamertemplate*{section~in~toc}{TUDa}{% - \ifvmode\nointerlineskip\fi - \leavevmode - \ifnum\beamer@tempcount>\beamer@toclastsection - \else - \ifnum\beamer@tempcount>0\relax - \usebeamertemplate***{toc~section~number}% - \fi\fi% - \usebeamertemplate***{section~entry}% -\par + \ifvmode\nointerlineskip\fi + \leavevmode + \ifnum\beamer@tempcount>\beamer@toclastsection + \else + \ifnum\beamer@tempcount>0\relax + \usebeamertemplate***{toc~section~number}% + \fi\fi% + \usebeamertemplate***{section~entry}% + \par } % (sub-)section in toc: default \cs_new:Nn \__ptxcd_toc_sub_level_entry_numbered:n { - \exp_args:Nc \tl_if_blank:nF {inserttoc#1subsectionnumber} - {\hphantom{0}\llap{\use:c {inserttoc#1subsectionnumber}}\hspace{.5em}} + \exp_args:Nc \tl_if_blank:nF {inserttoc#1subsectionnumber} + {\hphantom{0}\llap{\use:c {inserttoc#1subsectionnumber}}\hspace{.5em}} } \cs_new:Nn \__ptxcd_toc_sub_level_entry_itemize:n { @@ -377,18 +304,18 @@ \defbeamertemplate*{toc~section~number}{TUDa}{ - \hphantom{00}\llap{\inserttocsectionnumber}\hspace{.5em} + \hphantom{00}\llap{\inserttocsectionnumber}\hspace{.5em} } \defbeamertemplate*{section~entry}{TUDa}{ - \strut\inserttocsection\strut + \strut\inserttocsection\strut } %Itemize Items \defbeamertemplate*{itemize~item}{TUDa}{\raise.2\baselineskip\hbox{\vrule width .5ex height .5ex}} -\defbeamertemplate*{itemize~subitem}{TUDa}{\small\hbox{\vrule width .5ex height .5ex}} -\defbeamertemplate*{itemize~subsubitem}{TUDa}{\small\hbox{\vrule width .5ex height 1ex}} +\defbeamertemplate*{itemize~subitem}{TUDa}{\raise.2\baselineskip\hbox{\small\vrule width .5ex height .5ex}} +\defbeamertemplate*{itemize~subsubitem}{TUDa}{\raise.2\baselineskip\hbox{\small\vrule width .5ex height 1ex}} \mode<all> diff --git a/Master/texmf-dist/tex/latex/tuda-ci/beamerouterthemeTUDa.sty b/Master/texmf-dist/tex/latex/tuda-ci/beamerouterthemeTUDa.sty index fc1db6be048..71431e1182e 100644 --- a/Master/texmf-dist/tex/latex/tuda-ci/beamerouterthemeTUDa.sty +++ b/Master/texmf-dist/tex/latex/tuda-ci/beamerouterthemeTUDa.sty @@ -1,9 +1,9 @@ -%% This is file `beamerouterthemeTUDa.sty' version 3.36 (2024-01-05), +%% This is file `beamerouterthemeTUDa.sty' version 3.37 (2024-04-21), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2018--2023 by Marei Peischl <marei@peitex.de> +%% Copyright (C) 2018--2024 by Marei Peischl <marei@peitex.de> %% %% ============================================================================ %% This work may be distributed and/or modified under the @@ -25,12 +25,11 @@ %% %% ============================================================================ %% -\def\fileversion{3.36} -\def\filedate{2024-01-05} -\NeedsTeXFormat{LaTeX2e} -\ProvidesExplPackage{beamerouterthemeTUDa}{\filedate}{\fileversion}{Outer~beamer~theme~of~tuda-ci} -\RequirePackage[paper=slide]{tudarules} +\NeedsTeXFormat{LaTeX2e}[2022-06-01] +\ProvidesExplPackage{beamerouterthemeTUDa}{2024-04-21}{3.37}{Outer~beamer~theme~of~tuda-ci~design~of~2023} +\PassOptionsToPackage{paper=slide}{tudarules} +\RequirePackage{tudarules} \dim_new:N \l__ptxcd_beamer_extraindent_dim \dim_new:N {\g__ptxcd_beamer_sep_dim} @@ -47,30 +46,16 @@ logo .initial:n =true, logofile .tl_gset:N = \g_ptxcd_logofile_tl, logofile .initial:n = tuda_logo, - 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, - centerframetitle .bool_gset:N = \g_ptxcd_centerframetitle_bool, - centerframetitle .initial:n = false, - centerframetitle .default:n = true, - framebgcolor .choice:, - framebgcolor / reset .code:n = - \__ptxcd_reset_framebgcolor: - , - framebgcolor / unknown .code:n = { - \__ptxcd_set_framebgcolor:n {#1} - }, - singleframebgcolor .code:n = { - \cs_gset_eq:Nc \__ptxcd_save_background_canvas: {beamer@thcbg@normal~text} - \keys_set:nn {ptxcd/beamer/outer} { - framebgcolor = #1 - } - }, - headsepline .bool_gset:N = \g_ptxcd_headsepline_bool, - headsepline .initial:n = true, - headsepline .default:n = true, + colorframetitle .code:n = \msg_warning:nnn {tudabeamer} {option-removed} {colorframetitle}, + centerframetitle .code:n = \msg_warning:nnn {tudabeamer} {option-removed} {centerframetitle}, + framebgcolor .code:n = \msg_warning:nnn {tudabeamer} {option-removed} {framebgcolor}, + singleframebgcolor .code:n = \msg_warning:nnn {tudabeamer} {option-removed} {singleframebgcolor}, + headsepline .code:n = \msg_warning:nnn {tudabeamer} {option-removed} {headsepline}, + extendedspace .bool_gset:N = \g__ptxcd_extended_space_bool, + headrule .bool_gset:N = \g__ptxcd_headrule_bool, + uppercase-frametitle .bool_gset:N = \g__ptxcd_uppercase_frametitle_bool, + uppercase-frametitle .default:n = true, + uppercase-frametitle .initial:n = true, } \define@key{beamerframe}{bgcolor}{ @@ -79,20 +64,9 @@ } } -\cs_new:Nn \__ptxcd_reset_framebgcolor: { - \cs_gset_eq:cN {beamer@thcbg@normal~text} \__ptxcd_save_background_canvas: - \cs_undefine:N \__ptxcd_save_background_canvas: -} - -\cs_new:Nn \__ptxcd_set_framebgcolor:n { - \cs_if_exist:cTF {\string\color@#1} - {\setbeamercolor{normal~text}{bg=#1}} - {\setbeamercolor{normal~text}{bg=TUDa-#1}} -} - -\BeforeBeginEnvironment{frame}{ - \cs_if_exist:NT \__ptxcd_save_background_canvas: { - \__ptxcd_reset_framebgcolor: +\define@key{beamerframe}{uppercase}{ + \keys_set:nn {ptxcd/beamer/outer} { + uppercase-frametitle=#1 } } @@ -101,15 +75,14 @@ \mode<presentation> - \RequirePackage{graphicx} \bool_if:NT \g__ptxcd_colorframetitle_bool {\dim_set:Nn \l__ptxcd_beamer_extraindent_dim {\g__ptxcd_beamer_logosep_dim}} \setbeamersize{ - text~margin~left=\dimexpr\g__ptxcd_beamer_sep_dim+\l__ptxcd_beamer_extraindent_dim \relax, - text~margin~right=\dimexpr\g__ptxcd_beamer_sep_dim+\l__ptxcd_beamer_extraindent_dim \relax, + text~margin~left=\dim_eval:n {\paperwidth/34}, + text~margin~right=\dim_eval:n {\paperwidth/38} } \cs_new:Nn \__ptxcd_beamer_linewidth: {\dim_eval:n {\paperwidth-\beamer@leftmargin-\beamer@rightmargin}} @@ -118,45 +91,35 @@ \box_new:N \g__ptxcd_logo_box \hbox_gset:Nn \g__ptxcd_logo_box {% - \makebox[\__ptxcd_logowidth:][l]{\includegraphics[height=\c_ptxcd_logoheight_dim]{\g_ptxcd_logofile_tl}}% + \raisebox{\dim_eval:n {-\height+.33\c_ptxcd_logoheight_dim}}{\includegraphics[height=\c_ptxcd_logoheight_dim]{\g_ptxcd_logofile_tl}}% } -\ptxcd_makeheadrule[color=identbarcolor,width=\paperwidth-2\g__ptxcd_beamer_sep_dim]{ptxcd_beamer_headrule} -\ptxcd_makefootrule[width=\paperwidth-2\g__ptxcd_beamer_sep_dim]{ptxcd_beamer_rule} - -\newcommand\insertsmalllogo{\setbeamertemplate{logo}[small]\usebeamertemplate{logo}} - -\defbeamertemplate*{sidebar~left}{TUDa}{} -\defbeamertemplate*{sidebar~right}{TUDa}{} - - \bool_if_exist:NF \l_ptxcd_tmpa_bool {\bool_new:N \l_ptxcd_tmpa_bool} -\defbeamertemplate*{footline}{TUDa} -{ - \begin{beamercolorbox}[leftskip=\g__ptxcd_beamer_sep_dim,rightskip=\g__ptxcd_beamer_sep_dim, - ht=\csname c_ptxcd_smallrule_dim\endcsname,dp=1mm]{footline} - \ptxcd_beamer_rule - \end{beamercolorbox} - \begin{beamercolorbox}[ - leftskip=\g__ptxcd_beamer_sep_dim, - rightskip=\g__ptxcd_beamer_sep_dim, ht=2.75mm,dp=2.75mm]{footline} - \usebeamerfont{author~ in~ head/foot}% - \bool_set_false:N \l_ptxcd_tmpa_bool - \clist_map_variable:nNn {date, department, institute, author} \l_tmpa_tl { - \tl_if_empty:cF {beamer@short\l_tmpa_tl} { - \bool_if:NTF \l_ptxcd_tmpa_bool {~|~} - {\bool_set_true:N \l_ptxcd_tmpa_bool} - \use:c {insertshort\l_tmpa_tl} +\defbeamertemplate*{footline}{TUDa2023}{ + \begin{beamercolorbox}[leftskip=\beamer@leftmargin,rightskip=\beamer@rightmargin]{footline} + \usebeamerfont{footline} + \rlap{\insertshortdate} + \hfill + \makebox[0pt][c]{ + \bool_set_false:N \l_ptxcd_separate_bool + \clist_map_variable:nNn {department, institute, author} \l_tmpa_tl { + \tl_if_empty:cF {beamer@short\l_tmpa_tl} { + \bool_if:NTF \l_ptxcd_separate_bool + {\usebeamertemplate{footline~sep}} + {\bool_set_true:N \l_ptxcd_separate_bool} + \use:c {insertshort\l_tmpa_tl} + } } } - \bool_if:NT \l_ptxcd_tmpa_bool {~|~} - \insertframenumber - \hfill\raisebox{\dimexpr-.5\height+\dp\strutbox\relax}{\insertlogo} + \hfill + \llap{\insertframenumber} + \par\vspace{-\dp\strutbox} \end{beamercolorbox} + \skip_vertical:n {\dimexpr\paperheight/32-\dp\strutbox} } - +\setbeamertemplate{footline~sep}{\space\smash{\rule[-.5\dp\strutbox]{.25pt}{\ht\strutbox}}\space} \RenewDocumentCommand{\logo}{sm}{ \IfBooleanTF{#1}{ @@ -166,142 +129,95 @@ } } -\defbeamertemplate{headline}{TUDa.logo} {% - \begin{beamercolorbox}[ - leftskip=\g__ptxcd_beamer_sep_dim,rightskip=\g__ptxcd_beamer_sep_dim, - ht=.75\g__ptxcd_beamer_sep_dim,dp=\box_dp:N \ptxcd_beamer_headrule_box]{headline} - \ptxcd_beamer_headrule - \end{beamercolorbox} +\defbeamertemplate*{headline}{TUDa2023}{ + \bool_if:NT \g__ptxcd_headrule_bool { + \cs_if_exist:NF \ptxcd_beamer_headrule { + \ptxcd_makeheadrule[color=identbarcolor,width=\paperwidth]{ptxcd_beamer_headrule} + } + \ptxcd_beamer_headrule\par\nointerlineskip + } + \bool_if:NTF \g__ptxcd_extended_space_bool { + \bool_if:NTF \g__ptxcd_headrule_bool { + \skip_vertical:n {\dim_eval:n {+\paperheight/38}} + \strut + } { + \skip_vertical:n {\dim_eval:n {\paperheight/16}} + } + }{ + \skip_vertical:n {\dimexpr\paperheight/38} + \hspace*{\beamer@leftmargin}\rlap{\usebeamertemplate***{title~in~head/foot}} + } + \hspace*{\fill} + + \bool_if:NT \g_ptxcd_headlinelogo_bool { + %partnerlogo + \bool_if:NT \g__ptxcd_extended_space_bool \smash { + \raisebox{\dimexpr-\height+\ht\strutbox}{ + \box_use:N \g__ptxcd_partnerlogo_box + } + } + + \skip_horizontal:n {\dimexpr\paperheight/38} + %logo + \bool_if:NTF \g__ptxcd_headrule_bool { + \raisebox{2mm}[0pt][0pt]{\setlength{\fboxsep}{\z@}\colorbox{white}{\rule{\z@}{\dim_eval:n {\box_ht:N \g__ptxcd_logo_box+\box_ht:N \ptxcd_beamer_headrule_box + \box_dp:N \ptxcd_beamer_headrule_box+1pt}}\box_use:N \g__ptxcd_logo_box}} + \hspace*{10pt} + } { + \bool_if:NT \g__ptxcd_extended_space_bool \smash {\box_use:N \g__ptxcd_logo_box} + \hspace*{.7pt} + } + } + \par } - -\box_new:N \l__ptxcd_frametitle_box - -\defbeamertemplate{frametitle}{TUDa.logo}{% -\nointerlineskip% -\begin{beamercolorbox}[ - sep=\g__ptxcd_beamer_logosep_dim, - wd=\dim_eval:n {\__ptxcd_beamer_linewidth:+2\l__ptxcd_beamer_extraindent_dim}, - rightskip=-\g__ptxcd_beamer_logosep_dim, - leftskip=\dim_eval:n {-\g__ptxcd_beamer_logosep_dim+\l__ptxcd_beamer_extraindent_dim}, - ]{frametitle} - \hbox_set:Nn \l__ptxcd_frametitle_box { - \parbox[t] - {\dim_eval:n {\linewidth- \box_wd:N \g__ptxcd_logo_box-1em}}{% - \usebeamerfont{frametitle}\strut\insertframetitle - \ifx\insertframesubtitle\@empty - \else - \par - \usebeamercolor[fg]{framesubtitle} - \usebeamerfont{framesubtitle} - \insertframesubtitle - \fi - }} - \leavevmode - \bool_if:NTF \g_ptxcd_centerframetitle_bool - {\raisebox{\dimexpr-.5\height+.5\depth}} - {\use:n} - {\box_use:N \l__ptxcd_frametitle_box} - \hfill% - \bool_if:NTF \g_ptxcd_centerframetitle_bool - {\raisebox{\dimexpr-.5\height+.5\depth}} - {\raisebox{\dimexpr-\height+\ht\strutbox}} - {\box_use:N \g__ptxcd_logo_box} -\end{beamercolorbox}% -\bool_if:NT \g_ptxcd_headsepline_bool { - \nointerlineskip - \begin{beamercolorbox}[ - wd=\dim_eval:n {\textwidth+2\l__ptxcd_beamer_extraindent_dim}, - ht=\c_ptxcd_smallrule_dim, - dp=0pt - ]{smallrule} - \end{beamercolorbox} -} +\setbeamertemplate{title~in~head/foot}{ + \bool_set_false:N \l_ptxcd_separate_bool + \tl_if_empty:NF {\beamer@shorttitle} { + \bool_set_true:N \l_ptxcd_separate_bool + \text_uppercase:n {\beamer@shorttitle} + } + \tl_if_empty:NF {\beamer@shortauthor} { + \bool_if:NT \l_ptxcd_separate_bool { + \space/\space + } + \text_uppercase:n {\beamer@shortauthor} + } } -\defbeamertemplate*{headline}{TUDa.nologo} -{% - \vspace{.75\g__ptxcd_beamer_sep_dim} - \begin{beamercolorbox}[ - leftskip=\g__ptxcd_beamer_sep_dim,rightskip=\g__ptxcd_beamer_sep_dim]{headline} - \ptxcd_beamer_headrule - \end{beamercolorbox} - } -\defbeamertemplate*{headline}{TUDa.simple} -{ - \ifbeamercolorempty[bg]{background~canvas}{ - \vspace{\dimexpr.5\c_ptxcd_logoheight_dim-\c_ptxcd_rulesep_dim} - \skip_horizontal:n {\beamer@leftmargin} - \color{identbarcolor} - \vrule width\dimexpr\textwidth-\beamer@leftmargin-\beamer@rightmargin height\c_ptxcd_rulesep_dim - }{ - \vspace{\dimexpr.5\c_ptxcd_logoheight_dim} +\defbeamertemplate*{sidebar~right}{TUDa2023}{ + \bool_if:NT \g_ptxcd_headlinelogo_bool { + \vspace{\c_ptxcd_logoheight_dim} + \llap{\box_use:N \g__ptxcd_sublogo_box} } } -\defbeamertemplate*{frametitle}{TUDa.nologo}{% +\defbeamertemplate*{frametitle}{TUDa2023}[1][left]{% \nointerlineskip% -\begin{beamercolorbox}[ - sep=\g__ptxcd_beamer_logosep_dim, - wd=\dim_eval:n {\__ptxcd_beamer_linewidth:+2\l__ptxcd_beamer_extraindent_dim}, - leftskip=\dim_eval:n {-\g__ptxcd_beamer_logosep_dim+\l__ptxcd_beamer_extraindent_dim}, - ]{frametitle} - \hbox_set:Nn \l__ptxcd_frametitle_box { - \parbox[t] - {\dimexpr\linewidth- \box_wd:N \g__ptxcd_logo_box-1em\relax\relax}{% - \usebeamerfont{frametitle}\strut\insertframetitle - \ifx\insertframesubtitle\@empty - \else - \par - \usebeamercolor[fg]{framesubtitle} - \usebeamerfont{framesubtitle} - \insertframesubtitle - \fi -}} -\leavevmode -\bool_if:NTF \g_ptxcd_centerframetitle_bool -{\raisebox{\dimexpr-.5\height+.5\depth}} -{\use:n} -{\box_use:N \l__ptxcd_frametitle_box} -% Rule for voffset similar to logo - \rule[\dim_eval:n { - \bool_if:NTF \g_ptxcd_centerframetitle_bool - {-.5\box_ht:N \g__ptxcd_logo_box+.5\box_dp:N \g__ptxcd_logo_box} - {-\box_ht:N \g__ptxcd_logo_box+\ht\strutbox} - }]{0pt}{\dim_eval:n { - \box_ht:N \g__ptxcd_logo_box+\box_dp:N \g__ptxcd_logo_box - }} -\end{beamercolorbox} -\bool_if:NT \g_ptxcd_headsepline_bool { - \nointerlineskip + \bool_if:NF \g__ptxcd_extended_space_bool + {\vskip.55ex} \begin{beamercolorbox}[ - wd=\dimexpr\linewidth+2\l__ptxcd_beamer_extraindent_dim \relax, - ht=\c_ptxcd_smallrule_dim, - dp=0pt - ]{smallrule} + wd=\dim_eval:n {\bool_if:NT \g__ptxcd_extended_space_bool {-\box_wd:N \g__ptxcd_logo_box } \box_if_empty:NF \g__ptxcd_sublogo_box {-\box_wd:N \g__ptxcd_sublogo_box - 1em}+ \textwidth}, + ]{frametitle} + \usebeamerfont{frametitle}% + \if@tempswa\else\csname beamer@fte#1\endcsname\fi% + \vphantom{Ü} + \bool_if:NT \g__ptxcd_uppercase_frametitle_bool \text_uppercase:n {\insertframetitle}\strut + \par% + {% + \ifx\insertframesubtitle\@empty% + \else% + {\usebeamerfont{framesubtitle}\usebeamercolor[fg]{framesubtitle}\strut\text_uppercase:n {\insertframesubtitle}\strut\par}% + \fi + }% + \if@tempswa\else\vskip-.3cm\fi% set inside beamercolorbox... evil here... \end{beamercolorbox} + \vskip.5ex } -} - -\cs_new:Nn \ptxcd_setup_frame: { - \bool_if:NTF \g_ptxcd_headlinelogo_bool { - \setbeamertemplate{frametitle}[TUDa.logo] - \setbeamertemplate{headline}[TUDa.logo] - }{ - \setbeamertemplate{frametitle}[TUDa.nologo] - \setbeamertemplate{headline}[TUDa.nologo] - } -} -\ptxcd_setup_frame: - \newcommand*{\setupTUDaFrame}[1]{ \keys_set:nn {ptxcd/beamer/outer} {#1} - \ptxcd_setup_frame: } - - \mode <all> diff --git a/Master/texmf-dist/tex/latex/tuda-ci/beamerouterthemeTUDa2008.sty b/Master/texmf-dist/tex/latex/tuda-ci/beamerouterthemeTUDa2008.sty new file mode 100644 index 00000000000..177a9557d3e --- /dev/null +++ b/Master/texmf-dist/tex/latex/tuda-ci/beamerouterthemeTUDa2008.sty @@ -0,0 +1,306 @@ +%% This is file `beamerouterthemeTUDa2008.sty' version 3.37 (2024-04-21), +%% 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} +\ProvidesExplPackage{beamerouterthemeTUDa2008}{2024-04-21}{3.37}{Outer~beamer~theme~of~tuda-ci, compatibility for design of 2008} + +\PassOptionsToPackage{paper=slide}{tudarules} +\RequirePackage{tudarules} + +\dim_new:N \l__ptxcd_beamer_extraindent_dim +\dim_new:N {\g__ptxcd_beamer_sep_dim} +\dim_gset:Nn \g__ptxcd_beamer_sep_dim {.3\c_ptxcd_logoheight_dim} +\dim_new:N \g__ptxcd_beamer_logosep_dim +\dim_gset:Nn \g__ptxcd_beamer_logosep_dim{2mm} + + +\cs_if_exist:NF \g__ptxcd_colorframetitle_bool {\bool_new:N \g__ptxcd_colorframetitle_bool} + +\keys_define:nn {ptxcd/beamer/outer} { + logo .bool_gset:N = \g_ptxcd_headlinelogo_bool, + logo .default:n =true, + logo .initial:n =true, + logofile .tl_gset:N = \g_ptxcd_logofile_tl, + logofile .initial:n = tuda_logo, + 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, + centerframetitle .bool_gset:N = \g_ptxcd_centerframetitle_bool, + centerframetitle .initial:n = false, + centerframetitle .default:n = true, + framebgcolor .choice:, + framebgcolor / reset .code:n = + \__ptxcd_reset_framebgcolor: + , + framebgcolor / unknown .code:n = { + \__ptxcd_set_framebgcolor:n {#1} + }, + singleframebgcolor .code:n = { + \cs_gset_eq:Nc \__ptxcd_save_background_canvas: {beamer@thcbg@normal~text} + \keys_set:nn {ptxcd/beamer/outer} { + framebgcolor = #1 + } + }, + headsepline .bool_gset:N = \g_ptxcd_headsepline_bool, + headsepline .initial:n = true, + headsepline .default:n = true, +} + +\define@key{beamerframe}{bgcolor}{ + \keys_set:nn {ptxcd/beamer/outer} { + singleframebgcolor=#1 + } +} + +\cs_new:Nn \__ptxcd_reset_framebgcolor: { + \cs_gset_eq:cN {beamer@thcbg@normal~text} \__ptxcd_save_background_canvas: + \cs_undefine:N \__ptxcd_save_background_canvas: +} + +\cs_new:Nn \__ptxcd_set_framebgcolor:n { + \cs_if_exist:cTF {\string\color@#1} + {\setbeamercolor{normal~text}{bg=#1}} + {\setbeamercolor{normal~text}{bg=TUDa-#1}} +} + +\BeforeBeginEnvironment{frame}{ + \cs_if_exist:NT \__ptxcd_save_background_canvas: { + \__ptxcd_reset_framebgcolor: + } +} + +\ProcessKeyOptions[ptxcd/beamer/outer] + + +\mode<presentation> + + +\RequirePackage{graphicx} + +\bool_if:NT \g__ptxcd_colorframetitle_bool + {\dim_set:Nn \l__ptxcd_beamer_extraindent_dim {\g__ptxcd_beamer_logosep_dim}} + +\setbeamersize{ + text~margin~left=\dimexpr\g__ptxcd_beamer_sep_dim+\l__ptxcd_beamer_extraindent_dim \relax, + text~margin~right=\dimexpr\g__ptxcd_beamer_sep_dim+\l__ptxcd_beamer_extraindent_dim \relax, +} + +\cs_new:Nn \__ptxcd_beamer_linewidth: {\dim_eval:n {\paperwidth-\beamer@leftmargin-\beamer@rightmargin}} + +%Logo + +\box_new:N \g__ptxcd_logo_box +\hbox_gset:Nn \g__ptxcd_logo_box {% + \makebox[\__ptxcd_logowidth:][l]{\includegraphics[height=\c_ptxcd_logoheight_dim]{\g_ptxcd_logofile_tl}}% +} + +\ptxcd_makeheadrule[color=identbarcolor,width=\paperwidth-2\g__ptxcd_beamer_sep_dim]{ptxcd_beamer_headrule} +\ptxcd_makefootrule[width=\paperwidth-2\g__ptxcd_beamer_sep_dim]{ptxcd_beamer_rule} + +\newcommand\insertsmalllogo{\setbeamertemplate{logo}[small]\usebeamertemplate{logo}} + +\defbeamertemplate*{sidebar~left}{TUDa}{} +\defbeamertemplate*{sidebar~right}{TUDa}{} + +\bool_if_exist:NF \l_ptxcd_tmpa_bool {\bool_new:N \l_ptxcd_tmpa_bool} + +\defbeamertemplate*{footline}{TUDa} +{ + \begin{beamercolorbox}[leftskip=\g__ptxcd_beamer_sep_dim,rightskip=\g__ptxcd_beamer_sep_dim, + ht=\csname c_ptxcd_smallrule_dim\endcsname,dp=1mm]{footline} + \ptxcd_beamer_rule + \end{beamercolorbox} + \begin{beamercolorbox}[ + leftskip=\g__ptxcd_beamer_sep_dim, + rightskip=\g__ptxcd_beamer_sep_dim, ht=2.75mm,dp=2.75mm]{footline} + \usebeamerfont{author~ in~ head/foot}% + \bool_set_false:N \l_ptxcd_tmpa_bool + \clist_map_variable:nNn {date, department, institute, author} \l_tmpa_tl { + \tl_if_empty:cF {beamer@short\l_tmpa_tl} { + \bool_if:NTF \l_ptxcd_tmpa_bool {~|~} + {\bool_set_true:N \l_ptxcd_tmpa_bool} + \use:c {insertshort\l_tmpa_tl} + } + } + \bool_if:NT \l_ptxcd_tmpa_bool {~|~} + \insertframenumber + \hfill\raisebox{\dimexpr-.5\height+\dp\strutbox\relax}{\insertlogo} + \end{beamercolorbox} +} + + + +\RenewDocumentCommand{\logo}{sm}{ + \IfBooleanTF{#1}{ + \setbeamertemplate{logo}{\resizebox{!}{.06\beamer@paperheight}{\mbox{#2}}} + }{ + \setbeamertemplate{logo}{#2} + } +} + +\defbeamertemplate{headline}{TUDa.logo} {% + \begin{beamercolorbox}[ + leftskip=\g__ptxcd_beamer_sep_dim,rightskip=\g__ptxcd_beamer_sep_dim, + ht=.75\g__ptxcd_beamer_sep_dim,dp=\box_dp:N \ptxcd_beamer_headrule_box]{headline} + \ptxcd_beamer_headrule + \end{beamercolorbox} +} + + +\box_new:N \l__ptxcd_frametitle_box + +\defbeamertemplate{frametitle}{TUDa.logo}{% +\nointerlineskip% +\begin{beamercolorbox}[ + sep=\g__ptxcd_beamer_logosep_dim, + wd=\dim_eval:n {\__ptxcd_beamer_linewidth:+2\l__ptxcd_beamer_extraindent_dim}, + rightskip=-\g__ptxcd_beamer_logosep_dim, + leftskip=\dim_eval:n {-\g__ptxcd_beamer_logosep_dim+\l__ptxcd_beamer_extraindent_dim}, + ]{frametitle} + \hbox_set:Nn \l__ptxcd_frametitle_box { + \parbox[t] + {\dim_eval:n {\linewidth- \box_wd:N \g__ptxcd_logo_box-1em}}{% + \usebeamerfont{frametitle}\strut\insertframetitle + \ifx\insertframesubtitle\@empty + \else + \par + \usebeamercolor[fg]{framesubtitle} + \usebeamerfont{framesubtitle} + \insertframesubtitle + \fi + }} + \leavevmode + \bool_if:NTF \g_ptxcd_centerframetitle_bool + {\raisebox{\dimexpr-.5\height+.5\depth}} + {\use:n} + {\box_use:N \l__ptxcd_frametitle_box} + \hfill% + \bool_if:NTF \g_ptxcd_centerframetitle_bool + {\raisebox{\dimexpr-.5\height+.5\depth}} + {\raisebox{\dimexpr-\height+\ht\strutbox}} + {\box_use:N \g__ptxcd_logo_box} +\end{beamercolorbox}% +\bool_if:NT \g_ptxcd_headsepline_bool { + \nointerlineskip + \begin{beamercolorbox}[ + wd=\dim_eval:n {\textwidth+2\l__ptxcd_beamer_extraindent_dim}, + ht=\c_ptxcd_smallrule_dim, + dp=0pt + ]{smallrule} + \end{beamercolorbox} +} +} + +\defbeamertemplate*{headline}{TUDa.nologo} +{% + \vspace{.75\g__ptxcd_beamer_sep_dim} + \begin{beamercolorbox}[ + leftskip=\g__ptxcd_beamer_sep_dim,rightskip=\g__ptxcd_beamer_sep_dim]{headline} + \ptxcd_beamer_headrule + \end{beamercolorbox} + } + +\defbeamertemplate*{headline}{TUDa.simple} +{ + \ifbeamercolorempty[bg]{background~canvas}{ + \vspace{\dimexpr.5\c_ptxcd_logoheight_dim-\c_ptxcd_rulesep_dim} + \skip_horizontal:n {\beamer@leftmargin} + \color{identbarcolor} + \vrule width\dimexpr\textwidth-\beamer@leftmargin-\beamer@rightmargin height\c_ptxcd_rulesep_dim + }{ + \vspace{\dimexpr.5\c_ptxcd_logoheight_dim} + } +} + +\defbeamertemplate*{frametitle}{TUDa.nologo}{% + \nointerlineskip% +\begin{beamercolorbox}[ + sep=\g__ptxcd_beamer_logosep_dim, + wd=\dim_eval:n {\__ptxcd_beamer_linewidth:+2\l__ptxcd_beamer_extraindent_dim}, + leftskip=\dim_eval:n {-\g__ptxcd_beamer_logosep_dim+\l__ptxcd_beamer_extraindent_dim}, + ]{frametitle} + \hbox_set:Nn \l__ptxcd_frametitle_box { + \parbox[t] + {\dimexpr\linewidth- \box_wd:N \g__ptxcd_logo_box-1em\relax\relax}{% + \usebeamerfont{frametitle}\strut\insertframetitle + \ifx\insertframesubtitle\@empty + \else + \par + \usebeamercolor[fg]{framesubtitle} + \usebeamerfont{framesubtitle} + \insertframesubtitle + \fi +}} +\leavevmode +\bool_if:NTF \g_ptxcd_centerframetitle_bool +{\raisebox{\dimexpr-.5\height+.5\depth}} +{\use:n} +{\box_use:N \l__ptxcd_frametitle_box} +% Rule for voffset similar to logo + \rule[\dim_eval:n { + \bool_if:NTF \g_ptxcd_centerframetitle_bool + {-.5\box_ht:N \g__ptxcd_logo_box+.5\box_dp:N \g__ptxcd_logo_box} + {-\box_ht:N \g__ptxcd_logo_box+\ht\strutbox} + }]{0pt}{\dim_eval:n { + \box_ht:N \g__ptxcd_logo_box+\box_dp:N \g__ptxcd_logo_box + }} +\end{beamercolorbox} +\bool_if:NT \g_ptxcd_headsepline_bool { + \nointerlineskip + \begin{beamercolorbox}[ + wd=\dimexpr\linewidth+2\l__ptxcd_beamer_extraindent_dim \relax, + ht=\c_ptxcd_smallrule_dim, + dp=0pt + ]{smallrule} + \end{beamercolorbox} +} +} + +\cs_new:Nn \ptxcd_setup_frame: { + \bool_if:NTF \g_ptxcd_headlinelogo_bool { + \setbeamertemplate{frametitle}[TUDa.logo] + \setbeamertemplate{headline}[TUDa.logo] + }{ + \setbeamertemplate{frametitle}[TUDa.nologo] + \setbeamertemplate{headline}[TUDa.nologo] + } +} +\ptxcd_setup_frame: + +\newcommand*{\setupTUDaFrame}[1]{ + \keys_set:nn {ptxcd/beamer/outer} {#1} + \ptxcd_setup_frame: +} + + + +\mode +<all> + +\endinput diff --git a/Master/texmf-dist/tex/latex/tuda-ci/beamerouterthemeTUDa2023.sty b/Master/texmf-dist/tex/latex/tuda-ci/beamerouterthemeTUDa2023.sty deleted file mode 100644 index 980803001c3..00000000000 --- a/Master/texmf-dist/tex/latex/tuda-ci/beamerouterthemeTUDa2023.sty +++ /dev/null @@ -1,216 +0,0 @@ -%% This is file `beamerouterthemeTUDa2023.sty' version 3.36 (2024-01-05), -%% it is part of -%% TUDa-CI -- Corporate Design for TU Darmstadt -%% ---------------------------------------------------------------------------- -%% -%% Copyright (C) 2018--2023 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! -%% -%% ============================================================================ -%% -\def\fileversion{3.36} -\def\filedate{2024-01-05} -\NeedsTeXFormat{LaTeX2e}[2022-06-01] -\ProvidesExplPackage{beamerouterthemeTUDa2023}{\filedate}{\fileversion}{Outer~beamer~theme~of~tuda-ci~design~of~2023} - -\RequirePackage[paper=slide]{tudarules} - -\dim_new:N \l__ptxcd_beamer_extraindent_dim -\dim_new:N {\g__ptxcd_beamer_sep_dim} -\dim_gset:Nn \g__ptxcd_beamer_sep_dim {.3\c_ptxcd_logoheight_dim} -\dim_new:N \g__ptxcd_beamer_logosep_dim -\dim_gset:Nn \g__ptxcd_beamer_logosep_dim{2mm} - - -\cs_if_exist:NF \g__ptxcd_colorframetitle_bool {\bool_new:N \g__ptxcd_colorframetitle_bool} - -\keys_define:nn {ptxcd/beamer/outer} { - logo .bool_gset:N = \g_ptxcd_headlinelogo_bool, - logo .default:n =true, - logo .initial:n =true, - logofile .tl_gset:N = \g_ptxcd_logofile_tl, - logofile .initial:n = tuda_logo, - colorframetitle .code:n = \msg_warning:nnn {tudabeamer} {option-removed} {colorframetitle}, - centerframetitle .code:n = \msg_warning:nnn {tudabeamer} {option-removed} {centerframetitle}, - framebgcolor .code:n = \msg_warning:nnn {tudabeamer} {option-removed} {framebgcolor}, - singleframebgcolor .code:n = \msg_warning:nnn {tudabeamer} {option-removed} {singleframebgcolor}, - headsepline .code:n = \msg_warning:nnn {tudabeamer} {option-removed} {headsepline}, - extendedspace .bool_gset:N = \g__ptxcd_extended_space_bool, - headrule .bool_gset:N = \g__ptxcd_headrule_bool, -} - -\define@key{beamerframe}{bgcolor}{ - \keys_set:nn {ptxcd/beamer/outer} { - singleframebgcolor=#1 - } -} - -\ProcessKeyOptions[ptxcd/beamer/outer] - - -\mode<presentation> - -\RequirePackage{graphicx} - -\bool_if:NT \g__ptxcd_colorframetitle_bool - {\dim_set:Nn \l__ptxcd_beamer_extraindent_dim {\g__ptxcd_beamer_logosep_dim}} - -\setbeamersize{ - text~margin~left=\dimexpr\paperwidth/34, - text~margin~right=\dimexpr\paperwidth/38 -} - -\cs_new:Nn \__ptxcd_beamer_linewidth: {\dim_eval:n {\paperwidth-\beamer@leftmargin-\beamer@rightmargin}} - -%Logo - -\box_new:N \g__ptxcd_logo_box -\hbox_gset:Nn \g__ptxcd_logo_box {% - \raisebox{\dimexpr-\height+.33\c_ptxcd_logoheight_dim}{\includegraphics[height=\c_ptxcd_logoheight_dim]{\g_ptxcd_logofile_tl}}% -} - -\bool_if_exist:NF \l_ptxcd_tmpa_bool {\bool_new:N \l_ptxcd_tmpa_bool} - -\defbeamertemplate*{footline}{TUDa2023}{ - \begin{beamercolorbox}[leftskip=\beamer@leftmargin,rightskip=\beamer@rightmargin]{footline} - \usebeamerfont{footline} - \rlap{\insertshortdate} - \hfill - \makebox[0pt][c]{ - \bool_set_false:N \l_ptxcd_separate_bool - \clist_map_variable:nNn {department, institute, author} \l_tmpa_tl { - \tl_if_empty:cF {beamer@short\l_tmpa_tl} { - \bool_if:NTF \l_ptxcd_separate_bool - {\usebeamertemplate{footline~sep}} - {\bool_set_true:N \l_ptxcd_separate_bool} - \use:c {insertshort\l_tmpa_tl} - } - } - } - \hfill - \llap{\insertframenumber} - \par\vspace{-\dp\strutbox} - \end{beamercolorbox} - \skip_vertical:n {\dimexpr\paperheight/32-\dp\strutbox} -} - -\setbeamertemplate{footline~sep}{\space\smash{\rule[-.5\dp\strutbox]{.25pt}{\ht\strutbox}}\space} - -\RenewDocumentCommand{\logo}{sm}{ - \IfBooleanTF{#1}{ - \setbeamertemplate{logo}{\resizebox{!}{.06\beamer@paperheight}{\mbox{#2}}} - }{ - \setbeamertemplate{logo}{#2} - } -} - -\defbeamertemplate*{headline}{TUDa2023}{ - \bool_if:NT \g__ptxcd_headrule_bool { - \cs_if_exist:NF \ptxcd_beamer_headrule { - \ptxcd_makeheadrule[color=identbarcolor,width=\paperwidth]{ptxcd_beamer_headrule} - } - \ptxcd_beamer_headrule\par\nointerlineskip - } - \bool_if:NTF \g__ptxcd_extended_space_bool { - \bool_if:NTF \g__ptxcd_headrule_bool { - \skip_vertical:n {\dim_eval:n {+\paperheight/38}} - \strut - } { - \skip_vertical:n {\dim_eval:n {\paperheight/16}} - } - }{ - \skip_vertical:n {\dimexpr\paperheight/38} - \hspace*{\beamer@leftmargin}\rlap{\usebeamertemplate***{title~in~head/foot}} - } - \hspace*{\fill} - - \bool_if:NT \g_ptxcd_headlinelogo_bool { - %partnerlogo - \bool_if:NT \g__ptxcd_extended_space_bool \smash { - \raisebox{\dimexpr-\height+\ht\strutbox}{ - \box_use:N \g__ptxcd_partnerlogo_box - } - } - - \skip_horizontal:n {\dimexpr\paperheight/38} - %logo - \bool_if:NTF \g__ptxcd_headrule_bool { - \raisebox{2mm}[0pt][0pt]{\setlength{\fboxsep}{\z@}\colorbox{white}{\rule{\z@}{\dim_eval:n {\box_ht:N \g__ptxcd_logo_box+\box_ht:N \ptxcd_beamer_headrule_box + \box_dp:N \ptxcd_beamer_headrule_box+1pt}}\box_use:N \g__ptxcd_logo_box}} - \hspace*{10pt} - } { - \bool_if:NT \g__ptxcd_extended_space_bool \smash {\box_use:N \g__ptxcd_logo_box} - \hspace*{.7pt} - } - } - \par -} - -\setbeamertemplate{title~in~head/foot}{ - \bool_set_false:N \l_ptxcd_separate_bool - \tl_if_empty:NF {\beamer@shorttitle} { - \bool_set_true:N \l_ptxcd_separate_bool - \text_uppercase:n {\beamer@shorttitle} - } - \tl_if_empty:NF {\beamer@shortauthor} { - \bool_if:NT \l_ptxcd_separate_bool { - \space/\space - } - \text_uppercase:n {\beamer@shortauthor} - } -} - - -\defbeamertemplate*{sidebar~right}{TUDa2023}{ - \bool_if:NT \g_ptxcd_headlinelogo_bool { - \vspace{\c_ptxcd_logoheight_dim} - \llap{\box_use:N \g__ptxcd_sublogo_box} - } -} - -\defbeamertemplate*{frametitle}{TUDa2023}[1][left]{% - \nointerlineskip% - \bool_if:NF \g__ptxcd_extended_space_bool - {\vskip.55ex} - \begin{beamercolorbox}[ - wd=\dim_eval:n {\bool_if:NT \g__ptxcd_extended_space_bool {-\box_wd:N \g__ptxcd_logo_box } \box_if_empty:NF \g__ptxcd_sublogo_box {-\box_wd:N \g__ptxcd_sublogo_box - 1em}+ \textwidth}, - ]{frametitle} - \usebeamerfont{frametitle}% - \if@tempswa\else\csname beamer@fte#1\endcsname\fi% - \vphantom{Ü} - \text_uppercase:n {\insertframetitle}\strut - \par% - {% - \ifx\insertframesubtitle\@empty% - \else% - {\usebeamerfont{framesubtitle}\usebeamercolor[fg]{framesubtitle}\strut\text_uppercase:n {\insertframesubtitle}\strut\par}% - \fi - }% - \if@tempswa\else\vskip-.3cm\fi% set inside beamercolorbox... evil here... - \end{beamercolorbox} - \vskip.5ex -} -\newcommand*{\setupTUDaFrame}[1]{ - \keys_set:nn {ptxcd/beamer/outer} {#1} -} - -\mode -<all> - -\endinput diff --git a/Master/texmf-dist/tex/latex/tuda-ci/beamerthemeTUDa-mecheng.sty b/Master/texmf-dist/tex/latex/tuda-ci/beamerthemeTUDa-mecheng.sty index 73aa5a5e29a..a7ebab5e2b6 100644 --- a/Master/texmf-dist/tex/latex/tuda-ci/beamerthemeTUDa-mecheng.sty +++ b/Master/texmf-dist/tex/latex/tuda-ci/beamerthemeTUDa-mecheng.sty @@ -1,9 +1,9 @@ -%% This is file `beamerthemeTUDa-mecheng.sty' version 3.36 (2024-01-05), +%% This is file `beamerthemeTUDa-mecheng.sty' version 3.37 (2024-04-21), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2018--2023 by Marei Peischl <marei@peitex.de> +%% Copyright (C) 2018--2024 by Marei Peischl <marei@peitex.de> %% %% ============================================================================ %% This work may be distributed and/or modified under the @@ -25,8 +25,8 @@ %% %% ============================================================================ %% -\def\fileversion{3.36} -\def\filedate{2024-01-05} +\def\fileversion{3.37} +\def\filedate{2024-04-21} \ProvidesExplPackage{beamerthemeTUDa-mecheng}{\filedate}{\fileversion}{specific tudabeamer configuration for the department of mechanical engineering} @@ -304,4 +304,4 @@ \mode<all> -\endinput
\ No newline at end of file +\endinput diff --git a/Master/texmf-dist/tex/latex/tuda-ci/beamerthemeTUDa.sty b/Master/texmf-dist/tex/latex/tuda-ci/beamerthemeTUDa.sty index 3ed1238fae6..88d58b1fa87 100644 --- a/Master/texmf-dist/tex/latex/tuda-ci/beamerthemeTUDa.sty +++ b/Master/texmf-dist/tex/latex/tuda-ci/beamerthemeTUDa.sty @@ -1,9 +1,9 @@ -%% This is file `beamerthemeTUDa.sty' version 3.36 (2024-01-05), +%% This is file `beamerthemeTUDa.sty' version 3.37 (2024-04-21), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2018--2023 by Marei Peischl <marei@peitex.de> +%% Copyright (C) 2018--2024 by Marei Peischl <marei@peitex.de> %% %% ============================================================================ %% This work may be distributed and/or modified under the @@ -25,15 +25,31 @@ %% %% ============================================================================ %% -\def\fileversion{3.36} -\def\filedate{2024-01-05} -\NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{beamerthemeTUDa} - [\filedate\space\fileversion\space beamer theme using the Corporate Design of TU Darmstadt] +\NeedsTeXFormat{LaTeX2e}[2022/06/01] +\ProvidesExplPackage{beamerthemeTUDa}{2024-04-21}{3.37}{Beamer theme using the Corporate Design of TU Darmstadt} \mode<presentation> -\RequirePackageWithOptions{beamerthemeTUDa2008} +\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> diff --git a/Master/texmf-dist/tex/latex/tuda-ci/beamerthemeTUDa2008.sty b/Master/texmf-dist/tex/latex/tuda-ci/beamerthemeTUDa2008.sty index 1d9b112bc8c..a2c54a47309 100644 --- a/Master/texmf-dist/tex/latex/tuda-ci/beamerthemeTUDa2008.sty +++ b/Master/texmf-dist/tex/latex/tuda-ci/beamerthemeTUDa2008.sty @@ -1,9 +1,9 @@ -%% This is file `beamerthemeTUDa2008.sty' version 3.36 (2024-01-05), +%% This is file `beamerthemeTUDa2008.sty' version 3.37 (2024-04-21), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2018--2023 by Marei Peischl <marei@peitex.de> +%% Copyright (C) 2018--2024 by Marei Peischl <marei@peitex.de> %% %% ============================================================================ %% This work may be distributed and/or modified under the @@ -25,9 +25,9 @@ %% %% ============================================================================ %% -\def\fileversion{3.36} -\def\filedate{2024-01-05} -\NeedsTeXFormat{LaTeX2e} +\def\fileversion{3.37} +\def\filedate{2024-04-21} +\NeedsTeXFormat{LaTeX2e}[2022/06/01] \ProvidesPackage{beamerthemeTUDa2008} [\filedate\space\fileversion\space beamer theme using the Corporate Design of TU Darmstadt Design of 2008] @@ -48,14 +48,13 @@ \ExplSyntaxOff -\usefonttheme{TUDa} -\usecolortheme{TUDa} -\useoutertheme{TUDa} -\useinnertheme{TUDa} +\usefonttheme{TUDa2008} +\usecolortheme{TUDa2008} +\useoutertheme{TUDa2008} +\useinnertheme[design=2008]{TUDa} \setbeamertemplate{navigation symbols}{} - \mode<all> \endinput diff --git a/Master/texmf-dist/tex/latex/tuda-ci/beamerthemeTUDa2023.sty b/Master/texmf-dist/tex/latex/tuda-ci/beamerthemeTUDa2023.sty index 91e31251723..417ee0c97cb 100644 --- a/Master/texmf-dist/tex/latex/tuda-ci/beamerthemeTUDa2023.sty +++ b/Master/texmf-dist/tex/latex/tuda-ci/beamerthemeTUDa2023.sty @@ -1,9 +1,9 @@ -%% This is file `beamerthemeTUDa2023.sty' version 3.36 (2024-01-05), +%% This is file `beamerthemeTUDa2023.sty' version 3.37 (2024-04-21) %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2018--2023 by Marei Peischl <marei@peitex.de> +%% Copyright (C) 2018--2024 by Marei Peischl <marei@peitex.de> %% %% ============================================================================ %% This work may be distributed and/or modified under the @@ -25,36 +25,29 @@ %% %% ============================================================================ %% -\def\fileversion{3.36} -\def\filedate{2024-01-05} -\NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{beamerthemeTUDa2023} - [\filedate\space\fileversion\space beamer theme using the Corporate Design of TU Darmstadt Design of 2023] +\NeedsTeXFormat{LaTeX2e}[2022/06/01] +\ProvidesExplPackage{beamerthemeTUDa2023}{2024-04-21}{3.37}{Beamer theme using the Corporate Design of TU Darmstadt Design of 2023} \mode<presentation> -\ExplSyntaxOn - \msg_new:nnn {tudabeamer} {option-removed} { The~design~you~selected~doesn't~support~the~option~`#1`.\\ It~will~be~ignored. } \keys_define:nn {ptxcd/beamer} { - colortitle .code:n = \msg_warning:nn {tudabeamer} {option-removed} {colortitle}, - colorbacktitle .code:n = \msg_warning:nn {tudabeamer} {option-removed} {colorbacktitle}, - colorframetitle .code:n = \msg_warning:nn {tudabeamer} {option-removed} {colorframetitle}, - colorback .code:n = \msg_warning:nn {tudabeamer} {option-removed} {colorback}, + colortitle .code:n = \msg_warning:nnn {tudabeamer} {option-removed} {colortitle}, + colorbacktitle .code:n = \msg_warning:nnn {tudabeamer} {option-removed} {colorbacktitle}, + colorframetitle .code:n = \msg_warning:nnn {tudabeamer} {option-removed} {colorframetitle}, + colorback .code:n = \msg_warning:nnn {tudabeamer} {option-removed} {colorback}, logo .code:n = \PassOptionsToPackage{logo=#1}{beamerouterthemeTUDa2023} } \ProcessKeyOptions[ptxcd/beamer] -\ExplSyntaxOff - -\usefonttheme{TUDa2023} -\usecolortheme{TUDa2023} -\useoutertheme{TUDa2023} +\usefonttheme{TUDa} +\usecolortheme{TUDa} +\useoutertheme{TUDa} \useinnertheme[design=2023]{TUDa} \setbeamertemplate{navigation symbols}{} diff --git a/Master/texmf-dist/tex/latex/tuda-ci/tuda-a0paper.clo b/Master/texmf-dist/tex/latex/tuda-ci/tuda-a0paper.clo index 2a019ee5d2b..1ea5a3e716a 100644 --- a/Master/texmf-dist/tex/latex/tuda-ci/tuda-a0paper.clo +++ b/Master/texmf-dist/tex/latex/tuda-ci/tuda-a0paper.clo @@ -1,9 +1,9 @@ -%% This is file `tuda-a0paper.clo' version 3.36 (2024-01-05), +%% This is file `tuda-a0paper.clo' version 3.37 (2024-04-21), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2018--2023 by Marei Peischl <marei@peitex.de> +%% Copyright (C) 2018--2024 by Marei Peischl <marei@peitex.de> %% %% ============================================================================ %% This work may be distributed and/or modified under the @@ -25,8 +25,8 @@ %% %% ============================================================================ %% -\def\fileversion{3.36} -\def\filedate{2024-01-05} +\def\fileversion{3.37} +\def\filedate{2024-04-21} \ProvidesExplFile{tuda-a0paper.clo}{\filedate}{\fileversion}{tuda-ci~size~adjustments~for~a0paper} \cs_set:Nn \ptxcd_setup_title_sizes: { \cs_set:Nn \ptxcd_title_fontsize: {{125pt}{165pt}} diff --git a/Master/texmf-dist/tex/latex/tuda-ci/tuda-a1paper.clo b/Master/texmf-dist/tex/latex/tuda-ci/tuda-a1paper.clo index ecb299f8141..5336c146b1b 100644 --- a/Master/texmf-dist/tex/latex/tuda-ci/tuda-a1paper.clo +++ b/Master/texmf-dist/tex/latex/tuda-ci/tuda-a1paper.clo @@ -1,9 +1,9 @@ -%% This is file `tuda-a1paper.clo' version 3.36 (2024-01-05), +%% This is file `tuda-a1paper.clo' version 3.37 (2024-04-21), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2018--2023 by Marei Peischl <marei@peitex.de> +%% Copyright (C) 2018--2024 by Marei Peischl <marei@peitex.de> %% %% ============================================================================ %% This work may be distributed and/or modified under the @@ -25,8 +25,8 @@ %% %% ============================================================================ %% -\def\fileversion{3.36} -\def\filedate{2024-01-05} +\def\fileversion{3.37} +\def\filedate{2024-04-21} \ProvidesExplFile{tuda-a1paper.clo}{\filedate}{\fileversion}{tuda-ci~size~adjustments~for~a1paper} \cs_set:Nn \ptxcd_setup_title_sizes: { \cs_set:Nn \ptxcd_title_fontsize: {{86pt}{120pt}} diff --git a/Master/texmf-dist/tex/latex/tuda-ci/tuda-a2paper.clo b/Master/texmf-dist/tex/latex/tuda-ci/tuda-a2paper.clo index 5af8fb7ae67..120ef18fa4f 100644 --- a/Master/texmf-dist/tex/latex/tuda-ci/tuda-a2paper.clo +++ b/Master/texmf-dist/tex/latex/tuda-ci/tuda-a2paper.clo @@ -1,9 +1,9 @@ -%% This is file `tuda-a2paper.clo' version 3.36 (2024-01-05), +%% This is file `tuda-a2paper.clo' version 3.37 (2024-04-21), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2018--2023 by Marei Peischl <marei@peitex.de> +%% Copyright (C) 2018--2024 by Marei Peischl <marei@peitex.de> %% %% ============================================================================ %% This work may be distributed and/or modified under the @@ -25,8 +25,8 @@ %% %% ============================================================================ %% -\def\fileversion{3.36} -\def\filedate{2024-01-05} +\def\fileversion{3.37} +\def\filedate{2024-04-21} \ProvidesExplFile{tuda-a2paper.clo}{\filedate}{\fileversion}{tuda-ci~size~adjustments~for~a0paper} \cs_set:Nn \ptxcd_setup_title_sizes: { \cs_set:Nn \ptxcd_title_fontsize: {{65pt}{82pt}} diff --git a/Master/texmf-dist/tex/latex/tuda-ci/tuda-a3paper.clo b/Master/texmf-dist/tex/latex/tuda-ci/tuda-a3paper.clo index ced810ba449..9525af7b5fa 100644 --- a/Master/texmf-dist/tex/latex/tuda-ci/tuda-a3paper.clo +++ b/Master/texmf-dist/tex/latex/tuda-ci/tuda-a3paper.clo @@ -1,9 +1,9 @@ -%% This is file `tuda-a3paper.clo' version 3.36 (2024-01-05), +%% This is file `tuda-a3paper.clo' version 3.37 (2024-04-21), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2018--2023 by Marei Peischl <marei@peitex.de> +%% Copyright (C) 2018--2024 by Marei Peischl <marei@peitex.de> %% %% ============================================================================ %% This work may be distributed and/or modified under the @@ -25,8 +25,8 @@ %% %% ============================================================================ %% -\def\fileversion{3.36} -\def\filedate{2024-01-05} +\def\fileversion{3.37} +\def\filedate{2024-04-21} \ProvidesExplFile{tuda-a3paper.clo}{\filedate}{\fileversion}{tuda-ci~size~adjustments~for~a3paper} \cs_set:Nn \ptxcd_setup_title_sizes: { \cs_set:Nn \ptxcd_title_fontsize: {{47pt}{61pt}} diff --git a/Master/texmf-dist/tex/latex/tuda-ci/tuda-a4paper.clo b/Master/texmf-dist/tex/latex/tuda-ci/tuda-a4paper.clo index 9081c79a2f3..66c909d52f6 100644 --- a/Master/texmf-dist/tex/latex/tuda-ci/tuda-a4paper.clo +++ b/Master/texmf-dist/tex/latex/tuda-ci/tuda-a4paper.clo @@ -1,9 +1,9 @@ -%% This is file `tuda-a4paper.clo' version 3.36 (2024-01-05), +%% This is file `tuda-a4paper.clo' version 3.37 (2024-04-21), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2018--2023 by Marei Peischl <marei@peitex.de> +%% Copyright (C) 2018--2024 by Marei Peischl <marei@peitex.de> %% %% ============================================================================ %% This work may be distributed and/or modified under the @@ -25,8 +25,8 @@ %% %% ============================================================================ %% -\def\fileversion{3.36} -\def\filedate{2024-01-05} +\def\fileversion{3.37} +\def\filedate{2024-04-21} \ProvidesExplFile{tuda-a4paper.clo}{\filedate}{\fileversion}{tuda-ci~size~adjustments~for~a4paper} \cs_set:Nn \ptxcd_setup_title_sizes: { \cs_set:Nn \ptxcd_title_fontsize: {{36pt}{47pt}} diff --git a/Master/texmf-dist/tex/latex/tuda-ci/tuda-a5paper.clo b/Master/texmf-dist/tex/latex/tuda-ci/tuda-a5paper.clo index 75e80d48ce5..0587a4ca112 100644 --- a/Master/texmf-dist/tex/latex/tuda-ci/tuda-a5paper.clo +++ b/Master/texmf-dist/tex/latex/tuda-ci/tuda-a5paper.clo @@ -1,9 +1,9 @@ -%% This is file `tuda-a5paper.clo' version 3.36 (2024-01-05), +%% This is file `tuda-a5paper.clo' version 3.37 (2024-04-21), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2018--2023 by Marei Peischl <marei@peitex.de> +%% Copyright (C) 2018--2024 by Marei Peischl <marei@peitex.de> %% %% ============================================================================ %% This work may be distributed and/or modified under the @@ -25,8 +25,8 @@ %% %% ============================================================================ %% -\def\fileversion{3.36} -\def\filedate{2024-01-05} +\def\fileversion{3.37} +\def\filedate{2024-04-21} \ProvidesExplFile{tuda-a5paper.clo}{\filedate}{\fileversion}{tuda-ci~size~adjustments~for~a5paper} \cs_set:Nn \ptxcd_setup_title_sizes: { \cs_set:Nn \ptxcd_title_fontsize: {{22pt}{28pt}} diff --git a/Master/texmf-dist/tex/latex/tuda-ci/tuda-pgfplots.sty b/Master/texmf-dist/tex/latex/tuda-ci/tuda-pgfplots.sty index 405025a4ea6..42f186ce359 100644 --- a/Master/texmf-dist/tex/latex/tuda-ci/tuda-pgfplots.sty +++ b/Master/texmf-dist/tex/latex/tuda-ci/tuda-pgfplots.sty @@ -1,9 +1,9 @@ -%% This is file `tuda-pgfplots.sty' version 3.36 (2024-01-05), +%% This is file `tuda-pgfplots.sty' version 3.37 (2024-04-21), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2018--2023 by Marei Peischl <marei@peitex.de> +%% Copyright (C) 2018--2024 by Marei Peischl <marei@peitex.de> %% %% ============================================================================ %% This work may be distributed and/or modified under the @@ -25,8 +25,8 @@ %% %% ============================================================================ %% -\def\fileversion{3.36} -\def\filedate{2024-01-05} +\def\fileversion{3.37} +\def\filedate{2024-04-21} % Special thanks to: Sebastian Schöps Institut Theorie Elektromagnetischer Felder (TEMF), TU Darmstadt % The original version of this file has been inspired by the colorscheme in the Metropolis beamer theme by Matthias Vogelgesang https://github.com/matze/mtheme \ProvidesPackage{tuda-pgfplots}[\filedate\space\fileversion\space tuda-ci pgfplots color schemes] diff --git a/Master/texmf-dist/tex/latex/tuda-ci/tudabeamer.cls b/Master/texmf-dist/tex/latex/tuda-ci/tudabeamer.cls index 0a2ab1ee482..d4d5bddd290 100644 --- a/Master/texmf-dist/tex/latex/tuda-ci/tudabeamer.cls +++ b/Master/texmf-dist/tex/latex/tuda-ci/tudabeamer.cls @@ -1,9 +1,9 @@ -%% This is file `tudabeamer.cls' version 3.36 (2024-01-05), +%% This is file `tudabeamer.cls' version 3.37 (2024-04-21), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2018--2023 by Marei Peischl <marei@peitex.de> +%% Copyright (C) 2018--2024 by Marei Peischl <marei@peitex.de> %% %% ============================================================================ %% This work may be distributed and/or modified under the @@ -25,8 +25,8 @@ %% %% ============================================================================ %% -\def\fileversion{3.36} -\def\filedate{2024-01-05} +\def\fileversion{3.37} +\def\filedate{2024-04-21} \NeedsTeXFormat{LaTeX2e} \ProvidesClass{tudabeamer} [\filedate\space\fileversion\space] @@ -90,15 +90,16 @@ design / 2008 .code:n = { \tl_gset:Nn \g__ptxcd_design_tl {2008} }, - design .initial:n = 2008, + design / default .code:n = { + \tl_gset:Nn \g__ptxcd_design_tl {default} + }, + design .initial:n = default, design2023 .meta:n = {design=2023}, design2008 .meta:n = {design=2008}, + design .usage:n = load, } - \ExplSyntaxOff - - \PassOptionsToPackage{pdfpagelabels=false,plainpages=false}{hyperref} \PassOptionsToClass{t}{beamer} @@ -110,6 +111,16 @@ \ProcessOptions* \ExplSyntaxOn +\tl_if_eq:NnT \g__ptxcd_design_tl {default} { + \msg_new:nnn {tudabeamer} {default-design-changed} { + With~version~4.0~tudabeamer~switched~to~the~new~corporate~design~layout.\\ + In~case~this~is~not~intended,~it's~possible~switch~back~using~`design=2008`~option.\\ + `design=2023`~will~disable~this~warning. + } + \msg_warning:nn {tudabeamer} {default-design-changed} + \keys_set:nn {ptxcd/beamer} {design=2023} +} + \bool_if:NT \g_ptxcd_pdfa_bool {\PassOptionsToPackage{RGB}{xcolor}} \bool_if:NT \g_ptxcd_pdfa_bool { diff --git a/Master/texmf-dist/tex/latex/tuda-ci/tudacolors.def b/Master/texmf-dist/tex/latex/tuda-ci/tudacolors.def index 482049e5e66..4311888a049 100644 --- a/Master/texmf-dist/tex/latex/tuda-ci/tudacolors.def +++ b/Master/texmf-dist/tex/latex/tuda-ci/tudacolors.def @@ -1,9 +1,9 @@ -%% This is file `tudacolors.def' version 3.36 (2024-01-05), +%% This is file `tudacolors.def' version 3.37 (2024-04-21), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2018--2023 by Marei Peischl <marei@peitex.de> +%% Copyright (C) 2018--2024 by Marei Peischl <marei@peitex.de> %% %% ============================================================================ %% This work may be distributed and/or modified under the @@ -25,8 +25,8 @@ %% %% ============================================================================ %% -\def\fileversion{3.36} -\def\filedate{2024-01-05} +\def\fileversion{3.37} +\def\filedate{2024-04-21} \ProvidesFile{tudacolors.def} [\filedate\space\fileversion\space Color definitions for tuda-ci] diff --git a/Master/texmf-dist/tex/latex/tuda-ci/tudacolors.sty b/Master/texmf-dist/tex/latex/tuda-ci/tudacolors.sty index 12c351e2816..3f930954092 100644 --- a/Master/texmf-dist/tex/latex/tuda-ci/tudacolors.sty +++ b/Master/texmf-dist/tex/latex/tuda-ci/tudacolors.sty @@ -1,9 +1,9 @@ -%% This is file `tudacolors.sty' version 3.36 (2024-01-05), +%% This is file `tudacolors.sty' version 3.37 (2024-04-21), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2018--2023 by Marei Peischl <marei@peitex.de> +%% Copyright (C) 2018--2024 by Marei Peischl <marei@peitex.de> %% %% ============================================================================ %% This work may be distributed and/or modified under the @@ -25,8 +25,8 @@ %% %% ============================================================================ %% -\def\fileversion{3.36} -\def\filedate{2024-01-05} +\def\fileversion{3.37} +\def\filedate{2024-04-21} \NeedsTeXFormat{LaTeX2e} \ProvidesExplPackage{tudacolors}{\filedate}{\fileversion}{Color definition for TU Darmstadt's tuda-ci bundle} diff --git a/Master/texmf-dist/tex/latex/tuda-ci/tudaexercise.cls b/Master/texmf-dist/tex/latex/tuda-ci/tudaexercise.cls index c9f99798f0d..4e2a0a435d9 100644 --- a/Master/texmf-dist/tex/latex/tuda-ci/tudaexercise.cls +++ b/Master/texmf-dist/tex/latex/tuda-ci/tudaexercise.cls @@ -1,9 +1,9 @@ -%% This is file `tudaexercise.cls' version 3.36 (2024-01-05), +%% This is file `tudaexercise.cls' version 3.37 (2024-04-21), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2018--2023 by Marei Peischl <marei@peitex.de> +%% Copyright (C) 2018--2024 by Marei Peischl <marei@peitex.de> %% %% ============================================================================ %% This work may be distributed and/or modified under the @@ -25,8 +25,8 @@ %% %% ============================================================================ %% -\def\fileversion{3.36} -\def\filedate{2024-01-05} +\def\fileversion{3.37} +\def\filedate{2024-04-21} \NeedsTeXFormat{LaTeX2e} \ProvidesExplClass{tudaexercise} diff --git a/Master/texmf-dist/tex/latex/tuda-ci/tudafonts.sty b/Master/texmf-dist/tex/latex/tuda-ci/tudafonts.sty index e97c2305143..9eb9e3e4b25 100644 --- a/Master/texmf-dist/tex/latex/tuda-ci/tudafonts.sty +++ b/Master/texmf-dist/tex/latex/tuda-ci/tudafonts.sty @@ -1,9 +1,9 @@ -%% This is file `tudafonts.sty' version 3.36 (2024-01-05), +%% This is file `tudafonts.sty' version 3.37 (2024-04-21), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2018--2023 by Marei Peischl <marei@peitex.de> +%% Copyright (C) 2018--2024 by Marei Peischl <marei@peitex.de> %% %% ============================================================================ %% This work may be distributed and/or modified under the @@ -25,8 +25,8 @@ %% %% ============================================================================ %% -\def\fileversion{3.36} -\def\filedate{2024-01-05} +\def\fileversion{3.37} +\def\filedate{2024-04-21} \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{tudafonts} [\filedate\space\fileversion\space diff --git a/Master/texmf-dist/tex/latex/tuda-ci/tudaleaflet.cls b/Master/texmf-dist/tex/latex/tuda-ci/tudaleaflet.cls index 108a41cc0a4..b4336cfef9d 100644 --- a/Master/texmf-dist/tex/latex/tuda-ci/tudaleaflet.cls +++ b/Master/texmf-dist/tex/latex/tuda-ci/tudaleaflet.cls @@ -1,9 +1,9 @@ -%% This is file `tudaleaflet.cls' version 3.36 (2024-01-05), +%% This is file `tudaleaflet.cls' version 3.37 (2024-04-21), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2018--2023 by Marei Peischl <marei@peitex.de> +%% Copyright (C) 2018--2024 by Marei Peischl <marei@peitex.de> %% %% ============================================================================ %% This work may be distributed and/or modified under the @@ -25,8 +25,8 @@ %% %% ============================================================================ %% -\def\fileversion{3.36} -\def\filedate{2024-01-05} +\def\fileversion{3.37} +\def\filedate{2024-04-21} \NeedsTeXFormat{LaTeX2e} \ProvidesExplPackage{tudaleaflet}{\filedate}{\fileversion}{Leaflets using the Corporate Design of TU Darmstadt} diff --git a/Master/texmf-dist/tex/latex/tuda-ci/tudaletter.cls b/Master/texmf-dist/tex/latex/tuda-ci/tudaletter.cls index d322be13dd7..e035975c055 100644 --- a/Master/texmf-dist/tex/latex/tuda-ci/tudaletter.cls +++ b/Master/texmf-dist/tex/latex/tuda-ci/tudaletter.cls @@ -1,9 +1,9 @@ -%% This is file `tudaletter.cls' version 3.36 (2024-01-05), +%% This is file `tudaletter.cls' version 3.37 (2024-04-21), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2018--2023 by Marei Peischl <marei@peitex.de> +%% Copyright (C) 2018--2024 by Marei Peischl <marei@peitex.de> %% %% ============================================================================ %% This work may be distributed and/or modified under the @@ -25,8 +25,8 @@ %% %% ============================================================================ %% -\def\fileversion{3.36} -\def\filedate{2024-01-05} +\def\fileversion{3.37} +\def\filedate{2024-04-21} \NeedsTeXFormat{LaTeX2e} \ProvidesExplClass{tudaletter} diff --git a/Master/texmf-dist/tex/latex/tuda-ci/tudalettersize10pt.clo b/Master/texmf-dist/tex/latex/tuda-ci/tudalettersize10pt.clo index b5d756dd77f..a9175b8038e 100644 --- a/Master/texmf-dist/tex/latex/tuda-ci/tudalettersize10pt.clo +++ b/Master/texmf-dist/tex/latex/tuda-ci/tudalettersize10pt.clo @@ -1,9 +1,9 @@ -%% This is file `tudalettersize10pt.clo' version 3.36 (2024-01-05), +%% This is file `tudalettersize10pt.clo' version 3.37 (2024-04-21), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2018--2023 by Marei Peischl <marei@peitex.de> +%% Copyright (C) 2018--2024 by Marei Peischl <marei@peitex.de> %% %% ============================================================================ %% This file is a slightly modified version of scrsize10pt.clo diff --git a/Master/texmf-dist/tex/latex/tuda-ci/tudamecheng.cfg b/Master/texmf-dist/tex/latex/tuda-ci/tudamecheng.cfg index 6c99184ae7c..aacecd020e7 100644 --- a/Master/texmf-dist/tex/latex/tuda-ci/tudamecheng.cfg +++ b/Master/texmf-dist/tex/latex/tuda-ci/tudamecheng.cfg @@ -1,9 +1,9 @@ -%% This is file `tudamecheng.cfg' version 3.36 (2024-01-05), +%% This is file `tudamecheng.cfg' version 3.37 (2024-04-21), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2018--2023 by Marei Peischl <marei@peitex.de> +%% Copyright (C) 2018--2024 by Marei Peischl <marei@peitex.de> %% %% ============================================================================ %% This work may be distributed and/or modified under the @@ -25,8 +25,8 @@ %% %% ============================================================================ %% -\def\fileversion{3.36} -\def\filedate{2024-01-05} +\def\fileversion{3.37} +\def\filedate{2024-04-21} \RequirePackage{expl3} \ProvidesExplFile{tudamecheng.cfg} {\filedate}{\fileversion}{Special Features the department of mechanical engineering of Darmstadt's Corporate Design (tuda-ci)} diff --git a/Master/texmf-dist/tex/latex/tuda-ci/tudaposter.cls b/Master/texmf-dist/tex/latex/tuda-ci/tudaposter.cls index 55bae572c75..aa4fc6fd9d7 100644 --- a/Master/texmf-dist/tex/latex/tuda-ci/tudaposter.cls +++ b/Master/texmf-dist/tex/latex/tuda-ci/tudaposter.cls @@ -1,9 +1,9 @@ -%% This is file `tudaposter.cls' version 3.36 (2024-01-05), +%% This is file `tudaposter.cls' version 3.37 (2024-04-21), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2018--2023 by Marei Peischl <marei@peitex.de> +%% Copyright (C) 2018--2024 by Marei Peischl <marei@peitex.de> %% %% ============================================================================ %% This work may be distributed and/or modified under the @@ -25,8 +25,8 @@ %% %% ============================================================================ %% -\def\fileversion{3.36} -\def\filedate{2024-01-05} +\def\fileversion{3.37} +\def\filedate{2024-04-21} \NeedsTeXFormat{LaTeX2e} \ProvidesExplPackage{tudaposter}{\filedate}{\fileversion}{Poster Layouts for the Corporate Design of TU Darmstadt} diff --git a/Master/texmf-dist/tex/latex/tuda-ci/tudapub.cls b/Master/texmf-dist/tex/latex/tuda-ci/tudapub.cls index ce48e404414..3b4a7626737 100644 --- a/Master/texmf-dist/tex/latex/tuda-ci/tudapub.cls +++ b/Master/texmf-dist/tex/latex/tuda-ci/tudapub.cls @@ -1,9 +1,9 @@ -%% This is file `tudapub.cls' version 3.36 (2024-01-05), +%% This is file `tudapub.cls' version 3.37 (2024-04-21), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2018--2023 by Marei Peischl <marei@peitex.de> +%% Copyright (C) 2018--2024 by Marei Peischl <marei@peitex.de> %% %% ============================================================================ %% This work may be distributed and/or modified under the @@ -25,8 +25,8 @@ %% %% ============================================================================ %% -\def\fileversion{3.36} -\def\filedate{2024-01-05} +\def\fileversion{3.37} +\def\filedate{2024-04-21} \NeedsTeXFormat{LaTeX2e} \ProvidesExplClass{tudapub} @@ -218,14 +218,14 @@ } \prop_if_in:NnF \g__pdfmeta_outputintents_prop {GTS_PDFA1} { - \PassOptionsToPackage{rgb}{xcolor} + \PassOptionsToPackage{RGB}{xcolor} \msg_info:nn {tudapub} {colors-to-rgb} } } } \bool_if:NT \g_ptxcd_pdfx_bool { - \PassOptionsToPackage{rgb}{xcolor} + \PassOptionsToPackage{RGB}{xcolor} \msg_info:nn {tudapub} {colors-to-rgb} } @@ -908,7 +908,7 @@ } %%hyperref - \hypersetup{hidelinks, unicode,pdfa} + \hypersetup{hidelinks, unicode} \iow_new:N \ptxcd_xmpdata_stream \tl_new:N \g_ptxcd_xmp_title_tl \tl_new:N \g_ptxcd_xmp_author_tl @@ -985,7 +985,7 @@ \hypersetup{pdfcreator=LaTeX~using~TUDa-CI} \msg_new:nnnn {tudapub} {metadata-to-hypersetup} { - You~don't~use~pdfx.\\ + You~don't~use~pdfx.~ Here~the~\string\Metadata\~command~only~exists~for~compatibility~reasons.\\ I~will~pass~the~data~to~ḩypersetup. }{ @@ -1041,6 +1041,8 @@ } \fi: +\RequirePackage{bookmark} + \box_new:N \g_ptxcd_sponsor_box \seq_new:N \g_ptxcd_sponsors_seq \def\AddSponsor{\seq_gput_right:Nn \g_ptxcd_sponsors_seq} @@ -1071,6 +1073,14 @@ \def\and{,~ } \cs_if_exist_use:N \ptxcd_pass_TitleData: \if@titlepage + \edef\titlepage@restore{% + \noexpand\endgroup + \noexpand\global\noexpand\@colht\the\@colht + \noexpand\global\noexpand\@colroom\the\@colroom + \noexpand\global\vsize\the\vsize + \noexpand\global\noexpand\@titlepageiscoverpagefalse + \noexpand\let\noexpand\titlepage@restore\noexpand\relax + }% \ptxcd_disable_marginpar: \begin{titlepage} \setcounter{page}{% @@ -1078,18 +1088,6 @@ }% \def\thefootnote{\ptxcd_title_footnotestyle:n {\c@footnote}} \if@titlepageiscoverpage - \def\titlepage@restore{% - \endgroup - \ptxcd_restore_typearea: - \bool_if:nT {! \g_ptxcd_geometry_bool && \g_ptxcd_marginpar_bool} { - \dim_sub:Nn \evensidemargin {\marginparwidth+\marginparsep} - \dim_add:Nn \textwidth {\marginparwidth+\marginparsep} - \columnwidth=\textwidth - \hsize=\columnwidth - } - \global\@titlepageiscoverpagefalse - \let\titlepage@restore\relax - }% \begingroup \topmargin=\dimexpr \coverpagetopmargin-1in\relax \oddsidemargin=\dimexpr \coverpageleftmargin-1in\relax diff --git a/Master/texmf-dist/tex/latex/tuda-ci/tudarules.sty b/Master/texmf-dist/tex/latex/tuda-ci/tudarules.sty index 22b74c478bc..fcf7e9f6aca 100644 --- a/Master/texmf-dist/tex/latex/tuda-ci/tudarules.sty +++ b/Master/texmf-dist/tex/latex/tuda-ci/tudarules.sty @@ -1,9 +1,9 @@ -%% This is file `tudarules.sty' version 3.36 (2024-01-05), +%% This is file `tudarules.sty' version 3.37 (2024-04-21), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2018--2023 by Marei Peischl <marei@peitex.de> +%% Copyright (C) 2018--2024 by Marei Peischl <marei@peitex.de> %% %% ============================================================================ %% This work may be distributed and/or modified under the @@ -25,8 +25,8 @@ %% %% ============================================================================ %% -\def\fileversion{3.36} -\def\filedate{2024-01-05} +\def\fileversion{3.37} +\def\filedate{2024-04-21} \NeedsTeXFormat{LaTeX2e} \ProvidesExplPackage{tudarules}{\filedate}{\fileversion}{Creation of colored bars for tuda-ci bundle} diff --git a/Master/texmf-dist/tex/latex/tuda-ci/tudasciposter.cls b/Master/texmf-dist/tex/latex/tuda-ci/tudasciposter.cls index 3ebd638173f..856d0dab2d2 100644 --- a/Master/texmf-dist/tex/latex/tuda-ci/tudasciposter.cls +++ b/Master/texmf-dist/tex/latex/tuda-ci/tudasciposter.cls @@ -1,9 +1,9 @@ -%% This is file `tudasciposter.cls' version 3.36 (2024-01-05), +%% This is file `tudasciposter.cls' version 3.37 (2024-04-21), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2018--2023 by Marei Peischl <marei@peitex.de> +%% Copyright (C) 2018--2024 by Marei Peischl <marei@peitex.de> %% %% ============================================================================ %% This work may be distributed and/or modified under the @@ -25,8 +25,8 @@ %% %% ============================================================================ %% -\def\fileversion{3.36} -\def\filedate{2024-01-05} +\def\fileversion{3.37} +\def\filedate{2024-04-21} \NeedsTeXFormat{LaTeX2e} \ProvidesExplPackage{tudasciposter}{\filedate}{\fileversion}{Scientific Poster Layout for TU Darmstadt} diff --git a/Master/texmf-dist/tex/latex/tuda-ci/tudasize9pt.clo b/Master/texmf-dist/tex/latex/tuda-ci/tudasize9pt.clo index 4977d1918e8..e92dc5ece89 100644 --- a/Master/texmf-dist/tex/latex/tuda-ci/tudasize9pt.clo +++ b/Master/texmf-dist/tex/latex/tuda-ci/tudasize9pt.clo @@ -1,9 +1,9 @@ -%% This is file `tudasize9pt.clo' version 3.36 (2024-01-05), +%% This is file `tudasize9pt.clo' version 3.37 (2024-04-21), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2018--2023 by Marei Peischl <marei@peitex.de> +%% Copyright (C) 2018--2024 by Marei Peischl <marei@peitex.de> %% %% ============================================================================ %% This file is a slightly modified version of scrsize10pt.clo diff --git a/Master/texmf-dist/tex/latex/tuda-ci/tudathesis.cfg b/Master/texmf-dist/tex/latex/tuda-ci/tudathesis.cfg index ded4b7c23b7..ffd6ea3ac4b 100644 --- a/Master/texmf-dist/tex/latex/tuda-ci/tudathesis.cfg +++ b/Master/texmf-dist/tex/latex/tuda-ci/tudathesis.cfg @@ -1,9 +1,9 @@ -%% This is file `tudathesis.cfg' version 3.36 (2024-01-05), +%% This is file `tudathesis.cfg' version 3.37 (2024-04-21), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2018--2023 by Marei Peischl <marei@peitex.de> +%% Copyright (C) 2018--2024 by Marei Peischl <marei@peitex.de> %% %% ============================================================================ %% This work may be distributed and/or modified under the @@ -25,8 +25,8 @@ %% %% ============================================================================ %% -\def\fileversion{3.36} -\def\filedate{2024-01-05} +\def\fileversion{3.37} +\def\filedate{2024-04-21} \RequirePackage{expl3} \ProvidesExplFile{tudathesis.cfg} {\filedate}{\fileversion}{Special Features for publication type 'thesis' using TU Darmstadt's Corporate Design (tuda-ci)} @@ -460,6 +460,14 @@ \ptxcd_check_title_data:cn {TUDa@##1} {##1} } \cs_if_exist_use:N \ptxcd_pass_TitleData: + \edef\titlepage@restore{% + \noexpand\endgroup + \noexpand\global\noexpand\@colht\the\@colht + \noexpand\global\noexpand\@colroom\the\@colroom + \noexpand\global\vsize\the\vsize + \noexpand\global\noexpand\@titlepageiscoverpagefalse + \noexpand\let\noexpand\titlepage@restore\noexpand\relax + }% \ptxcd_disable_marginpar: \cleardoublepage \begin{titlepage} @@ -468,18 +476,6 @@ }% \def\thefootnote{\fnsymbol{footnote}} \if@titlepageiscoverpage - \def\titlepage@restore{% - \endgroup - \ptxcd_restore_typearea: - \bool_if:nT {! \g_ptxcd_geometry_bool && \g_ptxcd_marginpar_bool} { - \dim_sub:Nn \evensidemargin {\marginparwidth+\marginparsep} - \dim_add:Nn \textwidth {\marginparwidth+\marginparsep} - \columnwidth=\textwidth - \hsize=\columnwidth - } - \global\@titlepageiscoverpagefalse - \let\titlepage@restore\relax - }% \begingroup \topmargin=\dimexpr \coverpagetopmargin-1in\relax \oddsidemargin=\dimexpr \coverpageleftmargin-1in\relax |