diff --git a/dokumentation.tex b/dokumentation.tex index 2ab746f..7cae606 100644 --- a/dokumentation.tex +++ b/dokumentation.tex @@ -133,14 +133,42 @@ pdftitle = {\LaTeX-package for reading git commit info for specific files} \CheckSum{0} +\makeatletter +\newcommand{\@subtitleA}{} +\newcommand{\@subtitleB}{} +\newcommand{\subtitle}[2]{% + \renewcommand{\@subtitleA}{#1} + \renewcommand{\@subtitleB}{#2} +} +\renewcommand\@maketitle{% +\hfil +\begin{minipage}{0.8\textwidth} + \centering + \vskip 2em + \let\footnote\thanks + {\LARGE \@title \par } + \vskip 1.5em + {\Large \@subtitleA \par } + \vskip 1.5em + {\Large \@subtitleB \par } + \vskip 1.5em + {\large \@author \par} +\end{minipage} +\hfil +\vskip 1em \par +} +\makeatother \begin{document} - \title{Gitfile-Info\newline\newline + \title{\textbf{Gitfile-Info}} + \subtitle{% \LaTeX-Paket zum Auslesen von git Ver"-sions"-in"-for"-ma"-tion"-en für eine - Datei\newline\newline - \LaTeX-package for reading git commit info for specific files + Datei + }{% + \LaTeX-package for reading git commit info for a specific file% } - \author{Andr\'e Hilbig -- \href{mailto:mail@andrehilbig.de}{mail@andrehilbig.de}} + \author{Andr\'e Hilbig\\ \href{mailto:mail@andrehilbig.de}{mail@andrehilbig.de} -- + \href{http://www.andrehilbig.de/u/gfi}{andrehilbig.de/u/gfi}} \date{\gfiGetDay.\gfiGetMonth.\gfiGetYear} \maketitle