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

Do not redefine thesis@titlePage in econ.dtx

parent 08dfe5c8
No related branches found
No related tags found
No related merge requests found
...@@ -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
...@@ -307,6 +278,7 @@ ...@@ -307,6 +278,7 @@
\thesis@blocks@clear \thesis@blocks@clear
{\let\@A\relax\newlength{\@A} {\let\@A\relax\newlength{\@A}
\settowidth{\@A}{{\bf\thesis@@{bib@author}}} \settowidth{\@A}{{\bf\thesis@@{bib@author}}}
\let\@B\relax\newlength{\@B}
\@B=\@A \@B=\@A
\settowidth{\@A}{{\bf\thesis@@{bib@thesisTitle}}} \settowidth{\@A}{{\bf\thesis@@{bib@thesisTitle}}}
\ifdim\@A>\@B\@B=\@A\fi \ifdim\@A>\@B\@B=\@A\fi
......
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