From 4b315627efc5a6beb1e6c6ec7a98779f215c75eb Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Wed, 9 Sep 2020 03:03:16 +0000
Subject: CTAN sync 202009090303

---
 macros/latex/contrib/tuda-ci/tex/tudafonts.sty | 56 +++++++++++++-------------
 1 file changed, 27 insertions(+), 29 deletions(-)

(limited to 'macros/latex/contrib/tuda-ci/tex/tudafonts.sty')

diff --git a/macros/latex/contrib/tuda-ci/tex/tudafonts.sty b/macros/latex/contrib/tuda-ci/tex/tudafonts.sty
index cf9ec3e5d9..c2baab0e0e 100644
--- a/macros/latex/contrib/tuda-ci/tex/tudafonts.sty
+++ b/macros/latex/contrib/tuda-ci/tex/tudafonts.sty
@@ -1,4 +1,4 @@
-%% This is file `tudafonts.sty' version 2.11 (2020/06/12),
+%% This is file `tudafonts.sty' version 3.00 (2020/09/08),
 %% it is part of
 %% TUDa-CI -- Corporate Design for TU Darmstadt
 %% ----------------------------------------------------------------------------
@@ -26,12 +26,12 @@
 %%
 %% ============================================================================
 %%
-\def\fileversion{2.11}
-\def\filedate{2020/06/12}
+\def\fileversion{3.00}
+\def\filedate{2020/09/08}
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesPackage{tudafonts}
  [\filedate\space\fileversion\space
-   font loading for TUDa-CI, TU Darmstadt's Corporate Design]
+ font loading for TUDa-CI, TU Darmstadt's Corporate Design]
 
 \expandafter\newif\csname if@TUDa@T1\endcsname
 
@@ -42,30 +42,33 @@
 \RequirePackage{anyfontsize}
 
 \ifPDFTeX
-    \csname @TUDa@T1true\endcsname
-    %Fallback for older versions
-    \expandafter\ifx\csname DeclareUnicodeCharacter\endcsname\relax
-    \RequirePackage[utf8]{inputenc}
-    \fi
-    \expandafter\ifx\csname texteuro\endcsname\relax
-       \RequirePackage{textcomp}
-    \fi
-    \DeclareUnicodeCharacter{20AC}{\texteuro}
+	\csname @TUDa@T1true\endcsname
+	%Fallback for older versions
+	\expandafter\ifx\csname DeclareUnicodeCharacter\endcsname\relax
+	\RequirePackage[utf8]{inputenc}
+	\fi
+	\expandafter\ifx\csname texteuro\endcsname\relax
+		\RequirePackage{textcomp}
+	\fi
+	\DeclareUnicodeCharacter{20AC}{\texteuro}
 \fi
 
 \csname if@TUDa@T1\endcsname
-    \RequirePackage{XCharter}%activates T1
-    \PassOptionsToPackage{type1}{roboto}
-    \PassOptionsToPackage{type1}{roboto-mono}
-    %Workaround for missing ligature replacements with roboto in T1
-    \ifXeTeX
-    \else
-    \RequirePackage{microtype}
-    \DisableLigatures{encoding = *, family=\sfdefault,  shape = sc }
-    \fi
+	\ifLuaTeX
+		\RequirePackage[utf8]{luainputenc}
+	\fi
+	\RequirePackage{XCharter}%activates T1
+	\PassOptionsToPackage{type1}{roboto}
+	\PassOptionsToPackage{type1}{roboto-mono}
+	%Workaround for missing ligature replacements with roboto in T1
+	\ifXeTeX
+	\else
+		\RequirePackage{microtype}
+		\DisableLigatures{encoding = *, family=\sfdefault,shape = sc }
+	\fi
 \else
-    \RequirePackage{fontspec}
-    \setmainfont{XCharter}
+	\RequirePackage{fontspec}
+	\setmainfont{XCharter}
 \fi
 
 \RequirePackage{roboto}
@@ -77,11 +80,6 @@
 	For correct font setup either install it manually or update you distribution}
 }
 
-
-\ifPDFTeX
-	\RequirePackage[T1]{fontenc}
-\fi
-
 \let\accentfont\robotoslab
 \DeclareTextFontCommand{\textaccent}{\accentfont}
 
-- 
cgit v1.2.3

