From 6fbacd9056233c806d77caaf2afbca6a2b30cb76 Mon Sep 17 00:00:00 2001
From: xvrabcov <xvrabcov@fi.muni.cz>
Date: Fri, 19 Mar 2021 11:38:31 +0100
Subject: [PATCH] Changed \clearpage to \vskip in abstract macro

---
 style/mu/base.dtx | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/style/mu/base.dtx b/style/mu/base.dtx
index 2cfab33..dc1a82f 100644
--- a/style/mu/base.dtx
+++ b/style/mu/base.dtx
@@ -932,11 +932,13 @@
 % \end{macro}\begin{macro}{\thesis@blocks@abstract}
 % The |\thesis@blocks@abstract| macro typesets the
 % abstract.
+% \changes{v1.0.0}{2021/03/05}{Changed \texttt{clearpage}
+% to \texttt{vskip} so it is by default on the same page
+% when the template contains bibEntry. [TV]}
 % \begin{macrocode}
 \def\thesis@blocks@abstract{%
   \begin{alwayssingle}%
-    % Start the new chapter without clearing the left page.
-    \clearpage
+    \vskip 40 \p@
     {\let\thesis@blocks@clear\relax
     \chapter*{\thesis@@{abstractTitle}}}%
     \noindent\thesis@abstract
@@ -950,13 +952,15 @@
 % \changes{v0.3.46}{2017/06/02}{Simplified the definition of
 %   \cs{thesis@blocks@abstractEn} in
 %   \texttt{style/mu/fithesis-base.sty}. [VN]}
+% \changes{v1.0.0}{2021/03/05}{Changed \texttt{clearpage}
+% to \texttt{vskip} so it is by default on the same page
+% when the template contains bibEntry. [TV]}
 % \begin{macrocode}
 \def\thesis@blocks@abstractEn{%
   \ifthesis@english\else
     {\thesis@selectLocale{english}%
     \begin{alwayssingle}%
-      % Start the new chapter without clearing the left page.
-      \clearpage
+      \vskip 40 \p@
       {\let\thesis@blocks@clear\relax
       \chapter*{\thesis@english@abstractTitle}}%
       \noindent\thesis@abstractEn
-- 
GitLab