summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/uni-titlepage/title-KOMAScript.def
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-08-16 20:59:10 +0000
committerKarl Berry <karl@freefriends.org>2021-08-16 20:59:10 +0000
commit4f7047e6564e59b28109c6abfddd70158e07d7d9 (patch)
treeff25ce612d09767b196b2b61ddd7832a79d2ec00 /Master/texmf-dist/tex/latex/uni-titlepage/title-KOMAScript.def
parent7349b9bf64a7aef1ec61bf173ad710ac06d2909c (diff)
uni-titlepage (16aug21)
git-svn-id: svn://tug.org/texlive/trunk@60254 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/uni-titlepage/title-KOMAScript.def')
-rw-r--r--Master/texmf-dist/tex/latex/uni-titlepage/title-KOMAScript.def159
1 files changed, 159 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/uni-titlepage/title-KOMAScript.def b/Master/texmf-dist/tex/latex/uni-titlepage/title-KOMAScript.def
new file mode 100644
index 00000000000..2c749e9874d
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/uni-titlepage/title-KOMAScript.def
@@ -0,0 +1,159 @@
+%%
+%% This is file `title-KOMAScript.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% uni-titlepage.dtx (with options: `driver,KOMAScript')
+%% 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.
+%%
+\ProvidesFile{%
+ title%
+ -KOMAScript%
+ .def%
+}[%
+2021/08/16 v0.6
+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-KOMAScript.def%
+ }%
+ \fi
+\endgroup
+\DefineFamilyMember[%
+ KOMAScript%
+]{title}
+\renewcommand*{\inittitle}{%
+ \let\footnotesize\small
+ \let\footnoterule\relax
+ \let\footnote\thanks
+ \renewcommand*\thefootnote{\@fnsymbol\c@footnote}%
+ \let\@oldmakefnmark\@makefnmark
+ \renewcommand*{\@makefnmark}{\rlap\@oldmakefnmark}%
+}
+\providecommand*{\publishers}{\publisher}
+\renewcommand*{\makemaintitle}{%
+ \begin{%
+ titlepage}
+ \setlength{\parskip}{\z@}%
+ \setlength{\parindent}{\z@}%
+ \setlength{\parfillskip}{\z@\@plus 1fil}%
+ \linespread{1}\selectfont
+ \@titlepagefont
+ \ifx\@titlehead\@empty \else
+ \begin{minipage}[t]{\textwidth}%
+ \@titlehead
+ \end{minipage}\par
+ \fi
+ \null\vfill
+ \begingroup
+ \centering
+ \ifx\@subject\@empty \else
+ {\subject@font{\@subject \par}}%
+ \vskip 3em
+ \fi
+ {\titlefont{\huge \@title\par}}%
+ \vskip 1em
+ {\ifx\@subtitle\@empty\else\@subtitlefont{\@subtitle}\par\fi}%
+ \vskip 2em
+ {\Large \lineskip 0.75em
+ \begin{tabular}[t]{c}
+ \@author
+ \end{tabular}\par
+ }%
+ \vskip 1.5em
+ {\Large \@date \par}%
+ \vskip \z@ \@plus3fill
+ {\Large \@publisher \par}%
+ \vskip 3em
+ \endgroup
+ \@thanks
+ \vfill\null\vskip-\baselineskip
+ \end{%
+ titlepage}
+}
+\providecommand*{\@uppertitleback}{}
+\providecommand{\uppertitleback}[1]{\gdef\@uppertitleback{#1}}
+\DefineFamilyKey[%
+ KOMAScript%
+]{title}{uppertitleback}{\uppertitleback{#1}\FamilyKeyStateProcessed}
+\providecommand*{\@lowertitleback}{}
+\providecommand{\lowertitleback}[1]{\gdef\@lowertitleback{#1}}
+\DefineFamilyKey[%
+ KOMAScript%
+]{title}{lowertitleback}{\lowertitleback{#1}\FamilyKeyStateProcessed}
+\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[%
+ KOMAScript%
+]{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-KOMAScript.def'.