summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tuda-ci/tudafonts.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-09-09 20:56:10 +0000
committerKarl Berry <karl@freefriends.org>2020-09-09 20:56:10 +0000
commitc8d420dd46400927a8d328d2254c955895eaabce (patch)
tree05564d36f1c8961613e2e36a2c618f544a3915dd /Master/texmf-dist/tex/latex/tuda-ci/tudafonts.sty
parent2b5a395c2b964f90d9e4a0846daafd89915b6b05 (diff)
tuda-ci (9sep20)
git-svn-id: svn://tug.org/texlive/trunk@56302 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/tuda-ci/tudafonts.sty')
-rw-r--r--Master/texmf-dist/tex/latex/tuda-ci/tudafonts.sty56
1 files changed, 27 insertions, 29 deletions
diff --git a/Master/texmf-dist/tex/latex/tuda-ci/tudafonts.sty b/Master/texmf-dist/tex/latex/tuda-ci/tudafonts.sty
index cf9ec3e5d9e..c2baab0e0e5 100644
--- a/Master/texmf-dist/tex/latex/tuda-ci/tudafonts.sty
+++ b/Master/texmf-dist/tex/latex/tuda-ci/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}