From b1dbc93937ea99b3a6922cdb98cb2bc4d28fc9ff Mon Sep 17 00:00:00 2001
From: xvrabcov <xvrabcov@fi.muni.cz>
Date: Mon, 22 Mar 2021 23:17:43 +0100
Subject: [PATCH] Redefined keywords, keywords en in base.dtx

---
 style/mu/base.dtx | 20 +++++++++-----------
 1 file changed, 9 insertions(+), 11 deletions(-)

diff --git a/style/mu/base.dtx b/style/mu/base.dtx
index 264279b..5f433c2 100644
--- a/style/mu/base.dtx
+++ b/style/mu/base.dtx
@@ -1038,15 +1038,16 @@
 % \end{macro}\begin{macro}{\thesis@blocks@keywords}
 % The |\thesis@blocks@keywords| macro typesets the
 % keywords.
+% \changes{v1.0.0}{2021/03/22}{Redefined keywords, keywordsEn
+%   macros so they by default start on the same page as the
+%   the previous element and are in the lower part of the page.
+%   [TV]}
 % \begin{macrocode}
 \def\thesis@blocks@keywords{%
   \begin{alwayssingle}%
-    % Start the new chapter without clearing the left page.
-    \clearpage
-    {\let\thesis@blocks@clear\relax
-    \chapter*{\thesis@@{keywordsTitle}}%
-    \noindent\thesis@TeXkeywords}%
-    \par\vfil\null
+    {\let\thesis@blocks@clear\relax%
+    \chapter*{\vspace*{\fill}\thesis@@{keywordsTitle}}}%
+    \leavevmode\thesis@keywords  
   \end{alwayssingle}}
 %    \end{macrocode}
 % \end{macro}\begin{macro}{\thesis@blocks@keywordsEn}
@@ -1061,12 +1062,9 @@
   \ifthesis@english\else
     {\thesis@selectLocale{english}%
     \begin{alwayssingle}%
-      % 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
+      \chapter*{\vspace*{\fill}\thesis@english@keywordsTitle}}%
+      \leavevmode\thesis@keywords
     \end{alwayssingle}}%
   \fi}
 %    \end{macrocode}
-- 
GitLab