%%
%% This is file `uni-titlepage.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% uni-titlepage.dtx  (with options: `package')
%% Copyright (c) 2009-2021 by Markus Kohm <komascript(at)gmx.info>
%% 
%% This file was generated from file(s) of uni-titlepage distribution.
%% 
%% ----------------------------------------------------------------------
%% 
%% 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.
%% 
%% This work has the LPPL maintenance status "maintained".
%% 
%% The Current Maintainer and author of this work is Markus Kohm.
%% 
%% This file may only be distributed together with
%% the file `uni-titlepage.dtx'.
%% You may however distribute the file `uni-titlepage.dtx' without this file.
%% 
\ProvidesPackage{uni-titlepage%
}[%
2021/11/01 v0.7a
KOMA presents the title page project
]
\RequirePackage{scrbase}[2014/12/03]
\DefineFamily{title}
\DefineFamilyMember{title}
\newcommand*{\TitleOptions}{\FamilyOptions{title}}
\newcommand*{\TitleOption}{\FamilyOption{title}}
\newcounter{titlepage}\setcounter{titlepage}{\@ne}
\DefineFamilyKey{title}{pagenumber}{%
  \setcounter{titlepage}{#1}\FamilyKeyStateProcessed
}
\providecommand*{\titlepagestyle}{}
\renewcommand*{\titlepagestyle}{empty}
\DefineFamilyKey{title}{pagestyle}{%
  \renewcommand*{\titlepagestyle}{#1}\FamilyKeyStateProcessed
}
\ifcsname @restonecolfalse\endcsname
  \expandafter\@gobble
\else
  \expandafter\@firstofone
\fi
{\newif\if@restonecol}
\scr@ifundefinedorrelax{titlepage}{\def\titlepage{}}{}
\scr@ifundefinedorrelax{endtitlepage}{\def\endtitlepage{}}{}
\providecommand*{\maketitle}[1][]{}
\newcommand*{\tp@undefinedtitle}[1]{%
  \PackageInfo{uni-titlepage}{leaving not defined #1-title page empty}%
}
\newcommand*{\inittitle}{}
\newcommand*{\makepretitle}{\tp@undefinedtitle{pre}}
\newcommand*{\makepretitleback}{\tp@undefinedtitle{back of pre}}
\newcommand*{\makemaintitle}{\tp@undefinedtitle{main}}
\newcommand*{\makemaintitleback}{\tp@undefinedtitle{back of main}}
\newcommand*{\makeposttitle}{\tp@undefinedtitle{post}}
\newcommand*{\makeposttitleback}{\tp@undefinedtitle{back of post}}
\newcommand*{\exittitle}{}
\newcommand*{\inittitlestyle}{%
  \renewenvironment{titlepage}[1][]{%
    \TitleOptions{##1}%
    \clearpage
    \if@twocolumn
      \@restonecoltrue\onecolumn
    \else
      \@restonecolfalse
    \fi
    \ifx\titlepagestyle\@empty\else\thispagestyle{\titlepagestyle}\fi
    \if@twoside% im einseitigen Satz ist mir alles egal
      \ifodd\value{page}% aktuelle Seite ist ungerade
        \ifodd\value{titlepage}%
        \else
          \null\newpage
        \fi
      \else
        \ifodd\value{titlepage}%
          \null\newpage % Leerseite
        \fi
      \fi
    \fi
    \setcounter{page}{\value{titlepage}}%
    \ifx\titlepagestyle\@empty\else\thispagestyle{\titlepagestyle}\fi
  }{%
    \if@restonecol\twocolumn \else \newpage\fi
    \stepcounter{titlepage}%
  }%

  \renewcommand*{\maketitle}[1][]{%
    \begingroup
      \TitleOptions{##1}%
      \inittitle
      \makepretitle\if@twoside\makepretitleback\fi
      \makemaintitle\if@twoside\makemaintitleback\fi
      \makeposttitle\if@twoside\makeposttitleback\fi
      \exittitle
    \endgroup
  }%

  \renewcommand*{\inittitle}{}%
  \renewcommand*{\makepretitle}{\tp@undefinedtitle{pre}}%
  \renewcommand*{\makepretitleback}{\tp@undefinedtitle{back of pre}}%
  \renewcommand*{\makemaintitle}{\tp@undefinedtitle{main}}%
  \renewcommand*{\makemaintitleback}{\tp@undefinedtitle{back of main}}%
  \renewcommand*{\makeposttitle}{\tp@undefinedtitle{post}}%
  \renewcommand*{\makeposttitleback}{\tp@undefinedtitle{back of post}}%
  \renewcommand*{\exittitle}{}%
}
\inittitlestyle
\newsavebox\titlebox
\newenvironment{fullsizetitle}[1][]{%
  \TitleOptions{#1}%
  \begin{lrbox}{\titlebox}
    \hsize\paperwidth
    \scr@ifundefinedorrelax{ta@bcor}{%
      \scr@ifundefinedorrelax{Gm@bindingoffset}{}{%
        \advanve\hsize-\Gm@bindingoffset}%
    }{%
      \advance\hsize-\ta@bcor
      \scr@ifundefinedorrelax{Gm@bindingoffset}{}{%
        \ifdim \Gm@bindingoffset=\ta@bcor\else
          \PackageWarning{uni-titlepage}{Ignorring geometry's binding
            correction,\MessageBreak
            using typearea's binding correction.\MessageBreak
            If you're using geometry and typearea,\MessageBreak
            you should set both options to the same value,\MessageBreak
            e.g. \string\KOMAoptions{BCOR=\the\ta@bcor}\MessageBreak
            \space\space\space\space\space
            \string\geometry{bindingoffset=\the\ta@bcor}\MessageBreak
            to make uni-titlepage use this value%
          }%
        \fi
      }%
    }%
    \vsize\paperheight
    \linewidth\hsize
    \columnwidth\hsize
    \textwidth\hsize
    \textheight\vsize
    \noindent\minipage{\hsize}
}{%
    \endminipage
  \end{lrbox}
  \begin{titlepage}%
    \vspace*{-1in}\vskip-\topmargin\vskip-\headheight\vskip-\headsep
    \vskip-\topskip
    \raggedright
    \leavevmode
    \hskip-1in
    \ifodd\c@page
      \hskip-\oddsidemargin
      \scr@ifundefinedorrelax{ta@bcor}{%
        \scr@ifundefinedorrelax{Gm@bindingoffset}{}{%
          \hskip\Gm@bindingoffset}%
      }{\hskip\ta@bcor}%
    \else
      \hskip-\evensidemargin
    \fi
    \vbox to\z@{\hsize\z@
      \vskip-\baselineskip
      \makebox[0pt][l]{\usebox\titlebox}%
      \vss
    }%
  \end{titlepage}
}
\newcommand*{\tp@replacewarning}[2]{%
  \PackageWarning{uni-titlepage}{%
    Using `#2' instead of `#1',\MessageBreak
    because `#1' not defined%
  }%
}
\newcommand*{\tp@dokeys}{}
\newcommand*{\DefineSimpleTitleKey}[2][.\@currname.\@currext]{%
  \l@addto@macro\tp@dokeys{\do{#2}}%
  \expandafter\newcommand\expandafter*\csname @#2\endcsname{}%
  \expandafter\newcommand\expandafter*\csname #2\endcsname[1]{%
    \expandafter\gdef\csname @#2\endcsname{##1}}%
  \DefineFamilyKey[{#1}]{title}{#2}{%
    \csname #2\endcsname{##1}%
    \FamilyKeyStateProcessed
  }%
}
\newcommand*{\DefineReplaceTitleKey}[3][.\@currname.\@currext]{%
  \DefineFamilyKey[{#1}]{title}{#2}{%
    \tp@replacewarning{#2}{#3}%
    \FamilyOptions{title}{#3=##1}%
  }%
}
\providecommand*{\@titlehead}{}
\providecommand{\titlehead}[1]{\gdef\@titlehead{#1}}
\DefineFamilyKey{title}{titlehead}{\titlehead{#1}\FamilyKeyStateProcessed}
\providecommand*{\@homepage}{}
\providecommand{\homepage}[1]{\gdef\@homepage{#1}}
\DefineFamilyKey{title}{homepage}{\homepage{#1}\FamilyKeyStateProcessed}
\let\@title\relax\let\title\relax\DefineSimpleTitleKey{title}
\let\@author\relax\let\author\relax\DefineSimpleTitleKey{author}
\let\@date\relax\let\date\relax\DefineSimpleTitleKey{date}
\DefineSimpleTitleKey{duration}
\DefineSimpleTitleKey{course}
\DefineSimpleTitleKey{company}
\let\@subtitle\relax\let\subtitle\relax\DefineSimpleTitleKey{subtitle}
\DefineSimpleTitleKey{university}
\DefineSimpleTitleKey{faculty}
\DefineSimpleTitleKey{chair}
\DefineSimpleTitleKey{professor}
\providecommand*{\@subject}{}
\providecommand*{\subject}[1]{\gdef\@subject{#1}}
\l@addto@macro\tp@dokeys{\do{subject}}%
\DefineFamilyKey{title}{subject}{%
  \Ifstr{#1}{project}{\subject{\projectpapername}}{%
    \Ifstr{#1}{seminar}{\subject{\seminarpapername}}{%
      \Ifstr{#1}{studentresearch}{\subject{\studentresearchname}}{%
        \Ifstr{#1}{diploma}{\subject{\diplomathesisname}}{%
          \Ifstr{#1}{degree}{\subject{\degreethesisname}}{%
            \Ifstr{#1}{master}{\subject{\masterthesisname}}{%
              \Ifstr{#1}{bachelor}{\subject{\bachelorthesisname}}{%
                \subject{#1}%
              }%
            }%
          }%
        }%
      }%
    }%
  }%
  \FamilyKeyStateProcessed
}
\providecommand*{\Ifstr}{\ifstr}
\DefineReplaceTitleKey{student}{author}
\DefineSimpleTitleKey{sience}
\DefineSimpleTitleKey{discipline}
\DefineSimpleTitleKey{academicgrade}
\DefineSimpleTitleKey{matriculationnumber}
\DefineSimpleTitleKey{advisor}
\DefineSimpleTitleKey{referee}
\DefineSimpleTitleKey{place}
\DefineSimpleTitleKey{publisher}
\renewcommand*{\@publisher}{\csname @publishers\endcsname}
\DefineSimpleTitleKey{mainlogo}
\DefineSimpleTitleKey{secondlogo}
\DefineSimpleTitleKey{oralexaminationdate}
\providecommand*{\@dedication}{}
\providecommand{\dedication}[1]{\gdef\@dedication{#1}}
\DefineFamilyKey{title}{dedication}{\dedication{#1}\FamilyKeyStateProcessed}
\newcommand*{\usetitleelement}[1]{%
  \scr@ifundefinedorrelax{#1}{%
    \@usetitleelement@error{#1}%
  }{%
    \scr@ifundefinedorrelax{@#1}{%
      \@usetitleelement@error{#1}%
    }{%
      \@nameuse{@#1}%
    }%
  }%
}
\newcommand*{\@usetitleelement@error}[1]{%
  \PackageError{uni-titlepage}{`#1' isn't a title element}{%
    You should use \string\usetitleelement\space for title elements
    only!\MessageBreak
    If you'll continue, command will be ignored.}%
}
\scr@ifundefinedorrelax{newkomafont}{%
  \newcommand*{\@titlepagefont}{}%
}{%
  \newkomafont{titlepage}{}%
}
\DefineFamilyKey{title}{titlepagefont}{%
  \renewcommand*{\@titlepagefont}{#1}%
  \FamilyKeyStateProcessed
}
\providecommand*{\subject@font}{\bfseries}
\DefineFamilyKey{title}{subjectfont}{%
  \renewcommand*{\subject@font}{#1}%
  \FamilyKeyStateProcessed
}
\providecommand*{\titlefont}{\bfseries}
\DefineFamilyKey{title}{titlefont}{%
  \renewcommand*{\titlefont}{#1}%
  \FamilyKeyStateProcessed
}
\providecommand*{\@subtitlefont}{\bfseries}
\DefineFamilyKey{title}{subtitlefont}{%
  \renewcommand*{\@subtitlefont}{#1}%
  \FamilyKeyStateProcessed
}
\newcommand*{\TitlePageStyle}[2][]{%
  \IfFileExists{title-#2.def}{%
    \begingroup
      \edef\@tempa{\endgroup
        \noexpand\inittitlestyle
        \noexpand\makeatletter
        \noexpand\input{title-#2.def}%
        \noexpand\catcode`\noexpand\@=\the\catcode`\@
      }%
    \@tempa
    \TitleOptions{#1}%
  }{%
    \PackageError{uni-titlepage}{No title definition for `#2' found}{%
      You've tried to set title page style `#2', but no title page
      style definition file\MessageBreak
      `title-#2.def' may be found%
    }%
  }
}
\newcommand*{\NowButAfterBeginDocument}{%
  \if@atdocument
    \expandafter\@firstofone
  \else
    \expandafter\AtBeginDocument
  \fi
}
\DeclareOption*{\expandafter\TitlePageStyle\expandafter{\CurrentOption}}
\FamilyProcessOptions*\relax
\providecommand*{\chairmanname}{Chairman}
\providecommand*{\projectpapername}{Project Paper}
\providecommand*{\seminarpapername}{Seminar Paper}
\providecommand*{\studentresearchname}{Student Research Project}
\providecommand*{\diplomathesisname}{Diploma Thesis}
\providecommand*{\degreethesisname}{Degree Thesis}
\providecommand*{\masterthesisname}{Master Thesis}
\providecommand*{\bachelorthesisname}{Bachelor Thesis}
\providecommand*{\presentedbyname}{presented by}
\providecommand*{\advisorname}{Advisor}
\providecommand*{\thename}{}
\providecommand*{\ofthename}{of the}
\providecommand*{\fromname}{from}
\providecommand*{\fromplacename}{from}
\providecommand*{\refereename}{Referee}
\providecommand*{\femalerefereename}{\refereename}
\providecommand*{\malerefereename}{\refereename}
\providecommand*{\ordinalmalerefereename}{\englishordinalmalerefereename}
\providecommand*{\ordinalfemalerefereename}{\englishordinalfemalerefereename}
\providecommand*{\oralexaminationdatename}{Date of Oral Examination}
\providecommand*{\atthename}{at}
\providecommand*{\durationname}{Processing Time}
\providecommand*{\matriculationnumbername}{Matriculationnumber}
\providecommand*{\coursename}{Course}
\providecommand*{\companyname}{Training Company}
\providecommand*{\examinationname}{Examination}
\providecommand*{\examinationdatename}{Date of Examination}
\newcommand*{\ordinal}{\englishordinal}
\newcommand*{\femaleordinal}{\ordinal}
\newcommand*{\maleordinal}{\ordinal}
\providecommand*{\indatename}{in}
\providecaptionname{american,australian,british,canadian,%
  english,newzealand,UKenglish,USenglish}{\chairmanname}{Chairmain}%
\providecaptionname{american,australian,british,canadian,%
  english,newzealand,UKenglish,USenglish}{\projectpapername}{Project Paper}%
\providecaptionname{american,australian,british,canadian,%
  english,newzealand,UKenglish,USenglish}{\seminarpapername}{Seminar Paper}%
\providecaptionname{american,australian,british,canadian,%
  english,newzealand,UKenglish,USenglish}{\studentresearchname}{Student
  Research Project}%
\providecaptionname{american,australian,british,canadian,%
  english,newzealand,UKenglish,USenglish}{\diplomathesisname}{Diploma Thesis}%
\providecaptionname{american,australian,british,canadian,%
  english,newzealand,UKenglish,USenglish}{\degreethesisname}{Degree Thesis}%
\providecaptionname{american,australian,british,canadian,%
  english,newzealand,UKenglish,USenglish}{\masterthesisname}{Master Thesis}%
\providecaptionname{american,australian,british,canadian,%
  english,newzealand,UKenglish,USenglish}{\bachelorthesisname}{Bachelor
  Thesis}%
\providecaptionname{american,australian,british,canadian,%
  english,newzealand,UKenglish,USenglish}{\ordinal}{\englishordinal}%
\providecaptionname{american,australian,british,canadian,%
  english,newzealand,UKenglish,USenglish}{\presentedbyname}{presented by}%
\providecaptionname{american,australian,british,canadian,%
  english,newzealand,UKenglish,USenglish}{\advisorname}{Advisor}%
\providecaptionname{american,australian,british,canadian,%
  english,newzealand,UKenglish,USenglish}{\thename}{}%
\providecaptionname{american,australian,british,canadian,%
  english,newzealand,UKenglish,USenglish}{\ofthename}{of the}%
\providecaptionname{american,australian,british,canadian,%
  english,newzealand,UKenglish,USenglish}{\fromname}{from}%
\providecaptionname{american,australian,british,canadian,%
  english,newzealand,UKenglish,USenglish}{\fromplacename}{from}%
\providecaptionname{american,australian,british,canadian,%
  english,newzealand,UKenglish,USenglish}{\refereename}{Referee}%
\providecaptionname{american,australian,british,canadian,%
  english,newzealand,UKenglish,USenglish}{\ordinalmalerefereename}{%
  \englishordinalmalerefereename}%
\providecaptionname{american,australian,british,canadian,%
  english,newzealand,UKenglish,USenglish}{\ordinalfemalerefereename}{%
  \englishordinalfemalerefereename}%
\providecaptionname{american,australian,british,canadian,%
  english,newzealand,UKenglish,USenglish}{\oralexaminationdatename}{Date of
  Oral Examination}%
\providecaptionname{american,australian,british,canadian,%
  english,newzealand,UKenglish,USenglish}{\durationname}{Processing Time}%
\providecaptionname{american,australian,british,canadian,%
  english,newzealand,UKenglish,USenglish}{\matriculationnumbername}{Matriculationnumber}%
\providecaptionname{american,australian,british,canadian,%
  english,newzealand,UKenglish,USenglish}{\coursename}{Course}%
\providecaptionname{american,australian,british,canadian,%
  english,newzealand,UKenglish,USenglish}{\companyname}{Training Company}%
\providecaptionname{american,australian,british,canadian,%
  english,newzealand,UKenglish,USenglish}{\examinationname}{Examination}%
\providecaptionname{american,australian,british,canadian,%
  english,newzealand,UKenglish,USenglish}{\examinationdatename}{Date of
  Examination}%
\providecaptionname{american,australian,british,canadian,%
  english,newzealand,UKenglish,USenglish}{\indatename}{in}%
\providecaptionname{german,ngerman,austrian,naustrian,%
  swissgerman,nswissgerman}{\chairmanname}{Dekan/Dekanin}%
\providecaptionname{german,ngerman,austrian,naustrian,%
  swissgerman,nswissgerman}{\projectpapername}{Projektarbeit}%
\providecaptionname{german,ngerman,austrian,naustrian,%
  swissgerman,nswissgerman}{\seminarpapername}{Seminararbeit}%
\providecaptionname{german,ngerman,austrian,naustrian,%
  swissgerman,nswissgerman}{\studentresearchname}{Studienarbeit}%
\providecaptionname{german,ngerman,austrian,naustrian,%
  swissgerman,nswissgerman}{\diplomathesisname}{Diplomarbeit}%
\providecaptionname{german,ngerman,austrian,naustrian,%
  swissgerman,nswissgerman}{\degreethesisname}{Dissertation}%
\providecaptionname{german,ngerman,austrian,naustrian,%
  swissgerman,nswissgerman}{\masterthesisname}{Master-Arbeit}%
\providecaptionname{german,ngerman,austrian,naustrian,%
  swissgerman,nswissgerman}{\bachelorthesisname}{Bachelor-Arbeit}%
\providecaptionname{german,ngerman,austrian,naustrian,%
  swissgerman,nswissgerman}{\ordinal}{\germanordinal}%
\providecaptionname{german,ngerman,austrian,naustrian,%
  swissgerman,nswissgerman}{\femaleordinal}{\germanfemaleordinal}%
\providecaptionname{german,ngerman,austrian,naustrian,%
  swissgerman,nswissgerman}{\maleordinal}{\germanmaleordinal}%
\providecaptionname{german,ngerman,austrian,naustrian,%
  swissgerman,nswissgerman}{\presentedbyname}{eingereicht von}%
\providecaptionname{german,ngerman,austrian,naustrian,%
  swissgerman,nswissgerman}{\advisorname}{Betreuer}%
\providecaptionname{german,ngerman,austrian,naustrian,%
  swissgerman,nswissgerman}{\thename}{den}%
\providecaptionname{german,ngerman,austrian,naustrian,%
  swissgerman,nswissgerman}{\ofthename}{der}%
\providecaptionname{german,ngerman,austrian,naustrian,%
  swissgerman,nswissgerman}{\fromname}{von}%
\providecaptionname{german,ngerman,austrian,naustrian,%
  swissgerman,nswissgerman}{\fromplacename}{aus}%
\providecaptionname{german,ngerman,austrian,naustrian,%
  swissgerman,nswissgerman}{\refereename}{Gutachter}%
\providecaptionname{german,ngerman,austrian,naustrian,%
  swissgerman,nswissgerman}{\ordinalmalerefereename}{%
  \germanordinalmalerefereename}%
\providecaptionname{german,ngerman,austrian,naustrian,%
  swissgerman,nswissgerman}{\ordinalfemalerefereename}{%
  \germanordinalfemalerefereename}%
\providecaptionname{german,ngerman,austrian,naustrian,%
  swissgerman,nswissgerman}{\femalerefereename}{Gutachterin}%
\providecaptionname{german,ngerman,austrian,naustrian,%
  swissgerman,nswissgerman}{\oralexaminationdatename}{Datum der m\"undlichen
  Pr\"ufung}%
\providecaptionname{german,ngerman,austrian,naustrian,%
  swissgerman,nswissgerman}{\durationname}{Bearbeitungszeitraum}%
\providecaptionname{german,ngerman,austrian,naustrian,%
  swissgerman,nswissgerman}{\matriculationnumbername}{Matrikelnummer}%
\providecaptionname{german,ngerman,austrian,naustrian,%
  swissgerman,nswissgerman}{\coursename}{Kurs}%
\providecaptionname{german,ngerman,austrian,naustrian,%
  swissgerman,nswissgerman}{\companyname}{Ausbildungsfirma}%
\providecaptionname{german,ngerman,austrian,naustrian,%
  swissgerman,nswissgerman}{\examinationname}{Pr\"ufung}%
\providecaptionname{german,ngerman,austrian,naustrian,%
  swissgerman,nswissgerman}{\examinationdatename}{Tag der Pr\"ufung}%
\providecaptionname{german,ngerman,austrian,naustrian,%
  swissgerman,nswissgerman}{\indatename}{im}%
\newcommand*{\englishordinalmalerefereename}[1]{%
  \englishordinal{#1} \refereename%
}
\newcommand*{\englishordinalfemalerefereename}[1]{%
  \englishordinalmalereferename{#1}%
}
\newcommand*{\germanordinalmalerefereename}[1]{%
  \ifnum #1<\@ne
    \PackageError{uni-titlepage}{Ordinal of `#1' not defined}{%
      This package does only define German ordinal names for referees from 1}%
  \else
    \ifcase #1\or Erstgutachter\or Zweitgutachter\or Drittgutachter%
    \or Viertgutachter\else
      \PackageError{uni-titlepage}{Ordinal of `#1' not defined}{%
        This package does only define German ordinal names for referees up
        to 4}%
  \fi
}
\newcommand*{\germanordinalfemalerefereename}[1]{%
  \germanordinalfemalerefereename{#1}in%
}
\newcommand*{\germanordinalmalecorrectorname}[1]{%
  \ifnum #1<\@ne
    \PackageError{uni-titlepage}{Ordinal of `#1' not defined}{%
      This package does only define German ordinal names for correctors from 1}%
  \else
    \ifcase #1\or Erstkorrektor\or Zweitkorrektor\or Drittkorrektor%
    \or Viertkorrektor\else
      \PackageError{uni-titlepage}{Ordinal of `#1' not defined}{%
        This package does only define German ordinal names for correctors up
        to 6}%
  \fi
}
\newcommand*{\germanordinalfemalecorrectorname}[1]{%
  \germanordinalmalecorrectorname{#1}in%
}
\newcommand*{\englishordinal}[1]{%
  \ifcsname engordnumber\endcsname
    \engordnumber{#1}%
  \else
    \ifnum #1<\@ne
      \PackageError{uni-titlepage}{Ordinal of `#1' not defined}{%
        This package does only define English ordinals from 1}%
    \else
      \ifcase #1\or 1st\or 2nd\or 3rd\or 4th\or 5th\or 6th\or 7th\or 8th\or
        9th\or 10th\else
        \PackageError{uni-titlepage}{Ordinal of `#1' not defined}{%
          This package does only define English ordinals from 1 to
          10.\MessageBreak
          You may load package `engord' to improve support of english
          ordinals}%
      \fi
    \fi
  \fi
}
\newcommand*{\germanordinal}[1]{%
  \ifnum #1<\@ne
    \PackageError{uni-titlepage}{Ordinal of `#1' not defined}{%
      This package does only define german ordinals from 1}%
  \else
    #1.%
  \fi
}
\newcommand*{\germanmaleordinal}[1]{%
  \ifcase #1
    \PackageError{uni-titlepage}{Male ordinal of `#1' not defined}{%
      This package does only define german male ordinals from 1}%
  \or Erster\or Zweiter\or Dritter\or Vierter\or F\"unfter\or Sechster%
  \or Siebter\or Achter\or Neunter\or Zehnter\else
    \PackageError{uni-titlepage}{Male ordinal of `#1' not defined}{%
      This package does only define german male ordinals up to 10}%
  \fi
}
\newcommand*{\germanfemaleordinal}[1]{%
  \ifcase #1
    \PackageError{uni-titlepage}{Female ordinal of `#1' not defined}{%
      This package does only define german female ordinals from 1}%
  \or Erste\or Zweite\or Dritte\or Vierte\or F\"unfte\or Sechste%
  \or Siebte\or Achte\or Neunte\or Zehnte\else
    \PackageError{uni-titlepage}{Female ordinal of `#1' not defined}{%
      This package does only define german female ordinals up to 10}%
  \fi
}
\endinput
%%
%% End of file `uni-titlepage.sty'.
