Commit 2b80c708 authored by Dominik Kaaser's avatar Dominik Kaaser
Browse files

added field for student id

parent c7b83714
Loading
Loading
Loading
Loading
+12 −0
Changes for thesis/thesis.cls: 12 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -120,6 +120,18 @@ Germany
% Define location field
\def\location#1{\gdef\@location{#1}}
\def\@location{}
% Define studentid field
\def\studentid#1{\gdef\@studentid{\\\normalsize#1}}
\def\@studentid{}
%patch studentid into maketitle
\let\@dcm@orig@maketitle\maketitle
\def\maketitle{%
\begingroup%
\let\@dcm@orig@@author\@author%
\def\@author{\@dcm@orig@@author\@studentid}
\@dcm@orig@maketitle%
\endgroup
}

% Define supervisors field
\ifproposal
+1 −0
Changes for thesis/thesis.tex: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -7,6 +7,7 @@
\title{Title}
\subtitle{Subtitle}
\author{Author}
\studentid{12345}
\date{Date}
\location{Hamburg}
\supervisors{