diff options
author | Karl Berry <karl@freefriends.org> | 2021-01-13 22:14:45 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-01-13 22:14:45 +0000 |
commit | 6ea577a61ab15135bb3910491f4582e347fbec3d (patch) | |
tree | 68fa6387e4ee47a00b21b23fdc575847f77c338d /Master/texmf-dist/tex/latex/tuda-ci/tudamecheng.cfg | |
parent | c1f9540dac287386d2a61a40656a9c7413909dd8 (diff) |
tuda-ci (13jan21)
git-svn-id: svn://tug.org/texlive/trunk@57415 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/tuda-ci/tudamecheng.cfg')
-rw-r--r-- | Master/texmf-dist/tex/latex/tuda-ci/tudamecheng.cfg | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/tuda-ci/tudamecheng.cfg b/Master/texmf-dist/tex/latex/tuda-ci/tudamecheng.cfg index 7063cdb5aaf..f628dfef22a 100644 --- a/Master/texmf-dist/tex/latex/tuda-ci/tudamecheng.cfg +++ b/Master/texmf-dist/tex/latex/tuda-ci/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} |