%%
%% This is file `tudscrcomp-poster.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% tudscr-version.dtx  (with options: `package,comp,poster')
%% tudscr-comp.dtx  (with options: `package,comp,poster,identify')
%% tudscr-comp.dtx  (with options: `package,comp,poster,option')
%% tudscr-misc.dtx  (with options: `package,comp,poster,execute')
%% tudscr-comp.dtx  (with options: `package,comp,poster,body')
%% 
%% TUD-Script -- Corporate Design of Technische Universitaet Dresden
%% 
%%   2020/11/10 v2.06k TUD-Script
%% 
%% Copyright (C) Falk Hanisch <hanisch.latex@outlook.com>, 2012-2020
%% 
%% This file was generated from file(s) of the TUD-Script bundle.
%% ----------------------------------------------------------------------------
%% 
%% 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
    \newcommand*\TUD@Version@Check[1]{%
      \gdef\TUD@Version{#1}%
      \gdef\TUDScriptVersion{#1}%
      \def\@tempb##1 v##2 ##3\relax##4\relax{\gdef\TUDScriptVersionNumber{##2}}%
      \edef\@tempa{\TUD@Version}%
      \expandafter\@tempb\@tempa\relax? ? \relax\relax%
      \gdef\TUD@Version@KOMA{3.32}%
    }
  \else
    \newcommand*\TUD@Version@Check[1]{%
      \def\@tempa{#1}%
      \ifx\TUD@Version\@tempa\else%
        \@latex@warning@no@line{%
          \noexpand\TUD@Version\space is `\TUD@Version',\MessageBreak%
          but `#1' was expected!\MessageBreak%
          You should not use classes, packages or files from\MessageBreak%
          different TUD-Script-Bundle versions%
        }%
      \fi%
    }
  \fi
  \TUD@Version@Check{2020/11/10 v2.06k TUD-Script}
\endgroup
\NeedsTeXFormat{LaTeX2e}[2019/10/01]
\providecommand*\tudscrmail{hanisch.latex@outlook.com}
\ifx\TUD@Class@Name\@undefined
  \PackageError{%
    tudscrcomp-poster%
  }{Unsupported class found}{%
    This package can only be used with a class out of the\MessageBreak%
    tudscr bundle (tudscrbook, tudscrreprt, tudscrartcl, tudscrposter).%
  }%
  \endinput%
\fi
\@ifundefined{TUDScript}{%
  \DeclareRobustCommand\TUDScript{%
    \textsf{%
      T\kern.05em U\kern.05em D\kern.1em-\kern.1em Script%
    }%
    \ifcsname xspace\endcsname%
      \xspace%
    \fi%
  }%
}{}
%%% From File: tudscr-comp.dtx
\ProvidesPackage{tudscrcomp-poster}[%
  2020/11/10 v2.06k TUD-Script
  package
  (compatibility for old tud(scr) classes)%
]
%%% From File: tudscr-comp.dtx
\TUD@key{bluebg}[true]{%
  \TUD@set@ifkey{bluebg}{@tempswa}{#1}%
  \ifx\FamilyKeyState\FamilyKeyStateProcessed%
    \if@tempswa%
      \TUDoptions{backcolor=true}%
    \else%
      \TUDoptions{backcolor=false}%
    \fi%
  \fi%
}
\newif\if@tud@mathposterfoot
\TUD@key{tudmathposterfoot}[true]{%
  \TUD@set@ifkey{tudmathposterfoot}{@tud@mathposterfoot}{#1}%
  \ifx\FamilyKeyState\FamilyKeyStateProcessed%
    \if@tud@mathposterfoot%
      \footcontent[\small]{%
        \tud@footcontent@@left{}%
      }[%
        \tud@footcontent@@right{}{}%
      ]%
    \else%
      \footcontent{%
        \tud@footcontent@@left{\contactname}%
      }[%
        \tud@footcontent@@right{\authorname}{\contactpersonname}%
      ]%
    \fi%
  \fi%
}
\TUD@key{cdfoot}[true]{%
  \TUD@set@numkey{cdfoot}{@tempa}{%
    {tudscrposter}{0},{tudscrposterfoot}{0},{cdposter}{0},{poster}{0},%
    {tudmathposter}{1},{tudmathposterfoot}{1},{mathposter}{1},{tudposter}{1}%
  }{#1}%
  \ifx\FamilyKeyState\FamilyKeyStateProcessed%
    \ifcase\@tempa\relax% tudscrposter
      \TUDoptions{tudmathposterfoot=false}%
    \else% tudmathposter
      \TUDoptions{tudmathposterfoot=true}%
    \fi%
  \fi%
}
%%% From File: tudscr-misc.dtx
\DeclareOption*{\TUDoptions{\CurrentOption}}
\TUDExecuteOptions{%
}
\TUDProcessOptions\relax
%%% From File: tudscr-comp.dtx
\newcommand*\einrichtung{\faculty}
\newcommand*\fachrichtung{\department}
\newcommand*\institut{\institute}
\newcommand*\professur{\chair}
\newcommand*\dinBold{\dinbn}
\newcommand*\dinfamily{\dinbn}
\newcommand*\ps@tudposter{}
\let\ps@tudposter\ps@empty
\AfterPackage*{scrlayer-scrpage}{%
  \DeclarePageStyleAlias{tudposter}{empty.tudheadings}%
}
\newrobustcmd*\telefon{\telephone}
\patchcmd{\tud@split@author@list}{telephone}{%
  telephone,telefon%
}{}{\tud@patch@wrn{tud@split@author@list}}
\newrobustcmd*\fax{\telefax}
\patchcmd{\tud@split@author@list}{telefax}{%
  telefax,fax%
}{}{\tud@patch@wrn{tud@split@author@list}}
\newrobustcmd*\email[1]{\emailaddress*{#1}}
\patchcmd{\tud@split@author@list}{emailaddress}{%
  emailaddress,email%
}{}{\tud@patch@wrn{tud@split@author@list}}
\newcommand*\homepage[1]{\webpage*{#1}}
\newcommand*\zweitlogofile[2][]{\headlogo[#1]{#2}}
\newcommand*\zweitlogo[1]{%
  \PackageWarning{tudscrcomp}{%
    It isn't possible to redefine the definition for\MessageBreak%
    including a logo in the header. Please see the\MessageBreak%
    documentation of \string\headlogo%
  }%
}
\newcommand*\institutslogofile[2][]{\footlogo[#1]{,,,,,,,#2,}}
\newcommand*\institutslogo[1]{%
  \PackageWarning{tudscrcomp}{%
    It isn't possible to redefine the definition for\MessageBreak%
    including a logo in the footer. Please see the\MessageBreak%
    documentation of \string\footlogo%
  }%
}
\newcommand*\drittlogofile[1]{%
  \PackageWarning{tudscrcomp}{%
    Nothing happened, you should use \string\footlogo\MessageBreak%
    instead. Please see the documentation of \string\footlogo\MessageBreak%
    and option `ddc' or `ddcfoot'%
  }%
}
\newcommand*\drittlogo[1]{%
  \PackageWarning{tudscrcomp}{%
    It isn't possible to redefine the definition for\MessageBreak%
    including a logo in the footer. Please see the\MessageBreak%
    documentation of \string\footlogo\space and option\MessageBreak%
    `ddc' or `ddcfoot'%
  }%
}
\newcommand*\topsectionnumdepth{\sectionnumdepth}
\newcommand*\scr@topsection@sectionindent{\scr@section@sectionindent}
\newcommand*\scr@topsection@beforeskip{\scr@section@beforeskip}
\newcommand*\scr@topsection@afterskip{\scr@section@afterskip}
\newcommand*\topsectiontocdepth{\sectiontocdepth}
\newcommand*\scr@topsection@tocindent{\scr@section@tocindent}
\newcommand*\scr@topsection@tocnumwidth{\scr@section@tocnumwidth}
\newcommand*\l@topsection{\l@section}
\DeclareNewSectionCommand[%
  style=section,%
  font={\usekomafont{section}},%
  beforeskip=\z@,%
]{topsection}
\let\c@topsection\c@section
\newcommand*\topsubsectionnumdepth{\subsectionnumdepth}
\newcommand*\scr@topsubsection@sectionindent{\scr@subsection@sectionindent}
\newcommand*\scr@topsubsection@beforeskip{\scr@subsection@beforeskip}
\newcommand*\scr@topsubsection@afterskip{\scr@subsection@afterskip}
\newcommand*\topsubsectiontocdepth{\subsectiontocdepth}
\newcommand*\scr@topsubsection@tocindent{\scr@subsection@tocindent}
\newcommand*\scr@topsubsection@tocnumwidth{\scr@subsection@tocnumwidth}
\newcommand*\l@topsubsection{\l@subsection}
\DeclareNewSectionCommand[%
  style=section,%
  font={\usekomafont{subsection}},%
  beforeskip=\z@,%
]{topsubsection}
\let\c@topsubsection\c@subsection
\newcommand*\centersection[2][\@nil]{%
  \tud@comp@centersection{section}{#1}{#2}%
}
\newcommand*\centersubsection[2][\@nil]{%
  \tud@comp@centersection{subsection}{#1}{#2}%
}
\newcommand*\topcentersection[2][\@nil]{%
  \tud@comp@centersection{topsection}{#1}{#2}%
}
\newcommand*\topcentersubsection[2][\@nil]{%
  \tud@comp@centersection{topsubsection}{#1}{#2}%
}
\newcommand*\tud@comp@centersection[3]{%
  \tud@cs@store{raggedsection}%
  \let\raggedsection\centering%
  \ifx#2\@nil\relax%
    \csuse{#1}{#3}%
  \else%
    \csuse{#1}[#2]{#3}%
  \fi%
  \tud@cs@restore{raggedsection}%
}
\newcommand\sectiontopskip{\scr@section@beforeskip}
\newcommand\subsectiontopskip{\scr@subsection@beforeskip}
\setcounter{secnumdepth}{\m@ne}
\newcommand*\fusszeile[2][]{\footcontent[#1]{#2}}
\newcommand*\footcolumn[2]{%
  \ifnumber{#1}{%
    \ifcase#1\relax%
      \footcontent{#2}%
    \or%
      \footcontent{#2}[*]%
    \or%
      \footcontent{*}[#2]%
    \fi%
  }{}%
}
\newcommand*\tud@comp@mathposterwidth{4.2\tud@len@widemargin}
\patchcmd{\tud@footcontent@use}{%
  \hsize=\dimexpr#2-\@tempdimc\relax%
}{%
  \if@tud@mathposterfoot%
    \hsize=\dimexpr\tud@comp@mathposterwidth\relax%
  \else%
    \hsize=\dimexpr#2-\@tempdimc\relax%
  \fi%
}{}{\tud@patch@wrn{tud@footcontent@use}}
\patchcmd{\tud@footcontent@use}{%
  \hsize=\dimexpr(#2-\columnsep)/2\relax%
}{%
  \if@tud@mathposterfoot%
    \hsize=\dimexpr(\tud@comp@mathposterwidth-\columnsep)/2\relax%
  \else%
    \hsize=\dimexpr(#2-\columnsep)/2\relax%
  \fi%
}{}{\tud@patch@wrn{tud@footcontent@use}}
\patchcmd{\tud@footcontent@use}{%
  \hsize=\dimexpr(#2-\columnsep)/2-\@tempdimc\relax%
}{%
  \if@tud@mathposterfoot%
    \hsize=\dimexpr(\tud@comp@mathposterwidth-\columnsep)/2\relax%
  \else%
    \hsize=\dimexpr(#2-\columnsep)/2-\@tempdimc\relax%
  \fi%
}{}{\tud@patch@wrn{tud@footcontent@use}}
\newenvironment{figurehere}{%
  \def\@captype{figure}%
  \renewcommand*\caption{\captionof{figure}}%
  \renewcommand*\captionabove{\captionaboveof{figure}}%
  \renewcommand*\captionbelow{\captionbelowof{figure}}%
  \vskip\intextsep%
  \vbox \bgroup%
    \hsize=\columnwidth%
    \@parboxrestore%
    \ignorespaces%
}{%
  \egroup%
  \vskip\intextsep%
  \ignorespaces%
}
\newenvironment{tablehere}{%
  \def\@captype{table}%
  \renewcommand*\caption{\captionof{table}}%
  \renewcommand*\captionabove{\captionaboveof{table}}%
  \renewcommand*\captionbelow{\captionbelowof{table}}%
  \vskip\intextsep%
  \vbox \bgroup%
    \hsize=\columnwidth%
    \@parboxrestore%
    \ignorespaces%
}{%
  \egroup%
  \vskip\intextsep%
  \ignorespaces%
}
\PassOptionsToPackage{table}{xcolor}
\newif\if@tud@comp@graytable
\newcommand*\blautabelle{\@tud@comp@graytablefalse}
\newcommand*\grautabelle{\@tud@comp@graytabletrue}
\newenvironment{farbtabellen}{%
  \if@tud@comp@graytable%
    \rowcolors{1}{HKS92!20}{HKS92!10}%
  \else%
    \rowcolors{1}{HKS41!20}{HKS41!10}%
  \fi%
}{}
\ifundef{\schnittrand}{}{%
  \ifisdimension{\schnittrand}{%
    \edef\@tempa{%
      paperwidth=\the\dimexpr\paperwidth+\schnittrand*2\relax,%
      paperheight=\the\dimexpr\paperheight+\schnittrand*2\relax,%
      layout=\the\paperwidth:\the\paperheight,%
      layoutoffset=\the\dimexpr\schnittrand\relax,%
      showcrop%
    }%
    \expandafter\geometry\expandafter{\@tempa}%
  }{%
    \PackageErrorNoLine{tudscrcomp}{%
      Wrong definition for `\string\schnittrand'%
    }{%
      The definition of `\string\schnittrand' does not expand to\MessageBreak%
      a valid dimension expression.%
    }%
  }%
}%
\AtEndPreamble{%
  \RequirePackage{amsmath}[2016/06/28]%
  \RequirePackage{amsfonts}[2013/01/14]%
  \RequirePackage{calc}[2014/10/28]%
  \RequirePackage{textcomp}[2016/06/19]%
  \RequirePackage{tabularx}[2016/02/03]%
}
\endinput
%%
%% End of file `tudscrcomp-poster.sty'.
