From 4c50c0739e9e6f10e46a84c6327b2b8a4762f476 Mon Sep 17 00:00:00 2001
From: xvrabcov <xvrabcov@fi.muni.cz>
Date: Mon, 22 Mar 2021 23:57:38 +0100
Subject: [PATCH] Reorganised preambles and postambles of faculties

---
 style/mu/econ.dtx | 14 ++++++++------
 style/mu/fi.dtx   |  5 ++++-
 style/mu/fsps.dtx |  8 +++++++-
 style/mu/fss.dtx  | 13 +++++++------
 style/mu/law.dtx  |  6 +++++-
 style/mu/med.dtx  | 12 +++++++-----
 style/mu/ped.dtx  |  6 ++++--
 style/mu/phil.dtx |  6 ++++--
 style/mu/sci.dtx  | 14 ++++++++++----
 9 files changed, 56 insertions(+), 28 deletions(-)

diff --git a/style/mu/econ.dtx b/style/mu/econ.dtx
index 320bf4e..536129a 100644
--- a/style/mu/econ.dtx
+++ b/style/mu/econ.dtx
@@ -255,21 +255,23 @@
 % All blocks within the autolayout preamble that are not defined
 % within this file are defined in the
 % \texttt{style/mu/fithesis-base.sty} file.
+% \changes{v1.0.0}{2021/03/22}{Reorganised the blocks to fit the
+%   faculty's requirements. [TV]}
 %    \begin{macrocode}
 \def\thesis@blocks@preamble{%
   \thesis@blocks@coverMatter
     \thesis@blocks@cover
-  \thesis@blocks@frontMatter
     \thesis@blocks@titlePage
-    \thesis@blocks@assignment
+  \thesis@blocks@frontMatter
+    \thesis@blocks@seal
     \thesis@blocks@bibEntry
     \thesis@blocks@abstract
+    \thesis@blocks@bibEntryEn
     \thesis@blocks@abstractEn
-    \thesis@blocks@keywords
-    \thesis@blocks@keywordsEn
     \thesis@blocks@declaration
     \thesis@blocks@thanks
-    \thesis@blocks@toc}
+    \thesis@blocks@toc
+    \thesis@blocks@tables}
 %    \end{macrocode}
 % All blocks within the autolayout postamble that are not defined
 % within this file are defined in the \texttt{style/mu/base.sty}
@@ -280,5 +282,5 @@
 \def\thesis@blocks@postamble{%
   \ifx\thesis@doctoral\thesis@type\thesis@blocks@summary\else\fi
   \thesis@blocks@bibliography
-  \thesis@blocks@tables}
+}
 %    \end{macrocode}
diff --git a/style/mu/fi.dtx b/style/mu/fi.dtx
index 406914f..350ef5b 100644
--- a/style/mu/fi.dtx
+++ b/style/mu/fi.dtx
@@ -83,21 +83,24 @@
 % All blocks within the autolayout preamble and postamble that are
 % not defined within this file are defined in the
 % \texttt{style/mu/fithesis-base.sty} file.
+% \changes{v1.0.0}{2021/03/22}{Reorganised the blocks to fit the
+%   faculty's requirements. [TV]}
 %    \begin{macrocode}
 \def\thesis@blocks@preamble{%
   \thesis@blocks@coverMatter
     \thesis@blocks@cover
     \thesis@blocks@titlePage
   \thesis@blocks@frontMatter
+    \thesis@blocks@seal
     \ifx\thesis@type\thesis@proposal
       \thesis@blocks@toc
     \else
       \thesis@blocks@assignment
       \thesis@blocks@declaration
-      \thesis@blocks@thanks
       \thesis@blocks@clearRight
         \thesis@blocks@abstract
         \thesis@blocks@keywords
+      \thesis@blocks@thanks
       \thesis@blocks@tables
     \fi}
 \def\thesis@blocks@postamble{%
diff --git a/style/mu/fsps.dtx b/style/mu/fsps.dtx
index a76f360..809e374 100644
--- a/style/mu/fsps.dtx
+++ b/style/mu/fsps.dtx
@@ -140,13 +140,19 @@
 % All blocks within the autolayout preamble and postamble that are
 % not defined within this file are defined in the
 % \texttt{style/mu/fithesis-base.sty} file.
+% \changes{v1.0.0}{2021/03/22}{Reorganised the blocks to fit the
+%   faculty's requirements. [TV]}
 %    \begin{macrocode}
 \def\thesis@blocks@preamble{%
   \thesis@blocks@coverMatter
     \thesis@blocks@cover
     \thesis@blocks@titlePage
   \thesis@blocks@frontMatter
-    \thesis@blocks@declaration
+    \thesis@blocks@seal
+    \thesis@blocks@bibEntry
+    \thesis@blocks@abstract
+    \thesis@blocks@bibEntryEn
+    \thesis@blocks@abstractEn
     \thesis@blocks@thanks
     \thesis@blocks@tables}
 \def\thesis@blocks@postamble{%
diff --git a/style/mu/fss.dtx b/style/mu/fss.dtx
index 1d09aff..2e97ce4 100644
--- a/style/mu/fss.dtx
+++ b/style/mu/fss.dtx
@@ -53,18 +53,19 @@
 % All blocks within the autolayout preamble and postamble that are
 % not defined within this file are defined in the
 % \texttt{style/mu/fithesis-base.sty} file.
+% \changes{v1.0.0}{2021/03/22}{Reorganised the blocks to fit the
+%   faculty's requirements. [TV]}
 %    \begin{macrocode}
 \def\thesis@blocks@preamble{%
   \thesis@blocks@coverMatter
     \thesis@blocks@cover
     \thesis@blocks@titlePage
   \thesis@blocks@frontMatter
-    \thesis@blocks@clearRight
-      \thesis@blocks@abstract
-      \thesis@blocks@abstractEn
-      \thesis@blocks@keywords
-      \thesis@blocks@keywordsEn
-    \thesis@blocks@assignment
+    \thesis@blocks@seal
+    \thesis@blocks@bibEntry
+    \thesis@blocks@abstract
+    \thesis@blocks@bibEntryEn
+    \thesis@blocks@abstractEn
     \thesis@blocks@declaration
     \thesis@blocks@thanks
     \thesis@blocks@tables}
diff --git a/style/mu/law.dtx b/style/mu/law.dtx
index 4efe0b2..8b9045c 100644
--- a/style/mu/law.dtx
+++ b/style/mu/law.dtx
@@ -125,17 +125,21 @@
 % All blocks within the autolayout preamble that are not defined
 % within this file are defined in the
 % \texttt{style/mu/fithesis-base.sty} file.
+% \changes{v1.0.0}{2021/03/22}{Reorganised the blocks to fit the
+%   faculty's requirements. [TV]}
 %    \begin{macrocode}
 \def\thesis@blocks@preamble{%
   \thesis@blocks@coverMatter
     \thesis@blocks@cover
     \thesis@blocks@titlePage
   \thesis@blocks@frontMatter
+    \thesis@blocks@seal
     \thesis@blocks@declaration
     \thesis@blocks@clearRight
       \thesis@blocks@abstract
-      \thesis@blocks@abstractEn
       \thesis@blocks@keywords
+    \thesis@blocks@clearRight
+      \thesis@blocks@abstractEn
       \thesis@blocks@keywordsEn
     \thesis@blocks@thanks
     \thesis@blocks@tables}
diff --git a/style/mu/med.dtx b/style/mu/med.dtx
index 94db40f..b3e0024 100644
--- a/style/mu/med.dtx
+++ b/style/mu/med.dtx
@@ -167,20 +167,22 @@
 % All blocks within the autolayout preamble and postamble that are
 % not defined within this file are defined in the
 % \texttt{style/mu/fithesis-base.sty} file.
+% \changes{v1.0.0}{2021/03/22}{Reorganised the blocks to fit the
+%   faculty's requirements. [TV]}
 %    \begin{macrocode}
 \def\thesis@blocks@preamble{%
   \thesis@blocks@coverMatter
     \thesis@blocks@cover
-  \thesis@blocks@frontMatter
     \thesis@blocks@titlePage
-    \onehalfspacing
+  \thesis@blocks@frontMatter
+    \thesis@blocks@seal
+    \thesis@blocks@declaration
     \thesis@blocks@clearRight
       \thesis@blocks@abstract
-      \thesis@blocks@abstractEn
       \thesis@blocks@keywords
+    \thesis@blocks@clearRight
+      \thesis@blocks@abstractEn
       \thesis@blocks@keywordsEn
-    \thesis@blocks@bibEntry
-    \thesis@blocks@declaration
     \thesis@blocks@thanks
     \thesis@blocks@tables}
 \def\thesis@blocks@postamble{%
diff --git a/style/mu/ped.dtx b/style/mu/ped.dtx
index 8db3215..8c34e69 100644
--- a/style/mu/ped.dtx
+++ b/style/mu/ped.dtx
@@ -50,17 +50,19 @@
 % All blocks within the autolayout preamble and postamble that are
 % not defined within this file are defined in the
 % \texttt{style/mu/fithesis-base.sty} file.
+% \changes{v1.0.0}{2021/03/22}{Reorganised the blocks to fit the
+%   faculty's requirements. [TV]}
 %    \begin{macrocode}
 \def\thesis@blocks@preamble{%
   \thesis@blocks@coverMatter
     \thesis@blocks@cover
     \thesis@blocks@titlePage
   \thesis@blocks@frontMatter
+    \thesis@blocks@seal
     \thesis@blocks@bibEntry
     \thesis@blocks@abstract
+    \thesis@blocks@bibEntryEn
     \thesis@blocks@abstractEn
-    \thesis@blocks@keywords
-    \thesis@blocks@keywordsEn
     \thesis@blocks@declaration
     \thesis@blocks@thanks
     \thesis@blocks@tables}
diff --git a/style/mu/phil.dtx b/style/mu/phil.dtx
index 92f4a10..8a2e3ba 100644
--- a/style/mu/phil.dtx
+++ b/style/mu/phil.dtx
@@ -103,12 +103,15 @@
 % All blocks within the autolayout preamble and postamble that are
 % not defined within this file are defined in the
 % \texttt{style/mu/fithesis-base.sty} file.
+% \changes{v1.0.0}{2021/03/22}{Reorganised the blocks to fit the
+%   faculty's requirements. [TV]}
 %    \begin{macrocode}
 \def\thesis@blocks@preamble{%
   \thesis@blocks@coverMatter
     \thesis@blocks@cover
     \thesis@blocks@titlePage
   \thesis@blocks@frontMatter
+     \thesis@blocks@seal
 %    \end{macrocode}
 % In KISK theses, the bibliographical entry, the abstract, and the
 % keywords will be included after the cover matter.
@@ -118,9 +121,8 @@
     \ifx\thesis@department\thesis@departments@kisk
       \thesis@blocks@bibEntry
       \thesis@blocks@abstract
+      \thesis@blocks@bibEntryEn
       \thesis@blocks@abstractEn
-      \thesis@blocks@keywords
-      \thesis@blocks@keywordsEn
     \fi
     \thesis@blocks@declaration
     \ifx\thesis@doctoral\thesis@type\thesis@blocks@summary\else\fi
diff --git a/style/mu/sci.dtx b/style/mu/sci.dtx
index 67ff9be..5d4d6fe 100644
--- a/style/mu/sci.dtx
+++ b/style/mu/sci.dtx
@@ -95,6 +95,8 @@
 % All blocks within the autolayout preamble and postamble that are
 % not defined within this file are defined in the
 % \texttt{style/mu/fithesis-base.sty} file.
+% \changes{v1.0.0}{2021/03/22}{Reorganised the blocks to fit the
+%   faculty's requirements. [TV]}
 %    \begin{macrocode}
 \def\thesis@blocks@preamble{
   \thesis@blocks@coverMatter
@@ -104,12 +106,16 @@
     \ifx\thesis@type\thesis@proposal
       \thesis@blocks@toc
     \else
-      \thesis@blocks@assignment
-      \thesis@blocks@declaration
-      \thesis@blocks@thanks
+      \thesis@blocks@seal
+      \thesis@blocks@bibEntry
+      \thesis@blocks@bibEntryEn
       \thesis@blocks@clearRight
         \thesis@blocks@abstract
-        \thesis@blocks@keywords
+      \thesis@blocks@clearRight
+	\thesis@blocks@abstractEn
+      \thesis@blocks@assignment
+      \thesis@blocks@thanks
+      \thesis@blocks@declaration
       \thesis@blocks@tables
     \fi}
 \def\thesis@blocks@postamble{%
-- 
GitLab