From b4325b27feab3a4183f51bfe598686eb72a8c1e0 Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Fri, 29 Nov 2019 03:01:31 +0000
Subject: CTAN sync 201911290301

---
 macros/latex/contrib/tuda-ci/tex/tudaletter.cls | 54 ++++++-------------------
 1 file changed, 12 insertions(+), 42 deletions(-)

(limited to 'macros/latex/contrib/tuda-ci/tex/tudaletter.cls')

diff --git a/macros/latex/contrib/tuda-ci/tex/tudaletter.cls b/macros/latex/contrib/tuda-ci/tex/tudaletter.cls
index ccc1cb36b9..afcc3879c4 100644
--- a/macros/latex/contrib/tuda-ci/tex/tudaletter.cls
+++ b/macros/latex/contrib/tuda-ci/tex/tudaletter.cls
@@ -1,33 +1,3 @@
-%% This is file `tudaletter.cls' 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}
 \ProvidesExplClass{tudaletter}
@@ -65,11 +35,11 @@
 % Load the TUDa-colorscheme
 \RequirePackage{tudacolors}
 
-\bool_if:NTF \g_TUDaletter_premium_bool 
+\bool_if:NTF \g_TUDaletter_premium_bool
 {	\def\TUDa@premiumcolor{accentcolor}
 	\def\TUDa@use@premiumcolor{\color{accentcolor}}
 	\def\TUDa@use@premiumcolor@text{\color{textaccentcolor}}
-}{	
+}{
 	\def\TUDa@premiumcolor{black}
 	\let\TUDa@use@premiumcolor\relax
 	\let\TUDa@use@premiumcolor@text\relax
@@ -95,7 +65,7 @@
 
 \geometry{
 	twoside=false,
-	left=\c_TuDa_LeftMargin_dim, 
+	left=\c_TuDa_LeftMargin_dim,
 	right=\c_TuDa_RightMargin_dim,
 	bottom=20mm,
 	footskip=3mm,
@@ -120,7 +90,7 @@
 
 \@setplength{toaddrhpos}{\c_TuDa_LeftMargin_dim}
 \@setplength{toaddrvpos}{50mm}
-\@setplength{backaddrheight}{4mm} 
+\@setplength{backaddrheight}{4mm}
 \@setplength{toaddrindent}{0mm}
 
 \@setplength{refhpos}{\c_TuDa_LeftMargin_dim}
@@ -274,7 +244,7 @@
 	\@nobreaktrue
 	\@afterindentfalse
 	\everypar{%
-		\if@nobreak 
+		\if@nobreak
 			\@nobreakfalse\clubpenalty\@M
 			\if@afterindent
 			\else{\setbox\z@\lastbox}
@@ -286,7 +256,7 @@
 		\ifnum\thepage=1%
 		\TUD@page@free=-\pagegoal%
 		\advance\TUD@page@free\pagetotal%
-		\dim_compare:nTF {-\TUD@page@free>2\baselineskip}  
+		\dim_compare:nTF {-\TUD@page@free>2\baselineskip}
 		{
 			\bool_if:NF \g_TUDaletter_logo_bool {
 				\advance\TUD@page@free-.3\baselineskip
@@ -305,7 +275,7 @@
 	}%
 	\global\setlength{\linewidth}{\dim_eval:n {\c_TuDa_Linewidth_dim + \c_TuDa_firstpage_extraindent_dim}}
 	\afterpage{
-		\global\setlength{\linewidth}{\c_TuDa_Linewidth_dim}	
+		\global\setlength{\linewidth}{\c_TuDa_Linewidth_dim}
 		\widowpenalty=10000
 	}
 }
@@ -323,7 +293,7 @@
 \newcommand*{\TUDa@letterpagemark}{
 	%get lastpage for this letter if not already done
 	\int_compare:nTF {\value{page} = 1} {
-			\bool_if:NTF \g_TUDa_firstpagenumber_bool 
+			\bool_if:NTF \g_TUDa_firstpagenumber_bool
 			{\bool_set_true:N \l_tmpa_bool}
 			{\bool_set_false:N \l_tmpa_bool}
 		}
@@ -335,7 +305,7 @@
 			\int_const:cn {c_TUDa_letter\thisletter _lastpage_int} {0}
 			\else
 			\int_const:cn {c_TUDa_letter\thisletter _lastpage_int} {
-				\cs_if_exist:NTF \hypersetup 
+				\cs_if_exist:NTF \hypersetup
 				{\exp_args:NNc \expandafter \@secondoffive { r@\thisletter.lastpage}}
 				{\exp_args:NNc \expandafter \use_ii:nn { r@\thisletter.lastpage}}
 			}
@@ -382,7 +352,7 @@
 	height=\box_ht:N \TuDa@LetterheadRule_box,
 	contents=\TuDa@LetterheadRule
 	]{letter.head}
-} 	
+}
 
 \DeclareNewLayer[
 	background,
@@ -425,10 +395,10 @@
 	\use:c {pdfx@localcommands}
 	\prop_map_function:NN \g_TUDa_MetaData_prop  \TUDa_write_xmp_line:nn
 	\endgroup
-	\iow_close:N  \TUDa@xmpdata_stream 
+	\iow_close:N  \TUDa@xmpdata_stream
 	}
 }
-\cs_new:Nn \TUDa_write_xmp_line:nn {		
+\cs_new:Nn \TUDa_write_xmp_line:nn {
 	\cs_if_exist:cTF {\tl_mixed_case:n {#1}} {
 		\iow_now:Nx \TUDa@xmpdata_stream {
 			\c_backslash_str \tl_mixed_case:n {#1} {#2}\iow_newline:
-- 
cgit v1.2.3

