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

Do not redefine thesis@titlePage in med.dtx

parent 638a6a1c
No related branches found
No related tags found
No related merge requests found
...@@ -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
......
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