%%% Title page of the thesis and other mandatory pages %%% Minor tweaks of style % These macros employ a little dirty trick to convince LaTeX to typeset % chapter headings sanely, without lots of empty space above them. % Feel free to ignore. \makeatletter \def\@makechapterhead#1{ {\parindent \z@ \raggedright \normalfont \Huge\bfseries \thechapter. #1 \par\nobreak \vskip 20\p@ }} \def\@makeschapterhead#1{ {\parindent \z@ \raggedright \normalfont \Huge\bfseries #1 \par\nobreak \vskip 20\p@ }} \makeatother % This macro defines a chapter, which is not numbered, but is included % in the table of contents. \def\chapwithtoc#1{ \chapter*{#1} \addcontentsline{toc}{chapter}{#1} } \begin{document} % Somewhat relaxed hyphenation \lefthyphenmin=2 \righthyphenmin=2 %%% Title page of the thesis \pagestyle{empty} \hypersetup{pageanchor=false} \begin{center} \large Charles University in Prague \medskip Faculty of Mathematics and Physics \vfill {\bf\Large BACHELOR THESIS} \vfill \centerline{\mbox{\includegraphics[width=60mm]{../img/logo.pdf}}} \vfill \vspace{5mm} {\LARGE\ThesisAuthor} \vspace{15mm} {\LARGE\bfseries\ThesisTitle} \vfill \Department \vfill \begin{tabular}{rl} Supervisor of the bachelor thesis: & \Supervisor \\ \noalign{\vspace{2mm}} Study programme: & \StudyProgramme \\ \noalign{\vspace{2mm}} Study branch: & \StudyBranch \\ \end{tabular} \vfill % Zde doplňte rok Prague \YearSubmitted \end{center} \newpage %%% Here should be a bound sheet included -- a signed copy of the "bachelor %%% thesis assignment". This assignment is NOT a part of the electronic %%% version of the thesis. DO NOT SCAN. %%% A page with a solemn declaration to the bachelor thesis \openright \hypersetup{pageanchor=true} \pagestyle{plain} \pagenumbering{roman} \vglue 0pt plus 1fill \noindent I declare that I carried out this bachelor thesis independently, and only with the cited sources, literature and other professional sources. \medskip\noindent I understand that my work relates to the rights and obligations under the Act No.~121/2000 Sb., the Copyright Act, as amended, in particular the fact that the Charles University in Prague has the right to conclude a license agreement on the use of this work as a school work pursuant to Section 60 subsection 1 of the Copyright Act. \vspace{10mm} \hbox{\hbox to 0.5\hsize{% In ........ date ............ % FIXME! \hss}\hbox to 0.5\hsize{% signature of the author \hss}} \vspace{20mm} \newpage %%% Mandatory information page of the thesis \openright \vbox to 0.5\vsize{ \setlength\parindent{0mm} \setlength\parskip{5mm} Title: \ThesisTitle Author: \ThesisAuthor \DeptType: \Department Supervisor: \Supervisor, \SupervisorsDepartment Abstract: \Abstract Keywords: \Keywords \vss} \newpage %%% Dedication \openright \noindent \Dedication \newpage \openright \pagestyle{plain} \pagenumbering{arabic} \setcounter{page}{1}