%formal requirements were stated here:
%https://www.tu-darmstadt.de/media/dezernat_ii/promotionen_dokumente/Dissertation-Titelblatt.de.pdf
%https://www.physik.tu-darmstadt.de/media/fachbereich_physik/formulare_3/promotionen/besonderebestimmungenderphysikzurpromo.pdf

%the following are custom variables which help keep information consistent across e.g. the titlepage, the page with bibliographic data and the document metadata (the latter being influenced by the pdfusetitle option of the hyperref package). These custom commands themselves do not directly create the metadata, but are used in the appropriate structures later on.
\def\myauthor{Yourname Here} % Who wrote the thesis
\def\mytitleprimary{Christoph's Template for Writing a Dissertation with \LaTeX} % title in the primary language, probably English or German
\def\mytitlesecondary{Christophs Vorlage zum Schreiben von Dissertationen mit \LaTeX} % title in the secondary language, probably German or English
\def\myversionGer{Vorgelegte}% submitted (Ger: ``Vorgelegte'') or accepted (Ger: ``Genehmigte'') dissertation?
\def\myversionEng{Submitted}% submitted or accepted dissertation?
\def\mydateSubmissionGer{2025-05-20} % date of submission in German-acceptable format, assuming the titlepage is in German
\def\mydateExamGer{2025-07-07} % date of oral exam in German-acceptable format, assuming the titlepage is in German
\def\mydateSubmissionEng{20th of May 2025} % date of submission in English-acceptable format, assuming the context of the bibliographic data page is English
\def\mydateExamEng{7th of July 2025} % date of oral exam in English-acceptable format, assuming the context of the bibliographic data page is English

%to help you not miss giving/updating information, here are some more variables even though they are only used once
\def\myplaceBirth{Birthtown}% your place of birth. You may need to comment/uncomment the use of this, depending on whether you want to make this personal information public.
\def\myplaceSignature{Darmstadt}% where will be when you sign the ``Erklärungen laut Promotionsordnung''?
\def\mydateSignature{1.1.2000}% when are you going to sign the ``Erklärungen laut Promotionsordnung''?
%You still need to set the date(s) of publication.


\begin{titlepage}
	\centering
	%\includegraphics{athene}
	{\huge \textbf{\mytitleprimary}\\[\bigskipamount]
	\mytitlesecondary\\[2\bigskipamount]}
	
	Vom Fachbereich Physik\\
	der Technischen Universität Darmstadt\\[\bigskipamount]%[2\baselineskip]

	Zur Erlangung des Grades\\
	{\huge \textbf{Doctor rerum naturalium\\[0.25\baselineskip]
	(Dr. rer. nat.)}}\\[2\bigskipamount]
	
	\myversionGer\\
	{\huge \textbf{Dissertation}\\[0.25\baselineskip]
	von\\[0.25\baselineskip]
	\textbf{\myauthor}}%\\[0.25\baselineskip]
%	aus \myplaceBirth}%\\[2\baselineskip]%the tuprints publication team recommended not to make personal data (place of birth) public.

	\bigskip
	
	Erstgutachter: Prof. Dr. Michael Vogel\\
	Zweitgutachterin: Your Second Referee\\[2\baselineskip]
	
	Darmstadt 2025\\
	Datum der Einreichung: \mydateSubmissionGer\\
	Datum der mündlichen Prüfung: \mydateExamGer
\end{titlepage}%
%
\newpage
%
\mytitleprimary\\
\mytitlesecondary\\[\bigskipamount]

\myversionEng %%keep the whitespace or use something like the xspace package in the definition of myversionEng.
doctoral thesis by \myauthor\\[\bigskipamount]

Date of submission: \mydateSubmissionEng\\
Date of oral exam: \mydateExamEng\\[\bigskipamount]

Darmstadt, Technische Universität Darmstadt%
\vfill
Bitte zitieren Sie dieses Dokument als:\\
%you get URN and URI when uploading your thesis to tuprints: start the entry creation there, save it without submitting it, then the URN and URI will be created. Copy the identifiers here, then change upload or replace the file in the tuprints submission. Note that the choice of licence under which the file is published gets reset when you delete the old file and create a new one. Note further that the URI before the tuprints entry is submitted differs slightly from the URI of the final version: In my case, while preparing the submission, the URI was https://tuprints.ulb.tu-darmstadt.de/31123/ and the final URI is https://tuprints.ulb.tu-darmstadt.de/id/eprint/31123 which has an additional ``/id/eprint'' towards the end. You should use the URI which links to the final version.
URN: xxx\\
URI: \url{xxx}\\[\bigskipamount]
%
Dieses Dokument wird bereitgestellt von tuprints,\\
E-Publishing-Service der TU Darmstadt\\
\url{http://tuprints.ulb.tu-darmstadt.de}\\
tuprints@ulb.tu-darmstadt.de\\
Jahr der Veröffentlichung der Dissertation auf TUprints: 2025\\[\bigskipamount]%year of publication with tuprints
%
Die Veröffentlichung steht unter folgender Creative Commons Lizenz:\\
Namensnennung -- Nicht kommerziell -- Share Alike 4.0 International\\
\url{https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode.de}\\[0.25\baselineskip]
This work is licensed under a Creative Commons License:\\
Attribution -- NonCommercial -- ShareAlike 4.0 International\\
\url{https://creativecommons.org/licenses/by-nc-sa/4.0/}
%
\newpage
%These declarations needed to be included in the dissertation, even the submitted version. Sign them after printing. With a pen. On paper. Like in the old days.
{\huge\textbf{Erklärungen laut Promotionsordnung}}\\\\
{\large\textbf{\S8 Abs 1 lit. c PromO}}\\
Ich versichere hiermit, dass die elektronische Version meiner Dissertation mit der schriftlichen Version
übereinstimmt.\\\\
{\large\textbf{\S8 Abs 1 lit. d PromO}}\\
Ich versichere hiermit, dass zu einem vorherigen Zeitpunkt noch keine Promotion versucht wurde.\\\\
{\large\textbf{\S9 Abs 1 PromO}}\\
Ich versichere hiermit, dass die vorliegende Dissertation selbstständig und nur unter Verwendung
der angegebenen Quellen verfasst wurde.\\\\
{\large\textbf{\S9 Abs 2 PromO}}\\
Ich versichere hiermit, dass die vorliegende Dissertation noch nicht zu Prüfungszwecken gedient hat.\\\\
%
%
%signature: https://tex.stackexchange.com/questions/48152/signature-date-line-with-fixed-width
\noindent\begin{tabular}{ll}
	 & \\%vertical space
	 & \\%vertical space
	\makebox[2.5in]{\hrulefill} & \makebox[2.5in]{\hrulefill}\\
	\myauthor & \myplaceSignature, \mydateSignature\\%insert place and date of signature so people dont need to decipher you handwriting
\end{tabular}