Skip to content
Snippets Groups Projects
Commit 0932453b authored by Vít Starý Novotný's avatar Vít Starý Novotný
Browse files

The style file for FSpS, MU now uses different title page layout.

parent 2d7478e2
No related branches found
No related tags found
No related merge requests found
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
% \end{macrocode} % \end{macrocode}
% The file loads the following packages: % The file loads the following packages:
% \begin{itemize} % \begin{itemize}
% \item\textsf{tikz} -- Used for dimension arithmetic.
% \item\textsf{geometry} -- Allows for modifications of the type % \item\textsf{geometry} -- Allows for modifications of the type
% area dimensions. % area dimensions.
% \item\textsf{setspace} -- Allows for line height modifications. % \item\textsf{setspace} -- Allows for line height modifications.
...@@ -35,6 +36,7 @@ ...@@ -35,6 +36,7 @@
% In addition to this, the type area width is set to % In addition to this, the type area width is set to
% 14\,cm in accordance with the formal requirements of the faculty. % 14\,cm in accordance with the formal requirements of the faculty.
% \begin{macrocode} % \begin{macrocode}
\thesis@require{tikz}
\thesis@require{geometry} \thesis@require{geometry}
\thesis@require{setspace} \thesis@require{setspace}
\geometry{top=30mm,bottom=30mm,left=40mm,right=30mm,includeheadfoot} \geometry{top=30mm,bottom=30mm,left=40mm,right=30mm,includeheadfoot}
...@@ -43,10 +45,33 @@ ...@@ -43,10 +45,33 @@
% \begin{macrocode} % \begin{macrocode}
\setlength{\parindent}{1.25cm} \setlength{\parindent}{1.25cm}
% \end{macrocode} % \end{macrocode}
% The style file configures the title page header to include the % The style file redefines the title page content
% field name. % not to include the author's name and the title page footer
% to include both the author's and advisor's name, the year and
% place of the thesis defense in accordance with the formal
% requirements of the faculty.
% \begin{macrocode} % \begin{macrocode}
\thesis@blocks@titlePage@field@true \def\thesis@blocks@titlePage@footer{%
{\thesis@titlePage@large
{% Calculate the width of the thesis author and advisor boxes
\let\@A\relax\newlength{\@A}\settowidth{\@A}{{%
\bf\thesis@@{advisorTitle}:}}
\let\@B\relax\newlength{\@B}\settowidth{\@B}{\thesis@advisor}
\let\@C\relax\newlength{\@C}\settowidth{\@C}{{%
\bf\thesis@@{authorTitle}:}}
\let\@D\relax\newlength{\@D}\settowidth{\@D}{\thesis@author}
\let\@E\relax\newlength{\@E}\settowidth{\@E}{\thesis@field}
\let\@F\relax\newlength{\@F}\pgfmathsetlength{\@F}{max(\@D,\@E)}
\let\@left\relax\newlength{\@left}\pgfmathsetlength{\@left}{%
max(\@A,\@B)}
\let\@right\relax\newlength{\@right}\pgfmathsetlength{\@right}{%
max(\@C,\@F)}
% Typeset the thesis author and advisor boxes
\vskip 2in\begin{minipage}[t]{\@left}
{\bf\thesis@@{advisorTitle}:}\\\thesis@advisor
\end{minipage}\hfill\begin{minipage}[t]{\@right}
{\bf\thesis@@{authorTitle}:}\\\thesis@author\\\thesis@field
\end{minipage}}\\[4em]\thesis@place, \thesis@year}}
% \end{macrocode} % \end{macrocode}
% \begin{macro}{\thesis@blocks@frontMatter} % \begin{macro}{\thesis@blocks@frontMatter}
% The |\thesis@blocks@frontMatter| macro sets up the style of the % The |\thesis@blocks@frontMatter| macro sets up the style of the
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment