diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/tuda-ci/tudarules.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/tuda-ci/tudarules.sty | 40 |
1 files changed, 5 insertions, 35 deletions
diff --git a/Master/texmf-dist/tex/latex/tuda-ci/tudarules.sty b/Master/texmf-dist/tex/latex/tuda-ci/tudarules.sty index 92d8beb7145..4377dc94805 100644 --- a/Master/texmf-dist/tex/latex/tuda-ci/tudarules.sty +++ b/Master/texmf-dist/tex/latex/tuda-ci/tudarules.sty @@ -1,46 +1,16 @@ -%% This is file `tudarules.sty' version 2.02 (2019/11/16), -%% it is part of -%% TUDa-CI -- Corporate Design for TU Darmstadt -%% ---------------------------------------------------------------------------- -%% -%% Copyright (C) 2018--2019 by Marei Peischl <marei@peitex.de> -%% -%% ============================================================================ -%% This work may be distributed and/or modified under the -%% conditions of the LaTeX Project Public License, either version 1.3c -%% of this license or (at your option) any later version. -%% The latest version of this license is in -%% http://www.latex-project.org/lppl.txt -%% and version 1.3c or later is part of all distributions of LaTeX -%% version 2008/05/04 or later. -%% -%% This work has the LPPL maintenance status `maintained'. -%% -%% The Current Maintainers of this work are -%% Marei Peischl <tuda-ci@peitex.de> -%% Markus Lazanowski <latex@ce.tu-darmstadt.de> -%% -%% The development respository can be found at -%% https://github.com/tudace/tuda_latex_templates -%% Please use the issue tracker for feedback! -%% -%% ============================================================================ -%% -\def\fileversion{2.02} -\def\filedate{2019/11/16} \NeedsTeXFormat{LaTeX2e} \RequirePackage{expl3} \ProvidesExplPackage{tudarules}{\filedate}{\fileversion}{Creation of colored bars for tuda-ci bundle} - + \RequirePackage{l3keys2e} - + \seq_if_exist:NF \l_TUDa_tmpa_seq {\seq_new:N \l_TUDa_tmpa_seq} \tl_if_exist:NF \l_TUDa_tmpa_tk {\tl_new:N \l_TUDa_tmpa_tl} \cs_new:Nn \TUDa_rules_set_values:n { \seq_set_split:Nnn \l_TUDa_tmpa_seq {|} {#1} - + \int_step_inline:nnnn {1} {1} {4} { \tl_set:Nn \l_TUDa_tmpa_tl {c_TUDa_ \clist_item:nn {largerule, rulesep, smallrule, logoheight} {##1} @@ -108,7 +78,7 @@ }{ \hbox_gset:cn {#3_box} { \parbox[t]{\l_TUDa_headrule_width_dim}{ - \setlength{\baselineskip}{\z@} + \setlength{\baselineskip}{\z@} \null\par\nointerlineskip \textcolor{\l_TUDa_headrule_color_tl}{\rule{\linewidth}{\c_TUDa_largerule_dim}} \vspace{\c_TUDa_rulesep_dim}\par\nointerlineskip @@ -132,7 +102,7 @@ \cs_new:cpn {#2} {\box_use:c {#2_box}} } - + %DL | 3.5mm | 1.4mm | 1.2pt | 17 mm | 0.6pt| 10mm | 14mm | %A6 | 3 mm | 1.4mm | 1.2pt | 16.5mm | 0.6pt| 10mm | 15mm | %A5 | 3.3mm | 1.4mm | 1.2pt | 19 mm | 0.6pt| 12mm | 16mm | |