diff options
author | Norbert Preining <norbert@preining.info> | 2022-11-05 03:01:24 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-11-05 03:01:24 +0000 |
commit | 5a47812f51f3d10a580db0c74aa20d73f5ed2ae4 (patch) | |
tree | cc3522fb0d9ee5fad1b71c34210b81532fc5fb48 /macros/latex/contrib/tuda-ci/tex/tudarules.sty | |
parent | be4efcdb2f47821698dc8dbde89722b4f0c2e4b0 (diff) |
CTAN sync 202211050301
Diffstat (limited to 'macros/latex/contrib/tuda-ci/tex/tudarules.sty')
-rw-r--r-- | macros/latex/contrib/tuda-ci/tex/tudarules.sty | 13 |
1 files changed, 8 insertions, 5 deletions
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 |