%%
%% This is file `tudscrcomp.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% tudscr-version.dtx  (with options: `package')
%% tudscr-comp.dtx  (with options: `package,header')
%% tudscr-comp.dtx  (with options: `package,body')
%% 
%% ======================================================================
%% 
%% Das Corporate Design der TU Dresden auf Basis der KOMA-Script-Klassen
%% 
%% ======================================================================
%% 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
%% version 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
%% Version 2005/12/01 oder spaeter und dieses Werks.
%% Dieses Werk hat den LPPL-Verwaltungs-Status "author-maintained"
%% (allein durch den Autor verwaltet).
%% Der aktuelle Verwalter und Autor dieses Werkes ist Falk Hanisch.
%% ======================================================================
%% 
%%% From File: tudscr-version.dtx
\begingroup%
  \makeatletter%
  \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/04/24 v2.01 TUD-KOMA-Script}%
\endgroup%
%%% From File: tudscr-comp.dtx
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{tudscrcomp}%
  [\TUDVersion\space package (compatibility for tudbook)]
\ifx\tudcls@name\undefined
  \PackageError{tudscrcomp}{Unsupported class found}{%
    This package can only be used with a class out of the\MessageBreak%
    tudscr bundle (tudscrartcl, tudscrreprt, tudscrbook)%
  }
  \endinput
\fi
%%% From File: tudscr-comp.dtx
\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}%
  \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}%
  \fi%
}
\newif\if@tud@chapterpage@temp
\newcommand*\chapterpage{\@tud@chapterpage@temptrue\tud@chapterpage@wrn}
\newcommand*\tud@chapterpage@set[1][]{%
  \if@tud@chapterpage@temp%
    \if@tud@chapterpage%
      \TUDoptions{chapterpage=false}%
    \else%
      \TUDoptions{chapterpage}%
    \fi%
  \fi%
}
\newcommand*\tud@chapterpage@unset[1][]{%
  \tud@chapterpage@set%
  \global\@tud@chapterpage@tempfalse%
}
\AtEndPreamble{%
  \pretocmd{\tud@nchapter}{\tud@chapterpage@set}{}{}
  \apptocmd{\tud@nchapter}{\tud@chapterpage@unset}{}{}
  \pretocmd{\tud@schapter}{\tud@chapterpage@set}{}{}
  \apptocmd{\tud@schapter}{\tud@chapterpage@unset}{}{}
  \pretocmd{\tud@ochapter}{\tud@chapterpage@set}{}{}
  \apptocmd{\tud@ochapter}{\tud@chapterpage@unset}{}{}
  \pretocmd{\tud@naddchap}{\tud@chapterpage@set}{}{}
  \apptocmd{\tud@naddchap}{\tud@chapterpage@unset}{}{}
  \pretocmd{\tud@saddchap}{\tud@chapterpage@set}{}{}
  \apptocmd{\tud@saddchap}{\tud@chapterpage@unset}{}{}
  \pretocmd{\tud@oaddchap}{\tud@chapterpage@set}{}{}
  \apptocmd{\tud@oaddchap}{\tud@chapterpage@unset}{}{}
}
\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'.
