From 5a47812f51f3d10a580db0c74aa20d73f5ed2ae4 Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Sat, 5 Nov 2022 03:01:24 +0000
Subject: CTAN sync 202211050301

---
 macros/latex/contrib/tuda-ci/tex/tudarules.sty | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

(limited to 'macros/latex/contrib/tuda-ci/tex/tudarules.sty')

diff --git a/macros/latex/contrib/tuda-ci/tex/tudarules.sty b/macros/latex/contrib/tuda-ci/tex/tudarules.sty
index 1356a3b37b..1b5b49646f 100644
--- a/macros/latex/contrib/tuda-ci/tex/tudarules.sty
+++ b/macros/latex/contrib/tuda-ci/tex/tudarules.sty
@@ -1,4 +1,4 @@
-%% This is file `tudarules.sty' version 3.27 (2022/08/03),
+%% This is file `tudarules.sty' version 3.28 (2022/11/04),
 %% it is part of
 %% TUDa-CI -- Corporate Design for TU Darmstadt
 %% ----------------------------------------------------------------------------
@@ -26,8 +26,8 @@
 %%
 %% ============================================================================
 %%
-\def\fileversion{3.27}
-\def\filedate{2022/08/03}
+\def\fileversion{3.28}
+\def\filedate{2022/11/04}
 \NeedsTeXFormat{LaTeX2e}
 \RequirePackage{expl3}
 \ProvidesExplPackage{tudarules}{\filedate}{\fileversion}{Creation of colored bars for tuda-ci bundle}
@@ -53,8 +53,8 @@
 		\tl_set:Nn \l_ptxcd_tmpa_tl {c_ptxcd_
 			\clist_item:nn {largerule, rulesep, smallrule, logoheight} {##1}
 			_dim}
-		\dim_if_exist:cF {\l_ptxcd_tmpa_tl} {\dim_new:c {\l_ptxcd_tmpa_tl}}
-		\dim_gset:cn {\l_ptxcd_tmpa_tl} {\seq_item:Nn \l_ptxcd_tmpa_seq {##1}}
+		\dim_if_exist:cT {\l_ptxcd_tmpa_tl} {\cs_undefine:c {\l_ptxcd_tmpa_tl}}
+		\dim_const:cn {\l_ptxcd_tmpa_tl} {\seq_item:Nn \l_ptxcd_tmpa_seq {##1}}
 	}
 	\dim_gset:Nn \g_ptxcd_titlerule_dim {.5\c_ptxcd_smallrule_dim}
 }
@@ -110,6 +110,9 @@
 	{mecheng} {\bool_gset_true:N \g_ptxcd_simple_rules_bool}
 }
 
+\cs_new:Nn \__ptxcd_logowidth: {\dim_eval:n {2.2\c_ptxcd_logoheight_dim}}
+\cs_new:Nn \__ptxcd_logosep:{\dim_eval:n {0.3\c_ptxcd_logoheight_dim}}
+
 \NewDocumentCommand{\ptxcd_makeheadrule}{som}{
 	\keys_set:nn {ptxcd/rules} {
 		%TODO maybe package options for default
-- 
cgit v1.2.3

