summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tuda-ci/beamerthemeTUDa-mecheng.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/tuda-ci/beamerthemeTUDa-mecheng.sty')
-rw-r--r--Master/texmf-dist/tex/latex/tuda-ci/beamerthemeTUDa-mecheng.sty38
1 files changed, 18 insertions, 20 deletions
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 e84e7fa228e..5fd524dabc4 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.41 (2024-07-02),
+%% This is file `beamerthemeTUDa-mecheng.sty' version 4.00 (2025-01-26),
%% it is part of
%% TUDa-CI -- Corporate Design for TU Darmstadt
%% ----------------------------------------------------------------------------
%%
-%% Copyright (C) 2018--2024 by Marei Peischl <marei@peitex.de>
+%% Copyright (C) 2018--2025 by Marei Peischl <marei@peitex.de>
%%
%% ============================================================================
%% This work may be distributed and/or modified under the
@@ -16,7 +16,7 @@
%%
%% This work has the LPPL maintenance status `maintained'.
%%
-%% The Current Maintainers of this work are
+%% The Current Maintainer of this work is
%% Marei Peischl <tuda-ci@peitex.de>
%%
%% The development respository can be found at
@@ -25,15 +25,13 @@
%%
%% ============================================================================
%%
-\def\fileversion{3.41}
-\def\filedate{2024-07-02}
-\ProvidesExplPackage{beamerthemeTUDa-mecheng}{\filedate}{\fileversion}{specific tudabeamer configuration for the department of mechanical engineering}
+\ProvidesExplPackage{beamerthemeTUDa-mecheng}{2025-01-26}{4.00}{specific tudabeamer configuration for the department of mechanical engineering}
\tl_if_empty:NT \g_ptxcd_departmentlogo_tl {
\keys_set:nn {ptxcd/beamer}{departmentlogofile=tuda_maschinenbau_logo_rgb}
-}
+}
\mode<presentation>
@@ -85,7 +83,7 @@
%innertheme adjustments
\defbeamertemplate*{title~ page}{TUDa-mecheng}[1][]
-{
+{
\nointerlineskip
\vspace{\dimexpr.5\c_ptxcd_logoheight_dim-\ht\strutbox+
\box_dp:N \ptxcd_beamer_headrule_box + \box_ht:N \ptxcd_beamer_headrule_box
@@ -94,11 +92,11 @@
\parbox{\__ptxcd_beamer_linewidth:}{%
\begin{beamercolorbox}[
wd=\linewidth,
- ]{title}
+ ]{title}
\raggedright
\usebeamerfont{title}
\hbox_set:Nn \l__ptxcd_frametitle_box {
- \parbox[c]{\dimexpr\linewidth-\box_wd:N \g__ptxcd_logo_box-1em\relax}{
+ \parbox[c]{\dimexpr\linewidth-\box_wd:N \g__ptxcd_logo_box-1em}{
\raggedright{}
\inserttitle
\par
@@ -107,17 +105,17 @@
\dim_compare:nT {\box_ht:N \l__ptxcd_frametitle_box > \baselineskip} {\raisebox{\dimexpr-\height+.5\c_ptxcd_logoheight_dim}}
{\box_use:N \l__ptxcd_frametitle_box}
\hspace{\fill}
- \raisebox{\dimexpr-.5\height+.5\ht\strutbox-.5\dp\strutbox\relax}{\box_use:N \g__ptxcd_logo_box}\hspace*{\dimexpr-\beamer@rightmargin+\g__ptxcd_beamer_logosep_dim}
+ \raisebox{\dimexpr-.5\height+.5\ht\strutbox-.5\dp\strutbox}{\box_use:N \g__ptxcd_logo_box}\hspace*{\dimexpr-\beamer@rightmargin+\g__ptxcd_beamer_logosep_dim}
\ifx\insertsubtitle\@empty
\else
\par\vspace{\c_ptxcd_largerule_dim}
- \parbox[t]{\dimexpr\linewidth- \box_wd:N \g__ptxcd_logo_box\relax}{
+ \parbox[t]{\dimexpr\linewidth- \box_wd:N \g__ptxcd_logo_box}{
\usebeamerfont{subtitle}\insertsubtitle
}
\fi
\bool_if:NT \g_ptxcd_authorontitle_bool {
\par
- \parbox[t]{\dimexpr\linewidth-2ex\relax}{
+ \parbox[t]{\dimexpr\linewidth-2ex}{
\ifx\insertauthor\@empty
\else
\usebeamercolor[fg]{author}\usebeamerfont{author}\insertauthor\par
@@ -136,7 +134,7 @@
\begin{beamercolorbox}[
rightskip=.07\linewidth,%place image left of arrow tip
ht=\c_ptxcd_smallrule_dim,%dp=1mm,
- wd=\dimexpr\textwidth]{footline}
+ wd=\textwidth]{footline}
\setbeamertemplate{departmentlogo}[TUDa-mecheng][width=\dimexpr2\linewidth/11\relax]
\insertdepartmentlogo
\hfill
@@ -193,8 +191,9 @@
{
\begin{beamercolorbox}[
wd=\linewidth,
- leftskip=\beamer@leftmargin,rightskip=\beamer@rightmargin,
- ]{footline}
+ leftskip=\beamer@leftmargin,
+ rightskip=\beamer@rightmargin,
+ ]{footline}
\MechEngArrow*{\linewidth}
\par\skip_vertical:n {.5\g__ptxcd_beamer_logosep_dim}
\makebox[\linewidth][s]{
@@ -229,8 +228,8 @@
sep=\g__ptxcd_beamer_logosep_dim,
wd=\__ptxcd_beamer_linewidth:,
rightskip=-\g__ptxcd_beamer_logosep_dim,
- leftskip=\dimexpr-\g__ptxcd_beamer_logosep_dim\relax,
- ]{frametitle}
+ leftskip=-\g__ptxcd_beamer_logosep_dim,
+ ]{frametitle}
\hbox_set:Nn \l__ptxcd_frametitle_box {
\parbox[t]
{\dimexpr\linewidth- \box_wd:N \g__ptxcd_logo_box-1em\relax\relax}{%
@@ -257,7 +256,7 @@
sep=\g__ptxcd_beamer_logosep_dim,
wd=\__ptxcd_beamer_linewidth:,
rightskip=-\g__ptxcd_beamer_logosep_dim,
- leftskip=\dimexpr-\g__ptxcd_beamer_logosep_dim\relax,
+ leftskip=-\g__ptxcd_beamer_logosep_dim,
ht=\c_ptxcd_smallrule_dim.
dp=0
]{smallrule}
@@ -278,7 +277,6 @@
}
\cs_set:Nn \__ptxcd_set_framebgcolor:n {
-
\str_case:nnTF {#1} {
{Primary1} {\tl_set:Nn \l_tmpa_tl {Primary2}}
{Primary2} {\tl_set:Nn \l_tmpa_tl {Primary1}}