diff options
Diffstat (limited to 'macros/latex/contrib/tuda-ci/tex/tudamecheng.cfg')
-rw-r--r-- | macros/latex/contrib/tuda-ci/tex/tudamecheng.cfg | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/macros/latex/contrib/tuda-ci/tex/tudamecheng.cfg b/macros/latex/contrib/tuda-ci/tex/tudamecheng.cfg index 7063cdb5aa..f628dfef22 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.08 (2020/11/12), +%% This is file `tudamecheng.cfg' version 3.09 (2021/01/12), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- @@ -26,8 +26,8 @@ %% %% ============================================================================ %% -\def\fileversion{3.08} -\def\filedate{2020/11/12} +\def\fileversion{3.09} +\def\filedate{2021/01/12} \RequirePackage{expl3} \ProvidesExplFile{tudamecheng.cfg} {\filedate}{\fileversion}{Special Features the department of mechanical engineering of Darmstadt's Corporate Design (tuda-ci)} @@ -47,8 +47,8 @@ \pgfpathlineto{\pgfpointpolar{186}{.05#1}} \pgfpathclose \pgfusepath{fill} - \pgfpathmoveto{\pgfpoint{-.04#1}{0}} - \pgfpathlineto{\pgfpoint{-#1}{0}} + \pgfpathmoveto{\pgfpoint{-#1+.5\pgflinewidth}{0}} + \pgfpathlineto{\pgfpoint{-.04#1-.5\pgflinewidth}{0}} \pgfusepath{stroke} \end{pgfpicture} } @@ -144,16 +144,23 @@ \dim_compare:nF {\box_wd:N \g_ptxcd_footline_box=\layerwidth} { \hbox_gset:Nn \g_ptxcd_footline_box {\MechEngArrow{\layerwidth}} } - \smash{\box_use:N \g_ptxcd_footline_box} + \smash{\box_use:N \g_ptxcd_footline_box}% } ]{plain.TUDa.mecheng.foot.above.line} \clearpairofpagestyles \cfoot[\pagemark]{\pagemark} - \tl_if_empty:NF \g_ptxcd_departmentlogo_tl { - \lefoot[{\raisebox{-\height}[0pt][0pt]{\includegraphics[width=\c_ptxcd_logoheight_dim]{\g_ptxcd_departmentlogo_tl}}}]{\raisebox{-\height}[0pt][0pt]{\includegraphics[width=\c_ptxcd_logoheight_dim]{\g_ptxcd_departmentlogo_tl}}} - \lofoot[{\raisebox{-\height}[0pt][0pt]{\includegraphics[width=\c_ptxcd_logoheight_dim]{\g_ptxcd_departmentlogo_tl}}}]{\raisebox{-\height}[0pt][0pt]{\includegraphics[width=\c_ptxcd_logoheight_dim]{\g_ptxcd_departmentlogo_tl}}} + \box_new:N \g_ptxcd_departmentlogo_box + \hbox_gset:Nn \g_ptxcd_departmentlogo_box { + \raisebox{-\height}{ + \tl_if_empty:NTF \g_ptxcd_departmentlogo_tl + {\strut} {\includegraphics[width=\c_ptxcd_logoheight_dim]{\g_ptxcd_departmentlogo_tl}} + } } + \setlength{\footheight}{\dim_eval:n {\box_ht:N \g_ptxcd_departmentlogo_box+\box_dp:N \g_ptxcd_departmentlogo_box+\ht\strutbox}} + + \lefoot[\box_use:N \g_ptxcd_departmentlogo_box]{\box_use:N \g_ptxcd_departmentlogo_box} + \lofoot[\box_use:N \g_ptxcd_departmentlogo_box]{\box_use:N \g_ptxcd_departmentlogo_box} } \DeclarePageStyleAlias{TUDa}{TUDa.mecheng} \DeclarePageStyleAlias{plain.TUDa}{plain.TUDa.mecheng} |