Commit 124a9f66 authored by Martin Ukrop's avatar Martin Ukrop
Browse files

Merge branch 'fix_linebreak' into 'master'

Thesis name can now truly be multiline

Long thesis names are automatically broken, manual line breaks can be
inserted using \newline (not \\).

The previous solution did not work as long names were not broken at all.

See merge request !7
parents 4ab6310e ee63a7ac
......@@ -72,8 +72,8 @@ práce}
\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