summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/fithesis/style/mu
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/fithesis/style/mu')
-rw-r--r--Master/texmf-dist/source/latex/fithesis/style/mu/base.dtx49
-rw-r--r--Master/texmf-dist/source/latex/fithesis/style/mu/econ.dtx153
-rw-r--r--Master/texmf-dist/source/latex/fithesis/style/mu/fsps.dtx2
-rw-r--r--Master/texmf-dist/source/latex/fithesis/style/mu/law.dtx2
-rw-r--r--Master/texmf-dist/source/latex/fithesis/style/mu/med.dtx2
-rw-r--r--Master/texmf-dist/source/latex/fithesis/style/mu/sci.dtx596
6 files changed, 601 insertions, 203 deletions
diff --git a/Master/texmf-dist/source/latex/fithesis/style/mu/base.dtx b/Master/texmf-dist/source/latex/fithesis/style/mu/base.dtx
index d2c4927a7a6..d0161dfb98f 100644
--- a/Master/texmf-dist/source/latex/fithesis/style/mu/base.dtx
+++ b/Master/texmf-dist/source/latex/fithesis/style/mu/base.dtx
@@ -7,7 +7,7 @@
% after \texttt{style/fithesis-base.sty}, regardless of the value
% of the |\thesis@style| macro.
% \begin{macrocode}
-\ProvidesPackage{fithesis/style/mu/fithesis-base}[2016/06/06]
+\ProvidesPackage{fithesis/style/mu/fithesis-base}[2017/06/02]
\NeedsTeXFormat{LaTeX2e}
% \end{macrocode}
% The file recognizes the following options: \begin{itemize}
@@ -531,12 +531,19 @@
% The |\thesis@blocks@clear| macro clears the current page.
% It also clears the next left-hand (even-numbered) page, when
% double-sided typesetting is enabled.
+% \changes{v0.3.45}{2017/05/24}{\cs{thesis@blocks@clear} now only
+% sets the pagestyle to |empty|, when there is a left-hand
+% (even-numbered) page to clear. [VN]}
+% \begin{macrocode}
% \begin{macrocode}
\def\thesis@blocks@clear{%
\ifthesis@twoside@
\clearpage
- \thispagestyle{empty}%
- \cleardoublepage
+ \ifodd\value{page}\else%
+ \thispagestyle{empty}%
+ \hbox{}%
+ \newpage
+ \fi
\else
\newpage
\fi}
@@ -842,8 +849,9 @@
% \begin{macrocode}
\def\thesis@blocks@abstract{%
\begin{alwayssingle}%
- % Start the new chapter without clearing the right page
- {\def\cleardoublepage{}
+ % Start the new chapter without clearing the left page.
+ \clearpage
+ {\let\thesis@blocks@clear\relax
\chapter*{\thesis@@{abstractTitle}}}%
\noindent\thesis@abstract
\par\vfil\null
@@ -853,15 +861,19 @@
% The |\thesis@blocks@abstractEn| macro typesets the
% abstract in English. If the current locale is English, the
% macro produces no output.
+% \changes{v0.3.46}{2017/06/02}{Simplified the definition of
+% \cs{thesis@blocks@abstractEn} in
+% \texttt{style/mu/fithesis-base.sty}. [VN]}
% \begin{macrocode}
\def\thesis@blocks@abstractEn{%
\ifthesis@english\else
{\thesis@selectLocale{english}%
\begin{alwayssingle}%
- % Start the new chapter without clearing the right page
- {\def\cleardoublepage{}%
- \chapter*{\thesis@english@abstractTitle}%
- \thesis@abstractEn}%
+ % Start the new chapter without clearing the left page.
+ \clearpage
+ {\let\thesis@blocks@clear\relax
+ \chapter*{\thesis@english@abstractTitle}}%
+ \noindent\thesis@abstractEn
\par\vfil\null
\end{alwayssingle}}%
\fi}
@@ -872,8 +884,9 @@
% \begin{macrocode}
\def\thesis@blocks@keywords{%
\begin{alwayssingle}%
- % Start the new chapter without clearing the right page
- {\def\cleardoublepage{}%
+ % Start the new chapter without clearing the left page.
+ \clearpage
+ {\let\thesis@blocks@clear\relax
\chapter*{\thesis@@{keywordsTitle}}%
\noindent\thesis@TeXkeywords}%
\par\vfil\null
@@ -883,15 +896,19 @@
% The |\thesis@blocks@keywordsEn| macro typesets the
% keywords in English. If the current locale is English, the
% macro produces no output.
+% \changes{v0.3.46}{2017/06/02}{Simplified the definition of
+% \cs{thesis@blocks@keywordsEn} in
+% \texttt{style/mu/fithesis-base.sty}. [VN]}
% \begin{macrocode}
\def\thesis@blocks@keywordsEn{%
\ifthesis@english\else
{\thesis@selectLocale{english}%
\begin{alwayssingle}%
- % Start the new chapter without clearing the right page
- {\def\cleardoublepage{}%
- \chapter*{\thesis@english@keywordsTitle}%
- \thesis@TeXkeywordsEn}%
+ % Start the new chapter without clearing the left page.
+ \clearpage
+ {\let\thesis@blocks@clear\relax%
+ \chapter*{\thesis@english@keywordsTitle}}%
+ \noindent\thesis@TeXkeywordsEn
\par\vfil\null
\end{alwayssingle}}%
\fi}
@@ -1119,7 +1136,7 @@
\bfseries % \chapter (0)
\or
\slshape % \section (1)
- \else
+ \else
\rmfamily % \subsection (2), \subsubsection (3)
% \paragraph, \subparagraph (4)
\fi}
diff --git a/Master/texmf-dist/source/latex/fithesis/style/mu/econ.dtx b/Master/texmf-dist/source/latex/fithesis/style/mu/econ.dtx
index 2464e35d51b..64c45ed5490 100644
--- a/Master/texmf-dist/source/latex/fithesis/style/mu/econ.dtx
+++ b/Master/texmf-dist/source/latex/fithesis/style/mu/econ.dtx
@@ -2,12 +2,15 @@
% This is the style file for the theses written at the Faculty of
% Economics and Administration at the Masaryk University in Brno.
% It has been prepared in accordance with the formal requirements
+% \changes{v0.3.46}{2017/06/02}{The documentation now points to the
+% 2/2017 dean's directive for the Faculty of Economics and
+% Administration, Masaryk University, Brno. [VN]}
% published at the website of the faculty\footnote{See \url{ht^^A
-% tp://is.muni.cz/auth/do/econ/predpisy/smernice/prehled/45931^^A
-% 363/Smernice2014-9.pdf}}.
+% tps://is.muni.cz/auth/do/econ/predpisy/smernice/prehled/6715^^A
+% 9928/SmerniceDekana2017-c.2-o_zaverecnych_pracich_2017.pdf}}.
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{fithesis/style/mu/fithesis-econ}[2016/04/18]
+\ProvidesPackage{fithesis/style/mu/fithesis-econ}[2017/05/21]
% \end{macrocode}
% The file defines the color scheme of the respective faculty. Note
% the the color definitions are in RGB, which makes the resulting
@@ -32,6 +35,8 @@
% \item\textsf{tikz} -- Used for dimension arithmetic.
% \item\textsf{geometry} -- Allows for modifications of the type
% area dimensions.
+% \item\textsf{array} -- Enables |<{decl.}| and |>{decl.}|
+% declarations in table preambles.
% \end{itemize}
% In addition to this, the type area width is set to
% 16\,cm in accordance with the formal requirements of the faculty.
@@ -40,6 +45,7 @@
% \begin{macrocode}
\thesis@require{tikz}
\thesis@require{geometry}
+\thesis@require{array}
\geometry{top=25mm,bottom=20mm,left=25mm,right=25mm,includeheadfoot}
% \end{macrocode}
% \begin{macro}{\thesis@blocks@cover}
@@ -159,6 +165,137 @@
\listoffigures}
\fi
% \end{macrocode}
+% \begin{macro}{\thesis@blocks@declaration}
+% The |\thesis@blocks@declaration| macro typesets the declaration
+% text. Unlike the generic |\thesis@blocks@declaration| macro from
+% the \texttt{style/mu/fithesis-sci.sty} file, this definition
+% includes the date and a blank line for the author's signature, as
+% per the requirements of the faculty.
+% \changes{v0.3.46}{2017/06/02}{Redefined
+% \cs{thesis@blocks@declaration} in
+% \texttt{style/mu/fithesis-econ.sty} in accordance with the
+% example documents. The patch was submitted by Jana Ratajská.
+% [VN]}
+% \begin{macrocode}
+\def\thesis@blocks@declaration{%
+ \begin{alwayssingle}%
+ \thesis@blocks@clear
+ \leavevmode\vfill
+ % Start the new chapter without clearing any page.
+ {\let\thesis@blocks@clear\relax
+ \chapter*{\thesis@@{declarationTitle}}}%
+ \thesis@declaration
+ \vskip 2cm%
+ {\let\@A\relax\newlength{\@A}
+ \settowidth{\@A}{\thesis@@{authorSignature}}
+ \setlength{\@A}{\@A+1cm}
+ \noindent\thesis@place, \thesis@@{formattedDate}\hfill
+ \begin{minipage}[t]{\@A}%
+ \centering\rule{\@A}{1pt}\\
+ \thesis@@{authorSignature}\par
+ \end{minipage}}
+ \end{alwayssingle}}
+% \end{macrocode}
+% \end{macro}\begin{macro}{\thesis@blocks@abstract}
+% \changes{v0.3.46}{2017/06/02}{Redefined
+% \cs{thesis@blocks@abstract}, \cs{thesis@blocks@abstractEn},
+% \cs{thesis@blocks@keywords}, and \cs{thesis@blocks@keywordsEn}
+% in \texttt{style/mu/fithesis-econ.sty} in accordance with the
+% example documents. The patch was submitted by Jana Ratajská.
+% [VN]}
+% The |\thesis@blocks@abstract| macro typesets the
+% abstract. This definition typesets the abstract on the same page.
+% \begin{macrocode}
+\def\thesis@blocks@abstract{%
+ \begin{alwayssingle}%
+ \vskip 40\p@
+ {\let\thesis@blocks@clear\relax
+ \chapter*{\thesis@@{abstractTitle}}}%
+ \noindent\thesis@abstract
+ \end{alwayssingle}}
+% \end{macrocode}
+% \end{macro}\begin{macro}{\thesis@blocks@abstractEn}
+% The |\thesis@blocks@abstractEn| macro typesets the abstract in
+% English. If the current locale is English, the macro produces no
+% output. This macro typesets the abstract on the same page.
+% \begin{macrocode}
+\def\thesis@blocks@abstractEn{%
+ \ifthesis@english\else
+ {\thesis@selectLocale{english}%
+ \begin{alwayssingle}%
+ \vskip 20\p@
+ {\let\thesis@blocks@clear\relax
+ \chapter*{\thesis@english@abstractTitle}}%
+ \noindent\thesis@abstractEn
+ \end{alwayssingle}}%
+ \fi}
+% \end{macrocode}
+% \end{macro}\begin{macro}{\thesis@blocks@keywords}
+% The |\thesis@blocks@keywords| macro typesets the keywords. This
+% definition typesets the keywords on the same page.
+% \begin{macrocode}
+\def\thesis@blocks@keywords{%
+ \begin{alwayssingle}%
+ \vskip 40\p@
+ {\let\thesis@blocks@clear\relax
+ \chapter*{\thesis@@{keywordsTitle}}%
+ \noindent\thesis@TeXkeywords}%
+ \end{alwayssingle}}
+% \end{macrocode}
+% \end{macro}\begin{macro}{\thesis@blocks@keywordsEn}
+% The |\thesis@blocks@keywordsEn| macro typesets the keywords in
+% English. If the current locale is English, the macro produces no
+% output.
+% \begin{macrocode}
+\def\thesis@blocks@keywordsEn{%
+ \ifthesis@english\else
+ {\thesis@selectLocale{english}%
+ \begin{alwayssingle}%
+ \vskip 20\p@
+ {\let\thesis@blocks@clear\relax%
+ \chapter*{\thesis@english@keywordsTitle}}%
+ \noindent\thesis@TeXkeywordsEn
+ \end{alwayssingle}}%
+ \fi}
+% \end{macrocode}
+% \end{macro}\begin{macro}{\thesis@blocks@bibEntry}
+% The |\thesis@blocks@bibEntry| macro typesets a bibliographical
+% entry. Along with the macros required by the locale file
+% interface, the locale files need to define the following macros:
+% \begin{itemize}
+% \item|\thesis@|\textit{locale}|@bib@author| -- The label of the
+% author name entry
+% \item|\thesis@|\textit{locale}|@bib@title| -- The label of the
+% title name entry
+% \item|\thesis@|\textit{locale}|@bib@titleEn| -- The label of the
+% English title name entry (\cs{thesis@english@bib@titleEn}
+% does not need to be defined)
+% \item|\thesis@|\textit{locale}|@bib@department| -- The label of
+% the department name entry
+% \item|\thesis@|\textit{locale}|@bib@advisor| -- The label of
+% the advisor name entry
+% \item|\thesis@|\textit{locale}|@bib@year| -- The label of the
+% year entry
+% \end{itemize}
+% \changes{v0.3.46}{2017/06/02}{Defined \cs{thesis@blocks@bibEntry}
+% in \texttt{style/mu/fithesis-econ.sty} in accordance with the
+% example documents. The patch was submitted by Jana Ratajská.
+% [VN]}
+% \begin{macrocode}
+\def\thesis@blocks@bibEntry{%
+ \thesis@blocks@clear
+ \noindent\begin{thesis@newtable@old}{@{}>{\bfseries}ll@{}}
+ \thesis@@{bib@author}: & \thesis@author \\
+ \thesis@@{bib@thesisTitle}: & \thesis@title \\
+ \ifthesis@english\else
+ \thesis@@{bib@thesisTitleEn}: & \thesis@titleEn \\
+ \fi
+ \thesis@@{bib@department}: & \thesis@department \\
+ \thesis@@{bib@advisor}: & \thesis@advisor \\
+ \thesis@@{bib@year}: & \thesis@year \\
+ \end{thesis@newtable@old}}
+% \end{macrocode}
+% \end{macro}
% Note that there is no direct support for the seminar paper and
% thesis proposal types. If you would like to change the contents
% of the preamble and the postamble, you should modify the
@@ -174,11 +311,11 @@
\thesis@blocks@frontMatter
\thesis@blocks@titlePage
\thesis@blocks@assignment
- \thesis@blocks@clearRight
- \thesis@blocks@abstract
- \thesis@blocks@abstractEn
- \thesis@blocks@keywords
- \thesis@blocks@keywordsEn
+ \thesis@blocks@bibEntry
+ \thesis@blocks@abstract
+ \thesis@blocks@abstractEn
+ \thesis@blocks@keywords
+ \thesis@blocks@keywordsEn
\thesis@blocks@declaration
\thesis@blocks@thanks
\thesis@blocks@toc}
diff --git a/Master/texmf-dist/source/latex/fithesis/style/mu/fsps.dtx b/Master/texmf-dist/source/latex/fithesis/style/mu/fsps.dtx
index 2c116f72556..07b8f3d8138 100644
--- a/Master/texmf-dist/source/latex/fithesis/style/mu/fsps.dtx
+++ b/Master/texmf-dist/source/latex/fithesis/style/mu/fsps.dtx
@@ -6,7 +6,7 @@
% auth/do/fsps/studijni/info-stud/SZZ/pokyny_ZP_13-5-2013.pdf}}.
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{fithesis/style/mu/fithesis-fsps}[2017/05/15]
+\ProvidesPackage{fithesis/style/mu/fithesis-fsps}[2017/05/21]
% \end{macrocode}
% The file defines the color scheme of the respective faculty. Note
% the the color definitions are in RGB, which makes the resulting
diff --git a/Master/texmf-dist/source/latex/fithesis/style/mu/law.dtx b/Master/texmf-dist/source/latex/fithesis/style/mu/law.dtx
index f33a162ed51..9c7cb865f82 100644
--- a/Master/texmf-dist/source/latex/fithesis/style/mu/law.dtx
+++ b/Master/texmf-dist/source/latex/fithesis/style/mu/law.dtx
@@ -6,7 +6,7 @@
% o/law/ud/predp/smer/S-07-2012.pdf}}.
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{fithesis/style/mu/fithesis-law}[2016/04/18]
+\ProvidesPackage{fithesis/style/mu/fithesis-law}[2017/05/21]
% \end{macrocode}
% The file defines the color scheme of the respective faculty. Note
% the the color definitions are in RGB, which makes the resulting
diff --git a/Master/texmf-dist/source/latex/fithesis/style/mu/med.dtx b/Master/texmf-dist/source/latex/fithesis/style/mu/med.dtx
index e4a795dcf07..fb7d837e90a 100644
--- a/Master/texmf-dist/source/latex/fithesis/style/mu/med.dtx
+++ b/Master/texmf-dist/source/latex/fithesis/style/mu/med.dtx
@@ -7,7 +7,7 @@
% ZITOSTI_ZAVERECNE_PRACE.doc}}.
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{fithesis/style/mu/fithesis-med}[2016/04/18]
+\ProvidesPackage{fithesis/style/mu/fithesis-med}[2017/05/21]
% \end{macrocode}
% The file defines the color scheme of the respective faculty. Note
% the the color definitions are in RGB, which makes the resulting
diff --git a/Master/texmf-dist/source/latex/fithesis/style/mu/sci.dtx b/Master/texmf-dist/source/latex/fithesis/style/mu/sci.dtx
index 1b79501dee8..365e52bf239 100644
--- a/Master/texmf-dist/source/latex/fithesis/style/mu/sci.dtx
+++ b/Master/texmf-dist/source/latex/fithesis/style/mu/sci.dtx
@@ -6,7 +6,7 @@
% \url{http://www.sci.muni.cz/NW/predpisy/od/OD-2014-05.pdf}}.
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{fithesis/style/mu/fithesis-sci}[2016/06/06]
+\ProvidesPackage{fithesis/style/mu/fithesis-sci}[2017/06/02]
% \end{macrocode}
% The file defines the color scheme of the respective faculty. Note
% the the color definitions are in RGB, which makes the resulting
@@ -30,6 +30,53 @@
% \begin{macrocode}
\thesis@requireLocale{czech}
% \end{macrocode}
+% \begin{macro}{\ifthesis@czech}
+% The |\ifthesis@czech| \ldots |\else| \ldots |\fi| conditional is made
+% available for testing, whether or not the current locale is Czech.
+% \changes{v0.3.45}{2017/05/23}{Defined the
+% \cs{ifthesis@czech} macro in
+% \texttt{style/mu/fithesis-sci.sty}. The patch was submitted by
+% Juraj Pálenik. [VN]}
+% \begin{macrocode}
+\def\ifthesis@czech{
+ \expandafter\def\expandafter\@czech\expandafter{\string
+ \czech}%
+ \expandafter\expandafter\expandafter\def\expandafter
+ \expandafter\expandafter\@locale\expandafter\expandafter
+ \expandafter{\expandafter\string\csname\thesis@locale\endcsname}%
+ \expandafter\csname\expandafter i\expandafter f\ifx\@locale
+ \@czech
+ true%
+ \else
+ false%
+ \fi\endcsname}
+\ifthesis@czech
+ \expandafter\expandafter\expandafter\let\expandafter\expandafter
+ \csname ifthesis@czech\endcsname\csname iftrue\endcsname
+\else
+ \expandafter\expandafter\expandafter\let\expandafter\expandafter
+ \csname ifthesis@czech\endcsname\csname iffalse\endcsname
+\fi
+% \end{macrocode}
+% The file recognizes the following options: \begin{itemize}
+% \item\texttt{abstractonsinglepage} -- The abstracts are going
+% to be typeset on a single page as opposed to being spread
+% across several pages. This is the default for theses whose main
+% locale is neither Czech nor English.
+% \end{itemize}
+% \changes{v0.3.45}{2017/05/24}{Defined the
+% \texttt{abstractonsinglepage} option in
+% \texttt{style/mu/fithesis-sci.sty}. The patch was submitted by
+% Juraj Pálenik. [VN]}
+% \begin{macrocode}
+\newif\ifthesis@abstractonsinglepage@
+\DeclareOption{abstractonsinglepage}{\thesis@abstractonsinglepage@true}
+\ifthesis@czech\else\ifthesis@english\else
+ \ExecuteOptions{abstractonsinglepage}
+\fi\fi
+\ProcessOptions*
+% \end{macrocode}
+% \end{macro}
% The file loads the following packages:
% \begin{itemize}
% \item\textsf{tikz} -- Used for dimension arithmetic.
@@ -54,67 +101,67 @@
\thesis@blocks@assignment@hideIfDigital@false
% \end{macrocode}
% \begin{macro}{\thesis@blocks@bibEntry}
-% The |\thesis@blocks@bibEntry| macro typesets a
-% bibliographical entry. Along with the macros required by the
-% locale file interface, the locale files need to define the
-% following macros:
+% The |\thesis@blocks@bibEntry| macro typesets a bibliographical
+% entry. Along with the macros required by the locale file
+% interface, the locale files need to define the following macros:
% \begin{itemize}
-% \item\DescribeMacro{\thesis@czech@bib@title}
-% |\thesis@czech@bib@title| -- The title of the entire block
-% \item\DescribeMacro{\thesis@czech@bib@author}
-% |\thesis@czech@bib@author| -- The label of the author name
-% entry
-% \item\DescribeMacro{\thesis@czech@bib@title}
-% |\thesis@czech@bib@title| -- The label of the title name
-% entry
-% \item\DescribeMacro{\thesis@czech@bib@programme}
-% |\thesis@czech@bib@programme| -- The label of the programme
-% name entry
-% \item\DescribeMacro{\thesis@czech@bib@field}
-% |\thesis@czech@bib@field| -- The label of the field of study
-% name entry
-% \item\DescribeMacro{\thesis@czech@bib@advisor}
-% |\thesis@czech@bib@advisor| -- The label of the advisor name
-% entry
-% \item\DescribeMacro{\thesis@czech@bib@academicYear}
-% |\thesis@czech@bib@academicYear| -- The label of the academic
-% year entry
-% \item\DescribeMacro{\thesis@czech@bib@pages}
-% |\thesis@czech@bib@pages| -- The label of the number of pages
-% entry
-% \item\DescribeMacro{\thesis@czech@bib@keywords}
-% |\thesis@czech@bib@keywords| -- The label of the keywords
-% entry
+% \item|\thesis@|\textit{locale}|@bib@title| -- The title of the
+% entire block
+% \item|\thesis@|\textit{locale}|@bib@author| -- The label of the
+% author name entry
+% \item|\thesis@|\textit{locale}|@bib@title| -- The label of the
+% title name entry
+% \item|\thesis@|\textit{locale}|@bib@programme| -- The label of
+% the programme name entry
+% \item|\thesis@|\textit{locale}|@bib@field| -- The label of the
+% field of study name entry
+% \item|\thesis@|\textit{locale}|@bib@advisor| -- The label of
+% the advisor name entry
+% \item|\thesis@|\textit{locale}|@bib@academicYear| -- The label
+% of the academic year entry
+% \item|\thesis@|\textit{locale}|@bib@pages| -- The label of the
+% number of pages entry
+% \item|\thesis@|\textit{locale}|@bib@keywords| -- The label of
+% the keywords entry
% \end{itemize}
+% \changes{v0.3.45}{2017/05/26}{Bibliographical entries in
+% \texttt{style/mu/fithesis-sci.sty} now face each other when the
+% main locale is either Czech or English. [VN]}
% \begin{macrocode}
\def\thesis@blocks@bibEntry{%
\begin{alwayssingle}%
- {% Start the new chapter without clearing the right page
- {\def\cleardoublepage{}%
- \chapter*{\thesis@czech@bib@title}}%
- % Calculate the width of the columns
+ % Clear only the right page, if the main locale is Czech.
+ \ifthesis@czech
+ \begingroup
+ \let\thesis@blocks@clear\thesis@blocks@clearRight
+ \fi
+ \chapter*{\thesis@@{bib@title}}%
+ \ifthesis@czech
+ \endgroup
+ \fi
+ {% Calculate the width of the columns
\let\@A\relax\newlength{\@A}\settowidth{\@A}{{%
- \bf\thesis@czech@bib@author:}}
+ \bf\thesis@@{bib@author}:}}
\let\@B\relax\newlength{\@B}\settowidth{\@B}{{%
- \bf\thesis@czech@bib@thesisTitle:}}
+ \bf\thesis@@{bib@thesisTitle}:}}
\let\@C\relax\newlength{\@C}\settowidth{\@C}{{%
- \bf\thesis@czech@bib@programme:}}
+ \bf\thesis@@{bib@programme}:}}
\let\@D\relax\newlength{\@D}\settowidth{\@D}{{%
- \bf\thesis@czech@bib@field:}}
+ \bf\thesis@@{bib@field}:}}
% Unless this is a rigorous thesis, we will be typesetting the
% name of the thesis advisor.
\let\@E\relax\newlength{\@E}
\ifx\thesis@type\thesis@rigorous
\setlength{\@E}{0pt}%
\else
- \settowidth{\@E}{{\bf\thesis@czech@bib@advisor:}}
+ \settowidth{\@E}{{\bf\thesis@@{bib@advisor}:}}
\fi
\let\@F\relax\newlength{\@F}\settowidth{\@F}{{%
- \bf\thesis@czech@bib@academicYear:}}
+ \bf\thesis@@{bib@academicYear}:}}
\let\@G\relax\newlength{\@G}\settowidth{\@G}{{%
- \bf\thesis@czech@bib@pages:}}
+ \bf\thesis@@{bib@pages}:}}
\let\@H\relax\newlength{\@H}\settowidth{\@H}{{%
- \bf\thesis@czech@bib@keywords:}}
+ \bf\thesis@@{bib@keywords}:}}
\let\@skip\relax\newlength{\@skip}\setlength{\@skip}{16pt}
\let\@left\relax\newlength{\@left}\pgfmathsetlength{\@left}{%
max(\@A,\@B,\@C,\@D,\@E,\@F,\@G,\@H)}
@@ -124,134 +171,282 @@
\renewcommand{\arraystretch}{2}
\noindent\begin{thesis@newtable@old}%
{@{}p{\@left}@{\hskip\@skip}p{\@right}@{}}
- \textbf{\thesis@czech@bib@author:} &
+ \textbf{\thesis@@{bib@author}:} &
\noindent\parbox[t]{\@right}{
\thesis@author\\
- \thesis@czech@facultyName,
- \thesis@czech@universityName\\
+ \thesis@@{facultyName},
+ \thesis@@{universityName}\\
\thesis@department@name
}\\
- \textbf{\thesis@czech@bib@thesisTitle:}
+ \textbf{\thesis@@{bib@thesisTitle}:}
& \thesis@title \\
- \textbf{\thesis@czech@bib@programme:}
+ \textbf{\thesis@@{bib@programme}:}
& \thesis@programme \\
- \textbf{\thesis@czech@bib@field:}
+ \textbf{\thesis@@{bib@field}:}
& \thesis@field@name \\
% Unless this is a rigorous thesis, typeset the name of the
% thesis advisor.
\ifx\thesis@type\thesis@rigorous\else
- \textbf{\thesis@czech@bib@advisor:}
+ \textbf{\thesis@@{bib@advisor}:}
& \thesis@advisor \\
\fi
- \textbf{\thesis@czech@bib@academicYear:}
+ \textbf{\thesis@@{bib@academicYear}:}
& \thesis@academicYear \\
- \textbf{\thesis@czech@bib@pages:}
- & \thesis@pages \\
- \textbf{\thesis@czech@bib@keywords:}
+ \textbf{\thesis@@{bib@pages}:}
+ & \thesis@pages@preamble{} + \thesis@pages \\
+ \textbf{\thesis@@{bib@keywords}:}
& \thesis@TeXkeywords \\
\end{thesis@newtable@old}}
\end{alwayssingle}}
% \end{macrocode}
% \end{macro}\begin{macro}{\thesis@blocks@bibEntryEn}
-% The |\thesis@blocks@bibEntryEn| macro typesets a
-% bibliographical entry in English. Along with the macros
-% required by the locale file interface, the locale files
-% need to define the following macros:
-% \begin{itemize}
-% \item\DescribeMacro{\thesis@english@bib@title}
-% |\thesis@english@bib@title| -- The title of the entire block
-% \item\DescribeMacro{\thesis@english@bib@author}
-% |\thesis@english@bib@author| -- The label of the author name
-% entry
-% \item\DescribeMacro{\thesis@english@bib@title}
-% |\thesis@english@bib@title| -- The label of the title name
-% entry
-% \item\DescribeMacro{\thesis@english@bib@programme}
-% |\thesis@english@bib@programme| -- The label of the programme
-% name entry
-% \item\DescribeMacro{\thesis@english@bib@field}
-% |\thesis@english@bib@field| -- The label of the field of
-% study name entry
-% \item\DescribeMacro{\thesis@english@bib@advisor}
-% |\thesis@english@bib@advisor| -- The label of the advisor
-% name entry
-% \item\DescribeMacro{\thesis@english@bib@academicYear}
-% |\thesis@english@bib@academicYear| -- The label of the
-% academic year entry
-% \item\DescribeMacro{\thesis@english@bib@pages}
-% |\thesis@english@bib@pages| -- The label of the number of
-% pages entry
-% \item\DescribeMacro{\thesis@english@bib@keywords}
-% |\thesis@english@bib@keywords| -- The label of the keywords
-% entry
-% \end{itemize}
+% The |\thesis@blocks@bibEntryEn| macro typesets a bibliographical
+% entry in English unless the current locale is English.
% \begin{macrocode}
\def\thesis@blocks@bibEntryEn{%
- {\thesis@selectLocale{english}
- \begin{alwayssingle}
- % Start the new chapter without clearing the right page
- {\def\cleardoublepage{}%
- \chapter*{\thesis@english@bib@title}}%
- {% Calculate the width of the columns
- \let\@A\relax\newlength{\@A}\settowidth{\@A}{{%
- \bf\thesis@english@bib@author:}}
- \let\@B\relax\newlength{\@B}\settowidth{\@B}{{%
- \bf\thesis@english@bib@thesisTitle:}}
- \let\@C\relax\newlength{\@C}\settowidth{\@C}{{%
- \bf\thesis@english@bib@programme:}}
- \let\@D\relax\newlength{\@D}\settowidth{\@D}{{%
- \bf\thesis@english@bib@field:}}
- % Unless this is a rigorous thesis, we will be typesetting
- % the name of the thesis advisor.
- \let\@E\relax\newlength{\@E}
- \ifx\thesis@type\thesis@rigorous
- \setlength{\@E}{0pt}%
+ \ifthesis@english\else
+ {\thesis@selectLocale{english}
+ \begin{alwayssingle}
+ \chapter*{\thesis@english@bib@title}%
+ {% Calculate the width of the columns
+ \let\@A\relax\newlength{\@A}\settowidth{\@A}{{%
+ \bf\thesis@english@bib@author:}}
+ \let\@B\relax\newlength{\@B}\settowidth{\@B}{{%
+ \bf\thesis@english@bib@thesisTitle:}}
+ \let\@C\relax\newlength{\@C}\settowidth{\@C}{{%
+ \bf\thesis@english@bib@programme:}}
+ \let\@D\relax\newlength{\@D}\settowidth{\@D}{{%
+ \bf\thesis@english@bib@field:}}
+ % Unless this is a rigorous thesis, we will be typesetting
+ % the name of the thesis advisor.
+ \let\@E\relax\newlength{\@E}
+ \ifx\thesis@type\thesis@rigorous
+ \setlength{\@E}{0pt}%
+ \else
+ \settowidth{\@E}{{\bf\thesis@english@bib@advisor:}}
+ \fi
+ \let\@F\relax\newlength{\@F}\settowidth{\@F}{{%
+ \bf\thesis@english@bib@academicYear:}}
+ \let\@G\relax\newlength{\@G}\settowidth{\@G}{{%
+ \bf\thesis@english@bib@pages:}}
+ \let\@H\relax\newlength{\@H}\settowidth{\@H}{{%
+ \bf\thesis@english@bib@keywords:}}
+ \let\@skip\relax\newlength{\@skip}\setlength{\@skip}{16pt}
+ \let\@left\relax\newlength{\@left}\pgfmathsetlength{\@left}{%
+ max(\@A,\@B,\@C,\@D,\@E,\@F,\@G,\@H)}
+ \let\@right\relax\newlength{\@right}\setlength{\@right}{%
+ \textwidth-\@left-\@skip}
+ % Typeset the table
+ \renewcommand{\arraystretch}{2}
+ \noindent\begin{thesis@newtable@old}%
+ {@{}p{\@left}@{\hskip\@skip}p{\@right}@{}}
+ \textbf{\thesis@english@bib@author:} &
+ \noindent\parbox[t]{\@right}{
+ \thesis@author\\
+ \thesis@english@facultyName,
+ \thesis@english@universityName\\
+ \thesis@departmentEn@name
+ }\\
+ \textbf{\thesis@english@bib@thesisTitle:}
+ & \thesis@titleEn \\
+ \textbf{\thesis@english@bib@programme:}
+ & \thesis@programmeEn \\
+ \textbf{\thesis@english@bib@field:}
+ & \thesis@fieldEn@name \\
+ % Unless this is a rigorous thesis, typeset the name of the
+ % thesis advisor.
+ \ifx\thesis@type\thesis@rigorous\else
+ \textbf{\thesis@english@bib@advisor:}
+ & \thesis@advisor \\
+ \fi
+ \textbf{\thesis@english@bib@academicYear:}
+ & \thesis@academicYear \\
+ \textbf{\thesis@english@bib@pages:}
+ & \thesis@pages@preamble{} + \thesis@pages \\
+ \textbf{\thesis@english@bib@keywords:}
+ & \thesis@TeXkeywordsEn \\
+ \end{thesis@newtable@old}}
+ \end{alwayssingle}
+ }%
+ \fi}
+% \end{macrocode}
+% \end{macro}\begin{macro}{\thesis@blocks@abstractCs}
+% The |\thesis@blocks@abstractCs| macro typesets the
+% abstract in Czech. If the current locale is Czech, the
+% macro produces no output. The following extra data field is
+% defined for the macro: \begin{itemize}
+% \item|abstractCs| -- the Czech title of the thesis used for the
+% typesetting. This extra data field will expand to
+% |\thesis@abstract| if the current locale of the thesis
+% is Czech.
+% \end{itemize}
+% \changes{v0.3.45}{2017/05/28}{Defined the
+% \cs{thesis@blocks@abstractCs} macro in
+% \texttt{style/mu/fithesis-sci.sty}. The patch was submitted by
+% Juraj Pálenik. [VN]}
+% \begin{macrocode}
+\thesis@def@extra[{
+ \ifthesis@czech
+ \thesis@abstract
+ \else
+ \thesis@placeholder@extra@abstractCs
+ \fi
+}]{abstractCs}
+\def\thesis@blocks@abstractCs{%
+ \ifthesis@czech\else
+ {\thesis@selectLocale{czech}%
+ \begin{alwayssingle}%
+ \ifthesis@abstractonsinglepage@
+ \thesis@blocks@clear
\else
- \settowidth{\@E}{{\bf\thesis@english@bib@advisor:}}
+ % Start the new chapter without clearing the left page.
+ \thesis@blocks@clearRight
\fi
- \let\@F\relax\newlength{\@F}\settowidth{\@F}{{%
- \bf\thesis@english@bib@academicYear:}}
- \let\@G\relax\newlength{\@G}\settowidth{\@G}{{%
- \bf\thesis@english@bib@pages:}}
- \let\@H\relax\newlength{\@H}\settowidth{\@H}{{%
- \bf\thesis@english@bib@keywords:}}
- \let\@skip\relax\newlength{\@skip}\setlength{\@skip}{16pt}
- \let\@left\relax\newlength{\@left}\pgfmathsetlength{\@left}{%
- max(\@A,\@B,\@C,\@D,\@E,\@F,\@G,\@H)}
- \let\@right\relax\newlength{\@right}\setlength{\@right}{%
- \textwidth-\@left-\@skip}
- % Typeset the table
- \renewcommand{\arraystretch}{2}
- \noindent\begin{thesis@newtable@old}%
- {@{}p{\@left}@{\hskip\@skip}p{\@right}@{}}
- \textbf{\thesis@english@bib@author:} &
- \noindent\parbox[t]{\@right}{
- \thesis@author\\
- \thesis@english@facultyName,
- \thesis@english@universityName\\
- \thesis@departmentEn@name
- }\\
- \textbf{\thesis@english@bib@thesisTitle:}
- & \thesis@titleEn \\
- \textbf{\thesis@english@bib@programme:}
- & \thesis@programmeEn \\
- \textbf{\thesis@english@bib@field:}
- & \thesis@fieldEn@name \\
- % Unless this is a rigorous thesis, typeset the name of the
- % thesis advisor.
- \ifx\thesis@type\thesis@rigorous\else
- \textbf{\thesis@english@bib@advisor:}
- & \thesis@advisor \\
+ {\let\thesis@blocks@clear\relax
+ \chapter*{\thesis@czech@abstractTitle}%
+ \thesis@extra@abstractCs}%
+ \par\vfil\null
+ \end{alwayssingle}}%
+ \fi}
+% \end{macrocode}
+% \end{macro}\begin{macro}{\thesis@blocks@bibEntryCs}
+% The |\thesis@blocks@bibEntryCs| macro typesets a bibliographical
+% entry in English unless the current locale is Czech. The
+% macro uses the following extra data fields:\begin{itemize}
+% \item|programmeCs| -- the Czech name of the author's study
+% programme. This extra data field will expand to
+% |\thesis@programme| if the current locale of the thesis
+% is Czech.
+% \item|fieldCs| -- the Czech name of the author's field of
+% study. This extra data field will expand to
+% |\thesis@field@name| if the current locale of the thesis
+% is Czech.
+% \item|keywordsCs| -- the Czech keywords of the thesis.
+% This extra data field will expand to |\thesis@keywords| if
+% the current locale of the thesis is Czech.
+% \item|TeXkeywordsCs| -- the Czech \TeX{} keywords of the thesis.
+% This extra data field will expand to |\thesis@TeXkeywords| if
+% the current locale of the thesis is Czech.
+% \end{itemize}
+% \changes{v0.3.45}{2017/05/21}{Defined the
+% \cs{thesis@blocks@bibEntryCs} macro in
+% \texttt{style/mu/fithesis-sci.sty}. The patch was submitted by
+% Juraj Pálenik. [VN]}
+% \begin{macrocode}
+\thesis@def@extra[{
+ \ifthesis@czech
+ \thesis@programme
+ \else
+ \thesis@placeholder@extra@programmeCs
+ \fi
+}]{programmeCs}
+\thesis@def@extra[{
+ \ifthesis@czech
+ \thesis@field@name
+ \else
+ \thesis@placeholder@extra@fieldCs
+ \fi
+}]{fieldCs}
+\thesis@def@extra[{
+ \ifthesis@czech
+ \thesis@title
+ \else
+ \thesis@placeholder@extra@titleCs
+ \fi
+}]{titleCs}
+\thesis@def@extra[{
+ \ifthesis@czech
+ \thesis@keywords
+ \else
+ \thesis@placeholder@extra@keywordsCs
+ \fi
+}]{keywordsCs}
+\thesis@def@extra[{
+ \ifthesis@czech
+ \thesis@TeXkeywords
+ \else
+ \thesis@placeholder@extra@keywordsCs
+ \fi
+}]{TeXkeywordsCs}
+% \end{macrocode}
+% \changes{v0.3.45}{2017/05/26}{Bibliographical entries in
+% \texttt{style/mu/fithesis-sci.sty} now face each other when the
+% main locale is either Czech or English. [VN]}
+% \begin{macrocode}
+\def\thesis@blocks@bibEntryCs{%
+ \ifthesis@czech\else
+ {\thesis@selectLocale{czech}
+ \begin{alwayssingle}
+ % Clear only the right page, if the main locale is English.
+ \ifthesis@english
+ \begingroup
+ \let\thesis@blocks@clear\thesis@blocks@clearRight
+ \fi
+ \chapter*{\thesis@czech@bib@title}%
+ \ifthesis@english
+ \endgroup
+ \fi
+ {% Calculate the width of the columns
+ \let\@A\relax\newlength{\@A}\settowidth{\@A}{{%
+ \bf\thesis@czech@bib@author:}}
+ \let\@B\relax\newlength{\@B}\settowidth{\@B}{{%
+ \bf\thesis@czech@bib@thesisTitle:}}
+ \let\@C\relax\newlength{\@C}\settowidth{\@C}{{%
+ \bf\thesis@czech@bib@programme:}}
+ \let\@D\relax\newlength{\@D}\settowidth{\@D}{{%
+ \bf\thesis@czech@bib@field:}}
+ % Unless this is a rigorous thesis, we will be typesetting
+ % the name of the thesis advisor.
+ \let\@E\relax\newlength{\@E}
+ \ifx\thesis@type\thesis@rigorous
+ \setlength{\@E}{0pt}%
+ \else
+ \settowidth{\@E}{{\bf\thesis@czech@bib@advisor:}}
\fi
- \textbf{\thesis@english@bib@academicYear:}
- & \thesis@academicYear \\
- \textbf{\thesis@english@bib@pages:}
- & \thesis@pages \\
- \textbf{\thesis@english@bib@keywords:}
- & \thesis@TeXkeywordsEn \\
- \end{thesis@newtable@old}}
- \end{alwayssingle}
- }}
+ \let\@F\relax\newlength{\@F}\settowidth{\@F}{{%
+ \bf\thesis@czech@bib@academicYear:}}
+ \let\@G\relax\newlength{\@G}\settowidth{\@G}{{%
+ \bf\thesis@czech@bib@pages:}}
+ \let\@H\relax\newlength{\@H}\settowidth{\@H}{{%
+ \bf\thesis@czech@bib@keywords:}}
+ \let\@skip\relax\newlength{\@skip}\setlength{\@skip}{16pt}
+ \let\@left\relax\newlength{\@left}\pgfmathsetlength{\@left}{%
+ max(\@A,\@B,\@C,\@D,\@E,\@F,\@G,\@H)}
+ \let\@right\relax\newlength{\@right}\setlength{\@right}{%
+ \textwidth-\@left-\@skip}
+ % Typeset the table
+ \renewcommand{\arraystretch}{2}
+ \noindent\begin{thesis@newtable@old}%
+ {@{}p{\@left}@{\hskip\@skip}p{\@right}@{}}
+ \textbf{\thesis@czech@bib@author:} &
+ \noindent\parbox[t]{\@right}{
+ \thesis@author\\
+ \thesis@czech@facultyName,
+ \thesis@czech@universityName\\
+ \thesis@extra@departmentCs
+ }\\
+ \textbf{\thesis@czech@bib@thesisTitle:}
+ & \thesis@extra@titleCs \\
+ \textbf{\thesis@czech@bib@programme:}
+ & \thesis@extra@programmeCs \\
+ \textbf{\thesis@czech@bib@field:}
+ & \thesis@extra@fieldCs \\
+ % Unless this is a rigorous thesis, typeset the name of the
+ % thesis advisor.
+ \ifx\thesis@type\thesis@rigorous\else
+ \textbf{\thesis@czech@bib@advisor:}
+ & \thesis@advisor \\
+ \fi
+ \textbf{\thesis@czech@bib@academicYear:}
+ & \thesis@academicYear \\
+ \textbf{\thesis@czech@bib@pages:}
+ & \thesis@pages@preamble{} + \thesis@pages \\
+ \textbf{\thesis@czech@bib@keywords:}
+ & \thesis@extra@TeXkeywordsCs \\
+ \end{thesis@newtable@old}}
+ \end{alwayssingle}
+ }%
+ \fi}
% \end{macrocode}
% \end{macro}\begin{macro}{\thesis@blocks@frontMatter}
% The |\thesis@blocks@frontMatter| macro sets up the style
@@ -260,6 +455,7 @@
% formal requirements of the faculty.
% \begin{macrocode}
\def\thesis@blocks@frontMatter{%
+ \thesis@blocks@clear
\pagestyle{empty}
\parindent 1.5em
\setcounter{page}{1}
@@ -267,17 +463,30 @@
% \end{macrocode}
% \end{macro}\begin{macro}{\thesis@blocks@cover}
% The |\thesis@blocks@cover| macro typesets the thesis
-% cover.
+% cover. The following extra data field is defined for the macro:
+% \begin{itemize}
+% \item|departmentCs| -- the Czech name of the department at
+% which the thesis is being written. This extra data field will
+% expand to |\thesis@department@name| if the main locale of the
+% thesis is Czech.
+% \end{itemize}
% \begin{macrocode}
-\def\thesis@blocks@cover{%
+\thesis@def@extra[{
+ \ifthesis@czech
+ \thesis@department@name
+ \else
+ \thesis@placeholder@extra@departmentCs
+ \fi
+}]{departmentCs}
+\def\thesis@blocks@cover{{%
+ \thesis@selectLocale{czech}
\ifthesis@cover@
\thesis@blocks@clear
\begin{alwayssingle}
- \thispagestyle{empty}
\begin{center}
{\sc\thesis@titlePage@LARGE\thesis@czech@universityName\\%
\thesis@titlePage@Large\thesis@czech@facultyName\\[0.3em]%
- \thesis@titlePage@large\thesis@department@name}
+ \thesis@titlePage@normalsize\thesis@extra@departmentCs}
\vfill
{\bf\thesis@titlePage@Huge\thesis@czech@typeName}
\vfill
@@ -285,7 +494,7 @@
\ \thesis@year\hfill\thesis@author}
\end{center}
\end{alwayssingle}
- \fi}
+ \fi}}
% \end{macrocode}
% \end{macro}\begin{macro}{\thesis@blocks@titlePage}
% The |\thesis@blocks@titlePage| macro typesets the thesis
@@ -293,11 +502,24 @@
% conditional, the faculty logo is loaded from either
% |\thesis@logopath|, if \texttt{false}, or from
% |\thesis@logopath color/|, if \texttt{true}.
+% The following extra data field is defined for the macro:
+% \begin{itemize}
+% \item|TeXtitleCs| -- the Czech title of the thesis used for the
+% typesetting. This extra data field will expand to
+% |\thesis@TeXtitle| if the main locale of the thesis is Czech.
+% \end{itemize}
% \begin{macrocode}
-\def\thesis@blocks@titlePage{%
+\thesis@def@extra[{
+ \ifthesis@czech
+ \thesis@TeXtitle
+ \else
+ \thesis@placeholder@extra@titleCs
+ \fi
+}]{TeXtitleCs}
+\def\thesis@blocks@titlePage{{%
\thesis@blocks@clear
+ \thesis@selectLocale{czech}
\begin{alwayssingle}
- \thispagestyle{empty}
% The top of the page
\begin{adjustwidth}{-12mm}{}
\begin{minipage}{30mm}
@@ -306,7 +528,7 @@
\begin{center}
{\sc\thesis@titlePage@LARGE\thesis@czech@universityName\\%
\thesis@titlePage@Large\thesis@czech@facultyName\\[0.3em]%
- \thesis@titlePage@normalsize\thesis@department@name}
+ \thesis@titlePage@normalsize\thesis@extra@departmentCs}
\rule{\textwidth}{2pt}\vspace*{2mm}
\end{center}
\end{minipage}\begin{minipage}{30mm}
@@ -316,7 +538,7 @@
% The middle of the page
\vfill
\parbox\textwidth{% Prevent vfills from squashing the leading
- \bf\thesis@titlePage@Huge\thesis@TeXtitle}
+ \bf\thesis@titlePage@Huge\thesis@extra@TeXtitleCs}
{\thesis@titlePage@Huge\\[0.8em]}
{\thesis@titlePage@large\thesis@czech@typeName\\[1em]}
{\bf\thesis@titlePage@LARGE\thesis@author\\}
@@ -329,7 +551,27 @@
\thesis@czech@advisorTitle: \thesis@advisor\hfill
\fi
\thesis@place\ \thesis@year}
- \end{alwayssingle}}
+ \end{alwayssingle}}}
+% \end{macrocode}
+% \end{macro}\begin{macro}{\thesis@blocks@thanks}
+% The |\thesis@blocks@thanks| macro typesets the
+% acknowledgement, if the |\thesis@thanks| macro is
+% defined. Otherwise, the macro produces no output.
+% As per the faculty requirements, the acknowledgement is
+% positioned at the top of the page.
+% \changes{v0.3.45}{2017/05/24}{Redefined the
+% \cs{thesis@blocks@thanks} and \cs{thesis@blocks@declaration}
+% macros in \texttt{style/mu/fithesis-sci.sty}. The patch was
+% submitted by Juraj Pálenik. [VN]}
+% \begin{macrocode}
+\def\thesis@blocks@thanks{%
+ \thesis@blocks@clear
+ \ifx\thesis@thanks\undefined\else
+ \begin{alwayssingle}%
+ \chapter*{\thesis@@{thanksTitle}}%
+ \leavevmode\thesis@thanks
+ \end{alwayssingle}%
+ \fi}
% \end{macrocode}
% \end{macro}\begin{macro}{\thesis@blocks@declaration}
% The |\thesis@blocks@declaration| macro typesets the declaration
@@ -337,27 +579,19 @@
% the \texttt{style/mu/fithesis-sci.sty} file, this definition
% includes the date and a blank line for the author's signature, as
% per the requirements of the faculty.
-%
-% Along with the macros required by the locale file interface, the
-% locale files need to define the following macros:
-% \begin{itemize}
-% \item\DescribeMacro{\thesis@czech@authorSignature}
-% |\thesis@czech@authorSignature| -- The label of the author's
-% signature field
-% \item\DescribeMacro{\thesis@czech@formattedDate}
-% |\thesis@czech@formattedDate| -- A formatted date
-% \end{itemize}
% \begin{macrocode}
\def\thesis@blocks@declaration{%
- \thesis@blocks@clear
\begin{alwayssingle}%
- \chapter*{\thesis@@{declarationTitle}}%
+ \leavevmode\vfill
+ % Start the new chapter without clearing any page.
+ {\let\thesis@blocks@clear\relax
+ \chapter*{\thesis@@{declarationTitle}}}%
\thesis@declaration
\vskip 2cm%
{\let\@A\relax\newlength{\@A}
\settowidth{\@A}{\thesis@@{authorSignature}}
\setlength{\@A}{\@A+1cm}
- \noindent\thesis@place, \thesis@czech@formattedDate\hfill
+ \noindent\thesis@place, \thesis@@{formattedDate}\hfill
\begin{minipage}[t]{\@A}%
\centering\rule{\@A}{1pt}\\
\thesis@@{authorSignature}\par
@@ -376,22 +610,32 @@
% is typeset as though the locale were Czech in accordance with the
% formal requirements of the faculty.
% \begin{macrocode}
-\def\thesis@blocks@preamble{{%
- \thesis@selectLocale{czech}%
+\def\thesis@blocks@preamble{
\thesis@blocks@coverMatter
\thesis@blocks@cover
\thesis@blocks@frontMatter
\thesis@blocks@titlePage
\thesis@blocks@clearRight
+ \thesis@blocks@bibEntryCs
\thesis@blocks@bibEntry
\thesis@blocks@bibEntryEn
- \thesis@blocks@abstract
- \thesis@blocks@abstractEn}
+ \thesis@blocks@abstractCs
+ \ifthesis@abstractonsinglepage@
+ \begingroup
+ \let\clearpage\relax
+ \fi
+ \thesis@blocks@abstract
+ \thesis@blocks@abstractEn
+ \ifthesis@abstractonsinglepage@
+ \endgroup
+ \fi
\thesis@blocks@assignment
{\thesis@selectLocale{czech}%
\thesis@blocks@thanks
\thesis@blocks@declaration
- \thesis@blocks@tables}}
+ \thesis@blocks@clear
+ \pagestyle{plain}%
+ \thesis@blocks@tables}}
\def\thesis@blocks@postamble{%
\thesis@blocks@bibliography}
% \end{macrocode}