summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tuda-ci/tex/tudamecheng.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/tuda-ci/tex/tudamecheng.cfg')
-rw-r--r--macros/latex/contrib/tuda-ci/tex/tudamecheng.cfg24
1 files changed, 16 insertions, 8 deletions
diff --git a/macros/latex/contrib/tuda-ci/tex/tudamecheng.cfg b/macros/latex/contrib/tuda-ci/tex/tudamecheng.cfg
index e406d5f8e1..6bdb3451f3 100644
--- a/macros/latex/contrib/tuda-ci/tex/tudamecheng.cfg
+++ b/macros/latex/contrib/tuda-ci/tex/tudamecheng.cfg
@@ -1,4 +1,4 @@
-%% This is file `tudamecheng.cfg' version 3.14 (2021/05/18),
+%% This is file `tudamecheng.cfg' version 3.15 (2021/05/26),
%% it is part of
%% TUDa-CI -- Corporate Design for TU Darmstadt
%% ----------------------------------------------------------------------------
@@ -26,8 +26,8 @@
%%
%% ============================================================================
%%
-\def\fileversion{3.14}
-\def\filedate{2021/05/18}
+\def\fileversion{3.15}
+\def\filedate{2021/05/26}
\RequirePackage{expl3}
\ProvidesExplFile{tudamecheng.cfg}
{\filedate}{\fileversion}{Special Features the department of mechanical engineering of Darmstadt's Corporate Design (tuda-ci)}
@@ -121,14 +121,22 @@
\newpairofpagestyles[TUDa.\c__ptxcd_base_str]{TUDa.mecheng}{
\KOMAoptions{plainfootsepline,footsepline=5pt}
\ptxcd_makeheadrule[color=TUDa-Primary1, width=\sls@headwidth]{ptxcd_headrule}
-
\ModifyLayer[
- contents=\smash{\ptxcd_headrule}
- ]{TUDa.mecheng.head.above.line}
+ contents={
+ \dim_compare:nF {\box_wd:N \ptxcd_headrule_box=\layerwidth} {
+ \ptxcd_makeheadrule[color=TUDa-Primary1, width=\sls@headwidth]{ptxcd_headrule}
+ }
+ \smash{\ptxcd_headrule}
+ }
+ ]{TUDa.mecheng.head.above.line}
\ModifyLayer[
- contents=\smash{\ptxcd_headrule}
+ contents={
+ \dim_compare:nF {\box_wd:N \ptxcd_headrule_box=\layerwidth} {
+ \ptxcd_makeheadrule[color=TUDa-Primary1, width=\sls@headwidth]{ptxcd_headrule}
+ }
+ \smash{\ptxcd_headrule}
+ }
]{plain.TUDa.mecheng.head.above.line}
-
\ModifyLayer[
contents={
\dim_compare:nF {\box_wd:N \g_ptxcd_footline_box=\layerwidth} {