Skip to content
Snippets Groups Projects
Unverified Commit fe70da31 authored by Vít Novotný's avatar Vít Novotný Committed by GitHub
Browse files

Merge pull request #8 from xvrabcov/feature/title-page

Title Page
parents 3d2982f8 817acc9a
No related branches found
No related tags found
No related merge requests found
...@@ -61,16 +61,11 @@ ...@@ -61,16 +61,11 @@
\usepackage[resetfonts]{cmap} %% We need to load the T2A font encoding \usepackage[resetfonts]{cmap} %% We need to load the T2A font encoding
\usepackage[T1,T2A]{fontenc} %% to use the Cyrillic fonts with Russian texts. \usepackage[T1,T2A]{fontenc} %% to use the Cyrillic fonts with Russian texts.
\usepackage[ \usepackage[
%<*sci> %<*econ,fi,fsps,fss,law,med,ped,phil,sci>
main=slovak, %% By using `czech` or `english` as the main locale
%% instead of `slovak`, you can typeset the thesis
%% in either Czech or English, respectively.
%</sci>
%<*econ,fi,fsps,fss,law,med,ped,phil>
main=english, %% By using `czech` or `slovak` as the main locale main=english, %% By using `czech` or `slovak` as the main locale
%% instead of `english`, you can typeset the thesis %% instead of `english`, you can typeset the thesis
%% in either Czech or Slovak, respectively. %% in either Czech or Slovak, respectively.
%</econ,fi,fsps,fss,law,med,ped,phil> %</econ,fi,fsps,fss,law,med,ped,phil,sci>
english, german, russian, czech, slovak %% The additional keys allow english, german, russian, czech, slovak %% The additional keys allow
]{babel} %% foreign texts to be typeset as follows: ]{babel} %% foreign texts to be typeset as follows:
%% %%
...@@ -466,61 +461,25 @@ ...@@ -466,61 +461,25 @@
date = \the\year/\the\month/\the\day, date = \the\year/\the\month/\the\day,
university = mu, university = mu,
faculty = sci, faculty = sci,
department = Ústav matematiky a štatistiky, department = Department of Mathematics and
departmentEn = Department of Mathematics and
Statistics, Statistics,
extra = { programme = Mathematics,
departmentCs = Ústav matematiky a statistiky, field = Financial and Insurance Mathematics,
},
programme = Matematika,
programmeEn = Mathematics,
extra = {
programmeCs = Matematika,
},
field = Finančná a poistná matematika,
fieldEn = Financial and Insurance Mathematics,
extra = {
fieldCs = Finanční a pojistná matematika,
},
type = bc, type = bc,
author = Jane Doe, author = Jane Doe,
gender = f, gender = f,
advisor = {Prof. RNDr. John Smith, CSc.}, advisor = {Prof. RNDr. John Smith, CSc.},
title = Princípy matematickej sadzby v programe TeX, title = The Principles of the Typesetting of
TeXtitle = Princípy matematickej sadzby\\v~programe \TeX,
titleEn = The Principles of the Typesetting of
Mathematics in TeX: the Program, Mathematics in TeX: the Program,
TeXtitleEn = The Principles of the Typesetting of TeXtitle = The Principles of the Typesetting of
Mathematics in \TeX: the Program, Mathematics in \TeX: the Program,
extra = { keywords = {keyword1, keyword2, ...},
titleCs = Principy matematické sazby v programu TeX, TeXkeywords = {keyword1, keyword2, \ldots},
TeXtitleCs = Principy matematické sazby\\v~programu \TeX,
},
keywords = {kľúčové slovo 1, kľúčové slovo 2, ...},
TeXkeywords = {kľúčové slovo 1, kľúčové slovo 2, \ldots},
keywordsEn = {keyword1, keyword2, ...},
TeXkeywordsEn = {keyword1, keyword2, \ldots},
extra = {
keywordsCs = {klíčové slovo 1, klíčové slovo 2, ...},
TeXkeywordsCs = {klíčové slovo 1, klíčové slovo 2, \ldots},
},
abstract = {% abstract = {%
This is the abstract of my thesis, which can This is the abstract of my thesis, which can
span multiple paragraphs. span multiple paragraphs.
}, },
abstractEn = {%
This is the English abstract of my thesis, which can
span multiple paragraphs.
},
extra = {
abstractCs = {%
This is the Czech abstract of my thesis, which can
span multiple paragraphs.
},
},
thanks = {% thanks = {%
These are the acknowledgements for my thesis, which can These are the acknowledgements for my thesis, which can
......
...@@ -1953,6 +1953,10 @@ ...@@ -1953,6 +1953,10 @@
% of the author's signature field % of the author's signature field
% \item|\thesis@|\textit{locale}|@formattedDate| -- A formatted % \item|\thesis@|\textit{locale}|@formattedDate| -- A formatted
% date % date
% \changes{v1.0.0}{2021/02/26}{Lifted the \texttt{advisorSignature}
% string to the global locale file interface. [VN]}
% \item|\thesis@|\textit{locale}|@advisorSignature| -- The label
% of the author's signature field
% \end{itemize} where \textit{locale} is the name of the locale. % \end{itemize} where \textit{locale} is the name of the locale.
% %
% \def\file#1{\paragraph{The \texttt{#1} file}} % \def\file#1{\paragraph{The \texttt{#1} file}}
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
% This is the base file of the Czech locale.\iffalse % This is the base file of the Czech locale.\iffalse
%<*base> %<*base>
% \fi\begin{macrocode} % \fi\begin{macrocode}
\ProvidesFile{fithesis/locale/fithesis-czech.def}[2017/07/09] \ProvidesFile{fithesis/locale/fithesis-czech.def}[2021/02/26]
% \end{macrocode} % \end{macrocode}
% The locale file defines all the private macros mandated by the % The locale file defines all the private macros mandated by the
% locale file interface. % locale file interface.
...@@ -77,6 +77,11 @@ ...@@ -77,6 +77,11 @@
% Různé % Různé
\gdef\thesis@czech@authorSignature{% \gdef\thesis@czech@authorSignature{%
Podpis autor\ifthesis@woman ky\else a\fi} Podpis autor\ifthesis@woman ky\else a\fi}
% \end{macrocode}
% \changes{v1.0.0}{2021/02/26}{Lifted the \texttt{advisorSignature}
% string to the global locale file interface. [VN]}
% \begin{macrocode}
\gdef\thesis@czech@advisorSignature{Podpis vedoucího}
\gdef\thesis@czech@fieldTitle{Obor} \gdef\thesis@czech@fieldTitle{Obor}
\gdef\thesis@czech@advisorTitle{Vedoucí práce} \gdef\thesis@czech@advisorTitle{Vedoucí práce}
\gdef\thesis@czech@authorTitle{Autor} \gdef\thesis@czech@authorTitle{Autor}
...@@ -347,15 +352,13 @@ ...@@ -347,15 +352,13 @@
% Informatics at the Masaryk University in Brno. % Informatics at the Masaryk University in Brno.
% It replaces the \texttt{facultyName} placeholder with the % It replaces the \texttt{facultyName} placeholder with the
% correct value and redefines the \texttt{declaration} string in % correct value and redefines the \texttt{declaration} string in
% accordance with the requirements of the faculty. The file also % accordance with the requirements of the faculty.
% defines the \texttt{advisorSignature} string required by the % \changes{v1.0.0}{2021/02/26}{Lifted the \texttt{advisorSignature}
% |\thesis@blocks@titlePage| block defined within the % string to the global locale file interface. [VN]}
% \texttt{style/mu/\discretionary{}{}{}fithesis-fi.sty}
% style file.
% \iffalse % \iffalse
%<*mu/fi> %<*mu/fi>
% \fi\begin{macrocode} % \fi\begin{macrocode}
\ProvidesFile{fithesis/locale/mu/fi/fithesis-czech.def}[2016/05/25] \ProvidesFile{fithesis/locale/mu/fi/fithesis-czech.def}[2021/02/26]
% Zástupné texty % Zástupné texty
\gdef\thesis@czech@facultyName{Fakulta informatiky} \gdef\thesis@czech@facultyName{Fakulta informatiky}
...@@ -377,7 +380,6 @@ ...@@ -377,7 +380,6 @@
s~uvedením úplného odkazu na příslušný zdroj.} s~uvedením úplného odkazu na příslušný zdroj.}
% Ostatní % Ostatní
\gdef\thesis@czech@advisorSignature{Podpis vedoucího}
\gdef\thesis@czech@typeName@proposal{Teze disertační práce} \gdef\thesis@czech@typeName@proposal{Teze disertační práce}
\gdef\thesis@czech@typeName@akuzativ@proposal{Tezi disertační práce} \gdef\thesis@czech@typeName@akuzativ@proposal{Tezi disertační práce}
% \end{macrocode}\iffalse % \end{macrocode}\iffalse
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
% This is the base file of the English locale.\iffalse % This is the base file of the English locale.\iffalse
%<*base> %<*base>
% \fi\begin{macrocode} % \fi\begin{macrocode}
\ProvidesFile{fithesis/locale/fithesis-english.def}[2017/09/08] \ProvidesFile{fithesis/locale/fithesis-english.def}[2021/02/26]
% \end{macrocode} % \end{macrocode}
% The locale file defines all the private macros mandated by the % The locale file defines all the private macros mandated by the
% locale file interface. % locale file interface.
...@@ -65,6 +65,12 @@ ...@@ -65,6 +65,12 @@
% Miscellaneous % Miscellaneous
\gdef\thesis@english@authorSignature{Author's signature} \gdef\thesis@english@authorSignature{Author's signature}
% \end{macrocode}
% \changes{v1.0.0}{2021/02/26}{Lifted the \texttt{advisorSignature}
% string to the global locale file interface. [VN]}
% \begin{macrocode}
\gdef\thesis@english@advisorSignature{Signature of Thesis
\thesis@english@advisorTitle}
\gdef\thesis@english@fieldTitle{Field of study} \gdef\thesis@english@fieldTitle{Field of study}
\gdef\thesis@english@advisorTitle{Advisor} \gdef\thesis@english@advisorTitle{Advisor}
\gdef\thesis@english@authorTitle{Author} \gdef\thesis@english@authorTitle{Author}
...@@ -292,15 +298,13 @@ ...@@ -292,15 +298,13 @@
% Informatics at the Masaryk University in Brno. It replaces the % Informatics at the Masaryk University in Brno. It replaces the
% \texttt{facultyName} placeholder with the correct value and % \texttt{facultyName} placeholder with the correct value and
% redefines the string in accordance with the requirements of the % redefines the string in accordance with the requirements of the
% faculty. The file also defines the \texttt{advisorSignature} % faculty.
% string required by the |\thesis@blocks@titlePage| block defined % \changes{v1.0.0}{2021/02/26}{Lifted the \texttt{advisorSignature}
% within the % string to the global locale file interface. [VN]}
% \texttt{style/mu/\discretionary{}{}{}fithesis-fi.sty}
% style file.
% \iffalse % \iffalse
%<*mu/fi> %<*mu/fi>
% \fi\begin{macrocode} % \fi\begin{macrocode}
\ProvidesFile{fithesis/locale/mu/fi/fithesis-english.def}[2016/05/25] \ProvidesFile{fithesis/locale/mu/fi/fithesis-english.def}[2021/02/26]
% Placeholders % Placeholders
\gdef\thesis@english@facultyName{Faculty of Informatics} \gdef\thesis@english@facultyName{Faculty of Informatics}
...@@ -318,8 +322,6 @@ ...@@ -318,8 +322,6 @@
\fi} \fi}
% Others % Others
\gdef\thesis@english@advisorSignature{Signature of Thesis
\thesis@english@advisorTitle}
\gdef\thesis@english@typeName@proposal{Ph.D. Thesis Proposal} \gdef\thesis@english@typeName@proposal{Ph.D. Thesis Proposal}
% \end{macrocode}\iffalse % \end{macrocode}\iffalse
%</mu/fi> %</mu/fi>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
% This is the base file of the Slovak locale.\iffalse % This is the base file of the Slovak locale.\iffalse
%<*base> %<*base>
% \fi\begin{macrocode} % \fi\begin{macrocode}
\ProvidesFile{fithesis/locale/fithesis-slovak.def}[2017/07/09] \ProvidesFile{fithesis/locale/fithesis-slovak.def}[2021/02/26]
% \end{macrocode} % \end{macrocode}
% The locale file defines all the private macros mandated by the % The locale file defines all the private macros mandated by the
% locale file interface. % locale file interface.
...@@ -77,6 +77,11 @@ ...@@ -77,6 +77,11 @@
% Rôzne % Rôzne
\gdef\thesis@slovak@authorSignature{% \gdef\thesis@slovak@authorSignature{%
Podpis autor\ifthesis@woman ky\else a\fi} Podpis autor\ifthesis@woman ky\else a\fi}
% \end{macrocode}
% \changes{v1.0.0}{2021/02/26}{Lifted the \texttt{advisorSignature}
% string to the global locale file interface. [VN]}
% \begin{macrocode}
\gdef\thesis@slovak@advisorSignature{Podpis vedúceho}
\gdef\thesis@slovak@fieldTitle{Odbor} \gdef\thesis@slovak@fieldTitle{Odbor}
\gdef\thesis@slovak@advisorTitle{Vedúci práce} \gdef\thesis@slovak@advisorTitle{Vedúci práce}
\gdef\thesis@slovak@authorTitle{Autor} \gdef\thesis@slovak@authorTitle{Autor}
...@@ -355,15 +360,13 @@ ...@@ -355,15 +360,13 @@
% Informatics at the Masaryk University in Brno. It replaces the % Informatics at the Masaryk University in Brno. It replaces the
% \texttt{facultyName} placeholder with the correct value and % \texttt{facultyName} placeholder with the correct value and
% redefines the \texttt{declaration} string in accordance with the % redefines the \texttt{declaration} string in accordance with the
% requirements of the faculty. The file also defines the % requirements of the faculty.
% \texttt{advisorSignature} string required by the % \changes{v1.0.0}{2021/02/26}{Lifted the \texttt{advisorSignature}
% |\thesis@blocks@titlePage| block defined within the % string to the global locale file interface. [VN]}
% \texttt{style/mu/\discretionary{}{}{}fithesis-fi.sty}
% style file.
% \iffalse % \iffalse
%<*mu/fi> %<*mu/fi>
% \fi\begin{macrocode} % \fi\begin{macrocode}
\ProvidesFile{fithesis/locale/mu/fi/fithesis-slovak.def}[2016/05/25] \ProvidesFile{fithesis/locale/mu/fi/fithesis-slovak.def}[2021/02/26]
% Zástupné texty % Zástupné texty
\gdef\thesis@slovak@facultyName{Fakulta informatiky} \gdef\thesis@slovak@facultyName{Fakulta informatiky}
...@@ -385,7 +388,6 @@ ...@@ -385,7 +388,6 @@
s~uvedením úplného odkazu na príslušný zdroj.} s~uvedením úplného odkazu na príslušný zdroj.}
% Rôzne % Rôzne
\gdef\thesis@slovak@advisorSignature{Podpis vedúceho}
\gdef\thesis@slovak@typeName@proposal{Tézy dizertačnej práce} \gdef\thesis@slovak@typeName@proposal{Tézy dizertačnej práce}
\gdef\thesis@slovak@typeName@akuzativ@proposal{Tézy dizertačnej práce} \gdef\thesis@slovak@typeName@akuzativ@proposal{Tézy dizertačnej práce}
% \end{macrocode}\iffalse % \end{macrocode}\iffalse
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
% after \texttt{style/fithesis-base.sty}, regardless of the value % after \texttt{style/fithesis-base.sty}, regardless of the value
% of the |\thesis@style| macro. % of the |\thesis@style| macro.
% \begin{macrocode} % \begin{macrocode}
\ProvidesPackage{fithesis/style/mu/fithesis-mu-base}[2021/02/21] \ProvidesPackage{fithesis/style/mu/fithesis-mu-base}[2021/02/26]
\NeedsTeXFormat{LaTeX2e} \NeedsTeXFormat{LaTeX2e}
% \end{macrocode} % \end{macrocode}
% The file recognizes the following options: \begin{itemize} % The file recognizes the following options: \begin{itemize}
...@@ -801,92 +801,126 @@ ...@@ -801,92 +801,126 @@
{\thesis@titlePage@large\thesis@place, \thesis@@{semester}}} {\thesis@titlePage@large\thesis@place, \thesis@@{semester}}}
% \end{macrocode} % \end{macrocode}
% \end{macro} % \end{macro}
% \begin{macro}{\thesis@blocks@advisorSignature}
% The |\thesis@blocks@advisorSignature| macro produces space for
% the thesis advisor's signature.
% \changes{v1.0.0}{2021/02/26}{^^A
% The \cs{thesis@blocks@advisorSignature} macro is now defined
% for styles of all faculties at the Masaryk University in Brno,
% not just for the Faculty of Informatics, and is automatically
% used in the \cs{thesis@blocks@titlePage} macro for rigorous
% theses and PhD thesis proposals. [VN]}
% \begin{macrocode}
\def\thesis@blocks@advisorSignature{%
\let\@A\relax\newlength{\@A}
\settowidth{\@A}{\thesis@@{advisorSignature}}
\setlength{\@A}{\@A+1cm}
\hfill\raisebox{-0.5em}{\parbox{\@A}{
\centering
\rule{\@A}{1pt}\\
\thesis@@{advisorSignature}
}}}%
% \end{macrocode}
% \end{macro}
% \begin{macro}{\thesis@blocks@titlePage} % \begin{macro}{\thesis@blocks@titlePage}
% The |\thesis@blocks@titlePage| macro typesets the thesis % The |\thesis@blocks@titlePage| macro typesets the thesis
% title page. It is composed of three macros: % title page.
% \begin{itemize}
% \item|\thesis@blocks@titlePage@header| -- The header of the
% cover page
% \item|\thesis@blocks@titlePage@content| -- The content of the
% cover page
% \item|\thesis@blocks@titlePage@footer| -- The footer of the
% cover page
% \end{itemize}
% This allows the subsequently loaded style files to only redefine
% certain parts of the title page.
% \changes{v1.0.0}{2018/11/18}{^^A % \changes{v1.0.0}{2018/11/18}{^^A
% The \cs{bfseries} command switches to the sans serif typeface % The \cs{bfseries} command switches to the sans serif typeface
% and to the secondary color in the style files of the Masaryk % and to the secondary color in the style files of the Masaryk
% University in Brno, Czech Republic. [VN]} % University in Brno, Czech Republic. [VN]}
% \begin{macrocode} % \changes{v1.0.0}{2021/02/26}{^^A
\def\thesis@blocks@titlePage{% % The \cs{thesis@blocks@titlePage} command no longer consists
\thesis@blocks@clear % of the \cs{thesis@blocks@titlePage@header},
\begin{alwayssingle}% % \cs{thesis@blocks@titlePage@content}, and
\color{thesis@color@secondary}% % \cs{thesis@blocks@titlePage@footer} macros, which are no
\thispagestyle{empty}% % longer defined. [VN]}
\begin{center}% % The output of the |\thesis@blocks@titlePage| macro is
\thesis@blocks@titlePage@header
\thesis@blocks@facultyLogo@color\\[0.4in]%
\let\footnotesize\small
\let\footnoterule\relax{}%
\thesis@blocks@titlePage@content
\par\vfill
\thesis@blocks@titlePage@footer
\end{center}%
\end{alwayssingle}}
% \end{macrocode}
% The output of the |\thesis@blocks@titlePage@header| macro is
% controlled by the following conditionals: % controlled by the following conditionals:
% \begin{enumerate} % \begin{enumerate}
% \item|\ifthesis@blocks@titlePage@university@| -- This
% conditional expression determines, whether the university
% name is going to be included in the header of the title
% page. The default value of this conditional is
% \texttt{true}.
% \item|\ifthesis@blocks@titlePage@faculty@| -- This
% conditional expression determines, whether the faculty of
% study is going to be included in the header of the title
% page. The default value of this conditional is
% \texttt{true}.
% \item|\ifthesis@blocks@titlePage@department@| -- This % \item|\ifthesis@blocks@titlePage@department@| -- This
% conditional expression determines, whether the department % conditional expression determines, whether the department
% name is going to be included in the header of the title % name is going to be included in the title page. The
% page. The default value of this conditional is % default value of this conditional is \texttt{true}.
% \texttt{false}. % \changes{v1.0.0}{2021/02/26}{^^A
% The \cs{ifthesis@blocks@titlePage@department@} conditional
% now defaults to \texttt{true}. [VN]}
% \item|\ifthesis@blocks@titlePage@field@| -- This % \item|\ifthesis@blocks@titlePage@field@| -- This
% conditional expression determines, whether the field of % conditional expression determines, whether the field of
% study is going to be included in the header of the title % study is going to be included in the title page. The
% page. The default value of this conditional is % default value of this conditional is \texttt{true}.
% \texttt{false}. % \changes{v1.0.0}{2021/02/26}{^^A
% The \cs{ifthesis@blocks@titlePage@field@} conditional
% now defaults to \texttt{true}. [VN]}
% \changes{v1.0.0}{2021/02/26}{^^A
% The \cs{ifthesis@blocks@titlePage@university@} and
% \cs{ifthesis@blocks@titlePage@faculty@} conditionals
% are no longer defined. [VN]}
% \item|\ifthesis@blocks@titlePage@programme@| -- This
% conditional expression determines, whether the study
% programme is going to be included in the title page. The
% default value of this conditional is \texttt{false}.
% \changes{v1.0.0}{2021/02/26}{^^A
% The \cs{ifthesis@blocks@titlePage@programme@} conditional
% is now defined and defaults to \texttt{false}. [VN]}
% \end{enumerate} % \end{enumerate}
% The sebsequently loaded style files can modify the value of these % The sebsequently loaded style files can modify the value of these
% conditionals to alter the output of the % conditionals to alter the output of the
% |\thesis@blocks@titlePage@header| macro without altering its % |\thesis@blocks@titlePage| macro without altering its definition.
% definition.
% \begin{macrocode} % \begin{macrocode}
\newif\ifthesis@blocks@titlePage@university@
\thesis@blocks@titlePage@university@true
\newif\ifthesis@blocks@titlePage@faculty@
\thesis@blocks@titlePage@faculty@true
\newif\ifthesis@blocks@titlePage@department@ \newif\ifthesis@blocks@titlePage@department@
\thesis@blocks@titlePage@department@false \thesis@blocks@titlePage@department@true
\newif\ifthesis@blocks@titlePage@field@ \newif\ifthesis@blocks@titlePage@field@
\thesis@blocks@titlePage@field@false \thesis@blocks@titlePage@field@true
\newif\ifthesis@blocks@titlePage@programme@
\thesis@blocks@titlePage@programme@true
\def\thesis@blocks@titlePage@header{% \def\thesis@blocks@titlePage{%
{\sc\ifthesis@blocks@titlePage@university@ \thesis@blocks@clear
\thesis@titlePage@LARGE\thesis@@{universityName}\\% \begin{alwayssingle}%
\fi\ifthesis@blocks@titlePage@faculty@ \thispagestyle{empty}%
\thesis@titlePage@Large\thesis@@{facultyName}\\% \begin{center}%
\fi\ifthesis@blocks@titlePage@department@ \thesis@blocks@universityLogo@color[width=6.3cm]%
\thesis@titlePage@large\thesis@department@name\\% \par\vspace{0.75cm}%
\fi} {\sf\thesis@titlePage@large\thesis@@upper{facultyName}}%
\ifthesis@blocks@titlePage@field@ \par\vspace{1.75cm}%
{\thesis@titlePage@large\vskip 1em% {\bf\thesis@titlePage@Huge\thesis@TeXtitle}%
{\bf\thesis@@{fieldTitle}:} \thesis@field@name}% \par\vspace{1.75cm}%
\fi\vskip 2em} {\sf\thesis@titlePage@Large\thesis@@{typeName}}
\let\thesis@blocks@titlePage@content=\thesis@blocks@cover@content \par\vfill
\let\thesis@blocks@titlePage@footer=\thesis@blocks@cover@footer {\sf\thesis@titlePage@LARGE\thesis@upper{author}}%
\par\vfill\vfill
{\sf\thesis@titlePage@large\thesis@@{advisorTitle}: \thesis@advisor}%
\par\vspace{0.75cm}%
\ifthesis@blocks@titlePage@department@
{\sf\thesis@titlePage@large\thesis@department@name}
\par\vspace{0.25cm}%
\fi
\ifthesis@blocks@titlePage@programme@
{\sf\thesis@titlePage@large\thesis@@{programmeTitle}: \thesis@programme}%
\fi
\ifthesis@blocks@titlePage@field@
{\sf\thesis@titlePage@large\thesis@@{fieldTitle}: \thesis@field@name}%
\fi
\par\vfill
{\sf\thesis@titlePage@large\thesis@place, \thesis@@{semester}%
% \end{macrocode}
% If this is a rigorous thesis or a PhD thesis proposal, create
% space for the advisor's signature.
% \changes{v1.0.0}{2021/02/26}{^^A
% The \cs{thesis@blocks@advisorSignature} macro is now defined
% for styles of all faculties at the Masaryk University in Brno,
% not just for the Faculty of Informatics, and is automatically
% used in the \cs{thesis@blocks@titlePage} macro for rigorous
% theses and PhD thesis proposals. [VN]}
% \begin{macrocode}
\ifx\thesis@type\thesis@rigorous
\thesis@blocks@advisorSignature
\else\ifx\thesis@type\thesis@proposal
\thesis@blocks@advisorSignature
\fi\fi}%
\end{center}%
\end{alwayssingle}}
% \end{macrocode} % \end{macrocode}
% \end{macro}\begin{macro}{\thesis@blocks@toc} % \end{macro}\begin{macro}{\thesis@blocks@toc}
% The |\thesis@blocks@toc| macro typesets the table of contents. % The |\thesis@blocks@toc| macro typesets the table of contents.
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
% zaverecnych_pracich_2017.docx}}. % zaverecnych_pracich_2017.docx}}.
% \begin{macrocode} % \begin{macrocode}
\NeedsTeXFormat{LaTeX2e} \NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{fithesis/style/mu/fithesis-mu-econ}[2021/02/21] \ProvidesPackage{fithesis/style/mu/fithesis-mu-econ}[2021/02/26]
% \end{macrocode} % \end{macrocode}
% The file defines the color scheme of the respective faculty. Note % The file defines the color scheme of the respective faculty. Note
% the the color definitions are in RGB, which makes the resulting % the the color definitions are in RGB, which makes the resulting
...@@ -88,43 +88,14 @@ ...@@ -88,43 +88,14 @@
\fi} \fi}
% \end{macrocode} % \end{macrocode}
% \end{macro} % \end{macro}
% The style file configures the title page header to include the
% name of the field of study and redefines the title page content
% 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}
\thesis@blocks@titlePage@field@true
\def\thesis@blocks@titlePage@content{%
{\thesis@titlePage@Huge\bf\thesis@TeXtitle}
\ifthesis@english\else
{\\[0.1in]\thesis@titlePage@Large\bf\thesis@TeXtitleEn}
\fi {\\[0.3in]\thesis@titlePage@large\sc\thesis@@{typeName}\\}}
\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\@left\relax\newlength{\@left}\pgfmathsetlength{\@left}{%
max(\@A,\@B)}
\let\@right\relax\newlength{\@right}\pgfmathsetlength{\@right}{%
max(\@C,\@D)}
% \end{macrocode}
% \changes{v0.3.49}{2018/02/11}{Removed an extraneous \cs{vskip} in % \changes{v0.3.49}{2018/02/11}{Removed an extraneous \cs{vskip} in
% the style files for the Masaryk University in Brno. [VN]} % the style files for the Masaryk University in Brno. [VN]}
% \begin{macrocode} % \changes{v1.0.0}{2021/02/26}{^^A
% Typeset the thesis author and advisor boxes % The style files for the Faculty of Economics and Administration
\begin{minipage}[t]{\@left} % at the Masaryk University in Brno
{\bf\thesis@@{advisorTitle}:}\\\thesis@advisor % no longer redefine the \cs{thesis@blocks@titlePage@footer}
\end{minipage}\hfill\begin{minipage}[t]{\@right} % and \cs{thesis@blocks@titlePage@content} macros, which are no
{\bf\thesis@@{authorTitle}:}\\\thesis@author % longer defined. [VN]}
\end{minipage}}\\[4em]\thesis@place, \thesis@year}}
% \end{macrocode}
% \begin{macro}{\thesis@blocks@frontMatter} % \begin{macro}{\thesis@blocks@frontMatter}
% The |\thesis@blocks@frontMatter| macro sets up the style % The |\thesis@blocks@frontMatter| macro sets up the style
% of the front matter of the thesis. The page numbering is arabic % of the front matter of the thesis. The page numbering is arabic
...@@ -277,7 +248,7 @@ ...@@ -277,7 +248,7 @@
\fi} \fi}
% \end{macrocode} % \end{macrocode}
% \end{macro} % \end{macro}
%
% Note that there is no direct support for the seminar paper and % Note that there is no direct support for the seminar paper and
% thesis proposal types. If you would like to change the contents % thesis proposal types. If you would like to change the contents
% of the preamble and the postamble, you should modify the % of the preamble and the postamble, you should modify the
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
% \url{http://www.fi.muni.cz/docs/BP_DP_na_FI.pdf}.}. % \url{http://www.fi.muni.cz/docs/BP_DP_na_FI.pdf}.}.
% \begin{macrocode} % \begin{macrocode}
\NeedsTeXFormat{LaTeX2e} \NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{fithesis/style/mu/fithesis-mu-fi}[2021/02/21] \ProvidesPackage{fithesis/style/mu/fithesis-mu-fi}[2021/02/26]
% \end{macrocode} % \end{macrocode}
% The file defines the color scheme of the respective faculty. Note % The file defines the color scheme of the respective faculty. Note
% the the color definitions are in RGB, which makes the resulting % the the color definitions are in RGB, which makes the resulting
...@@ -40,51 +40,15 @@ ...@@ -40,51 +40,15 @@
\thesis@blocks@assignment@false \thesis@blocks@assignment@false
\fi\fi \fi\fi
% \end{macrocode} % \end{macrocode}
% \begin{macro}{\thesis@blocks@titlePage} % \changes{v1.0.0}{2021/02/26}{^^A
% The style file redefines the cover and title page footers to % The \cs{thesis@blocks@advisorSignature} macro is now defined
% include the thesis advisor's name and signature in case of a % for styles of all faculties at the Masaryk University in Brno,
% rigorous thesis. Along with the macros required by the % not just for the Faculty of Informatics, and is automatically
% locale file interface, the locale files need to define the % used in the \cs{thesis@blocks@titlePage} macro for rigorous
% following strings: % theses and PhD thesis proposals. [VN]}
% \begin{itemize} % \changes{v1.0.0}{2021/02/26}{Lifted the \texttt{advisorSignature}
% \item\texttt{advisorSignature} -- The label of the advisor % string to the global locale file interface. [VN]}
% signature field typeset in the case of rigorous theses % \begin{macro}{\thesis@blocks@declaration}
% \end{itemize}
% \begin{macrocode}
\def\thesis@blocks@advisor{%
{\thesis@titlePage@large\\[0.3in]
{\bf\thesis@@{advisorTitle}:} \thesis@advisor}}
\def\thesis@blocks@titlePage@content{%
{\thesis@titlePage@Huge\bf\thesis@TeXtitle\par\vfil}\vskip 0.8in
{\thesis@titlePage@large\sc\thesis@@{typeName}\\[0.3in]}
{\thesis@titlePage@Large\bf\thesis@author}
% If this is a rigorous thesis or a PhD thesis proposal,
% typeset the name of the thesis advisor.
\ifx\thesis@type\thesis@rigorous
\thesis@blocks@advisor
\else\ifx\thesis@type\thesis@proposal
\thesis@blocks@advisor
\fi\fi}%
\def\thesis@blocks@advisorSignature{%
\let\@A\relax\newlength{\@A}
\settowidth{\@A}{\thesis@@{advisorSignature}}
\setlength{\@A}{\@A+1cm}
\hfill\raisebox{-0.5em}{\parbox{\@A}{
\centering
\rule{\@A}{1pt}\\
\thesis@@{advisorSignature}
}}}%
\def\thesis@blocks@titlePage@footer{%
{\thesis@titlePage@large\thesis@place, \thesis@@{semester}
% If this is a rigorous thesis or a PhD thesis proposal,
% create space for the advisor's signature.
\ifx\thesis@type\thesis@rigorous
\thesis@blocks@advisorSignature
\else\ifx\thesis@type\thesis@proposal
\thesis@blocks@advisorSignature
\fi\fi}}
% \end{macrocode}
% \end{macro}\begin{macro}{\thesis@blocks@declaration}
% The |\thesis@blocks@declaration| macro typesets the % The |\thesis@blocks@declaration| macro typesets the
% declaration text. Compared to the definition within the % declaration text. Compared to the definition within the
% \texttt{style/mu/base.sty} file, this macro also % \texttt{style/mu/base.sty} file, this macro also
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
% 5-2013.pdf}}. % 5-2013.pdf}}.
% \begin{macrocode} % \begin{macrocode}
\NeedsTeXFormat{LaTeX2e} \NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{fithesis/style/mu/fithesis-mu-fsps}[2021/02/21] \ProvidesPackage{fithesis/style/mu/fithesis-mu-fsps}[2021/02/26]
% \end{macrocode} % \end{macrocode}
% The file defines the color scheme of the respective faculty. Note % The file defines the color scheme of the respective faculty. Note
% the the color definitions are in RGB, which makes the resulting % the the color definitions are in RGB, which makes the resulting
...@@ -48,38 +48,13 @@ ...@@ -48,38 +48,13 @@
% \begin{macrocode} % \begin{macrocode}
\setlength{\parindent}{1.25cm} \setlength{\parindent}{1.25cm}
% \end{macrocode} % \end{macrocode}
% The style file redefines the title page content
% 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}
\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)}
% \end{macrocode}
% \changes{v0.3.49}{2018/02/11}{Removed an extraneous \cs{vskip} in % \changes{v0.3.49}{2018/02/11}{Removed an extraneous \cs{vskip} in
% the style files for the Masaryk University in Brno. [VN]} % the style files for the Masaryk University in Brno. [VN]}
% \begin{macrocode} % \changes{v1.0.0}{2021/02/26}{^^A
% Typeset the thesis author and advisor boxes % The style files for the Faculty of Sports Studies
\begin{minipage}[t]{\@left} % at the Masaryk University in Brno no longer
{\bf\thesis@@{advisorTitle}:}\\\thesis@advisor % redefine the \cs{thesis@blocks@titlePage@footer} macro, which
\end{minipage}\hfill\begin{minipage}[t]{\@right} % is no longer defined. [VN]}
{\bf\thesis@@{authorTitle}:}\\\thesis@author\\\thesis@field
\end{minipage}}\\[4em]\thesis@place, \thesis@year}}
% \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
% front matter of the thesis. The leading is adjusted in % front matter of the thesis. The leading is adjusted in
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
% ZITOSTI_ZAVERECNE_PRACE.doc}}. % ZITOSTI_ZAVERECNE_PRACE.doc}}.
% \begin{macrocode} % \begin{macrocode}
\NeedsTeXFormat{LaTeX2e} \NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{fithesis/style/mu/fithesis-mu-med}[2021/02/21] \ProvidesPackage{fithesis/style/mu/fithesis-mu-med}[2021/02/26]
% \end{macrocode} % \end{macrocode}
% The file defines the color scheme of the respective faculty. Note % The file defines the color scheme of the respective faculty. Note
% the the color definitions are in RGB, which makes the resulting % the the color definitions are in RGB, which makes the resulting
...@@ -73,43 +73,14 @@ ...@@ -73,43 +73,14 @@
\fi} \fi}
% \end{macrocode} % \end{macrocode}
% \end{macro} % \end{macro}
% The style file redefines the title page content
% not to include the author's name and the title page footer
% to include both the author's and advisor's name, the field of
% study and the semester and place of the thesis defense in
% accordance with the requirements of the department.
% \begin{macrocode}
\def\thesis@blocks@titlePage@content{%
{\thesis@titlePage@Huge\bf\thesis@TeXtitle\\[0.3in]}%
{\thesis@titlePage@large{\sc\thesis@@{typeName}}\\}}
\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}{{%
\bf\thesis@@{fieldTitle}:}}
\let\@F\relax\newlength{\@F}\settowidth{\@F}{\thesis@field@name}
\let\@left\relax\newlength{\@left}\pgfmathsetlength{\@left}{%
max(\@A,\@B)}
\let\@right\relax\newlength{\@right}\pgfmathsetlength{\@right}{%
max(\@C,\@D,\@E,\@F)}
% \end{macrocode}
% \changes{v0.3.49}{2018/02/11}{Removed an extraneous \cs{vskip} in % \changes{v0.3.49}{2018/02/11}{Removed an extraneous \cs{vskip} in
% the style files for the Masaryk University in Brno. [VN]} % the style files for the Masaryk University in Brno. [VN]}
% \begin{macrocode} % \changes{v1.0.0}{2021/02/26}{^^A
% Typeset the thesis author and advisor boxes % The style files for the Faculty of Medicine
\begin{minipage}[t]{\@left} % at the Masaryk University in Brno
{\bf\thesis@@{advisorTitle}:}\\\thesis@advisor % no longer redefine the \cs{thesis@blocks@titlePage@footer}
\end{minipage}\hfill\begin{minipage}[t]{\@right} % and \cs{thesis@blocks@titlePage@content} macros, which are no
{\bf\thesis@@{authorTitle}:}\\\thesis@author % longer defined. [VN]}
\\[1em]{\bf\thesis@@{fieldTitle}:}\\\thesis@field@name
\end{minipage}}\\[4em]\thesis@place, \thesis@@{semester}}}
% \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
% front matter of the thesis. The page numbering is arabic in % front matter of the thesis. The page numbering is arabic in
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
% \url{http://moodlinka.ics.muni.cz/course/view.php?id=632}}. % \url{http://moodlinka.ics.muni.cz/course/view.php?id=632}}.
% \begin{macrocode} % \begin{macrocode}
\NeedsTeXFormat{LaTeX2e} \NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{fithesis/style/mu/fithesis-mu-ped}[2021/02/21] \ProvidesPackage{fithesis/style/mu/fithesis-mu-ped}[2021/02/26]
% \end{macrocode} % \end{macrocode}
% The file defines the color scheme of the respective faculty. Note % The file defines the color scheme of the respective faculty. Note
% the the color definitions are in RGB, which makes the resulting % the the color definitions are in RGB, which makes the resulting
...@@ -29,19 +29,14 @@ ...@@ -29,19 +29,14 @@
sorting=nty} sorting=nty}
\thesis@bibliography@load \thesis@bibliography@load
% \end{macrocode} % \end{macrocode}
% The style file configures the title page header to include the % \changes{v1.0.0}{2021/02/26}{^^A
% department name and the title page content to include the % The \cs{ifthesis@blocks@titlePage@department@} conditional
% advisor's name. % now defaults to \texttt{true}. [VN]}
% \begin{macrocode} % \changes{v1.0.0}{2021/02/26}{^^A
\thesis@blocks@titlePage@department@true % The style files for the Faculty of Education
\def\thesis@blocks@titlePage@content{% % at the Masaryk University in Brno no longer
{\thesis@titlePage@Huge\bf\thesis@TeXtitle\par\vfil}\vskip 0.8in % redefine the \cs{thesis@blocks@titlePage@content} macro, which
{\thesis@titlePage@large\sc\thesis@@{typeName}\\[0.3in]} % is no longer defined. [VN]}
{\thesis@titlePage@Large\bf\thesis@author}
% Typeset the name of the thesis advisor.
{\thesis@titlePage@large\\[0.3in]
{\bf\thesis@@{advisorTitle}:} \thesis@advisor}}
% \end{macrocode}
% Note that there is no direct support for the seminar paper and % Note that there is no direct support for the seminar paper and
% thesis proposal types. If you would like to change the contents % thesis proposal types. If you would like to change the contents
% of the preamble and the postamble, you should modify the % of the preamble and the postamble, you should modify the
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
% racoviste/SO/vzory_praci/Vzor_bakalarske_prace.pdf}}. % racoviste/SO/vzory_praci/Vzor_bakalarske_prace.pdf}}.
% \begin{macrocode} % \begin{macrocode}
\NeedsTeXFormat{LaTeX2e} \NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{fithesis/style/mu/fithesis-mu-phil}[2021/02/21] \ProvidesPackage{fithesis/style/mu/fithesis-mu-phil}[2021/02/26]
% \end{macrocode} % \end{macrocode}
% The file defines the color scheme of the respective faculty. Note % The file defines the color scheme of the respective faculty. Note
% the the color definitions are in RGB, which makes the resulting % the the color definitions are in RGB, which makes the resulting
...@@ -28,12 +28,12 @@ ...@@ -28,12 +28,12 @@
sorting=nty} sorting=nty}
\thesis@bibliography@load \thesis@bibliography@load
% \end{macrocode} % \end{macrocode}
% The style file configures the title page header to include the % \changes{v1.0.0}{2021/02/26}{^^A
% department and the field name. % The \cs{ifthesis@blocks@titlePage@department@} conditional
% \begin{macrocode} % now defaults to \texttt{true}. [VN]}
\thesis@blocks@titlePage@department@true % \changes{v1.0.0}{2021/02/26}{^^A
\thesis@blocks@titlePage@field@true % The \cs{ifthesis@blocks@titlePage@field@} conditional
% \end{macrocode} % now defaults to \texttt{true}. [VN]}
% The style file parses the value of the |\thesis@department| macro % The style file parses the value of the |\thesis@department| macro
% and recognizes the following divisions of the Faculty of Arts: % and recognizes the following divisions of the Faculty of Arts:
% \begin{itemize} % \begin{itemize}
......
This diff is collapsed.
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