summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tudscr/tudscrbase.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-01-27 23:14:08 +0000
committerKarl Berry <karl@freefriends.org>2017-01-27 23:14:08 +0000
commit953423df3388111af14ec84c79dfa6b10e1e8aac (patch)
treed91e3ead05751436a0713703f3cae5ffd3174fe9 /Master/texmf-dist/tex/latex/tudscr/tudscrbase.sty
parent83082c7f9a495b3086e74c09252c4046fdbc6a72 (diff)
tudscr (27jan17)
git-svn-id: svn://tug.org/texlive/trunk@43067 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/tudscr/tudscrbase.sty')
-rw-r--r--Master/texmf-dist/tex/latex/tudscr/tudscrbase.sty84
1 files changed, 30 insertions, 54 deletions
diff --git a/Master/texmf-dist/tex/latex/tudscr/tudscrbase.sty b/Master/texmf-dist/tex/latex/tudscr/tudscrbase.sty
index 81dcfd6e07b..77a32426c06 100644
--- a/Master/texmf-dist/tex/latex/tudscr/tudscrbase.sty
+++ b/Master/texmf-dist/tex/latex/tudscr/tudscrbase.sty
@@ -7,37 +7,30 @@
%% tudscr-version.dtx (with options: `package,base')
%% tudscr-base.dtx (with options: `package,base')
%%
-%% ============================================================================
+%% TUD-Script -- Corporate Design of Technische Universitaet Dresden
%%
-%% TUD-Script
-%% Copyright (c) Falk Hanisch <tudscr@gmail.com>, 2012-2016
+%% 2017/01/26 v2.05g TUD-Script
%%
-%% ============================================================================
-%%
-%% This work may be distributed and/or modified under the conditions of the
-%% LaTeX Project Public License, version 1.3c of the license. 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 2005/12/01
-%% or later and of this work. This work has the LPPL maintenance status
-%% "author-maintained". The current maintainer and author of this work
-%% is Falk Hanisch.
+%% Copyright (C) Falk Hanisch <tudscr@gmail.com>, 2012-2017
%%
+%% This file was generated from file(s) of the TUD-Script bundle.
%% ----------------------------------------------------------------------------
%%
-%% Dieses Werk darf nach den Bedingungen der LaTeX Project Public Lizenz
-%% in der Version 1.3c, verteilt und/oder veraendert werden. Die aktuelle
-%% Version dieser Lizenz ist http://www.latex-project.org/lppl.txt und
-%% Version 1.3c oder spaeter ist Teil aller Verteilungen von LaTeX 2005/12/01
-%% oder spaeter und dieses Werks. Dieses Werk hat den LPPL-Verwaltungs-Status
-%% "author-maintained", wird somit allein durch den Autor verwaltet. Der
-%% aktuelle Verwalter und Autor dieses Werkes ist Falk Hanisch.
+%% This work may be distributed and/or modified under the conditions
+%% of the LaTeX Project Public License, version 1.3c of the license.
+%% 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 2005/12/01 or later and of this work.
+%%
+%% This work has the LPPL maintenance status "author-maintained".
%%
-%% ============================================================================
+%% The current maintainer and author of this work is Falk Hanisch.
%%
%%% From File: tudscr-version.dtx
\begingroup
\catcode`\@11\relax
- \ifx\TUD@Version\undefined
+ \ifx\TUD@Version\@undefined
\newcommand*\TUD@Version@Check[1]{%
\gdef\TUD@Version{#1}%
\gdef\TUDScriptVersion{#1}%
@@ -59,7 +52,7 @@
\fi%
}
\fi
- \TUD@Version@Check{2016/10/12 v2.05f TUD-Script}
+ \TUD@Version@Check{2017/01/26 v2.05g TUD-Script}
\endgroup
\NeedsTeXFormat{LaTeX2e}
\providecommand*\tudscrmail{tudscr@gmail.com}
@@ -72,7 +65,7 @@
}{}
%%% From File: tudscr-base.dtx
\ProvidesPackage{tudscrbase}[%
- 2016/10/12 v2.05f TUD-Script
+ 2017/01/26 v2.05g TUD-Script
package
(basics for the bundle)%
]
@@ -113,6 +106,11 @@
\RequirePackage{etoolbox}[2011/01/03]
\RequirePackage{etexcmds}[2011/02/16]
\RequirePackage{kvsetkeys}[2012/04/25]
+\newcommand*\tud@reserved{}
+\newtoks\tud@toks@
+\newcommand*\eaddto@hook[2]{%
+ \expandafter\addto@hook\expandafter#1\expandafter{#2}%
+}
\newcommand*\ifxblank{\ifstr{}}
\newcommand*\ifxnumber[1]{%
\if\relax\detokenize\expandafter{\romannumeral-0#1}\relax%
@@ -207,38 +205,16 @@
\expandafter\def\expandafter #1\expandafter{#1}%
}%
}
-\newcommand*\tud@reserved{}
-\newtoks\tud@toks@
-\newcommand*\eaddto@hook[2]{%
- \expandafter\addto@hook\expandafter#1\expandafter{#2}%
+\newcommand*\tud@font@koma@set[2]{%
+ \ifcsdef{tud@font@koma@#1}{}{\addtokomafont{#1}{\csuse{tud@font@koma@#1}}}%
+ \csdef{tud@font@koma@#1}{#2\nobreak}%
}
-\newcommand*\tud@replace[3]{%
- \begingroup%
- \toks@{\def\@tempa##1}%
- \eaddto@hook\toks@{\detokenize{#2}}%
- \addto@hook\toks@{##2\@nil{\@tempb{##1}{##2}}}%
- \the\toks@%
- \def\@tempb##1##2{%
- \IfArgIsEmpty{##2}{%
- \appto#1{##1}%
- \let\@tempc\relax%
- }{%
- \appto#1{##1#3}%
- \def\@tempc{\@tempa##2\@nil}%
- }%
- \@tempc%
- }%
- \toks@{\@tempa}%
- \edef\@tempc{\expandafter\detokenize\expandafter{#1}}%
- \eaddto@hook\toks@{\@tempc}%
- \eaddto@hook\toks@{\detokenize{#2}\@nil}%
- \def#1{}%
- \the\toks@%
- \edef\tud@reserved{%
- \noexpand\endgroup%
- \def\noexpand#1{#1}%
- }%
- \tud@reserved%
+\newcommand*\tud@font@koma@unset[1]{%
+ \ifcsdef{tud@font@koma@#1}{}{\addtokomafont{#1}{\csuse{tud@font@koma@#1}}}%
+ \csdef{tud@font@koma@#1}{\relax}%
+}
+\newcommand*\tud@font@koma@reset[1]{%
+ \ifcsdef{tud@font@koma@#1}{\addtokomafont{#1}{\csuse{tud@font@koma@#1}}}{}%
}
\DefineFamily{TUD}
\newcommand*\TUDProcessOptions{\FamilyProcessOptions{TUD}}