summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tudscr/tudscrcomp.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/tudscr/tudscrcomp.sty')
-rw-r--r--Master/texmf-dist/tex/latex/tudscr/tudscrcomp.sty203
1 files changed, 203 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/tudscr/tudscrcomp.sty b/Master/texmf-dist/tex/latex/tudscr/tudscrcomp.sty
new file mode 100644
index 00000000000..8352946ce13
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/tudscr/tudscrcomp.sty
@@ -0,0 +1,203 @@
+%%
+%% This is file `tudscrcomp.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% tudscr-version.dtx (with options: `package,comp,tudscr')
+%% tudscr-comp.dtx (with options: `package')
+%%
+%% ============================================================================
+%%
+%% TUD-KOMA-Script
+%% Copyright (c) Falk Hanisch <tudscr[at]gmail.com>, 2012-2014
+%%
+%% ============================================================================
+%%
+%% 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.
+%%
+%% ----------------------------------------------------------------------------
+%%
+%% Dieses Werk darf nach den Bedingungen der LaTeX Project Public Lizenz,
+%% Version 1.3c, verteilt und/oder veraendert werden. Die neuste Version
+%% dieser Lizenz ist http://www.latex-project.org/lppl.txt und Version 1.3c
+%% 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.
+%%
+%% ============================================================================
+%%
+%%% From File: tudscr-version.dtx
+\begingroup%
+ \catcode`\@11\relax%
+ \ifx\TUDVersion\undefined%
+ \newcommand*\@TUDVersion[1]{\gdef\TUDVersion{#1}}%
+ \else%
+ \newcommand*\@TUDVersion[1]{%
+ \def\@tempa{#1}%
+ \ifx\TUDVersion\@tempa\else%
+ \@latex@warning@no@line{%
+ \noexpand\TUDVersion\space is `\TUDVersion',\MessageBreak%
+ but `#1' was expected!\MessageBreak%
+ You should not use classes, packages or files from\MessageBreak%
+ different TUD-KOMA-Script-Bundle versions%
+ }%
+ \fi%
+ }%
+ \fi%
+ \@TUDVersion{2014/12/17 v2.02 TUD-KOMA-Script}%
+\endgroup%
+\providecommand*\tudscrmail{tudscr@gmail.com}
+\@ifundefined{tudcls@name}{%
+ \PackageError{%
+ tudscrcomp%
+ }{Unsupported class found}{%
+ This package can only be used with a class out of the\MessageBreak%
+ tudscr bundle (tudscrartcl, tudscrreprt, tudscrbook)%
+ }
+ \endinput
+}{}
+\@ifundefined{TUDScript}{%
+ \DeclareRobustCommand{\TUDScript}{%
+ \ifdin{TUD-KOMA-SCRIPT}{%
+ \textsf{T\kern.05em U\kern.05em D\kern.1em-\kern.1em}\KOMAScript%
+ }\csname xspace\endcsname%
+ }%
+}{}
+%%% From File: tudscr-comp.dtx
+\NeedsTeXFormat{LaTeX2e}[2011/06/27]
+\ProvidesPackage{tudscrcomp}[%
+ 2014/12/17 v2.02 TUD-KOMA-Script
+ package
+ (compatibility for tudbook)%
+]
+\newcommand*\einrichtung{}
+\let\einrichtung\faculty
+\newcommand*\fachrichtung{}
+\let\fachrichtung\department
+\newcommand*\institut{}
+\let\institut\institute
+\newcommand*\professur{}
+\let\professur\chair
+\newcommand*\moreauthor{}
+\let\moreauthor\authormore
+\newcommand*\submitdate{}
+\let\submitdate\date
+\newcommand*\supervisorII[1]{%
+ \expandafter\gdef\expandafter\@supervisor\expandafter{\@supervisor\and #1}%
+}
+\newcommand*\supervisedby[1]{\gdef\supervisorname{#1}}
+\newcommand*\supervisedIIby[1]{\gdef\supervisorothername{#1}}
+\newcommand*\submittedon[1]{\gdef\datetext{#1}}
+\newcommand*\dissertation{%
+ \thesis{\dissertationname}%
+ \let\supervisorname\refereename%
+ \let\supervisorothername\refereeothername%
+}
+\TUD@key{colortitle}[true]{%
+ \TUD@set@ifkey{colortitle}{@tempswa}{#1}%
+ \if@tempswa%
+ \TUDoptions{cdtitle=color}%
+ \else%
+ \TUDoptions{cdtitle=true}%
+ \fi%
+}
+\TUD@key{nocolortitle}[true]{%
+ \TUD@set@ifkey{nocolortitle}{@tempswa}{#1}%
+ \if@tempswa%
+ \TUDoptions{cdtitle=true}%
+ \else%
+ \TUDoptions{cdtitle=color}%
+ \fi%
+}
+\TUD@key{ddcfooter}[true]{%
+ \TUD@set@ifkey{ddcfooter}{@tempswa}{#1}%
+ \if@tempswa%
+ \TUDoptions{ddcfoot=true}%
+ \else%
+ \TUDoptions{ddcfoot=false}%
+ \fi%
+}
+\AtBeginDocument{%
+ \ifdef{\theglossary}{}{%
+ \providecommand*{\glossaryname}{Glossar}
+ \newenvironment{theglossary}[1][]{%
+ \ClassWarning{\tudcls@name}{%
+ Using the environment theglossary is not\MessageBreak%
+ recommended. You should rather use an appropriate\MessageBreak%
+ package such as glossaries%
+ }%
+ \let\bibname\glossaryname%
+ \bib@heading%
+ #1%
+ \list{}{%
+ \setlength{\labelsep}{\z@}%
+ \setlength{\labelwidth}{\z@}%
+ \setlength{\itemindent}{-\leftmargin}%
+ }%
+ }{\endlist}
+ \newcommand\glossitem[1]{\item[] #1\par}%
+ }%
+}
+\TUD@key{serifmath}[true]{%
+ \TUD@set@ifkey{serifmath}{@tempswa}{#1}%
+ \if@tempswa%
+ \TUDoptions{sansmath=false}%
+ \else%
+ \TUDoptions{sansmath=true}%
+ \fi%
+}
+\newif\if@tud@chapterpage@temp
+\newcommand*\chapterpage{%
+ \global\@tud@chapterpage@temptrue%
+ \tud@chapterpage@wrn%
+}
+\newcommand*\tud@chapterpage@set[1][]{%
+ \if@tud@chapterpage@temp%
+ \if@tud@chapterpage%
+ \TUDoptions{chapterpage=false}%
+ \else%
+ \TUDoptions{chapterpage=true}%
+ \fi%
+ \fi%
+}
+\newcommand*\tud@chapterpage@unset[1][]{%
+ \tud@chapterpage@set%
+ \global\@tud@chapterpage@tempfalse%
+}
+\AtEndPreamble{%
+ \pretocmd{\tud@chapter}{\tud@chapterpage@set}%
+ {}{\tud@patch@wrn{tud@nchapter}}%
+ \apptocmd{\tud@chapter}{\tud@chapterpage@unset}%
+ {}{\tud@patch@wrn{tud@nchapter}}%
+ \pretocmd{\tud@schapter}{\tud@chapterpage@set}%
+ {}{\tud@patch@wrn{tud@schapter}}%
+ \apptocmd{\tud@schapter}{\tud@chapterpage@unset}%
+ {}{\tud@patch@wrn{tud@schapter}}%
+ \pretocmd{\tud@addchap}{\tud@chapterpage@set}%
+ {}{\tud@patch@wrn{tud@naddchap}}%
+ \apptocmd{\tud@addchap}{\tud@chapterpage@unset}%
+ {}{\tud@patch@wrn{tud@naddchap}}%
+ \pretocmd{\tud@saddchap}{\tud@chapterpage@set}%
+ {}{\tud@patch@wrn{tud@saddchap}}%
+ \apptocmd{\tud@saddchap}{\tud@chapterpage@unset}%
+ {}{\tud@patch@wrn{tud@saddchap}}%
+}
+\newcommand*\tud@chapterpage@wrn{%
+ \ClassWarning{\tudcls@name}{%
+ The command \string\chapterpage\space is not\MessageBreak%
+ recommended. You should use the same style for\MessageBreak%
+ chapters throughout the document
+ }%
+ \global\let\tud@chapterpage@wrn\relax%
+}
+\endinput
+%%
+%% End of file `tudscrcomp.sty'.