Skip to content
Snippets Groups Projects
Commit f570d6d5 authored by Tereza Vrabcová's avatar Tereza Vrabcová
Browse files

Added redefinition for law and med titlePage

parent d0ceb834
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,10 @@
% \end{macrocode}
% Each footnote is uniquely numbered across the entire document as
% per the formal requirements of the faculty.
% \changes{v1.0.0}{2021/03/22}{Added \textsf{regexpatch} package to
% redefine the layout of titlePage. [TV]}
% \begin{macrocode}
\thesis@require{regexpatch}
\thesis@require{chngcntr}
\counterwithout{footnote}{chapter}
% \end{macrocode}
......@@ -53,6 +56,41 @@
\thesis@titlePage@large\thesis@department@name\\\vskip 2em}}
\let\thesis@blocks@titlePage@header=\thesis@blocks@cover@header
% \end{macrocode}
% \changes{v1.0.0}{2021/03/22}{Added redefinition of titlePage
% layout, as per the faculty requirements the department and
% field are in the upper part of the titlePage. [TV]}
% \begin{macrocode}
\xpatchcmd{\thesis@blocks@titlePage}
{{\sf\thesis@titlePage@large\thesis@@{advisorTitle}: \thesis@advisor}%
\par\vspace{0.75cm}%
\ifthesis@blocks@titlePage@department@
{\sf\thesis@titlePage@large\thesis@department@name}
\fi
\ifthesis@blocks@titlePage@programme@
\par\vspace{0.25cm}%
{\sf\thesis@titlePage@large\thesis@@{bib@programme}: \thesis@programme}\par
\fi
\ifthesis@blocks@titlePage@field@
\par\vspace{0.25cm}%
{\sf\thesis@titlePage@large\thesis@@{fieldTitle}: \thesis@field@name}%
\fi
\par\vfill
}
{}{}{}
\xpatchcmd{\thesis@blocks@titlePage}
{{\sf\thesis@titlePage@large\thesis@@upper{facultyName}}%
\par\vspace{1.75cm}%
}
{{\sf\thesis@titlePage@large\thesis@@upper{facultyName}}%
\par\vspace{0.75cm}%
{\sf\thesis@titlePage@large\thesis@field}%
\par\vspace{0.25cm}%
{\sf\thesis@titlePage@large\thesis@department@name}
\par\vspace{1.75cm}%
}
{}{}{}
% \end{macrocode}
% \begin{macro}{\thesis@blocks@frontMatter}
% The |\thesis@blocks@frontMatter| macro sets up the style
% of the front matter of the thesis. The page numbering is arabic
......
......@@ -46,10 +46,13 @@
% 16\,cm in accordance with the formal requirements of the faculty.
% This leads to overfull lines and is against the good conscience
% of the author of this style.
% \changes{v1.0.0}{2021/03/22}{Added \textsf{regexpatch} package to
% redefine layout of titlePage. [TV]}
% \begin{macrocode}
\thesis@require{tikz}
\thesis@require{geometry}
\thesis@require{setspace}
\thesis@require{regexpatch}
\geometry{top=25mm,bottom=20mm,left=25mm,right=25mm,includeheadfoot}
% \end{macrocode}
% \begin{macro}{\thesis@blocks@cover}
......@@ -87,6 +90,41 @@
% no longer redefine the \cs{thesis@blocks@titlePage@footer}
% and \cs{thesis@blocks@titlePage@content} macros, which are no
% longer defined. [VN]}
% \changes{v1.0.0}{2021/03/22}{Added redefinition of the titlePage
% layout as per the faculty requirements. Department name and
% programme are in the upper part of the titlePage. [TV]}
% \begin{macrocode}
\xpatchcmd{\thesis@blocks@titlePage}
{{\sf\thesis@titlePage@large\thesis@@{advisorTitle}: \thesis@advisor}%
\par\vspace{0.75cm}%
\ifthesis@blocks@titlePage@department@
{\sf\thesis@titlePage@large\thesis@department@name}
\fi
\ifthesis@blocks@titlePage@programme@
\par\vspace{0.25cm}%
{\sf\thesis@titlePage@large\thesis@@{bib@programme}: \thesis@programme}\par
\fi
\ifthesis@blocks@titlePage@field@
\par\vspace{0.25cm}%
{\sf\thesis@titlePage@large\thesis@@{fieldTitle}: \thesis@field@name}%
\fi
\par\vfill
}
{}{}{}
\xpatchcmd{\thesis@blocks@titlePage}
{{\sf\thesis@titlePage@large\thesis@@upper{facultyName}}%
\par\vspace{1.75cm}%
}
{{\sf\thesis@titlePage@large\thesis@@upper{facultyName}}%
\par\vspace{0.75cm}%
{\sf\thesis@titlePage@large\thesis@programme}%
\par\vspace{0.25cm}%
{\sf\thesis@titlePage@large\thesis@department@name}
\par\vspace{1.75cm}%
}
{}{}{}
% \end{macrocode}
% \begin{macro}{\thesis@blocks@frontMatter}
% The |\thesis@blocks@frontMatter| macro sets up the style of the
% front matter of the thesis. The page numbering is arabic in
......
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