%%
%% This is file `title-JT-Geschichte.def',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% uni-titlepage.dtx  (with options: `driver,JT-Geschichte')
%% Copyright (c) 2009-2022 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.
%% 
\ProvidesFile{%
  title%
  -JT-Geschichte%
 .def%
}[%
2022/08/05 v1.1
KOMA presents the title page project
]
\begingroup
  \def\PackageNotLoadedError#1{%
    \GenericError{%
      (#1)\@spaces\@spaces\@spaces\@spaces
    }{%
      File `#1' Error: package `uni-titlepage' hasn't been loaded%
    }{%
      This definition file was made to be loaded by package
      `uni-titlepage'.\MessageBreak
      You may not use it without package `uni-titlepage'!\MessageBreak
      See the documentation of package `uni-titlepage' for explanation.%
    }%
  }%
  \ifx\csname uni-titlepage.sty@vers\endcsname\relax
    \PackageNotLoadedError{%
      title-JT-Geschichte.def%
    }%
  \fi
\endgroup
\DefineFamilyMember[%
  JT-Geschichte%
]{title}
\providecommand*{\title@rulewidth}{%
  .25\textwidth
}
\providecommand*{\title@rulesep}{%
  1.5pt%
}
\providecommand*{\title@rulecolor}{}
\DefineFamilyKey[%
  JT-Geschichte%
]{title}{rulewidth}{%
  \gdef\title@rulewidth{\dimexpr #1\relax}%
  \FamilyKeyStateProcessed
}
\DefineFamilyKey[%
  JT-Geschichte%
]{title}{rulesep}{%
  \gdef\title@rulesep{\dimexpr #1\relax}%
  \FamilyKeyStateProcessed
}
\FamilyStringKey[%
  JT-Geschichte%
]{title}{rulecolor}{\title@rulecolor}
\renewcommand*{\inittitle}{%
  \ifx\@titlepagefont\@empty
    \scr@ifundefinedorrelax{lsstyle}{%
      \renewcommand*{\@titlepagefont}{\normalfont\let\@tpf@extra\scshape}%
    }{%
      \renewcommand*{\@titlepagefont}{%
        \normalfont\def\@tpf@extra{\lsstyle\MakeUppercase}%
      }%
    }
  \fi
  \ifx\titlefont\@empty
    \renewcommand*{\titlefont}{\normalfont}%
  \fi
}
\renewcommand*{\makemaintitle}{%
  \begin{%
    titlepage}
    \setlength{\parskip}{\z@}%
    \setlength{\parindent}{\z@}%
    \setlength{\parfillskip}{\z@\@plus 1fil}%
    \linespread{1}\selectfont
    \@titlepagefont
    \centering
    \large{\@tpf@extra{\@author\unskip\strut}}\\[\dp\strutbox]
    {\titlefont{\Huge\@title\par}}
    \vfill
    \begin{picture}(\title@rulewidth\@gobble,
      \dimexpr 4pt+1pt+\title@rulesep\relax\@gobble)
      \ifx\title@rulecolor\@empty\else
        \@ifundefined{color}{}{\color{\title@rulecolor}}%
      \fi
      \put(0,\dimexpr 2pt+.5pt+\title@rulesep\relax\@gobble){%
        \linethickness{1pt}\line(1,0){\title@rulewidth\@gobble}%
      }%
      \put(0,0){%
        \linethickness{4pt}\line(1,0){\title@rulewidth\@gobble}%
      }%
    \end{picture}\\[\dp\strutbox]
    \@tpf@extra{\@publisher}%
    \ifx\@place\@empty\else
      \unskip\@tpf@extra{\strut}\\[\dp\strutbox]\@tpf@extra{\@place}%
    \fi
  \end{%
    titlepage}
}
\renewcommand*{\makemaintitleback}{%
  \begin{titlepage}
    \begin{minipage}[t]{\textwidth}
      \@titlepagefont{\@uppertitleback}%
    \end{minipage}\par
    \vfill
    \begin{minipage}[b]{\textwidth}
      \@titlepagefont{\@lowertitleback}%
    \end{minipage}
  \end{titlepage}
}
\providecommand*{\@extratitle}{}
\providecommand{\extratitle}[1]{\gdef\@extratitle{#1}}
\DefineFamilyKey[%
  JT-Geschichte%
]{title}{extratitle}{\extratitle{#1}\FamilyKeyStateProcessed}
\renewcommand*{\makepretitle}{%
  \ifx\@extratitle\@empty\else
    \begin{titlepage}
      \noindent\@extratitle
    \end{titlepage}
  \fi
}%
\renewcommand*{\makepretitleback}{%
  \ifx\@extratitle\@empty\else\begin{titlepage}\null\end{titlepage}\fi
}
\renewcommand*{\makeposttitle}{%
  \ifx\@dedication\@empty\else
    \begin{titlepage}
      \null\vfill
      {\centering\csname @dedicationfont\endcsname{\@dedication \par}}%
      \vskip \z@ \@plus 3fill
    \end{titlepage}
  \fi
}
\renewcommand*{\makeposttitleback}{%
  \ifx\@dedication\@empty\else\begin{titlepage}\null\end{titlepage}\fi
}
\endinput
%%
%% End of file `title-JT-Geschichte.def'.
