Commit ee63a7ac authored by Nikola Beneš's avatar Nikola Beneš
Browse files

Thesis name can now truly be multiline

Long thesis names are automatically broken, manual line breaks can be
inserted using \newline (not \\).
parent edce7165
......@@ -72,8 +72,8 @@ práce}
\noindent
{\def\arraystretch{1.3}\tabcolsep=10pt
\begin{tabularx}{\textwidth}{@{} l >{\it} l @{}}
Název práce: & \begin{tabular}[t]{@{}l@{}}\@thesisName\end{tabular} \\
\begin{tabularx}{\textwidth}{@{} l >{\it} X @{}}
Název práce: & \@thesisName \\
Autor práce: & \@student
\ifthenelse{\isundefined{\@supervisor}}{}{\\Vedoucí práce: & \@supervisor}%
\ifthenelse{\isundefined{\@consultant}}{}{\\Konzultant: & \@consultant}%
......
......@@ -8,7 +8,7 @@
% MANDATORY: Set report & thesis types, student and thesis names.
\setReportType{reader} % 'reader' or 'supervisor'
\setThesisType{bc} % 'bc' or 'mgr'
\setThesisName{The Great Thesis} % can be multiline, just add '\\'
\setThesisName{The Great Thesis} % can be multiline, just add '\newline'
\setStudent{John Doe}
% SELECTIVE: Set supervisor/consultant/reader names.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment