Commit fc9a2d29 authored by Martin Ukrop's avatar Martin Ukrop
Browse files

Polishing

parent 3e218d74
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -41,13 +41,8 @@
\newcommand{\setSupervisor}[1]{\def\@supervisor{#1}}
\newcommand{\setConsultant}[1]{\def\@consultant{#1}}
\newcommand{\setReader}[1]{\def\@reader{#1}}
\newcommand{\setSignature}[1]{\def\@signature{#1}}

% If custom signature is not set, use supervisor/reader
\ifthenelse{\isundefined{\@signature}}{ % then
\def\@signature{\ifthenelse{\equal{\@reportType}{reader}}{\@reader}{\@supervisor}}
}{ % else keep the set signature
}
\newcommand{\setSignature}[1]{\def\@signature{#1}}

% Determine correct title texts
\def\@titleFirst{Posudek
+2 −2
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@
% MANDATORY: Set report & thesis types, student and thesis names.
\setReportType{reader}   % 'reader' or 'supervisor'
\setThesisType{bc}       % 'bc' or 'mgr'
\setThesisName{My wonderful thesis}  % can be multiline, just add '\\'
\setThesisName{The Great Thesis}  % can be multiline, just add '\\'
\setStudent{John Doe}

% SELECTIVE: Set supervisor/consultant/reader names.